Skip to content

fix(cognition): the consolidator's SUPERSEDES instruction spoken in a room is an echo, and [answer] is a window tag — breaks the WM recital loop - #4067

Merged
joelteply merged 1 commit into
canaryfrom
fix/the-consolidator-scaffold-spoken-is-an-echo
Sep 15, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/the-consolidator-scaffold-spoken-is-an-echo

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

What

  • consolidator_scaffold_echo: a message carrying the dream consolidator's SUPERSEDES instruction ("list which numbered prior beliefs are now outdated…") is the consolidation scaffold spoken; the phrase is one shared constant the prompt renders from.
  • [answer] joins the window tags (the observed line opened [answer]\n…).

Why

Card ce0cbdd7. Cormac traced Delia's recitals on the Intel Mac to a loop through working memory: she spoke the scaffold once, record_settlement laid it into [answered]/own_speech, the next deliberation replayed it, she spoke it again, three captured turns in a row. A Speak that the gate passes is never recorded as a settlement, so the loop breaks on every node that deploys this. The origin (how the distiller's instruction first reached a room turn) stays open on the card; the distiller path has no prompt capture, which is the next item there.

Acceptance

cognition::framing_echo 4/4, cognition::dream_consolidation 16/16. Live on Intel after deploy: cognition.framing_echo marker consolidator_scaffold_echo and no further "[answer] The general, reusable knowledge…" rows.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… room is an echo, and [answer] is a window tag — breaks the WM recital loop Cormac traced (Delia, Intel Mac, 2026-09-15 11:1xZ)

The distiller's instruction phrase is one shared constant (framing_echo::CONSOLIDATOR_SUPERSEDES_INSTRUCTION) the prompt renders from; a Speak carrying it is a pass, so record_settlement never lays it back into working memory and own_speech.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 40186c3 into canary Sep 15, 2026
4 checks passed
@joelteply
joelteply deleted the fix/the-consolidator-scaffold-spoken-is-an-echo branch September 15, 2026 11:37
@joelteply

Copy link
Copy Markdown
Contributor Author

The full 2.00h like-for-like window is closed. Both readings taken with the same query over the same 8 citizens, kind='message', two-hour windows.

                        BASELINE          AFTER
                        efe8d1a2a         40186c389
                        12:17-14:17Z      15:00-17:00Z
repetition-brick echo        5                0
placeholder-as-value         4                7
total citizen lines         32               38

REPETITION BRICK: 5 -> 0, with volume slightly UP. Under the baseline rate, adjusted for the larger line count, the expected count was 5.94 and P(observing zero) = 0.0026. That is the strongest signal I have taken on this node.

PLACEHOLDER: 4 -> 7, which is 0.125 -> 0.184 per line. I PREDICTED, in writing, before deploying, that placeholder emissions would fall alongside the brick echoes. They rose. Against the baseline rate the expected count was 4.75 and P(X >= 7) = 0.202, so the rise itself is within noise and I am not claiming placeholders got worse — but the prediction was that they would FALL, and they did not. Card 87f7a837 is why: the token circulating in rooms is <replace_with_string>, underscores, which nothing in the tree emits, and it propagates through room history rather than from the emitter. Nothing in this deploy could have touched it.

WHAT I CANNOT ATTRIBUTE, and it is the main limit on the whole exercise. The two cores are TEN commits apart, and at least five of those are cognition gates aimed at the same class of output: #4067 (SUPERSEDES echo, [answer] as a window tag), #4065 (window tag opening a message, collapse marker, yield forms), #4064 (bare canned refusal), #4061 (bare inflection of the silence token). The brick went to zero while five gates landed together. I can say the class of output collapsed; I cannot say #4067 did it, and it would be wrong to write this up as a #4067 verification. Separating them needs a per-commit deploy or a replay harness, not a second observational window on one node.

A MEASUREMENT ERROR OF MY OWN, since it invalidates a line of the baseline receipt. I recorded the message metrics WINDOWED and the gate-firing counts CUMULATIVE over the whole probe ledger. So baseline framing_echo 18 and after framing_echo 9 are not comparable quantities and I am striking that comparison rather than reporting it. The after-window figure of 9 firings in 2.00h stands on its own as the mechanism that was active; it says nothing about a rise or a fall.

CONFIRMED AS PREDICTED: not_speech 0 firings. It is dead, exactly as the census said — the gate cannot fire because nothing calls it. That is card f88d14c2, which I have claimed and am fixing now; the 0 here is its positive control, and the same probe class going non-zero after that lands is how it gets verified.

joelteply added a commit that referenced this pull request Sep 15, 2026
…alects actually reaching rooms (#4075)

`not_speech` was written, tested and merged on 2026-09-05 (card b88df1c1) and has
never run once. Its only caller is `response_validator::clean_and_validate`, which
has no production call site on canary — the sole mentions are the re-export in
`cognition/mod.rs` and a line of PROSE in `persona/service_loop.rs` listing it as a
step of the cognition cycle. The board read Merged, the file had tests, and 11 tool
envelopes reached rooms in one 24h window. (#3760 found the same shape.)

Wired at `deliberation_parse::decision_from_response`, beside `framing_echo` — the
single text->decision seam, so every path that turns model text into a Speak
inherits it. Not at the faculty's verdict, which was the first draft and the
shallow call site.

And the predicate needed widening, because it would have missed most of what is
actually being posted. Measured over 24h across the 8 citizens on this node,
`kind='message'`, 243 spoken lines:

  open with a `[verb]` bracket        48     the old predicate caught 16
  open with a ``` fence               85     the old predicate caught 0

Three dialects added, each discriminated structurally rather than by a phrase list:

- BARE NAMESPACED VERB (`[code/run]`, `[work/list]`) — no object follows, which the
  two object-bearing forms require. The `namespace/verb` slash is what separates a
  command from `[answer]` / `[pass]` / `[repetition]`, which satisfy the same shape
  and must survive: they are the verdict dialect and the perception brick, other
  gates' business (#4067). Takes the bracket family 16 -> 33 of 48. All 17 newly
  caught lines audited: code/run x14, work/list x2, command/run x1, no false
  positive.

- FENCED CALL (`ns/verb({` in a message opening with a fence) — 53 of the 85 fenced
  lines, the single largest shape reaching rooms. A fence alone can NEVER be the
  test: ```rust fn main() { ... } is a citizen posting a snippet, which is speech
  and one of the more useful things she does. Every one of the 53 was audited, not
  sampled: 5 distinct shapes, verb is `code/shell` in all 53, no false positive. An
  escaped-quote signal that looked promising fires on 47 and catches nothing this
  does not, so it is not here.

- Anchoring preserved throughout: only a LEADING bracket or fence counts, so a
  citizen REPORTING an envelope still speaks. That is the `framing_echo` lesson —
  un-anchoring silences the citizens who report the problem.

The pass keeps its reason (`not speech (tool_envelope): ...`), matching framing_echo,
so the glass box shows why she went quiet.

Tests: 16 passed / 0 failed in `cognition::not_speech` + `cognition::deliberation_parse`.

The seam test is the load-bearing one and it is MUTATION-PROVEN. With the
`is_not_speech` call made unreachable (`if false {`), the same filtered run gives:

    test cognition::deliberation_parse::tests::a_tool_envelope_is_a_reasoned_pass_at_the_live_seam ... FAILED
    panicked at core/continuum-core/src/cognition/deliberation_parse.rs:383:26
    test result: FAILED. 0 passed; 1 failed

i.e. the envelopes fall through to Speak. The mutation is confined to
`decision_from_response`; `not_speech.rs`'s own tests call the predicate directly and
are untouched by construction (I did not re-run them under mutation — the filter was
the one test). That is precisely the condition this card exists to fix: a gate green
in its own file and dead in the system. A wiring test that could not detect its own
un-wiring would have reproduced the defect one level up.

The tree was then restored and the working diff verified byte-identical
(sha 6c38cd06bb5786d62bf7235ea1e1c595bda4fa42) to the state that tested 16/16 green.

NOT in this change, both carded:
- 85520b97 — silencing the envelope quiets the room but does not make the citizen's
  action happen; she still posts "The command ran successfully" for a call that never
  ran. That is a tool-calling defect, not a speech defect.
- 657e74de — these passes should stage as learning examples. This only silences.

Card: f88d14c2


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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