Skip to content

fix(cognition): ring-counted anchor escalation — photocopy-chain breaker survives the window squeeze (#301) - #2110

Merged
joelteply merged 1 commit into
canaryfrom
fix/301-ring-anchor-starvation
Aug 2, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/301-ring-anchor-starvation

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The live dysfunction (capture-proven)

Three personas spoke "I'm Atlas" — Atlas's wake-intro reproduced byte-for-byte down a chain, identity claim included. Glass box showed every mechanism worked but one join: detection facts rendered correctly, the [anchor] escalation provably breaks the loop when it fires — but its run-counters derive from the squeezed rendered window (2–6 turns), so the older echo evidence always scrolled out and the run read 1, below threshold. Hours of photocopies, anchor fired once.

The fix

  • ring_echo_run: pure counter over ring snapshots (own + room rings, boot-hydrated Unified Modular Runtime: Consolidate workers into continuum-core + Rust ORM #265), same containment geometry as the in-window detectors (shared tokenization — no drift).
  • Live message path + self-tick call append_ring_anchor_if_starved: ring run at threshold + no anchor present → the same work_board_anchor, one per burst, probed.
  • Eval/replay untouched — build_workspace_turns signature doesn't know rings exist (Build(deps-dev): Bump eslint from 9.24.0 to 9.27.0 #59 isolation, the reason window-derivation was chosen originally).
  • Self-vouching subtlety: authorless room ring holds her own copy, so exclusion is AT MOST ONE identical entry — the remaining identical copies ARE the evidence (test pins it).

Testing

  • New: ring_echo_run_counts_photocopies_and_never_self_vouches — live specimen text; 2 copies → 2 (escalates), novel → 0, lone original → 0.
  • Existing brick regression repetition_observation_enters_burst_only_on_self_recycling still green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…breaker fires even when window evidence scrolls out (#301)

Glass-boxed live 2026-08-02 (captures saved): Atlas's wake-intro was
reproduced BYTE-FOR-BYTE by Benchy then Asha — identity claim included
("I'm Atlas" spoken by three different peers). Every layer of the
existing machinery worked except one join: [repetition]/[pattern] facts
rendered correctly in the copier's prompt (detection fine), and the ONE
time the [anchor] escalation fired, her next turn broke the template
(cure proven). But the escalation counters derive their runs from the
RENDERED window, which the live context budget squeezes to 2-6 turns —
so during an hours-long chain the older echo evidence had always
scrolled out and the run read 1, one below PATTERN_FIRES_BEFORE_ANCHOR.
The anchor that provably breaks these loops structurally could not fire.
Same starvation the room-speech ring already cures for the
inbound_restates fact; the service-loop detectors never got the ring.

Fix: ring_echo_run — a pure counter over ring SNAPSHOTS (own-speech +
room rings, boot-hydrated per #265) using the same containment geometry
as the in-window detectors (shared echo_words tokenization, no drift).
The LIVE message path and self-tick call append_ring_anchor_if_starved:
when the ring-counted run reaches the threshold and the window-derived
detectors pushed no [anchor], the SAME work_board_anchor is appended —
one anchor per burst, whichever counter earns it, with a
persona.pattern.ring_anchor probe. Eval/replay paths are untouched:
build_workspace_turns' signature does not know rings exist (#59
isolation preserved — the reason window-derivation was chosen).

Self-vouching subtlety pinned by test: the authorless room ring holds
her own copy too, so exclusion is AT MOST ONE identical entry — the
remaining identical copies ARE the photocopy evidence.

Test builds the live specimen (Atlas intro, Benchy/Asha copies):
2 trailing photocopies count 2 (escalates), novel work counts 0, a lone
original with no independent copies counts 0.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 531158f into canary Aug 2, 2026
@joelteply
joelteply deleted the fix/301-ring-anchor-starvation branch August 2, 2026 12:28
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