Orchestration State 8
Related plan: Orchestration Plan 8
-
✅ Task 1 — Fix Project Runner Agent MCP Configuration
- ✅ 1.1 Modify master→variant sync in agent-sync.ts to set mcpServerNames on master agent from family config
- ✅ 1.2 Run dry-run to verify change sets mcpServerNames correctly
- ✅ 1.3 Run live agent-sync to apply the fix
- ✅ 1.4 Verify: spawn Project Runner and confirm forge-discovery tools work
-
✅ Task 2 — Fix Orchestrator SSE Client
- ✅ 2.1 Fix createEventSource() to pass Authorization header
- ✅ 2.2 Replace wireHandlers() to use generic ‘message’ event listener with event-type parsing
- ✅ 2.3 Handle reconnection with resumeStream()
- ✅ 2.4 Test: spawn agent in monitor mode, verify SSE events received
-
✅ Task 3 — Fix Dispatcher Job Management
- ✅ 3.1 Update dispatch() to pass metadata to db.createJob()
- ✅ 3.2 Add job reaper function
- ✅ 3.3 Add scheduled/periodic reaper check (Inngest or startup)
- ✅ 3.5 Add POST /jobs/reap admin endpoint
- ✅ 3.4 Clean up 9 currently stuck jobs
-
✅ Task 4 — Fix Agent Registration and Dead Code
- ✅ 4.1 Run agent-sync and apply full modelSpecs to librechat.yaml
- ✅ 4.2 Verify model picker contains all agents
- ✅ 4.3 Remove dead code (upsertProject, getActiveProjects, Project table)
-
✅ Task 5 — Complete Schedule Configuration
- ✅ 5.1 Add placeholder entries for memory_compaction_daily and infrastructure_check_monthly in schedules.ts
- ✅ 5.2 Add Inngest scheduled functions for the two new schedules (with empty agent_id guard)
- ✅ 5.3 Verify /schedules endpoint returns all 4 schedules
-
✴️ Task 6 — End-to-End Verification
- ✅ 6.1 V1 — Cron scheduling verification
- ✅ 6.2 V2 — Project discovery by agent
- ✅ 6.3 V8 — Project Runner detects completed phases
- ✅ 6.4 V9 — Task Runner dispatches correct sub-agent
- ✅ 6.5 V6 — Stalled agent detection and resume
- ✅ 6.6 V12/E12 — Transcript review verification
- ✅ 6.7 V4/E9 — Mark as Deferred in Phase.md
- ✅ 6.8 Update Orchestration_Phase.md with all results