Dropped call-start events leave parents holding capacity forever #409

Open
opened 2026-10-27 13:36:13 +00:00 by sam · 0 comments
Owner

Goal

A parent that misses its callee's start event still releases execution capacity, so a full dispatcher cannot deadlock with the parent holding the slot its child needs.

Evidence

applyCallWait suspends and resumes purely off a bounded, lossy bus subscription, and its own comment admits a dropped start leaves the run holding the capacity its callee needs. No reconciler and no other Suspend path exists. A missed start plus a no-op finish (unknown wait count) pins the slot until restart.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it.

Stop when

[ ] Wait state reconciles from durable records (open waited-on call steps), not only from live events.
[ ] A regression test drops the start event and the parent still releases capacity.
[ ] task check passes.


Imported from beads archie-core-rcxb.19 · GitHub #1551 · type task · priority P2 · created 2026-10-08

## Goal A parent that misses its callee's start event still releases execution capacity, so a full dispatcher cannot deadlock with the parent holding the slot its child needs. ## Evidence applyCallWait suspends and resumes purely off a bounded, lossy bus subscription, and its own comment admits a dropped start leaves the run holding the capacity its callee needs. No reconciler and no other Suspend path exists. A missed start plus a no-op finish (unknown wait count) pins the slot until restart. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. ## Stop when [ ] Wait state reconciles from durable records (open waited-on call steps), not only from live events. [ ] A regression test drops the start event and the parent still releases capacity. [ ] task check passes. --- _Imported from beads `archie-core-rcxb.19` · GitHub #1551 · type task · priority P2 · created 2026-10-08_
sam added the mediumtask labels 2026-10-27 13:36:13 +00:00
sam self-assigned this 2026-10-27 13:36:13 +00:00
sam added the deferred label 2026-11-15 17:26:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#409