Expand description
chump-orchestrator — AUTO-013 MVP steps 1+2.
See docs/AUTO-013-ORCHESTRATOR-DESIGN.md for the full design. Step 1
shipped the gap-picker (pickable_gaps) + dry-run binary. Step 2 (this
PR) adds dispatch — subprocess-spawn for dispatched subagents.
Monitor loop + reflection writes are steps 3-4.
INFRA-DISPATCH-POLICY adds pick_gap — the policy-aware single-gap
selector used by chump --pick-gap. Unlike pickable_gaps (which is
stateless), pick_gap reads live lease state and the CHUMP_DISPATCH_CAPACITY
cap, then sorts eligible gaps by priority ASC / effort ASC.
Modules§
- dispatch
- Subprocess spawn for dispatched subagents — AUTO-013 MVP step 2.
- monitor
- Monitor loop for dispatched subagents — AUTO-013 MVP step 3.
- reflect
- Per-dispatch reflection writes — AUTO-013 MVP step 4.
- self_
test - AUTO-013 step 5 — synthetic end-to-end harness.
Structs§
- Gap
- A minimal view of a gap entry from
docs/gaps.yaml.
Functions§
- dispatch_
capacity - Read
CHUMP_DISPATCH_CAPACITYfrom env, defaulting to 3. - done_
ids - Collect IDs of gaps already shipped (status == “done”).
- load_
gaps - Parse a gaps.yaml file from disk. Tolerant of unknown fields.
- pick_
gap - Policy-aware single-gap picker — the heart of
chump --pick-gap. - pickable_
gaps - MVP picker. Filters open gaps to those a robot orchestrator can safely
auto-dispatch, in input order, capped at
n.