Skip to content

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 into
canaryfrom
06254dcc/a-mind-waiting-for-a-window-grant-is-nev
Nov 22, 2026
Merged

joelteply merged 2 commits into
canaryfrom
06254dcc/a-mind-waiting-for-a-window-grant-is-nev

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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

…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
joelteply merged commit 666a604 into canary Nov 22, 2026
32 checks passed
@joelteply
joelteply deleted the 06254dcc/a-mind-waiting-for-a-window-grant-is-nev branch November 22, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant