# Legacy Workflow Archive

## Archive Date: 2026-02-15

## Files Archived

### CC-VPS-INBOX.md
- **Purpose**: Legacy coordination file for CC VPS (Claude Code) to receive tasks from Rivet
- **Superseded by**: Direct gateway-to-gateway WebSocket bridge communication
- **Migration**: Tasks now sent directly via `node scripts/builder-bridge.js send` command

### RIVET-TO-CCVPS.md  
- **Purpose**: Legacy status update file for Rivet to report status to CC VPS
- **Superseded by**: BUILDER-INBOX.md and WebSocket bridge bidirectional communication
- **Migration**: Status updates now handled through the shared inbox system

### CC-WORKFLOW.md
- **Purpose**: Legacy workflow documentation for CC VPS operations
- **Superseded by**: New multi-agent coordination system via WebSocket bridge
- **Migration**: Workflow logic now integrated into the gateway bridge system

## Reason for Archival

These files represent the old coordination pattern where:
1. Rivet would write tasks to `CC-VPS-INBOX.md`
2. CC VPS would poll this file every 4 hours
3. Status updates were written to `RIVET-TO-CCVPS.md`

This has been replaced with a real-time gateway-to-gateway WebSocket bridge that:
- Enables instant communication between agents
- Eliminates polling delays
- Provides bidirectional messaging
- Uses shared inboxes (BUILDER-INBOX.md and RIVET-INBOX.md)

## Current System

- **Primary**: Gateway bridge (`node scripts/builder-bridge.js`)
- **Inboxes**: 
  - `BUILDER-INBOX.md` (Rivet → Builder)
  - `/home/ccuser/the-50-dollar-app/RIVET-INBOX.md` (Builder → Rivet)
- **Communication**: Real-time via WebSocket