Repository navigation
fix(nav): the tab strip is the citizen's opened tabs, not every room - #3679
Merged
Merged
Conversation
…the daemon knows Live 2026-09-03 (Joel: "you have like a million tabs open lol"): the strip drew 49 identical tabs — one per room in the daemon's room set — because open_tabs carried the SET and the strip rendered all of it. A tab is now OPENED only when the citizen selected it (`nav/select`, any kind) and has not closed it; the current tab is always opened; a fresh citizen sees one. `NavTab.opened` is the wire truth (ts-rs regenerated), the focus store remembers room selects too (only non-room entries still surface as EXTRA tabs — rooms come from the fold), the listing cell carries `opened`, and the strip filters on it while the rail keeps listing the whole set. One test pins the membership + no-duplicate rule. Also: the eye-node waits for a DOM-quiet window after networkidle before it observes — a deep link that routes on a websocket envelope was captured mid-route (frame of the landing room, deep-linked page already in the structure). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
September 3, 2026 22:30
… name Every page that holds a citizen holds her id (directory seed, roster row, card owner); the mind page had to map id→name client-side because the filesystem resolver keyed only on the on-disk agent name. A UUID now resolves through a scan of the citizen seeds (the ONE layout `seed_path_for` reads) to its agent name; the name stays the on-disk key. Test pins id→name and the loud miss. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…s bar The select that OPENS the persona tab is the call that mirrors the URL, so the nav had no title yet and the bar read /persona/<uuid>/mind (frame, 2026-09-03). The directory seed already holds her name; use it before the tab exists. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Sep 4, 2026
…ound instead of the conversation Live 2026-09-04: the round widget REPLACED the transcript in every run room, so an operator's line into the room — and the "heard by N" receipt on it — had nowhere to render. A run room now takes the academy landing's shape: its OWN round center-stage, the chat as the secondary layer. A bench-family room that is no round's run room (an index) keeps the board alone. Also: the nav-tab spec fixtures gain the `opened` field #3679 added to NavTab (the package no longer type-checked), and the ts-rs regeneration of RoundSnapshot (run_room_name) is committed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Sep 4, 2026
* feat(vitals): the persona HUD lights from the real seams — reason, recall, act, speed, focus The emitter radiated activity/queue/tps/pfx/genome while the semantic layer asked for reason/recall/act/speed/focus: four of five brain regions read "awaiting signal" forever, including on a citizen mid-turn (Joel: "more feedback events for the interface"). Faculty pulses now record at the one seam each event passes — lane acquired (reasoning), memories surfaced (recall), a directed turn admitted (focus) — and the emitter fades each over its window, reading ABSENT when nothing fired. `act` is the act pulse alone; `speed` mirrors decode tps under the HUD name. Test pins light-then-absent. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(chat): "heard by N" — a delivery receipt on every line a citizen admits as a turn Joel 2026-09-04: "more feedback events for the interface". The live plane had been dead for weeks and nothing on screen said so; the whole night's hunt would have been one glance at a row reading "heard by 0". The citizen inbound seam publishes `chat:heard {message_id, room_id, persona_id}` when a non-citizen line is admitted as a (directed) turn; `IncomingMessage` now carries the transcript event id it came from. The positron chat source folds the receipt onto the row (`ChatMessageView.heard_by`, ts-rs regenerated, serde default so old rows fold empty); the row model carries `heardBy`; the web draws a chip after the timestamp. Test: a receipt joins the row once, repeats are no-ops, a receipt for an unknown row never mints one. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(serving): serving/cache-probe — the substrate measures its own prompt-cache reuse Joel 2026-09-04: "Reliability and repeatability is the name of the game." KV reuse read 0.0 on 99/99 turns for hours and the only instrument was a hand-typed curl. This verb IS that curl, repeatable: the same prompt twice to one pinned slot with cache_prompt on, reporting the server's own timings.cache_n as a hit rate and a one-word verdict. Refuses loudly when nothing is served (test). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(serving): cache-probe --roundtrip measures whether a RESTORED slot is reusable Measured 2026-09-04 (llama-server b10751, Ornith-1.5-35B-A3B): in-slot reuse 11291/11295; after save → restore the very next identical request reuses 0 and re-prefills 18 s; the request after that hits again. The server logs "cache_reuse is not supported by this context" for this hybrid model. With 12 citizens on 5 slots every turn followed a restore, so hit_rate read 0.0 on 105/105 turns while every restore probe said ok. The probe now reports after_restore_cache_n and a restore_verdict so the regression class is one command away. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): citizens subscribe exactly as the CLI does — no delivery filter either Second cut of the live-plane fix (2026-09-04): with the header filter gone and Some([Durable]) kept, citizens still received only event-kind frames live and never a message, while an airc join client on the same daemon (no delivery filter) received every message including the operator line. Subscribe as the CLI subscribes; chunks and heartbeats are dropped on receive where the guard is correct regardless of the daemon. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): a persona page finds her vitals node-wide, not only in the focused room's roster Every deep link to /persona/<name>/mind tonight rendered "no vitals radiating" — the page took the member from the FOCUSED room's roster and she was not in it. The surface already folds every room's roster it has seen into a node-wide directory; the persona body now falls back to it. Roster first, directory second, never a second truth. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * chore(bindings): ts-rs output for serving/cache-probe params + result Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(persona): persona/vitals — the emitter's latest map by id, so a cold persona page lights its HUD A deep link to /persona/<name>/mind opened from a room she is not in had no roster slot to read vitals from, so the brain HUD read "no vitals radiating" while she was mid-turn. The emitter now remembers the last map it sampled per citizen; persona/vitals answers it by id; the mind page polls it and overlays it only when the projected body carries none (roster first, verb second — one emitter, never a second truth). Test: bad id refused, unsampled citizen answers an honest empty map. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(rail): a bench run room is labelled by what it is, working rounds first The activities rail read 49 identical "bench-swe-bench-verified-mini-17883…" rows, every one subtitled "chat" (frames all night). The round snapshot and the bench wire row now carry the run room name; the rail matches a tab to its round and draws `verified · working` with `9/12 in hands` (or `n/N settled` when paused or done), working rounds sorted first. A view over two truths (nav + bench), never a hidden row. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): persona/vitals is auto-registered by the macro — do not push it twice A unit-struct action_command registers itself onto the ONE registry; the manual push registered persona/vitals twice and the registry panicked at boot (duplicate command object), crash-looping the core. Caught live 2026-09-04. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): a quiet inbound stream re-opens itself when the room moved on; a run room shows its own round Live 2026-09-04 (build abb9c50): citizens' subscribe streams went silent about two minutes after prime — 12 citizens received 172 events in the first two minutes, 2 citizens received 5 in the next two, and an operator line at +12 min reached nobody, with no lag error ever surfacing. The daemon marks a slow subscriber lagged and its "resume from the sink" never delivers. The loop now has a QUIET WATCHDOG: when nothing has arrived for 90 s it asks the durable store for the room's high-water mark; if the room moved past the last seen lamport, the stream is dead — it is re-opened and the gap replayed, exactly as a membership change does (`persona.inbound.resubscribed_quiet`). The per-event door became `admit_event` (one path for heartbeat/chunk guards, the raw probe, the work bridge, the decoder, the self-filter, the lamport advance). Web: a bench-purpose room that is a round's RUN room renders that round alone; the academy keeps the whole board (every run room had rendered the global index). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the quiet watchdog reads every subscribed room and re-opens after three silent windows First cut checked the HOME room's high-water mark, so the operator's line in the run room never counted as "the room moved on" and the watchdog never fired (+6 min line: 0 hearers, 0 re-opens). Now: a two-event tip read per subscribed room; and after three 90 s windows with nothing delivered the stream is re-opened regardless — bounded recovery (~4.5 min) beats a perfect signal. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): pump the daemon stream into an in-process inbox — a turn in progress never starves the subscription Root cause of the live plane dying two minutes after every boot (2026-09-04, three builds measured the same): the loop polled the daemon stream only while idle in its select; once a citizen's first turn started (minutes of decode), nobody drained the stream, the daemon's per-subscriber queue filled, the subscriber was marked lagged and its "resume from the sink" never delivered. 12 citizens heard 330 events in the first two minutes, 2 citizens heard 5 in the next two, and the watchdog could not help — it only runs while the loop is polling. The conversation now installs every daemon stream behind a PUMP task that drains it continuously into a bounded in-process inbox (8k); the loop polls the inbox. Any backpressure lands in-process, never at the daemon. Re-opens (membership change, quiet watchdog) replace the pump. The RTOS shape: own task + channel, one concern. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): store-backed catch-up — every minute, page each subscribed room's tail and admit what the live stream dropped Fifth cut of the live plane (2026-09-04). With the header filter gone, the delivery filter gone, the quiet watchdog, and the pump, the measurement never moved: every boot, 12 citizens receive live for ~2 minutes, then 2 — the daemon marks the subscriber lagged and keeps pushing `event`s while `message`s vanish. The store is the truth: on a 60 s tick the conversation pages every subscribed room's durable tail (8 events) and admits, through the same door as live events, anything above that room's watermark; a room seen for the first time adopts its tail as read. Live delivery is now an accelerator, never the only ear. Probe: `persona.inbound.caught_up_from_store`. The heard-by chip on a line sent ≥6 min after boot is the standing check. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the catch-up deadline persists across wake cycles — the tick now actually fires The loop's wake select drops and re-creates the next_message future on every self-tick (3–10 s), so a sleep(60 s) inside it restarted forever: zero catch-up ticks in 7 minutes on the previous build, and the quiet watchdog never fired for the same reason. The deadline is now held on the conversation and re-armed when it fires (sleep_until), so a tick lands every 60 s of wall time regardless of wakes. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the catch-up tells seen from dropped by a per-room ring of lamports, and every tick is a probe The first catch-up admitted nothing: its per-room watermark was "newest lamport seen", and live `event` frames keep arriving after the daemon drops a `message`, so the mark leapt past the dropped line and the page read it as already read. Now each room keeps a FLOOR adopted at first sight (nothing older is replayed) and a bounded ring of lamports actually seen (live or paged); a paged event above the floor and not in the ring is admitted. Every tick probes `persona.inbound.catch_up_tick {rooms_paged, admitted}` so "did it run" is never inferred from the absence of a hit. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the pump owns the store catch-up — perception's own task, on its own clock The loop-side catch-up ticked twice in seven minutes across twelve citizens: the deliberation loop spends minutes inside turns and only reaches its select between them. Perception must not depend on deliberation's schedule. The pump task now forwards live frames as they arrive AND, every 60 s on its own clock, pages every subscribed room's durable tail and forwards what the live stream dropped (floor adopted at first sight; a bounded ring of lamports seen, live or paged, tells seen from dropped). The loop's door (`admit_event`) treats both alike. Every tick probes `persona.inbound.catch_up_tick {rooms_paged, admitted}`. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): catch-up page failures are a probe, and the page is 32 deep On the pump-catch-up build 7 rooms paged per tick and the rest failed unseen; one citizen of twelve admitted the operator line. Failures now count and name their first error (persona.inbound.catch_up_page_failed); the page is 32 events so a busy room cannot push a line off the page between ticks. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the store catch-up floors by wall time and dedupes by event id — never by lamport Zero admissions across three builds for a line every citizen's page contained. A lamport is the publisher's logical clock: a quiet human's line carries a smaller lamport than the busy citizens' receipts around it, so "lamport above the room's floor" read the operator's line as old on every tick. The floor is now the room's newest occurred_at_ms at first sight; seen-versus-dropped is a bounded ring of event ids (live or paged). Ordering by lamport was the wrong tool for a room with many clocks. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): floors and seen rings survive pump re-opens; the forced quiet re-open is gone; each tick samples what she sees in the store Fourth zero-admission build explained: the pump's SeenRooms was created per pump, and the loop forced a pump re-open every three quiet ticks, so every ~3 minutes each room's floor was re-adopted at "now" — a line already in the page read as old forever. The state now lives on the conversation (shared, locked) and every pump shares it; the forced re-open is gone (a re-open was never the remedy — the store catch-up is). Every tick also probes the freshest paged room (floor, newest, identity, seen) so "nothing admitted" is explainable from probes alone. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): a human line is never stale by a publisher clock, wins the trigger without an @mention, and is heard on delivery Found live on the shared-floor build: the operator's line reached the daemon store (kind message, wall time after every floor) and still no citizen turned on it. Two defects at the loop head, both replaced by `persona/wake_backlog`: staleness was `lamport <= high_water`, but a lamport is the PUBLISHER's clock — the operator self-peer's young clock read as stale against citizens' large ones, so the line was skipped before it could trigger; and the trigger preferred the newest line that @mentioned her, else the newest overall — a human line without a mention lost to any newer work receipt. Now staleness is by event id (a ring; the clock rule only for id-less scripted sources), the trigger is the newest DIRECTED line (human/agent or a mention), and every directed line drained earns its "heard by N" receipt — hearing is delivery, not reply. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): a parked self-work lane wait yields to a directed line — a human is heard within a minute, not a work turn Inbound drains only at the service loop's head, and a self-tick holds the loop for a whole work turn — most of which, at 12 citizens on 5 lanes, is spent PARKED at the non-directed lane gate (4 lane grants in 10 min across the roster). A human line therefore waited out the park plus the turn (~10 min) before it could even be heard. `cognition/directed_pending`: the pump raises a per-citizen flag when a line from outside the citizenry is forwarded (live or from the store); the deliberation faculty, while parked for a NON-directed lane, yields on it (`delib.gate.yielded_to_directed` — the park held no lane, so abandoning it is free, and the None is her choice to answer first, not a fault); the loop head clears the flag when it drains. A directed turn never yields. One flag + one Notify per citizen, no task. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): a run room is a conversation with its round on top, not a round instead of the conversation Live 2026-09-04: the round widget REPLACED the transcript in every run room, so an operator's line into the room — and the "heard by N" receipt on it — had nowhere to render. A run room now takes the academy landing's shape: its OWN round center-stage, the chat as the secondary layer. A bench-family room that is no round's run room (an index) keeps the board alone. Also: the nav-tab spec fixtures gain the `opened` field #3679 added to NavTab (the package no longer type-checked), and the ts-rs regeneration of RoundSnapshot (run_room_name) is committed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(web): the live-face spec follows the projection — offline members join the grid when they connect; controls carry cameraOn Three assertions were stale since #2639 (participants are the CALL, not the roster) and since the camera control landed; the package's spec run was red before any change tonight. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): a run room's landing is named for its round and opens its conversation The landing reused the campus title ("Academy") and folded the chat under the board; in a run room the conversation is where operator lines land, so it opens by default and the hero reads the round's label (verified · working · n/N in hands). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): her hands' root is a stated fact; inbound beats the self-tick; the inbound seams are real probes Three things the room told us this morning, once citizens could hear: 1. Demetri: "the staged repo swe/sympy__sympy-15017/ does not exist — ls swe/ returns No such file". It exists; his hands were rooted INSIDE it for the work turn while the card spoke workspace-relative (`swe/<instance>/`). Every citizen burned acts on the same false "checkout missing". The rooting seam now records where she stands as a working-memory FACT (the act-budget facts' channel), and the card body says the same in her coordinates. 2. Lorcan yielded a parked lane wait 12 times in 5 minutes: the loop head's select chose the due self-tick over the waiting inbox at random. `biased;` — a line already in her inbox beats a self-tick. 3. raw_event, filtered_non_turn, skipped_self_authored, subscribe_opened, resubscribed, rejoin_replayed, pump_ended and wake.coalesced were `tracing::info!(probe_class = …)` — invisible to the probe stream, so every tally of "did the line get admitted" read zero regardless of the loop (the concurrency style guide names this move). They are `probe!` now. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the rooted-hands fact actually lands — the previous edit script died before this file Where she stands is recorded in working memory at the rooting seam (the act-budget facts' channel): rooted AT the repo root, paths repo-relative, no swe/ from here. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the pending flag is raised only by lines that would be a turn, a stale flag clears on the self-tick, the converted probes carry their own classes, and each tick names the rooms it paged Measured on 8c6733c (7 min after boot): 25 work turns, 25 yields at the lane gate, 0 lanes acquired — the roster was idle. The pump raised the flag for EVERY forwarded event from a non-citizen peer, including the board's System events (167 filtered as non-turns), and the flag cleared only when a message qualified at the loop head — never. Now the pump signals only for an event that decodes as a perceptual room turn, and a self-tick that wins the wake with an empty inbox clears whatever is pending (with `biased;` the inbox is polled first, so a tick winning means nothing admissible was queued). The regex that converted the tracing lines mis-assigned two classes: the "stream ended" error carried `resubscribed`, the "rejoin page failed" warning carried `raw_event`, and the real resubscribed/raw_event sites were left as bare tracing. Fixed by hand; `stream_ended` and `rejoin_page_failed` are their own classes now. Each catch-up tick also probes the rooms it paged and the ones whose page held no conversation (`persona.inbound.catch_up_rooms`) — the run room missing from that list is the difference between "the catch-up works" and "she cannot hear the room she works in". Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): the store-backed catch-up pages the core's own chat store, deduped by line fingerprint `persona.inbound.catch_up_rooms` (961e274) answered the night's question in one line: every citizen pages the run room, and on a fresh boot its daemon page came back EMPTY — the daemon serves the page from a ring the busiest room floods with board System events, none of which pass the conversation-kind filter — while quieter rooms returned lines. The core's own chat store (`chat/poll`, the digest's history top-up and what the humans read) holds the whole conversation, with row ids equal to the airc event ids. The catch-up now pages that store (`durable_history::room_rows`) and admits each row as a Message event; a (peer, text) fingerprint ring keeps a line that arrives live under the say's event id and durably under the sender's message id one turn. Verified before this change, on 961e274: an operator line six minutes after boot admitted by all 12 citizens (first at +8 s, 8 within a minute), one yield each, lanes flowing — the deaf-citizens arc closes; this commit removes the last dependence on the daemon's ring. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(chat): chat/history reads the chat store — the same durable page the citizens' catch-up reads It asked the daemon for the newest N events of ALL kinds on the channel and kept the conversation-shaped ones; a busy run room answered 2 rows for limit 40 because the daemon's window is a ring the board's System events flood. The core's chat store has been the projection of the wire since `airc.chat.projected` (chat lines, 💭 intents, ⚙ receipts, under their event ids), so the verb's founding premise — "citizens' speech never touches chat_messages" — no longer holds. One durable page for humans and citizens (`durable_history::room_rows`); the two can never disagree. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(persona): her own last thoughts lead every work turn — resume, never re-orient Measured on the working round after fourteen hours: twelve held checkouts, zero diffs; in one hour 48 acts, one write, 46 "no deliverable yet". Freya's own lines show why: at 11:01 she had the bug located ("lines 107-152, I can see it clearly"), and the next work turn at 11:16 opened with "let me recall what I know" — every turn re-oriented from the room and the diagnosis died between turns. The work turn's burst now leads with her own newest 💭 lines on this work (paged from the durable chat store, oldest first, clipped), under "resume from them; do not re-orient". Her words, unedited: state, not steering. Probe `persona.work.last_state` counts what she was handed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(work): state and release follow the card to its room, as claim already does `work/state` and `work/release` refused a card outside the caller's current room ("switch to the card's room before mutating it") while `work/claim` had learned to follow the card's room and retry. Measured 2026-09-04: the operator could not reopen a paused round's ten held cards from `general`, so twelve citizens at WIP=1 could not pull the freshly dispatched team round. One helper (`follow_card_room`) now serves all three verbs: accept-or-redirect, never refuse-and-instruct. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(bench): the first reconciler rule — every live citizen is seated in every working round's room, on every resume pass Measured 2026-09-04: a team round dispatched at 11:40 had ONE member thirty minutes later. Dispatch seats the roster once; the reboot dropped the runtime joins; the resume module's residency park asked only "does any resident exist?", said yes, and moved on. Ten citizens held nothing (their old cards freed), pulled nothing, and produced six acts in half an hour — the exact "falls apart at the seam without intervention" shape. `reseat_working_rounds` runs on every resume pass (fast and slow watch): for each working citizen-driven round, each live citizen not yet a member of its run room is joined; members are left alone (no epoch bump). It repairs the world (membership), never the mind — a seated citizen perceives the board and doctrine and pulls or not as she chooses. Probe: `bench.round.reseated`. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(bench): WIP = lanes — the roster holds no more cards than the server has lanes Twelve citizens on five lanes gave each about two model calls an hour: on a fully claimed team round, 23 lane grants, 19 acts and 0 writes in 55 minutes. A card only progresses while its holder can decode, so the pull now defers when the number of claimed/in-progress cards across working citizen-driven rounds already equals the served lane count. Cards in review are not counted: the slot their owner held is what lets a peer pull the review card. Nobody is told what to do; the world simply has no free slot, and the rest stay resident and take reviews as they open. Probe `bench.round.pull_deferred_wip` (1/50). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): a spoken plan does not settle a workspace turn — three in a row do; the act-budget fact stops printing usize::MAX Measured on the team round (12 held cards, 70 min): 29 acts, 0 writes. Each work turn was one act and a spoken plan ("let me explore the checkout"); the second plan in a row ended the turn, and the next turn re-oriented. A workspace-deliverable turn that speaks without having changed a file is now re-perceived up to three consecutive times (the fact names the count, so pacing stays hers); an act resets the count; the stuck detector still bounds the turn. Also: with an unbounded live budget the turn-start fact read "grants me 18446744073709551615 act→observe cycles" — it now says the truth: no fixed budget, act until you settle. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(work): a by-id mutation finds a bench card's room through the round tracker, not only the caller's subscriptions `follow_card_room` looked for the card on the boards of rooms the CALLER subscribes to; from `general`, the operator's `work/state` on a fresh team round's cards found nothing to follow and was refused. A bench card names its run room in the round tracker, node-wide — that is the fallback now, so any operator verb reaches any round's card from anywhere. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(cognition): the zero-change speak test follows the narration budget Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(bench): the lane cap counts in-flight cards from the BOARD, and a pull waits for its claim to land The first cut of WIP = lanes counted owners from the round tracker's own column, which lags the board and read zero, so the cap never held: seven reopened cards were re-pulled within seconds, two apiece by two citizens. In-flight is now dispatched − settled − open-on-the-board per working citizen round she is resident in (the same board read the pull itself uses), and a citizen's next pull is admitted only 120 s after her last, so an eventually-consistent claim cannot be doubled. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * refactor(persona): the pull policy lives in persona/work_pull.rs (pure code motion) WIP=1, the settle window, WIP=lanes (board-true), residency, the claim — one policy, one 165-line file, out of the 5,300-line service loop it was edited in four times today. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * refactor(persona): the work-turn text builders live in persona/work_burst.rs (pure code motion) held_work_burst, own_recent_thoughts, work_board_anchor — pure text, no I/O — out of the service loop (5,324 → 4,995 lines today). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(bench): the resume watchdog re-fires detached rounds only — a citizen round's cards are pulled, never pushed next_unworked_per_round fed the boot/slow-watch re-fire for every working round, so a citizen-driven round could get a detached solve pushed onto a card the residents were meant to pull (plan S4: re-fire is the detached driver's compensation only). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(bench): an open card has no owner — the label is a claim attribute The board keeps the last holder's id on a card set back to open; the academy board and the operator both counted 12 in hands with 5 held. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(bench): the citizen card body says where her hands stand and that nothing starts by itself The kickoff template still promised "your scored solve starts automatically" (the detached era) and named the checkout workspace-relative while her hands stand inside it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): a claim stays held while she works — the pulse counts self-cycles, renewals run every 5 min, and a lapsed own hold is re-claimed Measured on the team round: 32 pulls and 32 re-stagings for 12 cards in 15 minutes, holders rotating, two citizens on two cards. The claim-renewal pump denied renewals when no cognition pulse was seen within a lease, and the pulse was stamped only on message turns — a holder working her card for thirty minutes without a room message read as idle, her hold lapsed, the roster (live claims only) stopped renewing it, she read as free and pulled another card, and someone else pulled hers and re-staged the checkout. Now a self-cycle stamps the pulse (it IS cognition), the pump renews every DEFAULT_CLAIM_TTL_MS / 6, and before renewing it re-claims her own lapsed holds that nobody else has taken (`persona.claim.recovered`). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(bench): a run counts for a card only if it is newer than the round Run facts are keyed by instance, so a fresh card inherited an older round's run on the same instance and read resolved before anyone touched it. The tracker records when a round opened; enrichment floors run matching on it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(bench): round literals carry opened_at_ms Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): a lapsed hold is recovered only when she holds nothing else — WIP=1 survives the recovery The recovery re-claimed a citizen's lapsed card after she had already pulled a fresh one, leaving her on two. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): the activity reconciler — startup and resume without a hand Joel's question (2026-09-05): what is missing from our designs, without losing organic behaviour. The diagnosis (no owner for an activity's consistency), the seven rules in build order with what shipped for each, the concurrency the reconciler enforces (WIP = lanes, one measured round), and the numbers that verify it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(persona): idle citizens yield the lanes to the holders, and the resume block is scoped to her held card With 8 holders on 5 lanes, idle self-ticks took nondirected lane permits while holders waited (a holder saw two work turns in forty minutes): when the pull is deferred by WIP = lanes, the self-cycle takes no lane. And after a reopen churn a holder's newest thoughts were about ANOTHER card, so every turn opened with "my context is confused": the resume block prefers her thoughts that name the held card. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): where her hands stand is one truth — receipts carry it, the map renders it, a switch retires the other card's traces Glass-boxed on the team round: a holder's working memory carried four traces from a previous card and her workspace map said the checkout sat under swe/ while her shell stood inside it; every work turn opened with "my context is confused" and an ls. The rooting seam now registers the acting root process-wide: receipts are stamped with it and only same-root receipts are perceived; the workspace map renders that root; the restore clears it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(bench): a settle in a citizen round never pushes a detached solve onto the next card The grade-on-done follow-on fired dispatch_staged_swe_solve for the round's next unworked card regardless of driver; in a citizen round that collides with WIP = lanes and takes the card off the deck the residents pull from. The follow-on is the detached driver's motion only. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(persona): a citizen holding a card lives at that repo in every turn, and the map re-renders on a root change Freya edited a file during a room turn with her hands at home — her home is a copy of the continuum repo, so the edit landed there, never in her card's checkout. A room turn now roots her hands at her held card's staged checkout exactly as the work turn does (and restores after). And the workspace map's cache was invalidated only by mutating commands, so a root change kept rendering her home while her shell stood inside the checkout: the acting-root registry now marks the persona's map dirty on every root change. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(persona): a lapsed hold on a paused round is not recovered The board keeps the last owner on a card set back to open, so the recovery re-claimed ten citizens' old cards on a PAUSED round the moment their leases had lapsed — and WIP=1 blocked them from the working team round again. A recovery now asks the round tracker whether the card's round is still working. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(cognition): working-memory entry literals carry scope; RoundSnapshot binding regenerated CI failed on the PR with E0063 missing field scope in the perception tests' WmEntry literals — patched locally but never committed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * probe(workspace): the map names the root it rendered from, and the root registry names what it recorded Post-deploy traces still showed her home as the map root during work turns; these two probes make the seam readable instead of guessed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * perf(cognition): a work turn offers her hands, not the whole registry Measured 2026-09-05 on the team round: each model call prefilled 13k–26k tokens with zero KV reuse; 37 tool schemas were 8.5k of a ~22k-token prompt. A workspace-deliverable turn now carries the code/work/git/cargo/tool/commands slice only — the discovery pair keeps everything else one call away. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * perf(cognition): a work turn offers her hands, not the whole registry Measured 2026-09-05 on the team round: each model call prefilled 13k–26k tokens with zero KV reuse; 37 tool schemas were 8.5k of a ~22k-token prompt. A workspace-deliverable turn now carries the code/work/git/cargo/tool/commands slice only — the discovery pair keeps everything else one call away. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(ci+persona): the four crate-wide guards; a held card roots her hands every turn without trusting the registry; a failed edit is not a write Guards: the dead quiet-window constant is gone, serving/cache-probe joins the serving-surface list, persona/vitals takes a typed id, today's lock/default unwraps carry their reasons. Rooting: Freya's correct repo-relative code/edit for django-16527 answered "File not found … did you mean swe/…" — her hands stood at home in a room turn because the registry still recorded a checkout (a failed restore left it) and the shortcut trusted it. Rooting now runs every turn she holds a card, and the restore forgets the root BEFORE moving. The act receipt counts a mutating verb as a write only when it executed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * perf(cognition): a work turn perceives a compact past — newest three acts in full, older ones collapsed, and only her own cards on the board Measured 2026-09-05: the working-memory block was 14–23 KB and the 12-card kanban 3.7k tokens of every ~22k-token act, with zero KV reuse. In a work turn (hands rooted at a card) working memory keeps the newest three reasonings/receipts with a 1,500-char head and collapses the rest to one count line; the board source delivers her held cards only — the open deck is for pulling, and a holder does not pull. 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]>
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.
The strip drew 49 identical tabs (one per room the daemon knows). A tab is now opened only when the citizen selected it and has not closed it; the current tab is always opened.
NavTab.openedis wire truth (ts-rs regenerated); the focus store remembers room selects; the listing cell carriesopened; the strip filters on it while the rail keeps the whole set. Test pins membership + no duplicate row.Also: the eye-node waits for a DOM-quiet window after
networkidlebefore observing (deep links that route on a websocket envelope were captured mid-route).🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo