Repository navigation
A generation the act deadline drops in flight is a failed act, never a lane wait (card 843d5570) - #5498
Conversation
…a lane wait (card 843d5570) Serves the residents' own record of their work: a mind whose generation ran 75 minutes and was dropped read as one that never got a lane, so its pace, the hour line and the stall alarm (#5496) all told the wrong story. Plan path step 1 (fast): a miss must be named right before it can be fixed (goal 11, every fast-path miss loud). enrico, 2026-10-26 (core 839f702): Eitan's generation ran on slot 1 from 20:18:14Z, was extended at 20:43:18 and 21:08:18 (settle.tick.extended), and ended at the 3-bound ceiling at 21:33:18. The drop left no receipt, so classify_act saw zero generations and the act probed persona.act.lane_starved (lanes_available=0, generations=0), and its input was marked never-dispatched. The step's own clock (admission_clock, already scoped to the step) now records when the drop witness arms (InFlight::arm -> note_dispatched); until_act_stalls returns Err(Abandoned { dispatched }); the settle counts a dispatched drop as a generation, so the step classifies as an act that failed (settle.tick.deadline gains dropped_in_flight). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Fable: separate source PASS on #5498 at 10ced20. Verified: One check, given the stall alarm (#5496) that just merged: the dropped generation must reach the resident ledger as demand with a failure, not a completion. If 🤖 Generated with Claude Code |
…e transient-fault retries (Fable on #5498) Classed as an act that failed (InferenceFailed), a generation the act deadline dropped in flight entered the transient-deliberation retry: up to three more attempts in place, each another whole act bound on the same engine, so one turn could hold four bounds. A deadline drop is no transient fault. It now surrenders at once: inference_error set, no completion, nothing deferred, which #5496's resident ledger reads as demand and a failure. Fixture: a real settle with a deliberation faculty that arms its drop witness and never returns, under paused time, ends at exactly one TICK_DEADLINE with an inference error. Mutation: restoring the retry fails it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Fable: exact-head source PASS at 4a163c7. The delta since 10ced20 is the retry guard 🤖 Generated with Claude Code |
…in is not held to its next checkpoint (card 4d2a64a2) Serves every resident on the node: while a relaunch drains, no mind gets a lane, so each second an act holds its guard on a condemned engine is the whole node dark. Plan path step 1 (fast) and circle-the-wagons item: finish what is in flight. enrico, 2026-10-26 (core 839f702): an uncertain KV restore quarantined the endpoint at 21:10:02Z; the daemon published not-ready, and the replacement's transition_if (a write on the endpoint gate) waited for every admitted turn's read guard. Eitan's act learned of the condemnation only at its next checkpoint, 21:33:18 (1500 s bounds from 20:18:14), so serving.reconcile.wedged step=ensure_serving ran 1368 s against a 180 s bound, ready 21:33:26. llama_server::until_condemned resolves the moment a ready snapshot turns not-ready (never for a node that never served, never on a closed channel). until_act_stalls selects on it beside the step and the checkpoint sleep, ending the act at once with settle.tick.condemned (and Abandoned { dispatched } from #5498). Stacked on #5498. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…in is not held to its next checkpoint (card 4d2a64a2) (#5500) * An act ends the moment its engine is condemned, so a quarantine's drain is not held to its next checkpoint (card 4d2a64a2) Serves every resident on the node: while a relaunch drains, no mind gets a lane, so each second an act holds its guard on a condemned engine is the whole node dark. Plan path step 1 (fast) and circle-the-wagons item: finish what is in flight. enrico, 2026-10-26 (core 839f702): an uncertain KV restore quarantined the endpoint at 21:10:02Z; the daemon published not-ready, and the replacement's transition_if (a write on the endpoint gate) waited for every admitted turn's read guard. Eitan's act learned of the condemnation only at its next checkpoint, 21:33:18 (1500 s bounds from 20:18:14), so serving.reconcile.wedged step=ensure_serving ran 1368 s against a 180 s bound, ready 21:33:26. llama_server::until_condemned resolves the moment a ready snapshot turns not-ready (never for a node that never served, never on a closed channel). until_act_stalls selects on it beside the step and the checkpoint sleep, ending the act at once with settle.tick.condemned (and Abandoned { dispatched } from #5498). Stacked on #5498. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * Condemned means the daemon decided to replace the engine, never a transient not-ready (Fable on #5500) until_condemned resolved on any ready -> not-ready, but the daemon also publishes not-ready while the engine stays up (AlreadyServing with a 0 /props window, most likely when the engine is saturated in prefill): every such hiccup would have abandoned every in-flight act on the node. Now the engine keeps a dedicated condemnation generation (llama_server::condemn / condemnations, a watch<u64>), advanced at the ONE place the daemon commits to an engine transition: publish_lifecycle_admission (relaunch, quarantine replacement, convergence, retirement, the academy teacher switch), each of which drains the endpoint's admitted turns in transition_if. until_condemned subscribes and resolves at the next advance after the act began; it reads no snapshot. Probe: serving.engine.condemned {generation, reason}. Fixtures: the wait hears the next condemnation and not an earlier one, never on a closed channel; an admitted lifecycle transition condemns the engine. Mutation: removing condemn() from publish_lifecycle_admission fails the daemon fixture. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Why
A generation that ran for 75 minutes and was dropped at the act deadline was reported as a mind that never got a lane. Every reader of that label (her pace, the hour line, the resident stall alarm in #5496) then tells the wrong story about her, and the fix it points at (lanes) is the wrong one. This is plan path step 1 (fast) under goal 11 (every fast-path miss loud): a miss has to be named right before it can be fixed. Card 843d5570.
The case (enrico, 2026-10-26, core 839f702)
settle.tick.extended slot=1at 20:43:18 (ext 1) and 21:08:18 (ext 2). Each extension is granted only when the persona's pinned slot is advancing.waited_secs=4500(ACT_EXTENSIONS=2, 1500 s floor).classify_act(0, 0)returnedLaneStarved. The act probedpersona.act.lane_starved lanes_available=0 generations=0, and its input was treated as never dispatched.(I first misread this as a turn that never reached the engine; the retraction is in #continuum-dev.)
What
admission_clock::QueueTime(the step's own clock, already task-scoped to the step) gainsdispatched, set bynote_dispatched().generation_drop::InFlight::armcallsnote_dispatched(): the drop witness arming is the dispatch fact.until_act_stallsreturnsErr(Abandoned { dispatched })instead ofErr(()).settle_to_outcomecounts a dispatched drop as a generation forclassify_act, so the step is an act that failed (InferenceFailed), never a lane wait.settle.tick.deadlinegainsdropped_in_flight.Verified (enrico, at 10ced20's content before its rebase onto 42aabcf)
cargo check -p continuum-cognition --liband--profile test(--features metal): exit 0, no warnings in the crate.cargo test -p continuum-cognition --lib -- act_observe::settle generation_drop admission_clock: 16 passed, 0 failed.a_deadline_says_whether_it_dropped_a_dispatched_generation: a step that armed its witness ends asAbandoned { dispatched: true }, and one that never armed ends asdispatched: false.note_dispatched()call removed fromInFlight::arm, that fixture FAILS (12 passed, 1 failed). Restored, it passes.source-hygiene ratchets -- origin/canary(base 42aabcf): exit 0, no row changed.Measured after deploy
Owner Cormac, by 10-27 18:00Z, on enrico: every
settle.tick.deadline dropped_in_flight=truerow pairs with apersona.generation.droppedrow and with nopersona.act.lane_starvedrow for that act.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE