[ORCH-007] Gateway Integration #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 2: Orchestrator Integration
Core integration with Orchestrator service (`apps/orchestrator/`) Gateway API for agent spawning and control.
Deliverables
[ ] Orchestrator Gateway API client (spawn, status, kill)
[ ] Task context serialization (convert Mosaic task to Orchestrator format)
[ ] Session token management (track Orchestrator session IDs)
[ ] Callback endpoint registration (tell Orchestrator where to report)
[ ] Health check endpoint (verify Orchestrator reachability)
[ ] Kill session API (terminate running Orchestrator session)
API Operations
Auth Flow
• Mosaic Stack issues scoped token for callbacks
• Orchestrator includes token in all callbacks
• Mosaic Stack validates token before accepting updates
Dependencies
• #99 Task Dispatcher Service
Related
• #95 Agent Orchestration EPIC
• Orchestrator service at `apps/orchestrator/`
• ORCH-102 (Orchestrator server implementation)
• ORCH-113 (Coordinator API client)