Repository navigation
A mind waiting for a window grant is never dropped by the act timer; her own queue place is its progress - #6218
Merged
joelteply merged 2 commits intoNov 22, 2026
Conversation
…her own queue place is its progress IntelMac, 8f924e5, 2026-11-22: 20 of 47 settle.tick.deadline drops spent the whole 25-min act floor in deliberation.window_grant (9,547 delib.window.waiting re-decisions), never dispatched. That wait was named (stage) but not registered with the admission clock, so it was charged to her act. - PoolGrants carries `owed` (each owed mind's publication-owed-since, from DispatchState at publish); `owed_rank` orders cohorts then ids; `waiting_place` reads Granted / Owed{ahead} / Unqueued. - admission_clock::window_grant is the ONE way deliberation waits for her window: the stage and the registration together (contribute.rs calls only it). Progress is HER place: becoming granted, or fewer minds ahead than she has had. Grants churn (~1.5 s on the IntelMac), reordering, a newcomer ahead, or staying granted while her hold is refused move nothing, so a livelock still ends at one checkpoint, now as settle.queue.stalled rather than a bare tick deadline. Tests (settle/tests.rs, existing mod; window_grant tests): a grant at 25 s past a 10 s bound runs and 9 s of later work still fits (the wait is not charged); churn stalls at one bound; staying granted earns one checkpoint; cancellation releases the wait; cohort rank and absent != rank 0. Event-driven (oneshots + paused clock), no new test sleeps. Mutation-proven: staying-granted-counts-always, any-rank-change, no registration in window_grant_with, ties-ignore-id each fail their test. Ratchets pass at the merge base. Not here: P3 arming (Fable #6116), in-flight drops via GET /slots on the engine loop (needs fork evidence first, per Codex). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…'s 'what this catches', not between it and its fn (Fable on #6218) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
deleted the
06254dcc/a-mind-waiting-for-a-window-grant-is-nev
branch
November 22, 2026 06:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IntelMac, 8f924e5, 2026-11-22: 20 of 47 settle.tick.deadline drops spent the whole 25-min act
floor in deliberation.window_grant (9,547 delib.window.waiting re-decisions), never dispatched. That
wait was named (stage) but not registered with the admission clock, so it was charged to her act.
owed(each owed mind's publication-owed-since, from DispatchState at publish);owed_rankorders cohorts then ids;waiting_placereads Granted / Owed{ahead} / Unqueued.registration together (contribute.rs calls only it). Progress is HER place: becoming granted, or
fewer minds ahead than she has had. Grants churn (~1.5 s on the IntelMac), reordering, a newcomer
ahead, or staying granted while her hold is refused move nothing, so a livelock still ends at one
checkpoint, now as settle.queue.stalled rather than a bare tick deadline.
Tests (settle/tests.rs, existing mod; window_grant tests): a grant at 25 s past a 10 s bound runs and
9 s of later work still fits (the wait is not charged); churn stalls at one bound; staying granted
earns one checkpoint; cancellation releases the wait; cohort rank and absent != rank 0. Event-driven
(oneshots + paused clock), no new test sleeps. Mutation-proven: staying-granted-counts-always,
any-rank-change, no registration in window_grant_with, ties-ignore-id each fail their test.
Ratchets pass at the merge base. Not here: P3 arming (Fable #6116), in-flight drops via GET /slots
on the engine loop (needs fork evidence first, per Codex).
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE