Repository navigation
steps-ledger probe names its working-memory instance - #2356
Merged
Merged
Conversation
…ance — a duplicate cycle becomes visible in one row Diagnosing tonight's split-brain (Atlas's turns alternating between a veteran WorkingMemory at taken=3389 and a newborn at taken=0 that told her "nothing has executed yet" mid-claim) required correlating ANONYMOUS ledger rows by counter arithmetic across a probe stream that also mixes personas. A ledger row that cannot say whose ledger it is cannot witness a duplicate. WorkingMemory now carries a process-unique construction ordinal (diagnostic only), and perception.steps_ledger emits it as wm_instance. The next duplicate shows as two instance ids under one persona's turns — one row, no archaeology. Also on the record from the same investigation: persona/instances/despawn leaves the cognition registry entry resident (cognition/personas still lists 4 after 3 despawns) — loops are aborted so the leak is idle, but eviction belongs in the despawn teardown (follow-up). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
August 22, 2026 00:58
joelteply
added a commit
that referenced
this pull request
Aug 22, 2026
* feat(persona): FOCUS — a self-tick binds to the held claim's room, not home Measured 2026-08-22 mid-round: a citizen holding a live claim alternated home-room self-ticks with work-room turns, and every swap re-rendered the room-scoped context (kanban, steps-ledger, room speech) through her ONE pinned slot — `cached: 0` by her own hand, plus attention spent re-orienting in a room her work is not in. The institution's version: you sit at your desk until the job is done; the break room is for between jobs. The self-cycle now resolves her freshest live claim (max claim_expires_at_ms — most recently taken or heartbeated) to its round ROOM and composes there; no claim, or a claim on an untracked card, falls back home exactly as before. Probe: persona.selftick.focused fires on each non-home binding. Card→room resolves through the bench-round registry tonight (a round IS its room). Joel's correction stands as the follow-up seam: the kanban board is airc's own room projection, so the durable answer to "which room holds this card" belongs airc-side, native — the in-core registry is the interim mirror and covers exactly the bench cards where the clobber was measured. Also: perception.steps_ledger now carries persona (+ wm_instance from #2356) — the duplicate-cycle signature is two wm ids under ONE persona, and without the persona key tonight's read (three wm ids in one room) was unconvictable: it was three personas legitimately sharing the round room. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix: justify the focus sort's unwrap_or on its own line — the ratchet is right, unknown is not a quantity unknown expiry sorts LEAST-fresh: it can never win focus over a known-live lease, and a lone expiry-less claim still focuses (better than home). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Fable 5 <[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.
One-row witness for duplicate cycles: WorkingMemory gets a process-unique ordinal, perception.steps_ledger emits it. Found while diagnosing Atlas's split-brain (veteran taken=3389 vs newborn taken=0 alternating under one persona). Also records the despawn cognition-registry leak for follow-up.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo