Repository navigation
promote: main := canary (a83603b8d) — the tested tip; main has been June 9 while the README and installer point newcomers at it - #4273
Merged
Merged
Conversation
…LVED 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]>
…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]>
…-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]>
…he kill — never bare timedOut (#4009) Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…edicate 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]>
…ss 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]>
…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]>
… 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]>
… 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]>
… 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]>
…m — 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]>
… 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]>
…ver 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]>
…r reads as a dead one (#4018) Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…e 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]>
… 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]>
…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]>
…op 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]>
…lears 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]>
…e 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]>
…ot 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]>
…ker — 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]>
…ving 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]>
…n 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]>
…ishes 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]>
…ning 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 47d3487: 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]>
…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]>
…ck 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]>
…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]>
…t chain — and both settle sites say what the hook saw (#4035) On c4e468f (+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]>
…ds per lane, rested to the edge in one tick, a lane-bound rest outlives a deploy (card 7c38ff6f) (#4244) * fix(health): the active roster is bounded by the warm slots — two minds per lane, rested to the edge in one tick, and a lane-bound rest outlives a deploy (Joel: "the nursery is over-saturated") Joel, 2026-09-20 00:4xZ, on 23 minds over 3 warm slots: "the nursery activity and system we talked about is over saturated"; the bound "is the way to go". Card 7c38ff6f. The 22:22Z hour on the M5: resident 16 · lanes 3 · acts 5 · writes 0 · 2,174 of 2,177 pulls lane-deferred — 16 resident minds also cost the plan its second lane (external memory 15 → 31 GB), and every unslotted mind re-prefilled cold on every turn. The mechanism already existed in citizen health (card c84d885a S3: the lane-bound rest) and was too gentle in three places: 1. The edge was 3 per lane. Now MINDS_PER_LANE_STARVED_ABOVE = 2 — one turning, one prefilled and waiting; a lane every ~8 minutes each at 4-minute turns. STARVED and the rest use the same number, as before. 2. It rested 3 seats per HOURLY tick. 16 on 3 took three hours to reach the edge, and a deploy in between reset it. Now `lane_bound_seats` rests to the edge in one tick (the resident floor still holds; the per-tick cap stays the MINDLESS rule's, a page-out for cause). `lane_bound_wakes` wakes as many as the room holds, for the same reason. 3. A resting record was keyed by build: a deploy woke everyone. A lane-bound rest is not a change in HER — the lanes were short — so `resting_seat::survives_a_build_change` keeps `lane_bound` records across builds; the spawner's draw (which already skips resting seats) then boots within the bound, and the lane-bound wake + the operator's word are its returns. LANE_BOUND_REASON moves beside the record it marks; citizen_health re-exports it. Tests: the lane-bound rest test now pins 16-on-2 resting all five fixture minds least-served first, 7-on-2 resting three, 2-on-1 at the edge and 3-on-1 resting one; the wake test pins room-sized wakes; the verdict shapes move to 8 lanes where "enough lanes" was assumed (16 on 6 is now STARVED, correctly); the resting-seat test pins a lane-bound record outliving a build change while a recital does not. Not in this PR (S3 of the card): a card that names a resting mind wakes her; remote seats the node holds grants on counting toward its slots. Receipt: the next [health] hour on the M5 reads resident ≤ 2 × lanes, `lane_bound_rested` = the full overage in one tick, pulls_deferred near 0, and the boot after a deploy draws the bounded roster (persona.host.resting rows for the rested, no wake storm). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(resting): the lane-bound seat that outlives the build is woken by the word before the empty assertion — the word is its return under any build Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(health): the lane-bound rest stands on the HOUR's lanes, not the tick's sample (Cormac's condition on #4244) `CitizenHealth.lanes` was `current_serving().lanes` at the instant of the hourly tick. With the rest now taking the whole overage in one tick, a launch between lanes at the tick (reads 1 on a node whose hour served 3) would rest fourteen of sixteen and the wake would restore them an hour later. The ledger folds the hour's maximum lanes (`note_lanes`, at the serving daemon's geometry settle and at every lane grant); the tick reads max(window, now) and restarts the window from now; the rest and the verdict stand on it; `lanes_now` carries the sample so the line reads "lanes 3 (max this hour; 1 now)". Max is the right fold for a destructive act: a lane truly lost rests one hour later, a lane momentarily absent rests nobody. Pinned: 8 minds, hour max 3, tick sample 1 → rest to the edge of 6 (two), not the floor. 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]>
…oaded onto a node whose lanes seat four and starved the plan to a 2,048-token lane (card 7c38ff6f) (#4245) * fix(persona): the boot draw is bounded by the warm slots — sixteen minds loaded onto a node whose lanes seat four and starved the plan to a 2,048-token lane The M5 boot on 23d3301, 01:12Z 9/20: the old lane was dead at boot (`serving.lane_registry.sweep RemovedDead`), the spawner drew all sixteen minds, their residency left the pinned 27B a 20 GB Eco budget, and the plan launched ONE lane at 2,048 tokens for minds whose typical prompt is 52k. The hourly lane-bound rest (#4244) was fifty minutes away. Card 7c38ff6f (Joel: the active roster is the warm slots × ~2, the rest dormant). `PersonaSpawnerModule::seats()` is now bounded by `bounded_by_warm_slots(seats, lanes)`: `lanes × MINDS_PER_LANE_STARVED_ABOVE`, never below the resident floor, where `lanes` is the live lane when one is ready, else the last SETTLED geometry (`served_window_store`) at a cold boot, else none — and none bounds nothing (an absence is not a number). The memory the roster would have taken is the plan's for lanes. The mirror is free: the reconciler re-reads `seats()` every pass, so lanes that grow draw more; lanes that shrink are the hourly rest's. A `persona.roster.bounded` row when the bound changes what is drawn. Test: two lanes seat two lanes' worth; one lane seats the edge, never below the floor; lanes past the population change nothing; None and 0 bound nothing; an empty population stays empty. Receipt: the next M5 boot draws 2 × lanes minds (persona.roster.bounded row), the plan's usable budget stays out of the Eco band, and the lane comes up at the remembered 2 × 67,584. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the bound reads the lanes the spawner was TOLD (serving_lanes, else the remembered geometry handed in at boot), never a global; the three tests that pinned 'lanes never cap the roster' move to the reversed rule, named 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]>
…he the daemon granted the engine — 8.7 GB of our own --cache-ram read as external and cost the M5 its second lane (#4247) The M5 on fd1960e, 02:4xZ 9/20, the first bounded boot (4 of 15 minds drawn, core RSS 3.4 GB): the lane came up at 2 × 64,403 and the plan still read usable 18 GB → 1 lane at 2,048 tokens, and re-homed to it. `resources/board`: serving attributed 22.8 GB ("weights+KV resident (1 lane(s) × 64512 ctx)") while the lane's process held 27.5 GB RSS. `serving.footprint.measured`: anon_bytes 8.27 GB, host_cache_bytes 8.75 GB — the `--cache-ram` this daemon derived and handed the engine, filling over the serve's life. The attribution is the plan's arithmetic (weights + KV + compute), so the granted cache was filed as EXTERNAL, another holder's bytes, and `budget_for_replacing` (available + our measured bytes) lost it. Under the 12 GiB Eco reserve that is exactly the second lane. The same shape as the KV term (#79) and the compute reserve (G5): a cost we own, charged to someone else. Fix: `serving_footprint_fn` takes the daemon's granted cache (`served_prompt_cache_mib`, now shared behind an Arc, written at every serve) and `attribute_serving(peak, lanes, grant_mib)` — pure — adds it to the plan's peak resident bytes; nothing resident, or no lanes, charges no cache. One footprint authority, now the whole of it. Test `the_serving_attribution_includes_the_prompt_cache_it_granted`; the existing catalog resolver test passes a zero grant. Receipt: `resources/board` serving attribution ≈ the lane's RSS; `serving.plan usable_gb` up by the grant × the fill fraction; the M5 plans 2 lanes again with 4 residents. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…ck — a core built in a lease worktree tracked the lease and read "git fetch absent" for 4.5 h after the merge pruned it (card 790c6bcb) (#4248) The checkout the deploy decision tracks had two resolvers (`modules/deploy_tracker.rs:: from_env`, `bin/continuum.rs::tracked_repo_dir`), both `CONTINUUM_TRACK_REPO_DIR` else the repo root of `CARGO_MANIFEST_DIR` — wherever the binary was BUILT — and the tracker's copy resolved it once at construction. IntelMac, 2026-09-19 21:38Z → 02:0xZ: the running core had been built in the #4228 lease worktree; `airc work merge` pruned it; for 55 ticks the tracker read `SourceUnavailable { "git fetch canary absent" }` — a git failure, not the truth ("the checkout I track is gone") — while canary moved four tips past it. Every lease build on every node carries the same pointer. - `runtime::tracked_checkout` is THE resolver, both owners call it. The candidate (the recorded fact, else the build-time root) resolves to the DURABLE main working tree of its repo (`git rev-parse --path-format=absolute --git-common-dir`'s parent): a worktree resolves to the clone it came from, a plain checkout to itself. A candidate that is gone is `CheckoutError::Gone(path)`, a directory that is no checkout is `NotARepo`; both Display the fix (`set CONTINUUM_TRACK_REPO_DIR`). - `DeployTrackerModule` resolves on EVERY tick (one `is_dir` + one bounded git call) — the source no longer holds a dir; a vanished checkout is named by path in the tick's `SourceUnavailable`, on the first tick after. `tree_dirty` reads the same resolution. - `continuum install`'s core arm RECORDS the durable checkout it deployed from as `CONTINUUM_TRACK_REPO_DIR` (once; read mode records nothing), so the core built by an install from a lease tracks the clone, not the lease. - Test: a temp repo + worktree — the worktree resolves to main, main to itself, the pruned worktree is `Gone` by path, a plain dir is `NotARepo`. Receipt on IntelMac: with the key pinned by hand and the core rebooted onto fd1960e, the first tick read the tip (`deploy.track.request_written` tip 6d43075, running fd1960e) — the read this change makes automatic. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…res the core's feature set, as arm64 has since 9/13; the IntelMac deploy of fd1960e was down 41 minutes on two lib rebuilds (card 7d1b3660) (#4249) start-server.sh's `Darwin x86_64` arm gave the CLI a feature set without `livekit-webrtc` while every other bin carried it. Cargo unifies features per invocation, so the CLI build recompiled the whole continuum-core lib and the next bin (forge-custodian) recompiled it back. Measured on the IntelMac deploy of fd1960e (2026-09-20, log ~/.continuum/reboot-fd1960e52.log): warm pass 18 + 18 + 18 + 8 min (three lib compiles); post-stop pass, with every bin already built by the warm pass, 8 + 18 + 18 min again before the prebuilt core launched — the core was DOWN 03:02Z → 03:43Z, and `continuum reboot` gave up at its 1,800 s ceiling while the script kept linking. The `Darwin arm64` arm fixed exactly this on 2026-09-13 ("ONE library compile per deploy … Same features → the CLI shares the core's lib"); the Intel arm never received the rule. The GPU-free reason for a smaller CLI set (a box without a CUDA runtime) does not apply to a Mac; the CLI stays CPU-only through `llama/mac-cpu-only`, the same as the core here. Receipt owed: the next IntelMac deploy — the post-stop pass prints "Finished" in seconds for all three side bins and the core launches within a minute of the stop. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…count — a card-holder skips the anti-stampede permit, the reserved lane is lent to bounded work, the directed wait rides the health line (card 9a9019b4) (#4250) * fix(admission): the directed reserve is a WAIT guarantee, not a lane count — a card-holder is not a stampede response, the reserved lane is lent to bounded work while nothing directed is pending, and the directed wait rides the health line The M5's first two bounded hours (03:39–05:39Z 9/20): resident 4 · lanes 2 @ 67k · lane grants 11 and 11 · acts 6 and 4 · writes 1 and 0. Two lanes, one lane's throughput. Why: the non-directed budget is lanes−1 = 1, the last lane reserved so a directed call (a human speaking unnamed, a mention) always finds one; a card-holder's work turn woken by room traffic is Ambient attention, so it held the #171 anti-stampede permit (budget 1) and the Work lane inside that same budget of 1 — four minds serialized through one lane at 3–6 min a turn while the second lane idled for a mention that came once all night. Cormac's design word, applied as stated: the reserve is a guarantee on the WAIT a directed call may suffer, in seconds — lanes−1 was the cheapest way to buy it when a turn was 30 s, and on a 2-lane node at 3–6 min a turn it bought it by idling half the box. - A card-holder is not a stampede response. `service_loop` reads her held cards off the board she keeps (`act_question::card_is_held`, the ONE predicate the work gate also uses) and skips the #171 ambient permit for her; the lane gate's `LanePriority::Work` still bounds her and ambient turns still yield to her. Probe `persona.turn.work_holder_bypasses_ambient_permit`. - The reserved lane is LENT to bounded work: `reserve_lendable(expected, directed_pending, budget)` (pure) — only while no directed line is pending for any citizen here (`directed_pending::any_pending`, the re-arm) and only when the call's expected occupancy fits inside `INTERACTIVE_TTFT` (60 s). The occupancy is the mind's own bound: prefill of the prompt she did not have cached last turn at the box's measured prefill rate (`prefill_rate::rate_for`) plus her last output at its measured decode rate (`decode_knee::tps_for`, the lightest trusted point). Unknown = not lent. Probe `admission.lane.reserve_lent_to_work {expected_ms, budget_ms}`. `acquire_serving_lane` takes the bound; Directed and Ambient callers pass None. - The guarantee is measured in its own unit: `note_directed_lane_wait_ms` at the faculty's gate for priority turns, `directed_lane_wait_ms()` as (p50, p90, n), and the health line says "directed wait p50 4s / p90 61s (3 calls)" when any directed call waited — never a fabricated zero when none did. Honest receipt on the M5 today: a warm work turn there costs ~150 s (8k uncached at 105 tok/s + 1,100 tokens at 14 tok/s), past the 60 s budget, so the reserve is NOT yet lent on that box — the permit bypass is the gain tonight, and the loan pays as card 9a9019b4's cache and prompt levers bring a turn under the budget. Later (Cormac): size the reserve by measured directed demand, Erlang-style. Tests: `the_reserved_lane_is_lent_only_to_bounded_work_while_nothing_directed_is_pending`, `directed_wait_percentiles_are_nearest_rank`, `the_lightest_trusted_point_is_one_turns_ decode_rate`, and the health line pins the directed-wait text and its absence. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(admission): every remaining acquire_serving_lane call site passes the occupancy bound (None for directed and ambient callers) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(admission): the loan never parks — the reserved lane is lent only by a try-acquire on a physical lane that is free now; no free lane = the ordinary Work wait (Cormac's condition on #4250) A lent Work call that fell into the FIFO physical acquire would put a later directed arrival behind its whole occupancy (2× the budget with one parked, 3× with two). Now the loan is a try_acquire_resized on the physical semaphore; None = no loan, she takes acquire_nondirected_as_work as before. 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]>
…ps and the cache grant from the launch, never the plan's latest derivation (the M5's 07:52Z collapse to 1 × 2,048) (#4251) * fix(serving): the snapshot tells the engine's truth — lanes from /props and the cache grant from the launch, never the plan's latest derivation (the M5's 07:52Z collapse to 1 × 2,048) Measured on the M5, 2026-09-20 07:52Z, serving 2 × 67,072 on a 14,396 MiB --cache-ram grant: the box's raw available fell under 8 GiB as the engine's prompt cache filled, the drive mode went Eco, the plan fell to 1 lane, and the reconcile "re-homed" — which adopted the running 2-slot engine (slots ≥ target never relaunch). Two lies followed, both in the live snapshot: 1. `snapshot_from_outcome` published the TARGET's lane count (1) for an engine serving 2. The footprint measurement halved its divisor (per-token 162k → 262k), the ambient budget (lanes − 1) went to zero, the health line said "1 now", the roster bound read one warm slot. 2. The daemon's grant cell `served_prompt_cache_mib` was rewritten at every TARGET derivation (14,396 → 256 MiB for the 1-lane target) while the engine still held 14,396. The measurement subtracted the new number: per-token 33k → 162k, the fixed excess 8.6–15.4 GB, the prefill "spike" 2.8 → 16.6 GB, `fits_on_gpu false`, the plan 1 × 2,048 — and the record on disk (`lane-footprint.json`: 262,727 B/token) would have ruled the next boot's plan. Fix, one truth: the snapshot carries `host_prompt_cache_mib` — the `--cache-ram` THIS spawn passed, recorded on the process handle beside `mmproj_on_lane` (a fact about the running process, `None` when adopted) — and its `lanes` is the engine's `/props total_slots` (the target's only when the engine names none; `published_lanes`, pure). The measurement, the MoE host-cache lease and the board's `FootprintFn` read the grant off the snapshot (the fn now takes it beside window and lanes); the daemon cell is deleted. The corrupted record heals itself on the next honest reading (a reading replaces the record). Tests: `the_snapshot_reports_the_engines_lanes_and_grant_not_the_plans` (2-slot engine under a 1-lane target publishes 2; the grant rides the snapshot; the board credits it), `snapshot_mapping_is_honest` extended. ts-rs binding regenerated by hand in its format. Named, not fixed here: a past form's custody record carries no grant (under-attributed by it); and the mode flip itself — the daemon's own cache grant filling the box into Eco — is a sizing question for the grant (card to follow). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(serving): the three re-home fixtures carry the snapshot's new grant field Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): an ADOPTED engine's grant is read off its own argv, and an unknown grant withholds the reading (Cormac's condition on #4251) Every deploy leaves the lane up for the next core to adopt, so the adopted case is the common one: the handle has no spawn fact, the snapshot said 0, and `observe` would have been handed host_cache_bytes 0 — the whole prompt cache attributed as per-token bytes and written to lane-footprint.json, the same corrupt record this PR exists to stop, now on the deploy path. (a) `lane_process::command_args(pid)` (sysinfo, single-pid refresh) + pure `cache_ram_mib_in(argv)` read `--cache-ram N` off the engine's own line — the process's truth, the way its window and slots come off /props; the daemon recovers it for a lane it did not spawn, cached by pid. (b) An unknown grant (0) WITHHOLDS the per-token reading: probe `serving.footprint.unmeasured`, no observe, no record written, the previous record stands — an absence stays an absence. Test: `cache_ram_is_read_off_the_engines_own_argv` (both spellings, absent/malformed = None, 0 stays 0). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(serving): the nine test-build errors CI swallowed — the original mapping test keeps its degraded tail, the footprint resolver tests take the grant (and pin that it is credited), the two zeros named in the snapshot doc (Cormac's nit) The cargo test job runs `--no-run --message-format=json > lib-artifacts.jsonl`, so its log showed "9 previous errors" and none of them; the windows-msvc check job's plain output carried them. 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]>
…lth AND the process's own activity) with a receipt per pid; the shell's second criterion that reaped the M5's lane mid-generation is deleted (card b57b19fd) (#4252) * fix(boot): busy is not dead — ONE lane verdict (a bounded, retried /health AND the process's own activity) with a receipt per pid; the shell's second criterion that reaped the M5's lane mid-generation twice is deleted (card b57b19fd) 2026-09-20, the M5, two deploys in one morning: the box sat at 0 GB free / 4.9 GB swap (the engine's cache grant had filled it), the tracker stopped the core for a source build, and tools/scripts/start-server.sh's adopt_or_reap_llama_lanes ran ONE 3 s curl against a 32 GB lane 6,460 tokens into a turn at 11.9 t/s. The HTTP thread answered late under pressure; the lane was killed as "unhealthy". Cost each time: every mind's KV, a cold 27B load, a boot at 1 × 2,048 with a 26 GB grant, a grow-back relaunch. Joel: "Timeouts are where I see AIs typically ruin a project out of instability." Two owners of one kill decision was the defect: the Rust boot plan (`step_adopt_lanes`, a single 3 s probe via `lane_health_by_pid`) and the bash loop — the same guess in two places. Now: - `lane_process::lane_verdict(pid) -> LaneVerdict { Healthy, Busy, Dead }` — identity-verified, then TWO signals: `/health` asked LANE_PROBE_ATTEMPTS × LANE_PROBE_BOUND_S (3 × 5 s, sized for a loaded box and named with the measurement that sized them) AND the process's CPU share (`cpu_pct_of`, sysinfo single-pid). PURE `verdict_from(answered_on, cpu_pct, last_error)`: answered → Healthy; missed + working (≥ LANE_BUSY_CPU_PCT) → Busy (ADOPTED — the core's readiness check proves decode before a citizen is seated); missed + frozen or unsampled → Dead. - The boot step adopts Healthy and Busy, reaps only Dead, and every fate is a receipt: the boot line carries "pid N: <evidence>" and a `boot.lane_verdict` probe carries pid/adopt/evidence. - The bash loop is deleted (strangler rule, as its own comment promised); the core's step is the only place a boot decides a lane's fate. Tests: `busy_is_not_dead_the_verdict_needs_two_signals` (the four cells of the verdict table), `a_slow_answer_within_the_bound_is_healthy` (a listener that answers 4 s late is healthy under the 5 s bound where the old 3 s shot read it as dead; a port nobody listens on misses with the reason carried). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(boot): name the loading-lane blind spot on LANE_BUSY_CPU_PCT (Cormac's nit on #4252) 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]>
…at the served window — not every seed on disk at its unclamped peak (the M5's 27 GB grant that filled the box, card 7b01ed65) (#4253) * fix(serving): the host cache holds the ACTIVE roster's prompt states at the served window — not every seed on disk at its unclamped peak (the M5's 27 GB grant that filled the box, card 7b01ed65) Measured 2026-09-20 on the M5: the grant's want was Σ peak_tokens × kv over every seeded mind (23 × 225k–505k tokens — the whole assembled context, not what a turn sends), i.e. hundreds of GB, so every affordability guard only carved the afford and the grant was ALWAYS "everything the box can spare": 14,396 MiB at 2 lanes, 26,806 MiB for a 1 × 2,048 lane at boot, 26,985 MiB on the fresh engine after the fix deploy. The cache filled to it, raw available fell under the Eco line, the plan shed a lane, and both deploys of the morning went dark with no room for a warm build, each reaping the lane (b57b19fd). Joel: "Measurement seems dumb or out of sync, too hacky and unstable." The law, pure and tested (`active_cache_states`): one state per ACTIVE mind — the roster bound the spawner already enforces (`bounded_by_warm_slots`: lanes × MINDS_PER_LANE_STARVED_ABOVE) — each the largest prompt that mind actually SENT (`sent_peak`; the unclamped peak only when nothing was ever sent), never more than the served window (a cached state cannot exceed the slot it was prefilled in); the largest states are kept; an unknown bound (no lanes yet) keeps the population. On the M5's shape that is four states ≤ 67k at 32.9 KB/token ≈ 5.7 GB, not 27 GB. The affordability guards (OS floor, available, Eco exit band, CACHE_GRANT_HEADROOM) stay as the net; they are no longer the whole decision. The receipt (`serving.prompt_cache.derived`) now carries `population` and `active_bound` beside `citizens`. Test: `the_cache_holds_the_active_rosters_states_not_every_seed_on_disk` — 23 seeds on 2 lanes → 4 states ≤ window, the never-sent mind clamped, the want under 8 GiB, and through `prompt_cache_decision` a demand-sized grant (< 9,000 MiB) below the afford. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): an unknown roster bound keeps the FLOOR of cache states, never the whole population (Cormac's condition on #4253) 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]>
…wd — supervised nodes judged their hour every hour and never said it (card 11b66313) (#4254) Two call sites derived the org room (`#cambriantech` for github.com/CambrianTech/…) from the core PROCESS'S cwd via `airc_lib::JoinContext::from_cwd(current_dir())`. That holds only under the script launcher, which runs the core from the repo root. A supervised core does not: launchd runs it with `WorkingDirectory ~/.continuum` (the #4228 plist; lsof confirms), the Windows S4U task from its own directory. No remote there → the org was `None` → `grid::say_in_org_room` returned silently (three legs, no probe) → the 5090 posted no [health] line since it came up and IntelMac's hour (`citizen.health.hour` at 06:08/07:08/09:08Z) never reached the room. The operator peer took the same read and subscribed no org room on those nodes either. The M5 posted because its launcher's cwd happened to be the checkout. - `persona::org_room` is THE resolver: the org channel is the TRACKED CHECKOUT's origin owner (`runtime::tracked_checkout`, the durable clone the deploy already stands on), by the same `JoinContext` rule `airc join` applies to a directory. No checkout, an unresolvable one, or no remote owner is a named `OrgRoomAbsence`, never a silent `None`. Resolved through the durable checkout so a lease worktree names the same room — airc-lib reads no org off a worktree at all (its gitdir carries no config; `airc join` from a lease lands in the lobby), which the test now pins. - `say_in_org_room` probes `fleet.node.line_not_posted` on EVERY leg it can lose the line (`leg = no_operator_airc | no_org_room | subscriptions_unreadable | not_subscribed | publish`), each with what was missing. - The operator peer subscribes the org room through the same resolver; its absence probe carries the why. - Test: a temp clone with a remote is named "acmeorg" from a process whose cwd is elsewhere; its worktree names the same; no remote / not a checkout name nothing. Receipt: 23 passed / 0 failed (org_room + source_hygiene, ratchets green) on IntelMac; the live receipt is the next [health] hour from a supervised node in the org room. Faster or slower: neither for a citizen — one resolution per hourly line and per operator-peer boot. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…e footprint record — a remembered window below the typical prompt is a fall, not a steady state; no per-token reading at a starved window (the 5090 at 1 × 2,048) (#4255) * fix(serving): a collapsed geometry seeds neither the next boot nor the footprint record — a remembered window below the typical prompt is a fall, not a steady state, and no per-token reading is taken at a starved window (the 5090 at 1 × 2,048) Measured 2026-09-20: the M5's 07:52Z collapse wrote (2,048, 1) to the served-window store as "the last steady geometry" and the 08:43Z boot planned it FIRST (1 × 2,048, --cache-ram 26806). The 5090 has served 1 × 2,048 all afternoon: every prompt the M5's minds spill to its seat is refused ("prompt ~31143 tokens ≥ the served per-slot window of 2048") or answered against a 2k slot; the M5's idle hour (0 acts, 228 pulls deferred) was 112 lane grants routed to that seat. Two laws let a fall persist: 1. `StoredServedWindow::steady_geometry()`: a record whose window is below the typical prompt it remembers cannot have served a turn — it is the collapse the plan shed to. `None`, so a cold boot plans from demand instead of from the fall (its lane count no longer caps the boot at one lane; its window no longer joins the floor). An unknown typical (older record) never disqualifies; zero lanes is no geometry. 2. `lane_footprint::window_measurable(window)` / `MEASURABLE_WINDOW_MIN` (one full turn, 16,384): below it the bytes beyond weights are fixed buffers, and dividing them by 2,048 reads as ~244k B/token — saved, that record fits no window and pins the next plan at the floor the node fell to. The daemon WITHHOLDS the reading (`serving.footprint.unmeasured leg=starved_window`; the unknown-grant leg now carries `leg=unknown_grant`), the previous record stands. Tests: `a_window_below_the_typical_prompt_is_a_collapse_not_a_steady_geometry`, `a_starved_window_is_not_a_measurement` (pins the 244k arithmetic the floor guards against). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): the starved-window leg RETIRES the model's record so a node already in the trap climbs out (Cormac's condition on #4255); the roster bound reads the same steady-geometry law (his nit) 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]>
… samples its demand, a refused prompt samples its size (#4256) The 5090, 2026-09-20, build e1c9e41 (canary tip, the S4U consumer's first deploy): serving 2 × 2048 and refusing 2,932 prompts — p10 8k, p50 56k, p90 136k — while served-window.json remembered typical_prompt_tokens = 828 and serving.geometry.settled wrote 2048 × 2 as the geometry the next boot plans first. Every turn on the grid routed to this seat and bounced (Fable's remote_lane.answered served_window Some(2048) → "refusing to generate"). The seal, two sample sites: - local: `record_sent` took the POST-FIT size. A fit is bounded by the window by construction, so under 2048 every 56k turn sampled ~828, the median read 828, `window_target` floored 828 × 1.25 to MIN_SERVE_CTX = 2048, and the store remembered it. The window measured itself. - remote: `note_leased_in_sent` fired only on a served generate; a prompt the guard REFUSED never reached the pool. The seat's median saw only what fit. Fix, one rule: a prompt the window failed votes at its real size. - `WorkingSetRegistry::sent_sample_for_plan(demand, sent, window)`: at a window that trimmed the turn (demand > window) the untrimmed demand is the sample; at a window that held it, what was sent is. Pure, pinned with the 5090's numbers (56,057 / 828 / 2048 → 56,057). - `serving_guard`'s refusal notes the refused size into the seat's pool (`note_refused_prompt`), beside served leased-in prompts. Fable's #4237/#4238 lane (the store must not seed a starved geometry; no footprint reading at a starved window) is the same fault from the store's side; this is the sample side. Together: a starved boot climbs out on its own first plan tick instead of remembering the starvation. Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc Co-authored-by: Claude Opus 5 <[email protected]>
…e grid's — the M5 deferred 116 of 119 pulls on foreign holds while its residents held nothing (#4261) A round's board is grid-wide. work_pull compared every live hold in the room (the 5090's, the IntelMac's) to this node's two lanes: in_flight >= lanes every tick, DeferredWip for every resident, persona.work.gate decision=no_held_work for each of them, zero acts on two 67k lanes (2026-09-20 13-14Z). card_holder::in_flight_by(cards, holders, now) counts only cards whose owner is one of our holders — every resident's own airc peer id plus me — and the runtime's in_flight_cards_in folds through it. Pure helper, one test. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…the runtime/deploy rows of the re-derivation survey (card 948c30c2, rows 4, 5, 14, 15, 16, 18 + the persona seat path) (#4262) Joel, 2026-09-20: "rederiving = outrageously expensive CPU everywhere". Each row below is a fact re-derived on a tick that its owner could hold; each now has one owner and a receipt (reads per tick before → after). - (5) memory_pressure: the anomaly scan — a full process-table refresh and, on macOS, a `ps` child on its own thread — ran on EVERY 2 s poll while pressure stayed High. Now `anomaly_scan_due`: the first tick of an episode, then once per ANOMALY_SCAN_EVERY (30 s); a drop below High re-arms the immediate read. 30 table refreshes + 30 process spawns a minute → 2. Pinned. - (4) runtime tick loop: `module.config()` was rebuilt every tick for every module just to read `tick_interval` (a persona at 250 ms; ChannelModule through an RwLock read + clone). `ServiceModule::tick_interval_now()` (default None = the registered cadence stands) is the loop's read; ChannelModule, the one moving cadence, overrides it with its one lock read. 90 ModuleConfig builds per tick round → 0. - (16) ChannelModule: `env::var(CONTINUUM_DB_URL)` per tick for a process-lifetime value → resolved once at construction, held on the module. - (14) deploy_tracker: `state_dir` joined twice per tick → held on the module. - (15) benchmark_standing: `load_config()` re-read and re-parsed the JSON per 300 s tick, per command and per citizen-health hour → held in-process, replaced by `save_config`, the only writer. One read per process. - (18) memguard loop: `current_rss_mb()` read twice per 10 s tick (once inside dump_memory_report, once for the limit) → one reading, passed. - persona seat path: `resting_seat::resting()` and `roster_hold::active()` re-read and re-parsed their JSON on every `seats()` call (nine sites, every reconcile pass). Each now holds its copy and drops it in its own writers (`rest`/`wake`, `set`/`clear`); an expired held hold falls through to the self-cleaning disk read so the file never outlives its hold. Receipt: 113 passed / 0 failed (memory_pressure, channel, deploy_tracker, resting_seat, roster_hold, benchmark_standing, runtime, source_hygiene — ratchets green), REAL_EXIT 0; `cargo check --lib` clean. Faster or slower: faster for every citizen on a pressured box (the 2 s ps storm is gone) and on the reconcile pass (two file parses per seats() call gone); nothing slower. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…ith the machine scenarios as tests (card 2eec3977) (#4259) * feat(cognition): the grid allocates its minds — one pure allocation over declared roles, the minds on disk and every node's runnable plans, with the machine scenarios as tests Card 2eec3977 (Joel, 2026-09-20: why 25 personas, what determines this, run every computer scenario and prove competency). Before: the population was every identity on disk (#432), bounded per node by its own warm slots (7c38ff6f); no node decided which minds belong on it, and a node joining or dropping changed nothing but its own draw. grid_allocation::allocate(GridInputs) -> GridAllocation. Inputs: roles in priority order, each a Requirement (window, min capability, decode floor); minds (role + home); a NodeOffer per node holding the LanePlans its own serving planner already computed (LanePlan::of a ServingPlan — no translation layer); the minds-per-lane ratio passed in. Output: what each node serves and why (Hosts / BelowEveryRequirement{best_window, best_capability} / NothingRunnable), who sits where, who is dormant, and the open seats per node and role — the spawn signal. Objective in order: every seated mind at its role's requirement (a 2k lane is not a seat), then capability, then lanes, then window. A mind seats at home when home holds her role, else anywhere the grid has a seat; extras dormant with identity kept. Scenarios: a box that serves only 2k seats nobody and says how far off it is; a lone 64 GB box seats coders on the 27B at 2 lanes (capability before the 7B's 4 lanes, lanes before the 1×131k); a GPU box joining wakes the dormant on it, keeps the seated home, opens seats to mint; a node dropping reseats what fits and the rest go dormant; a 16 GB laptop hosts orchestration and coders go where the capability is; a 6.3 t/s lane does not seat a coder with a 10 t/s floor and an unmeasured one is not refused; 1 mind on 4 seats opens 3, 25 minds on 4 seats leaves 21 dormant; the real planner's plan reads as an offer. Pure, no daemon yet: the module that holds offers and calls this once per change follows. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): a node seats every role its plan holds, in priority order — Cormac's condition on #4259 One engine at one window holds every role whose requirement is at or below it. decide_node still chooses the plan for the highest-priority role the node can hold (coders stay on the capability) and now records every role that plan holds; the fill walks roles in priority order across every node holding them, so a 4-seat coder box with 2 coders and 3 orchestrators seats 2 + 2 with 1 dormant and 0 open — before it held 2 seats open for coders that did not exist and sent 3 orchestrators dormant. open stays per node for the role the node was chosen for. One scenario pins it, with the pressure case (5 coders + 3 orchestrators on 4 seats → 4 coders). 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]>
…— a staged copy's git facts are held keyed by its own git state, the held-cards workspace is held by its inputs, an idle self-cycle pulls the board once (survey rows 1–3 of 948c30c2) (#4258) * fix(persona): a turn finds its workspace once and asks the deck once — a staged copy's git facts are held keyed by its own git state (three stats, not three git subprocesses per copy per turn), the held-cards workspace is held by its inputs, and an idle self-cycle no longer pulls the board twice Measured 2026-09-20 (the re-derivation survey, #1–#3 of 20): every persona turn holding a review card ran `read_dir(citizens/peers)` and up to THREE blocking `git` commands per staged copy (`staged_workspace::owners_of` → staged_base_of / candidate_paths_changed / newest_commit_above_base_ms), `workspace_for_held_cards` re-scanned the staging root with a `.git` stat per entry every turn, and an idle self-cycle called `try_pull_next_card` twice (deck-first, then again after the act question) — two room subscriptions, two live_rounds clones, two board reads per cycle per idle mind. Joel: "Find something once and pass it along. It throttles every single system." - `copy_facts(peer, path)`: the git-derived facts of a copy are HELD keyed by `git_state_key` (mtimes of .git/HEAD, .git/index, .git/logs/HEAD); the git commands run only when git wrote something. A copy whose git dir cannot be stated is always derived. - `workspace_for_held_cards`: held keyed by (peer, sorted held titles, the staging root's mtime) — one stat per turn; a claim/release or a stage/sweep changes the key. - The idle cycle asks the deck once: `asked_deck_first` skips the second pull. Test: `a_copys_facts_are_held_until_its_git_state_changes` (same state → same key; a git write re-keys; no git state → never held). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): hold only a copy's commit-derived facts by git state — the working-tree half is read every call Cormac's condition on #4258: an edit not yet git-added writes none of .git/HEAD, .git/index, .git/logs/HEAD, so a record keyed by those three held has_work=false over a live edit, and the restage guard and the sweep read that field. Now CommitFacts (the staged base and the newest commit above it — the two git subprocesses that only change when git writes) are held by the key; candidate_paths_changed, newest_work_mtime_ms and has_work are derived per call. Test asserts an un-added edit flips has_work under an unchanged key. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the staged base record is part of a copy's git state — a rewritten base re-keys the held commit facts CI 2026-09-20: the test rewrote .git/continuum-base to HEAD and candidate_paths_changed still diffed against the old base — clone_at and a restage write that file and touch none of HEAD/index/logs/HEAD. git_state_key folds its mtime (0 when absent, a state of its own). 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]>
… is never published — the previous plan stands and the trap record retires (no constant; card 2eec3977) (#4257) * fix(serving): a plan whose window is below what the residents require is never published — the previous plan stands and the trap record retires (no constant: the requirement is the residents' measured typical with headroom today, their declared role requirement under the allocator; card 2eec3977) Joel, 2026-09-20, reading the 5090 at 2 × 2,048 refusing 2,932 prompts (p50 56k): "2k context is a complete waste of a lane"; and on a fixed floor: "you're making rigid laws that concern me". So the seam holds a comparison, never a number: - `serving_plan::persona_lane_holds(window, requirement)` — pure; the requirement is `ServingDemand::typical_prompt_floor()` (the median sent prompt × headroom, sealed against a starved window by #4256); `None` imposes nothing beyond the engine's runnable floor. - `publish_plan`: a plan below the requirement is NOT published — the previously published plan stands (a running lane keeps serving), and `lane_footprint::retire` drops the per-token record that shrank the window so the next tick plans from the estimate. Probe `serving.plan.below_persona_floor {model, lanes, window, requirement, record_retired}`, once per (model, window, lanes). Stopgap by design: it dies with the planner when the allocator (declared requirements × measured capacity, one grid daemon) lands; the same comparison then reads the declaration. Tests: `a_persona_lane_holds_what_the_residents_require`, `a_plan_below_one_coding_turn_is_not_published_and_the_previous_stands` (a real plan, then a squeezed budget: the real plan stands). `publish_plan_drives_the_watch` fixtures carry real trained windows and a measured demand ceiling, as every live node has. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): a below-requirement plan only refuses when a previous plan stands — a cold daemon publishes its best runnable plan and says so Cormac's condition on #4257: with nothing published, refusing the only runnable plan left the node with no lane at all. Now the below-requirement leg retires the record and probes serving.plan.below_persona_floor with published=true when no plan stands, and returns (the previous plan stands) only when one does. Test gains the cold-boot case. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): the daemon's demand pool without a registry is the residents the working set remembers — and the test seeds it there, not in the process-global ring CI on #4257: the test seeded eight 56k samples into resource_admission's leased-in ring, which every test in the binary shares; the 8272-test run's ring then held other tests' 30k samples (the roomy plan came out at 37,561) and this test's 56k samples re-homed a 65k lane in a_jittering_gain_never_accumulates_into_a_re_home. Now the no-registry branch of demand derivation folds the working set's remembered residents into the median (a node reboots with the same minds; their last prompts are its best floor), and the test records its samples on the daemon's own working set. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(serving): the daemon's leased-in sample ring is an injectable source, and the seam tests own their demand pool CI twice: the roomy plan came out at 37.5k because sent_median_with folds the process-global leased-in ring, which resource_admission's own test fills with 64 samples near 30k; and this test's 56k samples in the global working set re-homed the 65k lane of a_jittering_gain_never_accumulates_into_a_re_home. LeasedInSentSource on the daemon (the DecodeAgeSource pattern; production = the ring), set_leased_in_sent_source under cfg(test), and the three seam tests take a private WorkingSetRegistry plus an empty ring. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(serving): every harness daemon owns its demand pool Third CI run: a_jittering_gain_never_accumulates_into_a_re_home read the process-global working set's remembered residents (other tests' sent samples) as a requirement above its 65k plan. daemon_with gives every harness daemon a private WorkingSetRegistry and an empty leased-in ring; no daemon test reads working_set::global() directly. 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]>
…man brings is one more offer; nodes join, go silent and return as inputs (#4263) * feat(cognition): owners, terms and the offer book — a node another human brings is one more offer, and nodes join, go silent and return as inputs Joel, 2026-09-20: prove the grid with machines coming on and off, and the last case too — peers owned by other humans with their own personas, the same machinery with a negotiation on top. Mind.owner and NodeOffer { owner, terms }: between one owner's own nodes the terms are never consulted; a foreign owner's node lends at most seats_lent seats for the roles it names, its own minds seat on it freely. The negotiation's outcome is the terms, declared as data. OfferBook folds beacons into the allocator's inputs (hear / live within silent_after / forget_silent, ordered by node id so two nodes agree) and inputs_key fingerprints the inputs so the daemon recomputes only on change. Scenarios: their coder box lends 2 seats for coders only — our dormant coders take exactly two, never a third, never an orchestrator, their spare seats stay theirs to mint, and a withdrawn lend sends ours home or dormant; the book names join, silence and return and the key moves only with them. 13 scenarios total. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): open seats carry their owner, and a node with no declared terms lends nothing — Cormac's condition on #4263 OpenSeats.owner: a spawner mints only into its own owner's open seats; a lender's spare seats are theirs to fill (pinned in the lending scenario: their 2 spare seats read owner=them, none of ours). OfferTerms::default() lends nothing (Some(0)); open() is the explicit everything-lent one owner's own nodes read as. inputs_key documented in-process only. 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]>
… the beacon carries the served window and every placement move reads it (card beea5a7a) (#4265) * fix(placement): a seat whose window cannot hold her turn is no seat — the beacon carries the served window, and every placement move reads it The M5, 2026-09-20 13-14Z (card beea5a7a): its residents' turns were placed on the 5090's 2,048-token seat — 172 refused prompts an hour from one mind, zero acts — while two 67k lanes stood at home, because the capacity beacon said free_slots_live: 2 and nothing said how wide. CapacityOffer.served_context_window (0 = unknown, older core) rides the beacon; PeerOffer / PlacementInputs / LocalShape carry it; decide sends a remote-bound mind home NOW from a seat that cannot hold her requirement (no cooldown: a lane that cannot serve is not a flap) and never returns her to it; choose_offloads passes such a seat over. The requirement is hers when she has sent a turn, the node's typical otherwise, read once per pass (working_set + prompt_floor_of, the one arithmetic behind typical_prompt_floor). Unknown width is not a refusal. Built on #4257's persona_lane_holds. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(placement): the grid module hands the beacon's width and the node's requirement to the placement pass The two production initializers the first push missed: PeerOffer.served_context_window from the beacon (0 = unknown), LocalShape.requirement = the residents' typical prompt with headroom (working_set + prompt_floor_of), read once per pass. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(placement): the two fixture helpers carry the new fields Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(placement): with no requirement measured the serve floor is the bar — a seat at it holds, one token under does not Cormac on #4265: persona_lane_holds(2048, None) is true. 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]>
…grid allocation — never something the spawner applies after it (card 426a26fb, lane 2 of Track A) (#4267) Cormac's note on #4259: the operator's roster hold and a recipe's declared team are inputs to THIS decision. Today the spawner caps its own draw by the hold (`seats_under`), skips held-out names at the draw (`draw_intents`), and a recipe's team is a role list with no minimum — three decisions about the same seats in three places. - `Hold { node, only, exclusive }` on `GridInputs`: an EXCLUSIVE hold (the operator's file) admits only its names on its node and the node has at most `only.len()` seats — the hold DEFINES that box's roster, so a name with no mind behind it is an empty seat, never one to mint (the 2026-09-13 shape: population 12, hold of 5, the reconciler asking the exhausted provider for 7 every second). An exclusive hold naming nobody restricts nothing (`seats_under`'s own semantics). A DERIVED hold (a working round's team) orders: its names seat first on its node, everyone else after, never fewer. - `RoleFloor { role, min_seats }`: the declared team. Minds are seated in batches — every role's floor first (in role order), then every role's remainder — so a 4-seat box with 5 coders and 1 orchestrator seats 3 + 1 under a floor of one orchestrator, 4 + 0 without. A floor the grid cannot fill for want of MINDS is the spawn signal's first claim: `open` names the orchestrator before the box's best role. A floor for a role no node holds opens nothing. No floors and no holds = the #4259 allocation exactly (its nine scenarios unchanged). - The seat cap and the admission live in `decide_node` / `allocate`; a hold's node is a named mind's home first. Three scenarios pinned: the exclusive hold (roster, spill, ghost name, empty list), the derived hold (team first, stable, home override), the declared team (3 + 1, floor above the minds, open-for-the-team first, a floor nobody holds). Faster or slower: pure; one allocation per change, never per tick. Same order. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…boot with no knee for the remembered model takes the last measured one (#4266) * fix(substrate): a test binary never writes the operator's records — under test the continuum home is a per-process temp dir; and a boot that remembers a model with no decode curve takes the last measured one The M5, 2026-09-20 15:38Z boot: serving.decode_knee.clamped model=coder-14b knee=17 — a HARNESS FIXTURE name. A local cargo test run of the serving daemon on this box settled its fake lane and save()d coder-14b into ~/.continuum/state/served-window.json; the boot remembered that model, found no knee for it, planned 17 lanes unclamped → 8 × 49k with a 12.6 GB cache grant on a box whose 27B knee is 2, swapped 4.6 GB, and drew 13 minds. The re-home law healed the lanes 100 s later; the residency did not. 1. commands::benchmark::continuum_home(): under cfg(test), with no declared, the home is std::env::temp_dir()/continuum-test-home-<pid>. Every store (served-window, decode-knee, resting seats, roster hold, standing config, citizens) resolves through it — one guard, 26 call sites. Pinned: a_test_binary_never_resolves_the_operators_home. 2. decode_knee::last_measured_knee(): the curve this box measured most recently answers when the remembered model has none; the daemon takes it, probed once per fallback model (serving.decode_knee.fallback). Pure last_measured pinned. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): the boot's knee falls back to the last measured curve; the guard's test and the pure lookup The rest of the fix the first push of this branch was missing: a_test_binary_never_resolves_the_operators_home, decode_knee::last_measured_knee / last_measured (pinned), and the daemon's fallback probed once per fallback model (serving.decode_knee.fallback). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): the boot's knee fallback is the box's most conservative knee, never its newest — Cormac's condition on #4266 A knee is a (box, model) fact: the newest curve may be a 1.5B exam's with a knee of 8, and a boot remembering a 27B with no curve would plan past its knee of 2 — today's shape by another road. decode_knee::conservative(curves, now): the lowest knee across measured curves, newest breaking ties, named in the probe. Pinned: {27b: knee 2 @ t=1000, 1.5b: knee 8 @ t=5000} → the 27B's 2. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(serving): the small model's fresh knee explores to 9 — the pin is that it is far above the 27B's 2 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]>
…or a loaded runner — 120 s, not 10 (#4268) 2026-09-20 run 35523394865 (a docs-only PR): 'Isolated resume installer fixture timed out' at a 10 s WaitForExit on a busy Windows runner, and the same step guards canary's tip — a flake here is a red tip and a fleet-wide deploy stop. A child PowerShell's startup plus the resume script is not a 10 s event under load. Both fixtures take 120 s; a real hang still fails, named with the bound. (Joel: timeouts are where projects get ruined; a bound is sized for load.) Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…4258's rewrite dropped (#4264) Cormac's ask on #4258: why ambiguity refuses — one worked copy resolves, two refuse. Verbatim from canary before #4258. Rebuilt on canary tip (the first cut sat on #4258's branch). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
… its evidence (#4269) * fix(serving): a measurement gap resets the decode knee's TRUST, never its evidence The M5, 2026-09-20 17:16Z boot: serving.decode_knee.clamped knee=17 for the 27B — no knee — on a box whose record held a 35-sample 2-lane point at 6.25 t/s. observe() zeroed that point's samples because more than an hour had passed since its last sample (the afternoon's builds had skipped every decode as a deploy transient), and the first sample after the gap (3.3 t/s, taken in the swap-heavy 8-lane hour) restarted it at 1 sample: untrusted, knee None, the roster's 17 minds unclamped, a 6-lane 5.5k plan, 12 minds drawn, the engine at 4 lanes. CurvePoint.fresh_samples (serde default 0) is what trust is built from and what a gap resets; samples and the rate stand as stale evidence, the first post-gap sample moves the EMA by half. Pinned: the 35-sample point survives a two-hour gap and one bad sample, still answers 2, and re-earns trust after MIN_SAMPLES fresh samples. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(serving): the climb-back scenario reads the gap law — evidence kept, trust restarted, half-step 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]>
… it honors the operator's OFF pin, plans its headroom at the residents' width, and yields below it (#4270) The M5, 2026-09-20 17:49Z boot: the 27B was pinned off (an operator unload to make room for the corrective build); the reconcile found 39 GB of headroom after a 2,048-token main lane and launched Ornith-35B as the vision sidecar (20 GB); when the 27B was re-permitted it got what was left — one lane at 2,048 — and unloading Ornith did nothing because find_candidate never read the pin. Three seams, one rule: (1) find_candidate skips pinned-off rows, named; (2) sidecar_planned_headroom_bytes is computed at max(served window, the residents' typical prompt floor), never at a transient starved width; (3) an existing sidecar yields when the main lane serves below that floor (serving.vision.sidecar_yields_to_persona_floor), the way it already yields to a solve floor. The pins and the floor are read once before the task and moved in. Pinned: a_pinned_off_row_is_never_a_sidecar. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…s tree kept whole main's tip was dd976df (2026-06-09); canary is 2,566 commits ahead and its tip a83603b passed CI today. The README's clone and install.ps1 land a newcomer on main, so the public Continuum has been three months stale. This merge takes canary's tree as-is and records main's history as merged. Joel, 2026-09-20: 'both repos are trash to outsiders' / 'clean it all up'. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
main's tip is dd976df (2026-06-09). canary is 2,566 commits ahead — the headless Rust core, the persona cognition pipeline, the grid — and its tip a83603b passed CI today. The README's
git cloneandinstall.ps1both land a newcomer on main, so the public Continuum has been three months stale.This branch is canary's tree exactly, with main's history recorded as merged (
-s oursfrom canary; a plain canary → main PR conflicted on main's one stray commit). Squash-merge on green: main's tree becomes canary's. airc was promoted the same way an hour ago (airc#1443).Joel, 2026-09-20: "both repos are trash to outsiders" / "clean it all up". Rule recorded: main is the front door and tracks the tested tip on a cadence.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo