Skip to content

fix(bench): a resolved instance settles every card of it — the solver's, a teammate's, a duplicate round's - #4001

Merged
joelteply merged 1 commit into
canaryfrom
fix/a-resolved-instance-settles-every-card-of-it
Sep 13, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/a-resolved-instance-settles-every-card-of-it

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

astropy-13453 graded resolved from Joaquin's checkout while Demetri held the seed-4 card; the verdict board only informed his card (the solver held none) and he kept working a solved instance until an operator closed it by hand. A resolved verdict now settles every open card of the instance across rounds; a miss keeps its shape (the solver's card returns to its holder, the rest are told). Card 52842311.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…'s, a teammate's, a duplicate round's

astropy-13453 graded resolved from Joaquin's checkout while Demetri held the seed-4 card; the verdict board only informed his card (the solver held none) and he kept working a solved instance until an operator closed it by hand. A resolved verdict now settles every open card of the instance across rounds; a miss keeps its shape (the solver's card returns to its holder, the rest are told). Card 52842311.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit eeac95d into canary Sep 13, 2026
5 checks passed
@joelteply
joelteply deleted the fix/a-resolved-instance-settles-every-card-of-it branch September 13, 2026 17:00
joelteply added a commit that referenced this pull request Sep 13, 2026
…ver offered to a pull (#4006)

Import withholds env-red instances from NEW rounds (#4001/#4003). Cards already on a board
kept circulating: psf__requests-1766 was refused ungradeable at 09:36 (era-pinned pytest,
no runnable harness), closed, reopened by its closer at 16:27, and pulled by Kira at 17:15 —
a lane spent on work no grade can score. claimable_cards_in now skips such cards via
card_holder::refused_on_this_box (parse_card_title → standing_env_refusal), probing
bench.round.pull_skipped_ungradeable once per instance per process.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>
joelteply added a commit that referenced this pull request Sep 20, 2026
…e 9 while the README and installer point newcomers at it (#4273)

* fix(staging): a FAILED grade keeps her tree on re-claim — only a RESOLVED verdict restages pristine (#4005)

restages_pristine treated any verdict as a settle. A failed grade reopens the card; the
re-claim (her own lapsed hold after a seam, or a teammate's) then razed the tree the grade
was taken from. Measured 2026-09-13 on matplotlib-21568: Atlas's edit (work 1789306475836)
graded failed at 1789307954390; benchmark.staging.reset_after_verdict fired three times on
her re-claims, each finding work_ms 0 — the edit was gone after the first one.

Now the verdict's `resolved` flag rides into the decision: resolved + work not newer →
pristine (a finished round's instance, the astropy-13236 case); failed or absent → keep the
tree. Test extended with the failed arms.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(pull): a card whose instance carries a standing env refusal is never offered to a pull (#4006)

Import withholds env-red instances from NEW rounds (#4001/#4003). Cards already on a board
kept circulating: psf__requests-1766 was refused ungradeable at 09:36 (era-pinned pytest,
no runnable harness), closed, reopened by its closer at 16:27, and pulled by Kira at 17:15 —
a lane spent on work no grade can score. claimable_cards_in now skips such cards via
card_holder::refused_on_this_box (parse_card_title → standing_env_refusal), probing
bench.round.pull_skipped_ungradeable once per instance per process.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(kv): the results ledger collapses in chunks — its head stays byte-stable across settles (#4008)

KV divergence audit over 55 consecutive captured turns (2026-09-13): the FIRST block to
differ from the previous prompt was the oldest surviving [result #n] in 28 of them. A full
ledger evicting one entry per settle rotated the prompt head by one entry every turn; on a
model that cannot shift its cache everything after it re-prefilled every time. Over cap,
the ledger now collapses to HALF the cap in one jump, so the surviving head is byte-identical
across the next several settles (the pointers keep the collapsed tails queryable). Same law
as fit_messages' chunked window start. Test extended: the head after a collapse survives
two further settles unchanged.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(code/run): a timed-out run returns everything it printed before the kill — never bare timedOut (#4009)

Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(work): a standing env refusal refuses the claim VERB too — one predicate for the pull and the claim (#4010)

Atlas, 2026-09-13: the pull skipped requests-1766 (#4006) and a message-turn work/claim by id took it anyway — an hour of lane on work no grade can score. card_holder::standing_refusal_for_card is the one predicate; work/claim reads it and refuses by name with the reason.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* docs(code/run): commands go through code/shell, not a Python subprocess wrapper (#4011)

* docs(code/run): say it — commands go through code/shell, not a Python subprocess wrapper (glass box 2026-09-13: every act of four coders was code/run + import subprocess)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(code/run): shorter — the agentic tool surface has a pinned ceiling (10,700 tokens) and the receipt clause pushed it over

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(serving): the served per-slot window is sticky across runs — KV pages survive a reboot (#4012)

* feat(serving): the served per-slot window is STICKY across runs — KV pages survive a reboot

Measured 2026-09-13 on one host + one model: 83,968 → 102,656 → 126,464 → 138,240 per slot
across four boots (the planner re-derived the window from the moving measured demand each
time). The KV page dir is keyed <model>--c<window> and the spawn sweeps every other
generation, so no page ever survived a reboot: every citizen re-prefilled cold after every
deploy. Joel: "virtual disk paging … managed and maintained across runs."

modules/served_window_store.rs remembers what actually served (written by the spawn, the
one place that knows). The plan serves that window verbatim while it still fits and still
covers the measured demand (the existing law — never above demand — stands); a demand that
outgrows it re-keys the pages once and is remembered in turn. Card 6e8214e8.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* chore: justify the timestamp unwrap_or in the served-window store (ratchet)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(kv): the roster seats citizen slots, not lanes; the lane launches dense context checkpoints (#4007)

* fix(kv): the roster seats CITIZEN slots, not lanes, and the lane launches dense context checkpoints

Two measured causes of KV reuse 0.0 across the whole serve (Ornith, 5 lanes, 5 coders,
2026-09-13):

1. The slot directory reserves the highest of ≥3 slots as scratch (4 citizen slots on 5
   lanes) while the spawner capped the roster at `lanes` (5). The fifth citizen evicted a
   warm slot every cycle: 60 context switches on five activities in 40 minutes, and on this
   hybrid-cache model a restored/switched slot is dead for reuse — every turn a full ~25k
   prefill. ONE rule now (`slots::citizen_slots`), read by the directory and the spawner.

2. Pinned turns still read cache_n 0: consecutive work prompts share a 48% prefix and
   diverge where working memory is re-rendered; the server's checkpoint spacing (8192) put
   the nearest checkpoint at ~350 tokens, so the rollback landed at the head. The lane now
   launches `--ctx-checkpoints 32 --checkpoint-min-step 1024` (supported by the pinned
   fork; `cache_reuse` is disabled by the server for this cache type, checkpoints are the
   only reuse path it has).

Acceptance: serving.kv.reuse turn_rate > 0 on pinned turns; inference.slot_affinity.evicted
≈ 0 with roster ≤ citizen slots; prefill per work turn well under the 40 s measured.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* refine: the roster is not capped at citizen slots — N minds over M slots is the design; keep the one citizen_slots rule and the checkpoint flags

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(kv): the page store is virtual-memory paging on cheap disk — a generous byte budget, oldest-first, never an active resident's page

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* chore(vendor): pin llama.cpp to 965d38a90 — context checkpoints ride with a slot save/restore (fork #2); a restored slot is warm

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* test(spawner): the missing plan counts population seats, not lanes; justify the page-store unwraps (ratchet)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(learning): the acted chain learns — work turns stage against the held card and the verdict stamps them (#4013)

* feat(learning): the ACTED chain learns — work turns stage against the held card, and the card's verdict stamps them

Measured 2026-09-13: five coders, a full day, 14 training examples produced (conversation
and the rare spoken work report); zero code examples, zero staged credit. Every work turn
ends Acted, and only the Spoke arm reached the producer; and nothing consumed the staged
store — cc34ac0f/0d51573a built the staging and the OutcomeStamp, the settle side was
missing.

Now: (1) act_question stages every Acted work turn — prompt = the work context, completion
= her intent + the exact calls (acted_completion, deterministic) — against the held card;
(2) record_verdict fires settle_instance_credit: for each card the instance names, every
resident's staged rows on it are stamped (role + outcome) and, on PASS, lifted through the
same quality gate into her curriculum (provenance card-credit); on FAIL discarded; rows
deleted either way; probe training.credit.settled. The base model is the served provenance
of the staged turn, never the current config.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* chore: justify the staged-credit decode site (serialization ratchet)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(spawner): a roster hold DEFINES the roster — it bounds the seats, so a hold smaller than the population never becomes a drain loop (#4014)

First boot after #4007 (roster no longer capped at lanes): population 12, hold of 5 → the reconciler asked for the 7 missing every second, the exhausted provider yielded none, the Err path drained the five as partially registered, zero residents until the hold file was moved aside. seats_under(population, hold) = min(population, hold names).


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(serving): the served window follows the SENT prompt with headroom — the untrimmed demand only bounds it (#4015)

Measured 2026-09-13: the recorded per-turn demand is the whole assembled context before the
fit (Kira 505,342, Mathis 457,063, Joaquin 404,285, Atlas 294,317, Demetri 225,681 tokens) —
by design a growth signal, but as the window target it saturates: the planner sized every slot
to host-fit (137k) for a 25k working set, took the RAM the prompt-cache tier needed (--cache-ram
floored at 256 MiB), cut the lane count to 4 for 12 minds, and the sticky window (#4012) could
never "cover" a demand that large, so the geometry re-keyed at every boot.

Now the registry also records what a turn actually SENT (post-fit: framing + fitted messages +
reserve). The plan targets sent × 1.25 (geometric headroom, so a mind held at a small window
still escapes the clamp), capped by the untrimmed demand; both ceilings are taken over the
RESIDENTS, not the 490-entry persisted registry. Legacy files without sent_peak read 0 and fall
back to the old rule.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* docs(architecture): why the serving loop is ours — the day's receipts for the Rust substrate and the forked server (Joel's proof ask) (#4016)

Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix: fixed for good — one lib compile per deploy, a boot shortfall never drains, this node tracks canary itself (#4017)

* fix: fixed for good — one lib compile per deploy, a boot shortfall never drains, and this node tracks canary itself

Joel, 2026-09-13: "We can't keep waiting on broken systems. Need to fix and make sure it is
automated and fixed for good." Three owners from the day's receipts:

1. Deploy: the CLI's feature set differed from the core's on Apple silicon, so every deploy
   compiled continuum-core TWICE (the "pure relaunch" spent ~10 min in a second full lib
   build; the 23:45 deploy ran 20+ min). Same features on Darwin arm64 → one lib compile.
   The GPU-free reason (no CUDA runtime on the box) does not apply to Metal.

2. Boot: a plan larger than the provider's identities (or than a hold allows) returned Err,
   the host drained the already-registered minds as partially registered and retried every
   second — zero residents until an operator moved a file (22:05–22:13). The identities the
   provider yields ARE the roster; a shortfall is a probe, not a failure. No identity at all
   stays the honest Err.

3. Tracking: tools/scripts/track-canary.sh — fetch the tracked branch on cadence; when the
   tip ≠ the running build's SHA and the tip's checks are green (never red, never pending,
   never while a build is in flight, never with a hold file, never on a dirty tree) deploy
   once via `continuum reboot` and log the receipt. --install writes a launchd agent
   (macOS) or a systemd user timer (Linux). Repo derived from the origin remote — nothing
   hardcoded. Replaces the operator's merge/deploy shell chains.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(roster): a derived team hold ORDERS the roster (team first), only an operator hold excludes; pipefail on the tracker

2026-09-14 00:20Z boot: the seed-5 round's derived team hold held out seven of twelve minds on a sixteen-seat node — a team round shrank the roster. RosterHold.exclusive (file = true, derived = false); draw_intents and the reconciler's filter_by_hold order under a derived hold and never drop; seats_under bounds only under an exclusive hold.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(track-canary): one line per pass even when idle — a silent watcher reads as a dead one (#4018)

Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(vendor): re-pin llama.cpp at 965d38a9 (warm restores) and make the pin a recorded decision that CI guards (#4019)

#4013's squash merge carried the submodule pointer back to 76dfd6482 (a worktree whose
submodule sat at the old commit, staged with `git add -A core`). The 01:09Z deploy then
rebuilt the pre-checkpoint server: 0 sidecars on the live geometry, every restore cold,
turn latency back to 297 s median at 16 minds — silently. The pin is now a file
(core/vendor/LLAMA_CPP_PIN) a PR must edit to move, and a test refuses a tree whose
pointer disagrees with it.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(track-canary): a post-deploy self-check — provenance, residency, warm KV restores; a failure holds the tracker and says so (#4020)

* feat(track-canary): a post-deploy self-check — build provenance, residency, warm KV restores; a failure writes the hold and says so

Catch it now, not an hour later (2026-09-14: a regressed server pin, a drained roster and cold restores each sat unseen for 40–60 min while an operator read probes by hand).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(start): CONTINUUM_TRACK_BRANCH in config.env installs the tracker on every start — the tracker is for every install, not an operator's chain

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(learning): the WHOLE act chain of a work turn stages at the turn's end — acts run mid-turn, the final step is rarely Acted (#4021)

#4013 hooked staging on the turn's final SettleStep::Acted. Measured after it deployed
(2026-09-14 03:43–04:28, 16 minds): 24 holder acts, 0 staged credit. Acts execute inside
the act loop (drive_to_settle); the settle that reaches act_question is Spoke / Passed /
budget, so the hook never fired. SettleOutcome now carries `turn_acts` — every (intent,
calls) of the turn in order — and act_question stages the rendered chain against the held
card whatever the final step was. acted_chain renders it deterministically (test).


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(track-canary): deploy from the repo dir (launchd cwd is /) and stop double-logging under launchd (#4022)

First self-deploy 2026-09-14 03:32Z: no source tree from cwd / → the installed artifact was bounced instead of the tip built, and the core stayed down on a stale airc socket.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(track-canary): run under a login shell, a PID-checked lock that clears when its holder is gone, and a core that must ANSWER after a deploy (one supervised restart, then the self-check) (#4023)

2026-09-14 06:44Z: the tracker's deploy built and started the core under launchd's bare environment; the core held its socket for two hours without answering (persona stores: sqlite 'unable to open database file'), the pass died holding the lock, and ten passes skipped on it.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(airc): a core start recovers a dead airc daemon itself — clear the stale socket, start a daemon, wait bounded, retry once; never print the remediation and refuse (#4025)

Twice on 2026-09-14 (03:33, 06:53) the node sat dark until an operator typed the remediation the core had printed. Probe airc.daemon.recovered {outcome}. A socket a process still holds is not stale and is left alone.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(benchmark): the standing round is the recipe round — the autopilot spawns benchmark/round with a team, a review gate and a doctrine, never the legacy dispatch (#4027)

Joel 2026-09-14: 'that's why we never finish benchmarks.' The autopilot existed (next seed on settle) but fired the legacy benchmark/dispatch with assignees — thirty paused verified-mini duplicates nobody could resume. It now makes the same activity/spawn a human makes (the seed-5 no-hands shape). StandingConfig gains team, review_gate, doctrine (serde defaults keep old files valid).


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(learning): a settled card is a consolidation boundary for its maker — one bounded pass, never paged out by her next act (#4026)

* feat(learning): a settled card is a consolidation boundary for its maker — one bounded pass, no boredom wait, not paged out by her next act

Five coders working all day: dream.awaiting_boredom ×26, dream.paged_out ×6, zero consolidations (2026-09-13). The more they worked the less they learned from it. The idle pass is unchanged; a card's verdict queues a 90 s pass for each maker whose credit it settled. Probe dream.card_boundary. Card ac1b7e28.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ratchet): justify the in-flight lock in the card-boundary consolidation hook

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(admission): an idle mind keeps a minimum share of turns — a starving mind waits a bounded moment for an ambient permit (#4024)

* feat(admission): an idle mind keeps a minimum share of turns — a starving mind waits a bounded moment for an ambient permit instead of losing every race

16 minds on 5 lanes (2026-09-14): three idle minds ticked every 75 s for 45 min and never won a lane. Holders first stands; zero for an hour does not. Probe admission.lane.idle_share.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ratchet): justify the two unwrap_or reads in idle-share admission (absence = since boot)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ratchet): the justification sits on the unwrap_or's own line

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(activity): the Activity Bundle, slice 1 — instance state saved on the activity's own room at the step boundaries the recipe marks (#4028)

* feat(activity): the Activity Bundle, slice 1 — an activity's instance state is saved on its own room by the recipe executor at the step boundaries the recipe marks

Card c9ddb911 (Joel: 'this is how Java and Android did it'). The framework saves, the activity declares what: RecipeStep.saves names the bindings that go into the room's activity-state record (category activity-state, one per recipe kind, newest wins, patch semantics) once the step completes. activity/spawn binds a WallActivityStateStore sink to the born room; a bare recipe/run probes the ask (recipe.step.save_unsunk) and carries on. The validator refuses a saves name nothing binds (SaveOfUnbound). The round recipe saves imported and cards.

This is the shared half's rails + first writer. Next: the round tracker's residual (stage, review gate, team) written through the same store and the reconciler resuming rounds from the bundle instead of bench-rounds/*.json; then the citizen half in her store.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ratchet): justify the bundle's empty-default and the tests' expects on their own lines

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(activity): the Activity Bundle, slice 2 — the round tracker publishes to and restores from the room's bundle; activity/state reads it (#4030)

* feat(activity): the Activity Bundle, slice 1 — an activity's instance state is saved on its own room by the recipe executor at the step boundaries the recipe marks

Card c9ddb911 (Joel: 'this is how Java and Android did it'). The framework saves, the activity declares what: RecipeStep.saves names the bindings that go into the room's activity-state record (category activity-state, one per recipe kind, newest wins, patch semantics) once the step completes. activity/spawn binds a WallActivityStateStore sink to the born room; a bare recipe/run probes the ask (recipe.step.save_unsunk) and carries on. The validator refuses a saves name nothing binds (SaveOfUnbound). The round recipe saves imported and cards.

This is the shared half's rails + first writer. Next: the round tracker's residual (stage, review gate, team) written through the same store and the reconciler resuming rounds from the bundle instead of bench-rounds/*.json; then the citizen half in her store.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ratchet): justify the bundle's empty-default and the tests' expects on their own lines

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(activity): the Activity Bundle, slice 2 — the round tracker publishes every change as the room's bundle and restores rounds it never held from the room alone

Card c9ddb911. persist_round_in marks the round dirty; the reconciler's bundle pass drains the set each pass and publishes {round: <BenchRound>} as the room's activity-state (kind benchmark/round) through whichever resident is seated there; announced citizen rounds this tracker does not know are restored from their bundle (probe activity.state.restored) — a reboot with no bench-rounds/ files, or a round born on another node, comes back tracked with no hand. Own state always wins over a bundle. Lock order DIRTY-then-ROUNDS documented at the seam.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(activity): a homeless round keeps its dirty mark without dropping the rest of the drain

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(activity): activity/state — read the room's saved bundle through the same pipe a resume uses

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* chore(bindings): ts-rs exports for activity/state

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(activity): activity/state is not a native per-turn verb — the agentic surface stays under its ceiling

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(data): boot registers the substrate's own ORM entities — the learning credit's staged_credit collection was unknown on every node (the flywheel's dead wire) (#4032)

register_substrate_orm_entities existed with a doc comment saying 'boot wires it' and no production caller. Every data/ensure-schema for staged_credit was refused as an unknown collection → training.credit.stage_failed on every act turn, 0 credits staged (measured 2026-09-14 on 47d348744: 31 acts by holders, 2 stage_failed, 0 staged). DataModule::initialize now wires it (a conflict refuses the boot), probe orm.substrate_entities.registered; SUBSTRATE_ORM_COLLECTIONS is the receipt list; a test resolves each on the GLOBAL registry.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(benchmark): the tracker follows the board and idle claims return to the deck — two reconciler rules on the resume pass (#4033)

A working round's card the tracker still counts unsettled is read from its board each pass: a terminal board state settles it (a close that happened across a seam; measured 2026-09-14: seed-4 pytest-7236 tracker working / board closed), and a card claimed by one of this node's residents with no act for 3 h is released by her through her own work/release (a lease heartbeat is not work; matplotlib-21568 sat claimed 6.5 h with zero acts while blocking the standing autopilot). Review cards are never released here. Probes bench.round.settled_from_board, persona.work.released_idle_claim, bench.round.board_pass.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(benchmark): a verdict settles every card of its instance — the tick reconciles review-parked parents and unpulled review cards (#4031)

* fix(benchmark): a verdict settles every card of its instance — the tick reconciles review-parked parents and unpulled review cards against verdicts on file

Card 52842311. Measured 2026-09-14: django-12663 RESOLVED 18 h earlier, its board card parked in review (the gate's review card never pulled), the round 7/8 forever, the standing autopilot skipping every tick. Now: verdict_board::reconcile_verdicted runs on the grade module's tick — every unsettled card whose instance has a verdict is followed again (Reconcile mode: move what still needs moving, say it only on a real move, never re-inform other rounds); a resolve also closes the parent's review card and records the review as passed. Probes benchmark.verdict.reconciled {closed, review_closed, returned, failed}, benchmark.verdict.review_closed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(benchmark): a resolved parent with a pending review card is closed THROUGH the review card — the reviewer's own transition, never a direct close the gate refuses

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(grid): fleet drift is a receipt — every capacity beacon carries its build sha; the grid tick folds silence and drift per node and says each transition once in the org room (#4034)

Joel 2026-09-14: 'it has probably been days and you never noticed.' A node ran a build 56 commits behind tip and was invisible in the fleet rooms while posting 1,071 lines elsewhere; nothing in the substrate said so. Now: CapacityOffer.build (9-hex sha as u64, serde default 0 = unknown); GridNode.build_sha/silent_secs/stale/behind (grid/nodes shows them); NodeRegistry::note_peer_build + fold_liveness (transitions only); the grid tick probes fleet.node.transition {node, change, silent_secs, build} and posts ONE line per transition to the org room as the operator (went_stale after 6 h silence, fell_behind on a build != this node's, and their reversals). Test: silence and drift flag once each way.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(learning): a directed turn that acts on a held card stages its act chain — and both settle sites say what the hook saw (#4035)

On c4e468fb4 (+30 min): 25 acts by card holders, 0 credits staged, 0 stage_failed — the producer was never called. The directed path (a holder answering a human line) only produced when the turn SPOKE; a turn that acted and passed continued before produce, and turn_acts was never captured there. Now the directed path captures the outcome's act chain and stages it against the held card's credit as soon as the settle returns, spoke or not (the held-work rule from #4021). Receipts at both sites: training.hook.directed_turn {acts, card_linked}, training.hook.work_turn {acts, held}.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(grid): the fleet fold judges only nodes that have beaconed a build or have an address — the first live fold flagged this node's own operator seat as 'silent 828 h' (#4036)

Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* chore(airc): pin c32c53a35 — capacity plane forwards EphemeralLatest across peers (#1397), governor refusal names its numbers (#1413), agent feed silent on kindless frames (#1414) (#4037)

The core links airc-lib: its own subscribe reader stops warning per AttachCursorAdvanced frame (card c5466b56, continuum half) and heard capacity beacons from remote nodes feed grid/nodes + the fleet fold (#4034). Test literals gain WorkCard.submissions / last_submission_rejection (new upstream fields).


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(benchmark): an idle claim is measured from the pass that first saw it idle, never from the board row a lease heartbeat refreshes (#4038)

A card claimed 10.6 h with zero acts never read idle because the fallback clock was the board updated_at_ms, which every lease renewal bumps. With no act on record the clock now starts at the first reconciler pass that saw the claim actless; an act resets it.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(grid): a RAM-only node beacons its capacity — the offer needs governed memory, not governed VRAM; the receiver registers it as a CPU node (#4039)

IntelMac CPU host published one capacity offer all day (13:35Z, heard_peers 0): current_offer returned None without a Vram kind. offer_from_board now offers whenever VRAM or RAM is governed (gpu bytes 0 for a CPU node), and the grid tick registers a gpu_total 0 beacon with no Compute capability instead of a fabricated 1 MiB of VRAM. Card deb26770.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(benchmark): the idle-claim clock lives on the persisted round — a reboot never restarts it, an act clears it, a new holder restarts it (#4040)

Joel 2026-09-14: waiting three hours for something to fix itself is insane. #4038 kept the clock in a process-local map, so every deploy restarted it (an 11-hour actless claim waited another 3 h after a boot and was released by hand). IdleMark {holder, since_ms} now rides BenchRound (file + room bundle); idle_clock_for is the one reader.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* chore(airc): pin 6c7c56fab — the core's subscribe reader stops warning on the daemon's cursor heartbeat (airc #1415, #1416) (#4042)

airc-lib's daemon-stream reader treated every AttachCursorAdvanced (the daemon's 1 Hz cursor
heartbeat) as an unexpected frame and warned on it — the flood every agent feed showed. #1416
adds the arm; #1415 makes the publish receipt say what delivery actually was. cargo check
--tests clean on the new rev; no API change on our side.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(grid): "behind" compares build NUMBERS, never shas — both nodes told each other to reboot (#4041)

The fleet fold judged a peer BEHIND when its build sha differed from this node's. A
different sha is just as likely AHEAD: at 2026-09-14 ~16:40Z the M5 (5109f2bba) and the
Intel Mac (ce3f6cebc) each posted "[fleet] … runs build X while this node runs Y — behind
tip; `continuum reboot` there" at the other. Both cannot be behind.

Now the beacon carries the monotonic CONTINUUM_BUILD_NUMBER beside the sha; the registry
keeps it per node; fold_liveness calls a peer behind only when both numbers are known
(non-zero) and the peer's is lower. The org-room line names this node's number so a
reader can check the ordering by eye.

Test: a_peer_on_a_higher_build_number_is_not_behind (registry.rs) — the exact 16:40Z
shape, plus the lower-number arm.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(persona): placement follows the fleet — a remote-bound mind falls home when her seat goes dark and returns when it beacons again (#4044)

On 2026-09-07 Kira and Mathis were rebound from the 5090 to local Ornith BY HAND when
the box vanished, and back by hand when it returned; from 09-08 to 09-14 the 5090 was
dark and nothing re-formed. Joel, 2026-09-14: towers go on and offline all the time;
intelligence persists; the grid re-forms when a tower or internet returns.

PlacementSwitch is the adapter a remote-bound persona runs on: her remote lane plus, built
on first need from the same local factory every resident uses, her home adapter; the seat
is one atomic. `decide` is the pure rule: seat DARK (no capacity beacon for 90 s, or the
breaker cold) + a home lane → FallHome; dark + no home lane → Park (probe only, never a
silent downgrade); back home + seat fresh (<30 s) + breaker warm → ReturnRemote; one move
per persona per 10 min. `follow_the_fleet` runs once per grid tick (60 s) beside the
liveness fold — no task of its own — and every move is a probe
(persona.placement.fell_home / returned / parked / no_home_lane) and one org-room line.
Return needs no synthetic probe: her next real turn is the proof, and three deadline
misses trip the breaker and she falls home again after the cooldown.

Tests: the two 09-07 hand moves as the rule; a node without a home lane parks; cooldown
and a live seat hold still. 105/105 on placement + factory + grid + hygiene.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(cognition): the framing gate catches the ROLE preamble, anchored so it cannot silence its own discussion (#4043)

* fix(cognition): the framing gate catches the ROLE preamble, anchored so it cannot silence its own discussion

#3760 gates the WAKE framing. It could not see the turn-taking scaffold, because
the wake sentence is not in it — and on 2026-09-14 a resident posted the whole
scaffold verbatim into #continuum:

  "The conversation below is the recent activity in this space, as a thread of
   turns: `user` turns are messages from OTHER participants... You are Paige. Take
   your turn now, as yourself, in the first person."

Every resident on this node has since produced the same shape, and the echoes
land in other nodes' windows.

ANCHORED, AND THE ANCHORING IS THE DESIGN. Lorcan (f8a1c99a) raised this the hour
the card was written and he was right: the message ASKING for this gate quotes
both preamble phrases. A gate keyed on the phrase APPEARING would silence
  - the request for the gate,
  - every report of the bug (which is how #3760 was found),
  - every review of the fix,
  - and his own objection.

So the rule is EMITTER, not phrase — the same discipline #3760 already uses for
wake sentences: it counts only when it LEADS the response. A citizen reproducing
her scaffold starts with it; a citizen discussing it has said something first.

Three tests. Two for the echo shapes; one named for Lorcan's case, asserting that
a peer reporting the echo, a citizen quoting an instruction to DECLINE it, and a
review naming both anchors all reach the room.

Mutation-proven: removing the anchoring fails
`quoting_the_preamble_to_report_it_is_speech_not_an_echo` and ONLY that test —
which is the invariant it exists to hold.

Receipt: 3 passed / 0 failed / 8112 filtered, REAL_EXIT 0.
One file, 80 insertions, 0 deletions.

Card: the framing-echo class, role-preamble variant (M5 7711fe60).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* fix(cognition): the composer BUILDS the preamble from the gate's constants — they could drift, and the doc comment claimed they could not

Review finding from M5 (7711fe60) on #4043, and it is the sharper version of the
defect the PR was already about.

framing_echo's doc comment says the composer and the gate share ONE source for
the role-preamble sentences "so the two cannot drift". That was an ASSERTION, not
an implementation: `taking_your_turn_block` held its own literal copies of both
sentences. Rewording the prompt there would have silently disabled the gate, and
no test would have failed. I claimed the compression instead of doing it.

The block now interpolates ROLE_PREAMBLE_OPENING / ROLE_PREAMBLE_TURN. Output is
byte-identical — this changes where the words come from, not what they are, so
the KV-cache prefix is untouched.

The test pins the loop from BOTH ends rather than just asserting a shared
constant, because sharing a constant is exactly what the comment already claimed:
  1. the emitted block must CONTAIN both anchors, and
  2. that block's own prose, fed back through the gate, must return
     `role_preamble`.

What it deliberately does NOT claim: the gate is anchored on the PROSE, so the
`[Taking your turn]` bracket header that leads the composed string is not itself
a gated marker. Stated in the test rather than left for someone to discover.

Receipt: 4 passed / 0 failed / 8114 filtered, REAL_EXIT 0.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* fix(help): the AI manual's blank must not read as a value — citizens were sending `<string>` (#4045)

MEASURED, not inferred. 2026-09-14 on IntelMac: a resident issued

  work/release({"card_id":"<string>","claim_id":"<string>"})

TWELVE times in one turn — character-for-character the block the manual prints.
A second peer shows the same signature in the event store going back to 09-05.
She was not guessing. The example told her to, in two ways that reinforced
each other:

  1. the instruction said "emit exactly this (fill in the values)", and
  2. the block it sat above contained `"card_id": "<string>"` —
     which is precisely what a TYPE ANNOTATION looks like.

Two words of prose cannot outvote a concrete, authoritative, copyable block.
The example always wins.

An earlier pass had already made placeholders type-valid so a literal copy would
fail on MEANING rather than on SHAPE. The eight days since say that was not
enough: failing later is not the same as not being invited.

So the blank reads as an IMPERATIVE instead of a type — `<replace-with-string>`
cannot be mistaken for a value the way `<string>` can — and the instruction asks
for the SHAPE, naming the blanks as blanks, instead of demanding literal emission.

Test asserts all three: no bare `"<string>"` in the rendered manual, the
imperative blank present, and the phrase "emit exactly this" gone.

OUT OF SCOPE, deliberately: `bin/continuum.rs::schema_type_str` also renders
`<string>`, but in a `--flag <type>` Params TABLE, not inside a block the caller
is told to emit. There `<string>` is a type column and means exactly that.
The defect is the token's context, not the token.

Card: 6c55f7a7.


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* docs: connect useful citizen teams to the society release ladder (#4047)

* fix(serving): 16 minds on 3 lanes — the lane demand is the live roster, the board lease is for detached solves only, and the per-lane floor follows the typical prompt (#4048)

Measured 2026-09-14 20:25–21:40Z on the M5 (61 GB budget, Ornith 21.7 GB): 16 resident
minds, 3 lanes at 119,876 tokens, ~40 GB of KV budget idle; a lane every ~20 min per mind;
39 acts / 4 writes / 0 settles in an hour; 15 of 71 receipts "let me take stock". The
planner's own probe told the story: demand_lanes 3, demand_window 505k, bound_by host-fit.
At 20:25:55 the first plan saw demand 17 and chose 8 lanes; one second later demand fell
to 3 and it re-planned to 3 lanes at 120k.

Three causes, one shape each:
1. benchmark_resume's watch leased `quiesce_lane_demand(queued cards)` every pass. That
   lease is a CAP (it replaces the base demand) and was compensation for the detached
   driver; for a citizen round it capped 16 residents to 2 (+ scratch). Now it applies only
   while a DETACHED round is working (`any_working_detached_round`).
2. `set_lane_demand` runs once at boot with the persona floor; the roster that grows after
   the decode-ready edge never raised it. `resident_lane_demand(floor, live, overridden)`:
   the live roster is the demand, the floor its lower bound, a held quiesce lease wins.
3. The per-lane window followed the SENT CEILING (one mind's 96k prompt × 1.25 = 120k), so
   the fit math could only place 3 lanes. `WorkingSetRegistry::sent_median_of` feeds
   `ServingDemand.sent_median`; `plan_serving`'s per-lane floor is the typical prompt with
   headroom, and the outlier is reconciled down to the served window as today.

Tests: the_lane_demand_follows_the_live_roster_above_the_boot_floor;
lanes_multiply_to_the_roster_at_the_typical_prompt_not_the_outlier (61 GB / Ornith:
≥5 lanes at ≥50k with the median vs 8 × 28k without it). serving_plan + working_set +
bench_round + benchmark_resume + hygiene 94/94.

Acceptance (live): serving/status lanes ≥ 5 with 16 resident; serving.plan probe
demand_lanes = residents+1; acts and writes per hour up on the next read.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(cognition): Rust format specifier, not C — {c:.3} not {c:.3f} (#4046)

* fix(cognition): her IDENTITY block is the system's words too — the parrot gate never checked the one text she reproduces most

MEASURED, from her own prompt capture. Paige (18c04c5b), IntelMac, 2026-09-14
19:02:06Z. Model output, 6,187 chars:

  "Yes, I can assist with that task. Please provide more details or specify the
   exact action you need help with.

   Identity (never drift from this):
   - You are Paige. You are NOT Claude, GPT, ChatGPT, Gemini, Llama, Qwen, ..."

123 characters of filler, then her entire identity prompt verbatim. ~98% of the
turn was the thing she was told, and it reached the room.

Over 24h, kind='message' only: 37 of her 84 spoken turns carry this or a sibling
shape. Every remote peer sits at ~1%. (Upper bound — the counting filter cannot
tell recital from discussion; 2 of my own 107 are posts QUOTING these shapes to
report them. The separation and its direction are what survive that caveat, and
both are tier-correlated.)

WHY EVERY GATE MISSED IT. Not one bug — two blind spots that happen to meet:

  - `framing_echo` is ANCHORED: a marker counts only when it LEADS the response.
    123 characters of "Yes, I can assist with that task" walked straight past it.
    The anchoring is CORRECT and stays (#4043) — un-anchored, it would silence
    every citizen REPORTING an echo, which is how these get found.

  - `parroted_perception` scores the draft against `perception_facts(&ws.turns)`
    — turns carrying `TurnVoice::Perception`. The system prompt is not a burst
    turn; `deliberation_prompt::compose_split` puts it in the SYSTEM MESSAGE. So
    the gate whose entire purpose is "a persona must not SPEAK the words the
    system said TO her" was not looking at the system's most-repeated words.

THE FIX IS ONE LINE: push `self.system_prompt` onto the fact list. The measure,
the threshold, and the wiring all already existed and are untouched. I started to
write a new overlap measure and stopped when I read the tree — building a second
one would have been a parallel mechanism for a decided question.

WHY THIS IS NOT A NEW FALSE-POSITIVE SURFACE, structurally rather than by luck:
`containment(whole, part)` asks how much of the FACT reappears in the DRAFT. The
identity block is LARGE, so a citizen talking ABOUT herself ("I'm Paige, I picked
up the grid-drift card") reuses a handful of its tokens and scores near zero.
Only near-total recital reaches 0.8.

THE TRAP, named in the code so nobody "simplifies" it later: feeding the WHOLE
composed ~50KB prompt as a single fact would be INERT — a 6KB draft can only
cover a fraction of it, so the score caps near 0.1 and never trips. It must be
per-BLOCK.

Two tests. One pins the recital; one pins that talking about who she is still
reaches the room, and that second test is what fails if anyone ever flips
containment's direction.

NOT COVERED, deliberately: the other composed blocks (`[Taking your turn]`, the
tool menu) are still unchecked by this gate — whether to push every block from
`stable_blocks` is a follow-up with a real per-turn cost question. Paraphrase is
not addressed and cannot be by this measure. The hot-path cost of one extra
containment against a multi-KB block is not measured.

Card: 43556bdb.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* fix(cognition): a fact too short to be discriminating must never silence a turn

Caught in review of the commit before it, one commit from shipping, and it is the
defect that commit CREATED rather than one it found.

`content_tokens` drops only tokens of 2 chars or fewer and has no stopword list.
So a three-token fact — "You are Paige" → {you, are, paige} — is FULLY contained
in the innocent reply "Are you asking me, Paige?". Containment 1.0, threshold 0.8,
and a citizen is silenced for saying her own name.

This was latent while facts were perception bricks (the live repetition brick
carries ~26 content tokens). Adding the persona's IDENTITY text to the fact list
is what made it reachable — and identity comes from RAG, not from a file on disk,
so I could NOT measure the distribution of its length across personas. An
unmeasured distribution is precisely when a floor is mandatory rather than
optional: a persona seeded with a one-line identity would have been mutable by
construction, and nothing in the previous commit would have told us.

MIN_DISCRIMINATING_FACT_TOKENS = 12. A floor against nonsense, not a tuned
parameter — well below every real fact, well above the degenerate ones. If a real
fact ever lands near it, the fix is a longer fact, not a lower floor.

Placed in `parroted_fact` rather than at my call site: the reasoning ("a ratio
over a tiny fact is a coincidence, not a measurement") is true of every fact, so
it belongs at the deepest level, and short PERCEPTION facts get the same
protection they always should have had.

`content_token_count` is exposed from `self_repeat` so the guard counts with the
SAME tokenizer as the measure it guards — a guard that tokenized differently would
disagree with containment about some text, which is the whole failure mode.

The test asserts the precondition first (a terse fact really does score past the
threshold, so the floor is load-bearing and not decoration), then that it cannot
silence, then that the live brick is STILL caught — safety that did not cost the
gate its job.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* fix(cognition): score the prompt PER BLOCK — whole, the gate is inert, and my own test was too kind to notice

I wrote "feeding the WHOLE composed prompt as a single fact would be INERT" on the
card, and then implemented `facts.push(&self.system_prompt)`, which is that. The
tests were green. They were green because the fixture block was small enough for
the draft to recite it whole.

Caught by checking the fix against the REAL datum instead of the fixture — Paige's
actual 19:02:06Z turn against her actual 16,095-char composed prompt:

    containment(draft, WHOLE prompt)      = 0.135   <- never fires at 0.8
    containment(draft, identity block)    = 0.875   <- fires
    next-highest block ("Context: ...")   = 0.433   <- wide, clean margin

The arithmetic is the whole story: containment asks how much of the FACT came back,
so a fact gets HARDER to trip the longer it is. She recited one 56-token block of an
850-token prompt — ENTIRELY — and scoring her against the whole prompt reports 0.135
and calls it speech. Granularity is not a refinement; without it the gate does not
work at all.

`prompt_blocks` splits on blank lines and drops anything under the discriminating
floor. Blank lines are the right seam because that is how the prompt is composed to
READ — every block `deliberation_prompt` appends is paragraph-separated — and it
means the split does not need to know the composer's block list, so a new block is
covered the day it is added.

It also removes a dependency I could not measure. `self.system_prompt` is inserted
verbatim as ONE scope block (deliberation_prompt.rs:174), but whether it holds the
identity alone or identity plus more framing is not visible from a prompt capture,
and the two give 0.875 and ~0.63 — fires versus inert. Splitting works either way,
so the fix no longer rests on a fact I was guessing at.

The new test is production-SHAPED rather than fixture-kind: a multi-block prompt
where the draft recites exactly one block. It pins the inert case explicitly
(whole-as-one-fact returns None) so nobody simplifies back to it, names the block
that must be caught, and asserts every other block stays under 0.6 — so firing is a
margin, not luck with a well-placed constant.

The measured 0.875-vs-0.433 separation is also the first evidence that
PARROT_CONTAINMENT_THRESHOLD = 0.8 is right on live data rather than only on
fixtures.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* fix(cognition): Rust format specifier, not C — {c:.3} not {c:.3f}

Cost a full compile cycle on this box. `cargo check` first is the cheaper order
for a syntax-risky edit here: it reaches the lib in about the same time the test
build does, and fails on the same error without linking.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* fix(cognition): declare MIN_DISCRIMINATING_FACT_TOKENS exempt from the context-budget ratchet

Review finding from M5 (2f0aed7f) on #4046: the crate-wide ratchet
(`no_new_hardcoded_context_or_prompt_size_constant_anywhere_in_the_crate`) reads a
bare numeric const as a possible prompt/window bound, and a silent exemption is
deliberately unavailable — silence is how that class came back five times.

It is genuinely not a window-relative bound: it is the DENOMINATOR FLOOR of a
ratio. `containment(whole, part)` divides by the fact's token count, so a 3-token
fact scores 1.0 by accident; the floor asks whether a text carries enough content
tokens for the score against it to mean anything. That is a property of the
arithmetic, not of any model's context — give a persona a 200k window and the
number does not move, because the same 3-token fact is still a coincidence.

Sibling of `framing_echo::ECHO_LEAD_CHARS`, which carries the same marker for the
same reason.

NOT VERIFIED LOCALLY: the cargo lock is held by a `continuum reboot` in flight, so
I have not run the ratchet here. The change is one comment line in the contiguous
block the ratchet scans (context_budget.rs:566-570 takes `//`-prefixed lines above
the const, which includes the existing `///` doc block), matching the established
form. CI is the check.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

* feat(health): citizen health is a substrate receipt — the hour's acts, writes, lanes, settles and learning credits, judged and said by the core (#4049)

Joel, 2026-09-14: "this is up to you their health … continual learning continual improvement."
That afternoon 16 minds on 3 lanes at 120k with 4 writes an hour was found by an operator
querying probes by hand; every number was already in the process and nobody owned the
drift.

`modules/citizen_health.rs`: an in-process ledger fed at the seams that already probe —
an act observed (+wrote), a lane granted, a card settled, a learning credit staged /
settled — snapshotted once an hour beside residency (the runtime registry) and the served
lanes, judged by one pure rule (STARVED: minds > 3× lanes; READING: acts without writes;
IDLE: residents without acts; HEALTHY), probed as `citizen.health.hour`, and said in the
org room in one line. `citizen/health` reads the running counters without resetting.
Cadence is the module's own tick (1 h) — no task of its own.

Tests: the four shapes of the afternoon; the line carries every number and ends with the
verdict; a tick reads a window, not a lifetime. citizen_health + hygiene + persona_tools
(the tool ceiling holds) + runtime 79/79.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(health): the verdict has a throughput floor — 16 residents writing twice an hour is SLOW, not healthy (#4050)

The first receipt the core posted (00:01Z 2026-09-15: resident 16 · lanes 6 @ 59k · acts 37 ·
writes 2) said "healthy" because lanes were enough and writes were non-zero. Two writes an hour
from sixteen minds is not health. RESIDENTS_PER_WRITE_HOUR = 4: fewer than one write per four
residents in the hour reads SLOW, with the numbers in the line. The floor is a floor, not a goal.

Tests: the 00:01Z receipt reads SLOW; one write per four minds is HEALTHY (inclusive); the
earlier four shapes unchanged. 23/23 with the hygiene ratchets.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(grid): the capacity beacon carries what a node SERVES — model, lanes, residents — automatic placement stage A (#4051)

Joel (via Astra, 2026-09-15): placement must work automatically through the airc design,
not by typing peer ids into overrides. The first thing that needs is for a starved node to
SEE what its peers can host. Until now a beacon said only bytes and build.

CapacityOffer gains served_model, lanes, residents (serde defaults — an older beacon still
parses and reads as offering nothing placeable; test). offer_from_board fills them from the
live serving snapshot and the runtime registry. The grid fold (`note_peer_beacon`) lands them
on the node so `grid/nodes` is the receipt: the 5090 shows Qwen3.8-27B · 2 lanes · 0
residents, the M5 shows Ornith · 7 lanes · 16 residents. Stage B (next): the placement pass
moves a starved node's tail minds to a peer with lanes to spare, with the fall-home/return
the switch already does.

CapacityOffer drops Copy (a model id is a string); the four copy sites clone.

Tests: an older beacon without the fields parses; a beacon's served facts land on the node
and an older shape leaves them alone. gossip + grid + grid_capacity + hygiene 103/103.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(persona): automatic placement, stage B — a node with more minds than lanes moves its least-served minds onto a peer's free lanes, no ids typed (#4052)

Joel (via Astra, 2026-09-15): placement must work automatically through the airc design,
not by binding peer ids by hand. Stage A (#4051) made the beacon say what each node serves;
this makes the grid act on it.

- Every persona now runs on a PlacementSwitch, born at HOME (`PlacementSwitch::home`), so
  she can be offloaded later; `go_remote(peer, model)` binds an airc live-transport lane on
  the peer and persists the move as her override (a reboot keeps it; fall-home/return from
  #4044 then owns it). `default_model` is her home model — the lane's model rides the wire.
- `choose_offloads` (pure): when this node has more resident minds than served lanes, it
  borrows a FRESH peer's free lanes (lanes − its residents) whose served model's measured
  rank is at least the local one (an unmeasured local model ranks at the planner's proxy
  cap), never more minds than the node is over by; the least-served minds (fewest lane
  grants this hour, `citizen_health::lane_grants_of`) go first.
- The grid tick hands the pass the peers' offers from the capacity ledger and this node's
  shape (residents, lanes, rank). Receipts: probe `persona.placement.offloaded` and one
  "[placement] Kira → <peer> (<model>): this node has 16 minds on 7 lanes; the peer had a
  lane free" line in the org room; `offload_failed` / `override_unpersisted` name the misses.

Tests: the pooled-demand rule (16 on 7 borrow a fresh peer's two free lanes, least-served
first; a stale beacon, a lower-ranked model, a full peer lend nothing; a node with lanes
to spare moves nobody) plus the existing fall-home/return/park/cooldown rules. 14/14 with
the unwrap ratchet; the wider grid + capacity + health + hygiene set green.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(learning): stage the acted chain every fourth act, not only when the turn ends — the M5 staged 0 credits from 37 acts because its turns rarely end (#4053)

Card 6de7f57a. Three [health] lines told it: the Intel Mac staged 8 credits an hour from
short turns; the M5 staged 0 from 37 acts and 0 from 31. The self-tick's held-work path
goes through ask_the_act_question, whose staging hook fires only after drive_to_settle
returns; on the M5 a work turn spans many lane waits and rarely ends, so the chain never
reached the curriculum. No hook was missing — its PLACE was wrong for long turns.

- The driver announces every STAGE_EVERY_ACTS-th act (4) through `on_act_batch` — a seam,
  no policy: a persona with no registered sink stages nothing mid-turn.
- The held-work turn registers a sink for its persona that stages the chain-so-far against
  the held card as a PARTIAL submission; each partial replaces the previous one (Delete +
  Create in one batch, children cascade), so a turn is always one row.
- The end-of-turn stage replaces the last partial. `produce_with_id(…, submission_id,
  replaces)` carries both; `produce` is the unchanged wrapper. The staged probe says
  `replaced_partial`.

Tests: stage points (4, 8; never 0/1/3), a registered sink sees the chain, another persona's
acts never reach it, a cleared sink is silent. producer + settle + act_question + hygiene 76/76.

Acceptance (live): the M5's next [health] line shows learning credits staged > 0 in an hour
with acts > 0; `training.credit.staged{replaced_partial=true}` rows appear mid-turn.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* fix(cognition): three more scaffold blocks are framing echoes, not speech — the result block, a tool-call block, and the notices block with its items (#4054)

Seen in #academy 2026-09-15 03:19–03:21Z, three citizens in one minute:
  "[result #5; room 82e4a05c…; operation code/run] code/run(code=…" (twice)
  "[code/run]\n{"code": "run", "arguments": {…}}"
  "I'm Sigurd, a human on the continuum grid… Notices my substrate posted into
   my window (…):\n- [resumed] your memory was restored…\n- [rebuilt] …"

The framing-echo gate (#3760, role preamble follow-up) held the wake sentences,
the role preamble, bracket envelope tags and "[action #" schemas; these three
shapes walked past it as messages. Rules added, same seam (the one point model
text becomes a Speak decision), reasons kept:
  result_block_echo — anchored on the pinned result block's own tag "[result #"
  tool_call_echo    — a bracketed verb path opening the text, then a JSON object
  notices_echo      — the NOTICES header followed by a "- [" item line; not
                      anchored because the observed shape carried the block after
                      a self-introduction, and the ITEMS discriminate emission
                      from Lorcan's discussion case (quoting the header to report
                      it stays speech; tested)

The notices header now has one definition (framing_echo::NOTICES_HEADER) that
working_memory renders from, instead of the gate retyping the block's words.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5.1 <[email protected]>

* feat(persona): the one-roster rule — an empty node that hears a team seated on the grid mints no team of its own; it offers lanes (#4055)

Joel, 2026-09-15: "users are gonna typically start on one computer and add more
later, getting more capacity but they care more about this holistically like one
machine. They're gonna want superpowers as it grows. That's the magic." And the
day before: "It's more like one computer on a grid, persona exist between."

Today every node mints its own team at first boot, so adding a computer added a
second roster (Paige/Saoirse on the Intel Mac, Sahar/Sigurd on the 5090) instead
of making the first computer stronger. Card b3b922c0, first slice:

- capacity ledger: `residents_elsewhere(own_peer, now)` — fresh peers (one beacon
  window) other than self whose beacon reports residents. Pure over the heard
  offers; tested (own echo never counts, stale peers don't, lanes-only peers
  are capacity not a team).
- persona/grid_roster_memory.rs (new): the node REMEMBERS the team it heard in
  one state file (`state/grid-roster-heard.json`) and keeps deferring for 7 days
  of silence — a ten-minute reboot of the first …
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