feat(gatorwalk-factory): journal and project a work item parked by its dispatch cap (swamp-club #2703) #427
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2703-gatorwalk-factory-project"
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?
Closes swamp-club #2703.
A dispatch refused at a stage's
maxDispatchesPerCycleused to commit nothing. The human stop it creates was missing from the journal, the metrics and the tracker, which DESIGN.md listed as a known gap.What changes
parkAtDispatchCap). It writes anawaitingevent with an optionaldispatchOverride: {count, limit, granted}, keeping any exits already held. A dispatch refused again while parked writes nothing.dispatch-overridewait (Wait.kind;transitionis null). It endsoverriddenafter a grant, otherwiseadvanced,resetorcleared. Time that overlaps an exit wait counts once.publishafter a refused dispatch and again after a grant.Tests
Verified locally:
98bfd428-4c5c-4383-9d1d-d814b448174ef7978d81-87c8-49f8-bbe9-14aac311e64dddae9c2e-8ff3-4cdf-b20f-c0ac5541ce29🤖 Generated with Claude Code
A dispatch refused at the stage's maxDispatchesPerCycle committed nothing, so the human stop it makes was missing from the journal, the metrics and the tracker. The refused dispatch now commits the park once: an awaiting event carrying dispatchOverride {count, limit, granted} beside the exits already held. Every later commit of the stage entry carries the hold while the cap still refuses, and the commit of a dispatch override drops it; a new stage entry or era starts without it. - metrics: a dispatch-override wait (kind, null transition) ending overridden after a grant, or advanced/reset/cleared - publish: comments on the park and on a dispatch override grant, keyed on the (work item, journal version) ledger - status, summary and the studio's simulate view show the park - DESIGN, README and the driving skill (publish after a refused dispatch) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>