Commit bd393b7
refactor(orchestrator): running status, queue cap, loader to lib/agent
Review follow-ups on the queue and loader:
- TaskStatus 'in_progress' -> 'running' (drop the snake_case outlier)
- inline the nowIso() one-liner
- document that dependsOn is a DAG by construction (ids point only at
earlier tasks), so cycles cannot form
- cap the queue at 30 tasks as a runaway backstop; real sizing rests on
agent/skill design
- move agent-prompt-loader from programs/orchestrator/ to lib/agent/
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 362c51f commit bd393b7
7 files changed
Lines changed: 44 additions & 605 deletions
File tree
- src/lib/programs/orchestrator
- __tests__
Lines changed: 0 additions & 259 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
60 | 72 | | |
61 | 73 | | |
62 | 74 | | |
| |||
0 commit comments