Skip to content

feat: durable wake hydration (#249) + BigMama's identity republish adopted + pump probes - #2060

Merged
joelteply merged 3 commits into
canaryfrom
feat/avatar-native-plane-convergence
Jul 30, 2026
Merged

joelteply merged 3 commits into
canaryfrom
feat/avatar-native-plane-convergence

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Cross-node convergence batch (Joel: 'talk to bigmama and use each other's code — merge etc'):

Squash-merge per canary's no-merge-commits rule.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

joelteply and others added 3 commits July 30, 2026 14:07
…oot (#265)

Reboot wipes the in-process repetition-fact rings exactly when they're most
needed: the post-boot wake round, where every persona re-emits its greeting
2+ times with own_repetition/[settled] blind (observed live 2026-07-30,
three times — Anwen's third verbatim greeting landed while this fix's test
compiled). The durable transcript (#140) already holds the history; the
persist listener now replays the latest 200 lines into the per-room and
per-sender rings before consuming live events, with a bounded wait on the
executor slot (the #201 ordering race) and a speech.rings.hydrated probe.

Test: hydrate_speech_rings_seeds_room_and_own_rings_from_durable_store —
fresh UUIDs per run so the process-global rings stay isolated under
full-suite parallelism (the #7 lesson).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…pt (#249) — kills the greeting chorus

Post-reboot each persona's airc runtime log holds only events since ITS boot,
and #242's cursors rightly never replay — so every mind's visible conversation
collapsed to ONE message and the room devolved into a greeting chorus, each
persona mirroring the only utterance it could see (glass-boxed live 2026-07-30:
Atlas's 5352-token prompt carried '[context] you can currently see the last 1
message').

Fix: when the live window is shallower than the grounding target,
AircRagSource tops up from the durable chat store (#140) via a new
DurableRoomHistory trait (ChatStoreHistory rides the same chat/poll command as
every other consumer — one read path). Hydrated lines enter at lamport 0:
structurally grounding-only, never unread — history is context, never fresh
perception (#242 intact). Dedup by content through the one room-turn decoder
(event ids re-mint across runtime restarts). Loud degrade on store
unavailability; airc_rag.hydrated {live,hydrated} probe per top-up.

Mind-side sibling of #265 (speech rings) — one durable transcript, every
consumer hydrates from it. Test pins the live scenario: 1 live event + durable
tail -> merged window, dupes collapse, history precedes the live tail.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ish (cherry-pick 1225f2e) — union with the availability pump

Her fix (grid-personas branch): the identity card emit at attach is one-shot,
so any peer joining LATER renders peer-<uuid> + default glyph forever; a 60s
republish grounds late arrivals within a heartbeat window. My branch had the
newer availability-aware heartbeat (#260) in the same struct — kept mine,
added hers: honest availability AND late-joiner identity, strictly better
than either alone. This is the cross-node convergence half of #262 running
on BOTH nodes once merged.

Original-Author: BigMama lane (1225f2e)
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply force-pushed the feat/avatar-native-plane-convergence branch from 4a19442 to c10f416 Compare July 30, 2026 19:07
@joelteply
joelteply merged commit 08f58f4 into canary Jul 30, 2026
4 checks passed
@joelteply
joelteply deleted the feat/avatar-native-plane-convergence branch July 30, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant