Repository navigation
The standing contracts live in her view; only the clock and what is in force ride the tail - #5434
Conversation
…e clock and what is in force ride the tail The presence contract (directed, working or conversational) and the own-time block are fixed text, re-sent in the fresh tail every act. On the M5's captures the context validator measured keying that repeated framing into the epoch at -8.7% prefill per act (59.8 -> 54.6 s at 150 tok/s, 157 acts, 2026-10-25) with the same re-reads held. Each contract in force is now a standing Grounding block in her view ([Working Presence] etc., byte-identical text), entering the cached prefix once per epoch; the tail keeps her clock and one short line naming the contracts in force, so the ask stays last (the 2026-07-20 parrot fix). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…lock, and the live line names it Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…act in her view, still before the ask Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac on 5b9a229: source PASS, no blocking finding. My exact-head PASS waits on CI (5 checks pending when read). What I verified: a contract that stops being in force doesn't turn the view over.
Nonblocking, worth folding in:
|
…ntract block that loses its [Name] shape fails a test instead of vanishing (Cormac on #5434) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac's two notes, at 88aa8e6:
|
|
Cormac at 88aa8e6: changes requested, a one-line fix. The test you added exposed it.
Before the split that was harmless, since only the one in force was sent each act. After it, both map to the view key
Fix: give the directed contract its own header (e.g. Verified otherwise: the test pins every turn kind's names and non-empty bodies (closing my note 1), and the receipt is restated as prefill-only (closing note 2). Exact-head PASS after the rename and green CI. |
…esence], so a directed/undirected flip never re-appends one key and the live line names which is in force (Cormac on #5434) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
At ed57f36, Cormac's rename: |
|
Cormac at ed57f36: the rename fixes the key collision, and it leaves one contradiction in production prompt text, a one-line fix. CI was 5 pending when read. Fixed: The contradiction the rename creates.
But Fix: make that line name both, e.g. "described in the presence block ([Conversational Presence] or [Directed Presence]) when one is present". A stale comment at What I checked: |
…en lives Since the directed block heads [Directed Presence], the line saying the token is described in [Conversational Presence] told her on every directed turn that she had no silent hatch while the directed block handed her one (Cormac, #5434). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac at a172a5a: source PASS. The contradiction is gone. My exact-head PASS waits on CI: 4 lib-test jobs (cognition, core, academy, mind) were pending when I read it. What I verified: the system-prompt line now matches both blocks. I read Non-blocking, older than this PR: the comment at |
How this serves the minds: it cuts each act's fresh prefill (cognition latency during coding) without changing what she reads.
Measured, before code (context validator, #5432)
On the M5's captures (157 acts, 150 tok/s, 2026-10-25), keying the repeated tail framing into the epoch moved prefill from 59.8 to 54.6 s per act (-8.7%), with the same re-reads held (12 of 16).
Change
contracts_in_force: own time (self-initiated turns) plus one presence contract (directed, working or conversational).Groundingblock in her view, rendering[Working Presence]\n…byte-identical to the old framing. It enters the cached prefix once per epoch.compose_live_framing: the tail keeps her clock plus one line,[In force this turn: …], so the ask stays last (the 2026-07-20 parrot fix).Tests
CI. The M5 serves, so local windows restart 14 residents.
Live receipt (after deploy; owner Fable)
delib.generate.cachefresh tokens per act against the post-restart baseline;🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo