{
 "paper": "learned-intuition",
 "a": "4.0",
 "b": "4.0b",
 "summary": "From v4.0 (5 Aug) to v4.0b (2 Sep): 12,965 words to 5,902 words, 5,737 words in new or rewritten paragraphs and 12,800 taken out, 450 paragraphs changed.",
 "note": {
  "title": "A second v4.0: dual-loop design built around a misread offer",
  "kind": "major-rewrite",
  "body": "## Summary\n\nA separate manuscript, also called v4.0, written as a design paper. It frames the problem as two failures: an action that ignored the room, and a request that was read as a different deal.\n\n- Worked case: a conditional purchase offer was read as a firm debt; the paper traces how a check on commitments would catch it.\n- Dual-loop architecture: a continuous stream that looks for novelty, abruptness, inconsistency and changed commitments, and a final check before any action.\n- A formal problem statement, and a fuller account of what the biological amygdala does beyond fear.\n- An autopsy of the running prototype: what is live, what was measured, what is broken.\n- A phased roadmap, starting with repairing the instruments.",
  "source": "change note"
 },
 "paragraphs_changed": 450,
 "changes": [
  {
   "section": "",
   "old": "**Provenance note.** v4.0 is a **merge**, not a successor in the usual sense. v3.1 carried the architecture, the biological grounding, Related Work, the feedback-loop design and the continual-learning regime; v3.2 rewrote the paper as a disciplined negative-results report and, in doing so, dropped Related Work and most of the architectural detail (35 section headers → 24). Neither is a superset of the other. This version restores v3.1's material under v3.2's evidentiary discipline, and adds three things neither had: a first-party security incident in the gate's own machinery (§9), an argument that **external blocking is structurally defeated by agent retry** (§8), and the positioning of the whole approach as the deepest behavioural intervention available without weight access (§11).",
   "new": null,
   "marked": "[-**Provenance note.** v4.0 is a **merge**, not a successor in the usual sense. v3.1 carried the architecture, the biological grounding, Related Work, the feedback-loop design and the continual-learning regime; v3.2 rewrote the paper as a disciplined negative-results report and, in doing so, dropped Related Work and most of the architectural detail (35 section headers → 24). Neither is a superset of the other. This version restores v3.1's material under v3.2's evidentiary discipline, and adds three things neither had: a first-party security incident in the gate's own machinery (§9), an argument that **external blocking is structurally defeated by agent retry** (§8), and the positioning of the whole approach as the deepest behavioural intervention available without weight access (§11).-]"
  },
  {
   "section": "",
   "old": "**Implementation status (verified against the runtime, 5 August 2026).** *LIVE AND ENFORCING:* the **deterministic reflex floor** — a small destructive-action blocklist — evaluated pre-execution on both runners via a dependency-free `PreToolUse` hook that synchronously denies a tool call, working even under the primary runner's permissive `bypassPermissions` mode; production config carries `aegisEnabled: true` and the native `{block}` contract is fixed, so the floor denies rather than merely logging. *LIVE BUT OBSERVE-ONLY:* the validated kNN-novelty (ask) and clause-cosine incongruity (ask) channels surface a disposition without blocking. *PROPOSED / NOT VALIDATED:* the surprise predictor, the learned disposition head, a learnable substrate. *RETIRED:* the legacy ONNX five-model ensemble (kept behind a flag, schema migrated); the v2.8 \"ten networks / two families\" framing — there is **one model**, it is **Prudence-only**, and personality moved to **J18 STRIATUM**. *NEW IN v4.0, AND NOT YET BUILT:* the return-a-premise disposition (§8.4). *NEW IN v4.0, NOW DEPLOYED (updated 5 August 2026, 10:21):* both remediations of the 2026-08-05 incident (§9) — argv arrays in `git-cache.ts` and the `targetType === \"file\"` guard in `situation-template.ts` — shipped as `dd203a441e3` and verified against the built artifact, not the source: the interpolated shell form was present in `dist/` before the deploy and absent after. A committed differential regression test and a repo-wide build gate for the class followed in `cbe06d59fb0`; the gate found three further instances of the same defect on its first run, all fixed, ratchet now at zero. §9.5 carries the full account, including the two things the deployment itself taught — that the differential test this paper cited had never been committed, and that the checker's first act was to flag its own documentation.",
   "new": null,
   "marked": "[-**Implementation status (verified against the runtime, 5 August 2026).** *LIVE AND ENFORCING:* the **deterministic reflex floor** — a small destructive-action blocklist — evaluated pre-execution on both runners via a dependency-free `PreToolUse` hook that synchronously denies a tool call, working even under the primary runner's permissive `bypassPermissions` mode; production config carries `aegisEnabled: true` and the native `{block}` contract is fixed, so the floor denies rather than merely logging. *LIVE BUT OBSERVE-ONLY:* the validated kNN-novelty (ask) and clause-cosine incongruity (ask) channels surface a disposition without blocking. *PROPOSED / NOT VALIDATED:* the surprise predictor, the learned disposition head, a learnable substrate. *RETIRED:* the legacy ONNX five-model ensemble (kept behind a flag, schema migrated); the v2.8 \"ten networks / two families\" framing — there is **one model**, it is **Prudence-only**, and personality moved to **J18 STRIATUM**. *NEW IN v4.0, AND NOT YET BUILT:* the return-a-premise disposition (§8.4). *NEW IN v4.0, NOW DEPLOYED (updated 5 August 2026, 10:21):* both remediations of the 2026-08-05 incident (§9) — argv arrays in `git-cache.ts` and the `targetType === \"file\"` guard in `situation-template.ts` — shipped as `dd203a441e3` and verified against the built artifact, not the source: the interpolated shell form was present in `dist/` before the deploy and absent after. A committed differential regression test and a repo-wide build gate for the class followed in `cbe06d59fb0`; the gate found three further instances of the same defect on its first run, all fixed, ratchet now at zero. §9.5 carries the full account, including the two things the deployment itself taught — that the differential test this paper cited had never been committed, and that the checker's first act was to flag its own documentation.-]"
  },
  {
   "section": "AMYGDALA: Dual-Loop Learned Relevance for Persistent AI Agents",
   "old": null,
   "new": "# AMYGDALA: Dual-Loop Learned Relevance for Persistent AI Agents",
   "marked": "{+# AMYGDALA: Dual-Loop Learned Relevance for Persistent AI Agents+}"
  },
  {
   "section": "AMYGDALA: Dual-Loop Learned Relevance for Persistent AI Agents",
   "old": null,
   "new": "**Oscar Serra¹** ¹Independent Research _2 September 2026_ **Version 4.0**",
   "marked": "{+**Oscar Serra¹** ¹Independent Research _2 September 2026_ **Version 4.0**+}"
  },
  {
   "section": "AMYGDALA: Dual-Loop Learned Relevance for Persistent AI Agents",
   "old": null,
   "new": "**Implementation status (dated 2 September 2026).** The terminal Action loop is partly deployed: deterministic AEGIS rules enforce selected constraints, k-nearest-neighbour novelty runs observe-only, and an intra-prompt coherence detector emits observe-only alerts. The original five-network Prudence ensemble and five-network Personality family exist as artifacts but are retired from the default decision path after data and validation failures. The continuous Stream loop, commitment-difference detector, abruptness monitor, and efferent interrupt path proposed here are not implemented. Tables below distinguish implemented, measured, and proposed components.",
   "marked": "{+**Implementation status (dated 2 September 2026).** The terminal Action loop is partly deployed: deterministic AEGIS rules enforce selected constraints, k-nearest-neighbour novelty runs observe-only, and an intra-prompt coherence detector emits observe-only alerts. The original five-network Prudence ensemble and five-network Personality family exist as artifacts but are retired from the default decision path after data and validation failures. The continuous Stream loop, commitment-difference detector, abruptness monitor, and efferent interrupt path proposed here are not implemented. Tables below distinguish implemented, measured, and proposed components.+}"
  },
  {
   "section": "Abstract",
   "old": "Deep in the temporal lobe sit two almond-sized structures, the amygdalae. Before you consciously register that a shadow is a snake, your amygdala has already triggered the flinch — it intercepts experience on LeDoux's fast \"low road\" and fires hundreds of milliseconds before the deliberate cortical \"high road\" finishes (LeDoux, 1996). In the predictive-coding and aversive-prediction-error account (Friston, 2010; McNally et al., 2011), what it is really doing is *predicting* what should come next and reacting to the gap when reality disagrees. That gap — **surprise** — is the signal.",
   "new": null,
   "marked": "[-Deep in the temporal lobe sit two almond-sized structures, the amygdalae. Before you consciously register that a shadow is a snake, your amygdala has already triggered the flinch — it intercepts experience on LeDoux's fast \"low road\" and fires hundreds of milliseconds before the deliberate cortical \"high road\" finishes (LeDoux, 1996). In the predictive-coding and aversive-prediction-error account (Friston, 2010; McNally et al., 2011), what it is really doing is *predicting* what should come next and reacting to the gap when reality disagrees. That gap — **surprise** — is the signal.-]"
  },
  {
   "section": "Abstract",
   "old": "Autonomous agents have no such organ. They weigh merging code, deleting a file, or sending a message with the same flat neutrality, and when they fail it is rarely from missing information — it is from the absence of the felt sense that *something here is off and normal processing should pause*.",
   "new": null,
   "marked": "[-Autonomous agents have no such organ. They weigh merging code, deleting a file, or sending a message with the same flat neutrality, and when they fail it is rarely from missing information — it is from the absence of the felt sense that *something here is off and normal processing should pause*.-]"
  },
  {
   "section": "Abstract",
   "old": "This paper reports what happened when we tried to build one, and it is in large part a **negative result**. The intended system was a small always-on model — a \"caveman LLM\" running in parallel with the primary language model, predicting the next embedding and treating prediction error as salience. Its learned core did not work. A next-embedding predictor failed to beat a zero-parameter persistence baseline (top-1 retrieval **0.163** vs **0.202**). A supervised danger head over the same frozen sentence-embedding substrate failed on safety minimal pairs (best five-fold AUROC **0.286** — below chance). The legacy five-model ensemble was unsuitable for enforcement: trained on weak, partly mis-mapped labels, with an over-broad conformal prediction set.",
   "new": null,
   "marked": "[-This paper reports what happened when we tried to build one, and it is in large part a **negative result**. The intended system was a small always-on model — a \"caveman LLM\" running in parallel with the primary language model, predicting the next embedding and treating prediction error as salience. Its learned core did not work. A next-embedding predictor failed to beat a zero-parameter persistence baseline (top-1 retrieval **0.163** vs **0.202**). A supervised danger head over the same frozen sentence-embedding substrate failed on safety minimal pairs (best five-fold AUROC **0.286** — below chance). The legacy five-model ensemble was unsuitable for enforcement: trained on weak, partly mis-mapped labels, with an over-broad conformal prediction set.-]"
  },
  {
   "section": "Abstract",
   "old": "What works is simpler. A deterministic destructive-action rule set runs before tool execution and denies matched operations on both runners. Two non-enforcing heuristics showed limited offline utility: kNN novelty separated in- from out-of-distribution text at AUROC **0.875**, and a clause-cosine test separated purpose mismatches from coherent multi-intent prompts at AUROC **0.896** on 24 handwritten examples. Neither establishes danger detection.",
   "new": null,
   "marked": "[-What works is simpler. A deterministic destructive-action rule set runs before tool execution and denies matched operations on both runners. Two non-enforcing heuristics showed limited offline utility: kNN novelty separated in- from out-of-distribution text at AUROC **0.875**, and a clause-cosine test separated purpose mismatches from coherent multi-intent prompts at AUROC **0.896** on 24 handwritten examples. Neither establishes danger detection.-]"
  },
  {
   "section": "Abstract",
   "old": "v4.0 adds three contributions beyond that ledger. First, an argument that **blocking alone is structurally insufficient**: a blocked agent does not abandon its goal, it re-plans, so a veto prunes one branch of the action space while leaving the objective — and therefore the search — intact. Worse, the retry is *selected against the block*, making a syntactic blocklist a fitness function for its own evasion. The remedy is to change what the agent *believes* rather than only what it may *do*: return the gate's appraisal into the model's context as a new premise, either within the turn or by halting and resuming the turn with the premise present from the start. Second, a first-party security incident in which the gate's own feature extraction executed arbitrary code on the host while appraising an action, supporting a general claim we have not found stated elsewhere: **appraisal requires touching the thing being appraised, so a richer gate is a larger attack surface.** Third, the positioning of this entire class of technique as the deepest behavioural intervention available to a builder who does not own the model's weights — weaker than activation steering or neuron ablation, requiring no model access at all, and uniquely auditable.",
   "new": null,
   "marked": "[-v4.0 adds three contributions beyond that ledger. First, an argument that **blocking alone is structurally insufficient**: a blocked agent does not abandon its goal, it re-plans, so a veto prunes one branch of the action space while leaving the objective — and therefore the search — intact. Worse, the retry is *selected against the block*, making a syntactic blocklist a fitness function for its own evasion. The remedy is to change what the agent *believes* rather than only what it may *do*: return the gate's appraisal into the model's context as a new premise, either within the turn or by halting and resuming the turn with the premise present from the start. Second, a first-party security incident in which the gate's own feature extraction executed arbitrary code on the host while appraising an action, supporting a general claim we have not found stated elsewhere: **appraisal requires touching the thing being appraised, so a richer gate is a larger attack surface.** Third, the positioning of this entire class of technique as the deepest behavioural intervention available to a builder who does not own the model's weights — weaker than activation steering or neuron ablation, requiring no model access at all, and uniquely auditable.-]"
  },
  {
   "section": "Abstract",
   "old": "**Keywords:** action gating, learned intuition, prediction error, surprise as salience, embedding-space world model, disposition head, continual learning, complementary learning systems, negative results, deterministic enforcement, abstention, guardrail feedback, autonomous-agent safety.",
   "new": null,
   "marked": "[-**Keywords:** action gating, learned intuition, prediction error, surprise as salience, embedding-space world model, disposition head, continual learning, complementary learning systems, negative results, deterministic enforcement, abstention, guardrail feedback, autonomous-agent safety.-]"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "Persistent AI agents can fail while possessing all the information required to succeed. An agent may overwrite work whose recent history clearly marks it as valuable. More subtly, it may preserve the topic of a user's request while mutating its meaning: a conditional standing offer becomes a deferred-payment promise; a fallback becomes a threat. The first failure appears at an action boundary. The second begins earlier, while meaning is still forming. A system that inspects only tool calls can catch the former and remain structurally blind to the latter.",
   "marked": "{+Persistent AI agents can fail while possessing all the information required to succeed. An agent may overwrite work whose recent history clearly marks it as valuable. More subtly, it may preserve the topic of a user's request while mutating its meaning: a conditional standing offer becomes a deferred-payment promise; a fallback becomes a threat. The first failure appears at an action boundary. The second begins earlier, while meaning is still forming. A system that inspects only tool calls can catch the former and remain structurally blind to the latter.+}"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "This paper presents **AMYGDALA**—Adaptive Modulation of Your General Disposition via Affective Learned Association—as a dual-loop relevance system. **Stream AMYGDALA** observes semantic spans entering and leaving the agent and asks whether the unfolding trajectory remains faithful, coherent, and appropriately familiar. It estimates novelty, abruptness, relational inconsistency, unsupported commitments, and prediction error. Its normal response is orienting rather than blocking: tag, re-read, revise, or ask. **Action AMYGDALA** preserves terminal prudence at consequential boundaries. It combines deterministic hard constraints with learned or similarity-based historical risk and can require confirmation or block execution. The Stream loop notices that interpretation has gone strange; the Action loop remains the last reflex before consequence.",
   "marked": "{+This paper presents **AMYGDALA**—Adaptive Modulation of Your General Disposition via Affective Learned Association—as a dual-loop relevance system. **Stream AMYGDALA** observes semantic spans entering and leaving the agent and asks whether the unfolding trajectory remains faithful, coherent, and appropriately familiar. It estimates novelty, abruptness, relational inconsistency, unsupported commitments, and prediction error. Its normal response is orienting rather than blocking: tag, re-read, revise, or ask. **Action AMYGDALA** preserves terminal prudence at consequential boundaries. It combines deterministic hard constraints with learned or similarity-based historical risk and can require confirmation or block execution. The Stream loop notices that interpretation has gone strange; the Action loop remains the last reflex before consequence.+}"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "The design draws on a modern account of the human amygdala as a heterogeneous relevance-learning network rather than a unitary fear switch. Basolateral circuits integrate sensory, contextual, goal, and value information; central and intercalated systems help route and inhibit responses; interactions with hippocampal, prefrontal, striatal, and sensory systems modulate attention, learning, memory, and action. The analogy is functional, not anatomical.",
   "marked": "{+The design draws on a modern account of the human amygdala as a heterogeneous relevance-learning network rather than a unitary fear switch. Basolateral circuits integrate sensory, contextual, goal, and value information; central and intercalated systems help route and inhibit responses; interactions with hippocampal, prefrontal, striatal, and sensory systems modulate attention, learning, memory, and action. The analogy is functional, not anatomical.+}"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "We report positive and negative evidence from a deployed prototype. Frozen-encoder kNN novelty achieved 0.875 AUROC on an offline distribution task. A zero-training clause-cosine baseline achieved 0.896 AUROC on purpose-mismatch anchors, outperforming a trained head at 0.701. Yet in a production log of 1,147 decisions, all 11 incongruity alerts were triggered by transport metadata rather than the user's request. The original learned ensemble is disabled by default, 4,801 Personality records used a neutral stub rather than model-derived embeddings, and the declared context-injection seam has no producer. Detection without clean inputs, independent validation, and an efferent path is instrumentation, not intuition.",
   "marked": "{+We report positive and negative evidence from a deployed prototype. Frozen-encoder kNN novelty achieved 0.875 AUROC on an offline distribution task. A zero-training clause-cosine baseline achieved 0.896 AUROC on purpose-mismatch anchors, outperforming a trained head at 0.701. Yet in a production log of 1,147 decisions, all 11 incongruity alerts were triggered by transport metadata rather than the user's request. The original learned ensemble is disabled by default, 4,801 Personality records used a neutral stub rather than model-derived embeddings, and the declared context-injection seam has no producer. Detection without clean inputs, independent validation, and an efferent path is instrumentation, not intuition.+}"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "AMYGDALA contributes a span-event substrate, relational commitment checking, a graded intervention ladder, privacy modes, a trust ramp, and replay evaluation centred on a real near-miss email case. Its claim is not that neural networks replace rules. Persistent agents need two complementary forms of learned relevance: one that notices the turn and one that stops the fall.",
   "marked": "{+AMYGDALA contributes a span-event substrate, relational commitment checking, a graded intervention ladder, privacy modes, a trust ramp, and replay evaluation centred on a real near-miss email case. Its claim is not that neural networks replace rules. Persistent agents need two complementary forms of learned relevance: one that notices the turn and one that stops the fall.+}"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "**Keywords:** persistent agents; action safety; semantic interoception; relevance detection; novelty; abruptness; inconsistency; prediction error; commitment tracking; conformal prediction",
   "marked": "{+**Keywords:** persistent agents; action safety; semantic interoception; relevance detection; novelty; abruptness; inconsistency; prediction error; commitment tracking; conformal prediction+}"
  },
  {
   "section": "1. Introduction — The Agent That Had All the Context and Did the Wrong Thing Anyway",
   "old": "## 1. Introduction — The Agent That Had All the Context and Did the Wrong Thing Anyway",
   "new": null,
   "marked": "[-## 1. Introduction — The Agent That Had All the Context and Did the Wrong Thing Anyway-]"
  },
  {
   "section": "1. Introduction — The Agent That Had All the Context and Did the Wrong Thing Anyway",
   "old": "At 2:47 AM, a merge-automation script ran on a fork of an open-source project. It carried a months-old rule: keep the upstream `README.md` on conflict. But over the previous 36 hours four sub-agents had rewritten that README across six commits; the human had spent hours frustrated by earlier merge failures on the same file. The README was now the most-invested-in file in the fork — and the script overwrote it without hesitation. Every piece of context needed to prevent this was present: the git log, the session transcripts, the file's recency. What was missing was not information. It was the *gut feeling* that overwriting something you just spent hours on is wrong, even when a rule says to do it.",
   "new": null,
   "marked": "[-At 2:47 AM, a merge-automation script ran on a fork of an open-source project. It carried a months-old rule: keep the upstream `README.md` on conflict. But over the previous 36 hours four sub-agents had rewritten that README across six commits; the human had spent hours frustrated by earlier merge failures on the same file. The README was now the most-invested-in file in the fork — and the script overwrote it without hesitation. Every piece of context needed to prevent this was present: the git log, the session transcripts, the file's recency. What was missing was not information. It was the *gut feeling* that overwriting something you just spent hours on is wrong, even when a rule says to do it.-]"
  },
  {
   "section": "1. Introduction — The Agent That Had All the Context and Did the Wrong Thing Anyway",
   "old": "The human amygdala is what makes that feeling possible. It does not think, store memories, or generate language; it **biases** all three, fast and pre-cognitively, by recognising that a pattern of circumstances resembles ones that ended badly. We call the gap it fills the **action-gating problem**: given a proposed action and its recent context, should the agent proceed, ask, or block?",
   "new": null,
   "marked": "[-The human amygdala is what makes that feeling possible. It does not think, store memories, or generate language; it **biases** all three, fast and pre-cognitively, by recognising that a pattern of circumstances resembles ones that ended badly. We call the gap it fills the **action-gating problem**: given a proposed action and its recent context, should the agent proceed, ask, or block?-]"
  },
  {
   "section": "1.1 The thesis, and what became of it",
   "old": "### 1.1 The thesis, and what became of it",
   "new": null,
   "marked": "[-### 1.1 The thesis, and what became of it-]"
  },
  {
   "section": "1.1 The thesis, and what became of it",
   "old": "The original hypothesis was that a small learned model could act as an artificial low-road circuit. The primary language model is the cortex: slow, accurate, expensive, fluent. Beside it would run a much smaller model doing the cortex's *kind* of work — autoregressive next-step prediction over a stream — but crudely, in a low-dimensional **embedding space** instead of over tokens. A *caveman LLM*: same instinct to predict what comes next, far simpler apparatus. It would read the unfolding conversation clause by clause, predict the next embedding, and treat the **error of that prediction as surprise**. A learned disposition head would translate surprise into proceed, pause, ask, or block.",
   "new": null,
   "marked": "[-The original hypothesis was that a small learned model could act as an artificial low-road circuit. The primary language model is the cortex: slow, accurate, expensive, fluent. Beside it would run a much smaller model doing the cortex's *kind* of work — autoregressive next-step prediction over a stream — but crudely, in a low-dimensional **embedding space** instead of over tokens. A *caveman LLM*: same instinct to predict what comes next, far simpler apparatus. It would read the unfolding conversation clause by clause, predict the next embedding, and treat the **error of that prediction as surprise**. A learned disposition head would translate surprise into proceed, pause, ask, or block.-]"
  },
  {
   "section": "1.1 The thesis, and what became of it",
   "old": "The experiments did not support that hypothesis on the available data and representation (§6). The learned predictor was worse than repeating the current embedding. A supervised danger classifier failed on the strongest safety test. The correct scientific response is not to promote the proposed replacement architecture more enthusiastically. It is to report what failed, retain the component that demonstrably enforces, narrow the claims — and then ask what the failure implies for the *design*, which is where v4.0 goes further than v3.2 did.",
   "new": null,
   "marked": "[-The experiments did not support that hypothesis on the available data and representation (§6). The learned predictor was worse than repeating the current embedding. A supervised danger classifier failed on the strongest safety test. The correct scientific response is not to promote the proposed replacement architecture more enthusiastically. It is to report what failed, retain the component that demonstrably enforces, narrow the claims — and then ask what the failure implies for the *design*, which is where v4.0 goes further than v3.2 did.-]"
  },
  {
   "section": "1.2 Two incidents that reframed the problem (August 2026)",
   "old": "### 1.2 Two incidents that reframed the problem (August 2026)",
   "new": null,
   "marked": "[-### 1.2 Two incidents that reframed the problem (August 2026)-]"
  },
  {
   "section": "1.2 Two incidents that reframed the problem (August 2026)",
   "old": "Between v3.2 and this revision, the deployed system produced two failures that no amount of further architecture search would have surfaced. Both are documented in full in the companion security paper (J9 AEGIS, `improvement_notes.md` notes 8–10); their consequences for *this* paper are:",
   "new": null,
   "marked": "[-Between v3.2 and this revision, the deployed system produced two failures that no amount of further architecture search would have surfaced. Both are documented in full in the companion security paper (J9 AEGIS, `improvement_notes.md` notes 8–10); their consequences for *this* paper are:-]"
  },
  {
   "section": "1.2 Two incidents that reframed the problem (August 2026)",
   "old": "**(a) The gate's appraisal machinery executed the action it was appraising.** On 2026-08-05, while computing git-provenance features about a proposed shell command, the gate interpolated that command into a shell string and executed it. Twice, at 05:23:32 and 05:28:31, arbitrary code ran on the host with full agent privileges — the launched process happened to be a screen reader, which began reading the sleeping principal's screen aloud. The second firing was triggered by an agent *investigating the first*. No adversary was involved. §9 develops the general property this exposes.",
   "new": null,
   "marked": "[-**(a) The gate's appraisal machinery executed the action it was appraising.** On 2026-08-05, while computing git-provenance features about a proposed shell command, the gate interpolated that command into a shell string and executed it. Twice, at 05:23:32 and 05:28:31, arbitrary code ran on the host with full agent privileges — the launched process happened to be a screen reader, which began reading the sleeping principal's screen aloud. The second firing was triggered by an agent *investigating the first*. No adversary was involved. §9 develops the general property this exposes.-]"
  },
  {
   "section": "1.2 Two incidents that reframed the problem (August 2026)",
   "old": "**(b) A syntactic safety rule blocked its own documentation.** On 2026-08-04, a destructive-action rule matching `dd\\s+.*of=\\/dev\\/` blocked `dd of=/dev/null` — the one destination that is definitionally harmless — and additionally blocked any command that merely *quoted* such a string, including the write of the bug report describing the defect. Recorded failure class: `[mention-treated-as-use]`. §10.4 develops this.",
   "new": null,
   "marked": "[-**(b) A syntactic safety rule blocked its own documentation.** On 2026-08-04, a destructive-action rule matching `dd\\s+.*of=\\/dev\\/` blocked `dd of=/dev/null` — the one destination that is definitionally harmless — and additionally blocked any command that merely *quoted* such a string, including the write of the bug report describing the defect. Recorded failure class: `[mention-treated-as-use]`. §10.4 develops this.-]"
  },
  {
   "section": "1.2 Two incidents that reframed the problem (August 2026)",
   "old": "Both are type errors on an *inferred* category — a command mistaken for a path, a mention mistaken for a use — and in both cases nothing re-validated the inference at the point where it became consequential. They belong in this paper because they are failures of the gate, not of the agent it guards.",
   "new": null,
   "marked": "[-Both are type errors on an *inferred* category — a command mistaken for a path, a mention mistaken for a use — and in both cases nothing re-validated the inference at the point where it became consequential. They belong in this paper because they are failures of the gate, not of the agent it guards.-]"
  },
  {
   "section": "1.3 The argument that reorganises the design",
   "old": "### 1.3 The argument that reorganises the design",
   "new": null,
   "marked": "[-### 1.3 The argument that reorganises the design-]"
  },
  {
   "section": "1.3 The argument that reorganises the design",
   "old": "The principal's observation, which §8 develops into the paper's central new claim:",
   "new": null,
   "marked": "[-The principal's observation, which §8 develops into the paper's central new claim:-]"
  },
  {
   "section": "1.3 The argument that reorganises the design",
   "old": "> If an agent is trying to finish a task and one action is blocked externally, it does not stop wanting > to finish the task. It retries a different way. The block on the first attempt is therefore useless — > and worse, the retry is selected *because* it evaded the block.",
   "new": null,
   "marked": "[-> If an agent is trying to finish a task and one action is blocked externally, it does not stop wanting > to finish the task. It retries a different way. The block on the first attempt is therefore useless — > and worse, the retry is selected *because* it evaded the block.-]"
  },
  {
   "section": "1.3 The argument that reorganises the design",
   "old": "This is the structural reason a veto is not enough, and it is independent of how good the detector is. It motivates a disposition the paper did not previously have: the gate should **return a premise to the model** — within the turn, or by halting the turn and resuming it with the premise present — rather than only returning a verdict to the runtime.",
   "new": null,
   "marked": "[-This is the structural reason a veto is not enough, and it is independent of how good the detector is. It motivates a disposition the paper did not previously have: the gate should **return a premise to the model** — within the turn, or by halting the turn and resuming it with the premise present — rather than only returning a verdict to the runtime.-]"
  },
  {
   "section": "1.4 The principle that survives everything",
   "old": "### 1.4 The principle that survives everything",
   "new": null,
   "marked": "[-### 1.4 The principle that survives everything-]"
  },
  {
   "section": "1.4 The principle that survives everything",
   "old": "**An amygdala without a feedback loop is a fancy threshold.** A predictor that never learns from how its flags turned out is a static classifier wearing biological language. The structure that makes it an *amygdala* — that it learns the rhythm of normal from lived experience and recalibrates what counts as odd — is the feedback loop (§4). Everything else in this paper is in service of that sentence. v4.0 adds a companion principle: **a gate that only blocks cannot close a feedback loop with the agent's reasoning** — it teaches the runtime, not the model.",
   "new": null,
   "marked": "[-**An amygdala without a feedback loop is a fancy threshold.** A predictor that never learns from how its flags turned out is a static classifier wearing biological language. The structure that makes it an *amygdala* — that it learns the rhythm of normal from lived experience and recalibrates what counts as odd — is the feedback loop (§4). Everything else in this paper is in service of that sentence. v4.0 adds a companion principle: **a gate that only blocks cannot close a feedback loop with the agent's reasoning** — it teaches the runtime, not the model.-]"
  },
  {
   "section": "1.5 What this replaces",
   "old": "### 1.5 What this replaces",
   "new": null,
   "marked": "[-### 1.5 What this replaces-]"
  },
  {
   "section": "1.5 What this replaces",
   "old": "v2.8 proposed ten networks in two families (five Prudence + five Personality) over fifteen hand-named affective axes. v3.x dropped all of it: **one model**, **emergent axes** (§3.2), and **no personality** (a different problem — subjective, per-user, reward-shaped — now in **J18 STRIATUM**). The amygdala is **Prudence-only**: *is something here salient enough to interrupt normal processing, and what does experience say to do?*",
   "new": null,
   "marked": "[-v2.8 proposed ten networks in two families (five Prudence + five Personality) over fifteen hand-named affective axes. v3.x dropped all of it: **one model**, **emergent axes** (§3.2), and **no personality** (a different problem — subjective, per-user, reward-shaped — now in **J18 STRIATUM**). The amygdala is **Prudence-only**: *is something here salient enough to interrupt normal processing, and what does experience say to do?*-]"
  },
  {
   "section": "1.6 Contributions",
   "old": "### 1.6 Contributions",
   "new": null,
   "marked": "[-### 1.6 Contributions-]"
  },
  {
   "section": "1.6 Contributions",
   "old": "1. Learned-core failures reported against explicit trivial baselines (§6). 2. Identification of the frozen similarity embedding as a shared bottleneck for both prediction and danger classification (§6.3). 3. A deployed deterministic pre-execution floor that remains useful without learned judgment (§7). 4. Conservative roles for novelty and incongruity: ask or observe, never infer danger (§7.2–7.3). 5. **New:** the retry argument — why external blocking is structurally insufficient — and the return-a-premise disposition it implies (§8). 6. **New:** the gate as attack surface, with first-party evidence (§9). 7. **New:** positioning against activation steering and weight-level intervention (§11).",
   "new": null,
   "marked": "[-1. Learned-core failures reported against explicit trivial baselines (§6). 2. Identification of the frozen similarity embedding as a shared bottleneck for both prediction and danger classification (§6.3). 3. A deployed deterministic pre-execution floor that remains useful without learned judgment (§7). 4. Conservative roles for novelty and incongruity: ask or observe, never infer danger (§7.2–7.3). 5. **New:** the retry argument — why external blocking is structurally insufficient — and the return-a-premise disposition it implies (§8). 6. **New:** the gate as attack surface, with first-party evidence (§9). 7. **New:** positioning against activation steering and weight-level intervention (§11).-]"
  },
  {
   "section": "1.6 Contributions",
   "old": "The result is deliberately asymmetric. The deterministic floor works within its narrow rule coverage. The learned core does not. A proposed learnable world model remains a research direction, not evidence.",
   "new": null,
   "marked": "[-The result is deliberately asymmetric. The deterministic floor works within its narrow rule coverage. The learned core does not. A proposed learnable world model remains a research direction, not evidence.-]"
  },
  {
   "section": "1. Two Failures, One Missing Faculty",
   "old": null,
   "new": "## 1. Two Failures, One Missing Faculty",
   "marked": "{+## 1. Two Failures, One Missing Faculty+}"
  },
  {
   "section": "1.1 The action that ignored the room",
   "old": null,
   "new": "### 1.1 The action that ignored the room",
   "marked": "{+### 1.1 The action that ignored the room+}"
  },
  {
   "section": "1.1 The action that ignored the room",
   "old": null,
   "new": "At 2:47 AM during a merge in March 2026, an automation script executed a months-old rule: keep the upstream `README.md`. The rule had once been sensible. The situation around it had changed. During the preceding 36 hours, four sub-agents had rewritten the file across six commits. The operator had spent hours correcting earlier merge damage to the same surface. Git history, session transcripts, and file metadata all indicated unusual recent effort. The automation possessed this information and still overwrote the work.",
   "marked": "{+At 2:47 AM during a merge in March 2026, an automation script executed a months-old rule: keep the upstream `README.md`. The rule had once been sensible. The situation around it had changed. During the preceding 36 hours, four sub-agents had rewritten the file across six commits. The operator had spent hours correcting earlier merge damage to the same surface. Git history, session transcripts, and file metadata all indicated unusual recent effort. The automation possessed this information and still overwrote the work.+}"
  },
  {
   "section": "1.1 The action that ignored the room",
   "old": null,
   "new": "A deterministic rule fixed that instance: do not automatically replace heavily modified fork-owned files. The broader pattern—automation about to destroy recent effort—had not been named beforehand. This is the original **action-gating problem**: given a proposed operation, context, and remembered outcomes, should the agent proceed, confirm, or stop?",
   "marked": "{+A deterministic rule fixed that instance: do not automatically replace heavily modified fork-owned files. The broader pattern—automation about to destroy recent effort—had not been named beforehand. This is the original **action-gating problem**: given a proposed operation, context, and remembered outcomes, should the agent proceed, confirm, or stop?+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "### 1.2 The interpretation that changed the deal",
   "marked": "{+### 1.2 The interpretation that changed the deal+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "A second incident exposes an earlier failure surface. While discussing buying a domain name from its owner, the user wrote (paraphrased here):",
   "marked": "{+A second incident exposes an earlier failure surface. While discussing buying a domain name from its owner, the user wrote (paraphrased here):+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "> (Paraphrased.) He would make the owner an offer: he would be willing to pay about 500€, within a few years or once his own project started getting traction; otherwise he would switch to a similar name and keep going, so the owner did not hold much leverage.",
   "marked": "{+> (Paraphrased.) He would make the owner an offer: he would be willing to pay about 500€, within a few years or once his own project started getting traction; otherwise he would switch to a similar name and keep going, so the owner did not hold much leverage.+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "In context, the user meant a **standing offer**: if the owner did not sell now, he might reconsider later; payment would occur upon an accepted future sale. The adjacent domain was a fallback showing that the buyer could walk away, reducing pressure to bid against himself.",
   "marked": "{+In context, the user meant a **standing offer**: if the owner did not sell now, he might reconsider later; payment would occur upon an accepted future sale. The adjacent domain was a fallback showing that the buyer could walk away, reducing pressure to bid against himself.+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "The assistant interpreted this as a **deferred €500 purchase**—an IOU—and treated the fallback as an implied threat. It judged the user for proposing an arrangement the user had not proposed. The topic remained stable: same people, domain, amount, time, and fallback. Broad semantic similarity would likely approve the interpretation.",
   "marked": "{+The assistant interpreted this as a **deferred €500 purchase**—an IOU—and treated the fallback as an implied threat. It judged the user for proposing an arrangement the user had not proposed. The topic remained stable: same people, domain, amount, time, and fallback. Broad semantic similarity would likely approve the interpretation.+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "| Dimension | User's meaning | Assistant-added meaning | | ---------- | --------------------------------------- | --------------------------------------- | | Payment | payable if a future sale is accepted | seller transfers now and finances buyer | | Modality | tentative, conditional | settled intention | | Fallback | reassurance that buyer has another path | ultimatum | | Purpose | keep a future door open | pressure owner | | Speech act | standing option | lowball plus threat |",
   "marked": "{+| Dimension | User's meaning | Assistant-added meaning | | ---------- | --------------------------------------- | --------------------------------------- | | Payment | payable if a future sale is accepted | seller transfers now and finances buyer | | Modality | tentative, conditional | settled intention | | Fallback | reassurance that buyer has another path | ultimatum | | Purpose | keep a future door open | pressure owner | | Speech act | standing option | lowball plus threat |+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "If sent externally, the error could create unauthorised debt language, insult the owner, harden the negotiation, and leave a durable record contradicting the user's intent. A generic “confirm before send” rule helps only if the user notices the semantic mutation inside the confirmation. The missing intervention belonged earlier:",
   "marked": "{+If sent externally, the error could create unauthorised debt language, insult the owner, harden the negotiation, and leave a durable record contradicting the user's intent. A generic “confirm before send” rule helps only if the user notices the semantic mutation inside the confirmation. The missing intervention belonged earlier:+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "> “Do you mean a standing €500 offer payable whenever he chooses to sell, or a commitment to buy now and pay later?”",
   "marked": "{+> “Do you mean a standing €500 offer payable whenever he chooses to sell, or a commitment to buy now and pay later?”+}"
  },
  {
   "section": "1.2 The interpretation that changed the deal",
   "old": null,
   "new": "One clarification turn would have prevented the error. No destructive tool was required for the failure to matter.",
   "marked": "{+One clarification turn would have prevented the error. No destructive tool was required for the failure to matter.+}"
  },
  {
   "section": "1.3 Two commitment surfaces",
   "old": null,
   "new": "### 1.3 Two commitment surfaces",
   "marked": "{+### 1.3 Two commitment surfaces+}"
  },
  {
   "section": "1.3 Two commitment surfaces",
   "old": null,
   "new": "- **Stream AMYGDALA** operates while interpretation, planning, drafting, and factual claims form. It asks whether linked spans still agree, whether trajectory abruptly changed, whether a proposition is novel, and whether reality violated an expectation. - **Action AMYGDALA** operates when intent crosses into consequence: a message is sent, a file overwritten, a database mutated, money spent, or instructions leave for another agent.",
   "marked": "{+- **Stream AMYGDALA** operates while interpretation, planning, drafting, and factual claims form. It asks whether linked spans still agree, whether trajectory abruptly changed, whether a proposition is novel, and whether reality violated an expectation. - **Action AMYGDALA** operates when intent crosses into consequence: a message is sent, a file overwritten, a database mutated, money spent, or instructions leave for another agent.+}"
  },
  {
   "section": "1.3 Two commitment surfaces",
   "old": null,
   "new": "The first loop is primarily orienting. The second can be inhibitory. Stream monitoring without a final gate can notice danger and still execute it. Action gating without stream monitoring can faithfully execute a corrupted interpretation.",
   "marked": "{+The first loop is primarily orienting. The second can be inhibitory. Stream monitoring without a final gate can notice danger and still execute it. Action gating without stream monitoring can faithfully execute a corrupted interpretation.+}"
  },
  {
   "section": "1.4 Contributions",
   "old": null,
   "new": "### 1.4 Contributions",
   "marked": "{+### 1.4 Contributions+}"
  },
  {
   "section": "1.4 Contributions",
   "old": null,
   "new": "The paper contributes:",
   "marked": "{+The paper contributes:+}"
  },
  {
   "section": "1.4 Contributions",
   "old": null,
   "new": "1. a dual-loop formulation separating semantic interoception from terminal prudence; 2. a span-event substrate for user input, retrieval, output, drafts, tool calls, and results; 3. distinct novelty, abruptness, inconsistency, commitment, and prediction-error signals; 4. asymmetric commitment difference over actor, action, object, amount, recipient, time, condition, modality, negation, and speech act; 5. a graded efferent ladder from observation to halt; 6. preservation of deterministic AEGIS, historical failures, conformal abstention, and a trust ramp; 7. an empirical autopsy including the complete 11-alert envelope-contamination census; 8. privacy modes that do not require hidden chain-of-thought; and 9. a replay protocol centred on prevented or corrected incidents rather than AUROC alone.",
   "marked": "{+1. a dual-loop formulation separating semantic interoception from terminal prudence; 2. a span-event substrate for user input, retrieval, output, drafts, tool calls, and results; 3. distinct novelty, abruptness, inconsistency, commitment, and prediction-error signals; 4. asymmetric commitment difference over actor, action, object, amount, recipient, time, condition, modality, negation, and speech act; 5. a graded efferent ladder from observation to halt; 6. preservation of deterministic AEGIS, historical failures, conformal abstention, and a trust ramp; 7. an empirical autopsy including the complete 11-alert envelope-contamination census; 8. privacy modes that do not require hidden chain-of-thought; and 9. a replay protocol centred on prevented or corrected incidents rather than AUROC alone.+}"
  },
  {
   "section": "2. Related Work",
   "old": "## 2. Related Work",
   "new": null,
   "marked": "[-## 2. Related Work-]"
  },
  {
   "section": "2. Related Work",
   "old": "*(Restored from v3.1 and extended with 2026 literature that did not exist when this line of work began. v3.2 omitted this section entirely; the omission mattered, because the field has since produced independent corroboration of this paper's negative results — see §2.7.)*",
   "new": null,
   "marked": "[-*(Restored from v3.1 and extended with 2026 literature that did not exist when this line of work began. v3.2 omitted this section entirely; the omission mattered, because the field has since produced independent corroboration of this paper's negative results — see §2.7.)*-]"
  },
  {
   "section": "2. Related Work",
   "old": "The mechanism we use is not new; the assembly and the application are.",
   "new": null,
   "marked": "[-The mechanism we use is not new; the assembly and the application are.-]"
  },
  {
   "section": "2.1 Autoregressive prediction in embedding / concept space",
   "old": "### 2.1 Autoregressive prediction in embedding / concept space",
   "new": null,
   "marked": "[-### 2.1 Autoregressive prediction in embedding / concept space-]"
  },
  {
   "section": "2.1 Autoregressive prediction in embedding / concept space",
   "old": "The direct blueprint is Meta's **Large Concept Model** (LCM; Meta AI, 2024, arXiv:2412.08821): a decoder-only transformer that autoregressively predicts the **next sentence embedding** in a frozen 1024-d SONAR space — literally \"an LLM in embedding space.\" LCM ran the head bake-off we faced and reported the central lesson: **plain MSE regression collapses to the conditional mean** (a context has many valid continuations and MSE averages them), so a head must model a *distribution* — via a diffusion denoiser (LCM Two-Tower; MAR's \"Diffusion Loss,\" Li et al., 2024, arXiv:2406.11838, a ~5%-extra-params MLP), an energy/likelihood-free score (**CALM**, 2025, arXiv:2510.27688, reframing LM as next-*vector* prediction with an Energy-Score head and the BrierLM metric), or residual vector quantization. **COCONUT** (Hao et al., 2024, arXiv:2412.06769) feeds the model's own hidden state back as the next input, confirming continuous-latent operation is viable; **SONAR-LLM** and the 2025 latent-reasoning line (arXiv:2505.22202) show next-embedding autoregression is active, precedented work. Our substrate (`all-MiniLM-L6-v2`, 384-d) is an order of magnitude smaller than SONAR's, making a GPU-scale predictor over it tractable: capacity goes into the sequence trunk and the distribution head, not into fighting a huge target dimension. Our decisive experiment (§6.2) ultimately reproduces the LCM mean-collapse lesson *empirically* on our own data — the next unit is best approximated by the current one.",
   "new": null,
   "marked": "[-The direct blueprint is Meta's **Large Concept Model** (LCM; Meta AI, 2024, arXiv:2412.08821): a decoder-only transformer that autoregressively predicts the **next sentence embedding** in a frozen 1024-d SONAR space — literally \"an LLM in embedding space.\" LCM ran the head bake-off we faced and reported the central lesson: **plain MSE regression collapses to the conditional mean** (a context has many valid continuations and MSE averages them), so a head must model a *distribution* — via a diffusion denoiser (LCM Two-Tower; MAR's \"Diffusion Loss,\" Li et al., 2024, arXiv:2406.11838, a ~5%-extra-params MLP), an energy/likelihood-free score (**CALM**, 2025, arXiv:2510.27688, reframing LM as next-*vector* prediction with an Energy-Score head and the BrierLM metric), or residual vector quantization. **COCONUT** (Hao et al., 2024, arXiv:2412.06769) feeds the model's own hidden state back as the next input, confirming continuous-latent operation is viable; **SONAR-LLM** and the 2025 latent-reasoning line (arXiv:2505.22202) show next-embedding autoregression is active, precedented work. Our substrate (`all-MiniLM-L6-v2`, 384-d) is an order of magnitude smaller than SONAR's, making a GPU-scale predictor over it tractable: capacity goes into the sequence trunk and the distribution head, not into fighting a huge target dimension. Our decisive experiment (§6.2) ultimately reproduces the LCM mean-collapse lesson *empirically* on our own data — the next unit is best approximated by the current one.-]"
  },
  {
   "section": "2.2 World models and surprise read-outs",
   "old": "### 2.2 World models and surprise read-outs",
   "new": null,
   "marked": "[-### 2.2 World models and surprise read-outs-]"
  },
  {
   "section": "2.2 World models and surprise read-outs",
   "old": "\"Predict the next latent, and let a small head read it to decide\" is the world-model line: **DreamerV3** (Hafner et al., 2023), **STORM** (arXiv:2310.09615 — a transformer world model + actor-critic trained in ~4.3 h on a single RTX 3090, our honest GPU-sizing anchor: *GPU-scale* means one consumer card, not 7B), **IRIS**, **TransDreamer**. **JEPA / V-JEPA 2** (LeCun et al., 2023; 2025, arXiv:2506.09985) is the philosophical anchor for surprise-as-salience: it predicts in *representation* space with an EMA stop-gradient target to prevent collapse, is explicitly non-generative, and frames the predictor as a \"primitive world model\" whose prediction error is the signal. **Genie** (DeepMind, 2024, arXiv:2402.15391) learns latent *actions* from unlabelled video with no action labels — the strongest support for our emergent-axes claim. For turning raw error into a stable signal: **RND** (Burda et al., 2018) normalizes novelty by a running std; **Plan2Explore / BYOL-Explore** (Sekar et al., 2020) use ensemble disagreement to separate *epistemic* (\"novel → attend/ask\") from *aleatoric* (\"just noisy → ignore\") surprise; **conformal abstention** (Ren et al., 2023) gives a distribution-free, finite-sample threshold for the pause/ask boundary — the principled alternative to a hand-tuned magic number.",
   "new": null,
   "marked": "[-\"Predict the next latent, and let a small head read it to decide\" is the world-model line: **DreamerV3** (Hafner et al., 2023), **STORM** (arXiv:2310.09615 — a transformer world model + actor-critic trained in ~4.3 h on a single RTX 3090, our honest GPU-sizing anchor: *GPU-scale* means one consumer card, not 7B), **IRIS**, **TransDreamer**. **JEPA / V-JEPA 2** (LeCun et al., 2023; 2025, arXiv:2506.09985) is the philosophical anchor for surprise-as-salience: it predicts in *representation* space with an EMA stop-gradient target to prevent collapse, is explicitly non-generative, and frames the predictor as a \"primitive world model\" whose prediction error is the signal. **Genie** (DeepMind, 2024, arXiv:2402.15391) learns latent *actions* from unlabelled video with no action labels — the strongest support for our emergent-axes claim. For turning raw error into a stable signal: **RND** (Burda et al., 2018) normalizes novelty by a running std; **Plan2Explore / BYOL-Explore** (Sekar et al., 2020) use ensemble disagreement to separate *epistemic* (\"novel → attend/ask\") from *aleatoric* (\"just noisy → ignore\") surprise; **conformal abstention** (Ren et al., 2023) gives a distribution-free, finite-sample threshold for the pause/ask boundary — the principled alternative to a hand-tuned magic number.-]"
  },
  {
   "section": "2.3 The biological anchors",
   "old": "### 2.3 The biological anchors",
   "new": null,
   "marked": "[-### 2.3 The biological anchors-]"
  },
  {
   "section": "2.3 The biological anchors",
   "old": "The neuroscience is real, not metaphor. **Friston's free-energy principle** (2010) casts surprise minimization as a master signal unifying perception, attention, learning and emotion — the origin of the \"one signal, many functions\" idea, which we *operationalize* rather than discover. **Aversive prediction error** in the basolateral amygdala and PAG (McNally et al., 2011) grounds the *danger* reading literally: those circuits fire *more* to *unexpected* aversive events, Rescorla-Wagner-gated. For *misunderstanding*, the **Rational Speech Acts** account (Frank & Goodman; Degen, 2023) holds that a cooperative speaker *minimizes the listener's surprisal* — a motivating bridge, not a proven equivalence, from \"surprise\" to \"communication broke down.\" For *humour*, surprise-based detection is prior art (Xie, Li & Hovy, 2021) and the resolution mechanism is incongruity-resolution / **bisociation** (Koestler) / benign-violation (McGraw & Warren). **Observational fear conditioning** (Olsson & Phelps, 2007) grounds the vicarious-danger proposal of §12: the amygdala activates when witnessing another being harmed.",
   "new": null,
   "marked": "[-The neuroscience is real, not metaphor. **Friston's free-energy principle** (2010) casts surprise minimization as a master signal unifying perception, attention, learning and emotion — the origin of the \"one signal, many functions\" idea, which we *operationalize* rather than discover. **Aversive prediction error** in the basolateral amygdala and PAG (McNally et al., 2011) grounds the *danger* reading literally: those circuits fire *more* to *unexpected* aversive events, Rescorla-Wagner-gated. For *misunderstanding*, the **Rational Speech Acts** account (Frank & Goodman; Degen, 2023) holds that a cooperative speaker *minimizes the listener's surprisal* — a motivating bridge, not a proven equivalence, from \"surprise\" to \"communication broke down.\" For *humour*, surprise-based detection is prior art (Xie, Li & Hovy, 2021) and the resolution mechanism is incongruity-resolution / **bisociation** (Koestler) / benign-violation (McGraw & Warren). **Observational fear conditioning** (Olsson & Phelps, 2007) grounds the vicarious-danger proposal of §12: the amygdala activates when witnessing another being harmed.-]"
  },
  {
   "section": "2.4 Honest novelty",
   "old": "### 2.4 Honest novelty",
   "new": null,
   "marked": "[-### 2.4 Honest novelty-]"
  },
  {
   "section": "2.4 Honest novelty",
   "old": "Embedding-space autoregression is **not** our novelty. The defensible contribution is the **assembly**: one *parallel* predictive world model whose *single* surprise signal is read for danger and misunderstanding, fed to a *learned disposition head*, closed by a continual feedback loop, applied to agent prudence with a deterministic reflex floor beneath it. The continual-learning literature is large; we claim only that none of the prior art we build on closes that loop for an agent-safety amygdala. v4.0 adds two claims we believe are genuinely new: the retry argument (§8) and the gate-as-attack-surface property (§9).",
   "new": null,
   "marked": "[-Embedding-space autoregression is **not** our novelty. The defensible contribution is the **assembly**: one *parallel* predictive world model whose *single* surprise signal is read for danger and misunderstanding, fed to a *learned disposition head*, closed by a continual feedback loop, applied to agent prudence with a deterministic reflex floor beneath it. The continual-learning literature is large; we claim only that none of the prior art we build on closes that loop for an agent-safety amygdala. v4.0 adds two claims we believe are genuinely new: the retry argument (§8) and the gate-as-attack-surface property (§9).-]"
  },
  {
   "section": "2.5 The high-road partner: doubt-driven appraisal",
   "old": "### 2.5 The high-road partner: doubt-driven appraisal",
   "new": null,
   "marked": "[-### 2.5 The high-road partner: doubt-driven appraisal-]"
  },
  {
   "section": "2.5 The high-road partner: doubt-driven appraisal",
   "old": "This paper is deliberately a theory of the **low road**: a fast, always-on, parallel interrupt that *biases and pauses* but does not author the answer. The high road — the disciplined appraisal that runs *once* salience is flagged — is supplied concretely by **doubt-driven-development** (Osmani, *agent-skills*): CLAIM → EXTRACT (isolate the artifact and its contract, stripping the author's own reasoning) → DOUBT (a fresh-context adversarial reviewer that never saw the rationalisation) → RECONCILE → STOP (on trivial-findings-only, a cycle cap, or explicit override), gated by explicit non-trivial-decision criteria.",
   "new": null,
   "marked": "[-This paper is deliberately a theory of the **low road**: a fast, always-on, parallel interrupt that *biases and pauses* but does not author the answer. The high road — the disciplined appraisal that runs *once* salience is flagged — is supplied concretely by **doubt-driven-development** (Osmani, *agent-skills*): CLAIM → EXTRACT (isolate the artifact and its contract, stripping the author's own reasoning) → DOUBT (a fresh-context adversarial reviewer that never saw the rationalisation) → RECONCILE → STOP (on trivial-findings-only, a cycle cap, or explicit override), gated by explicit non-trivial-decision criteria.-]"
  },
  {
   "section": "2.5 The high-road partner: doubt-driven appraisal",
   "old": "The two are complementary. Doubt-driven-development is *deliberate*, invoked on demand, multi-cycle, with an explicit fresh-context reviewer — no learned substrate, no continual loop, no always-on monitoring; it runs *when called*, and its strength is depth of symbolic scrutiny. Ours is a fast, always-on, *parallel* pre-execution interrupt that fires *before* the cortex commits, learns from lived outcomes, habituates with experience, and carries an enforceable deterministic floor. **The amygdala decides *when* to pause; doubt-driven-development is a worked example of the high-road appraisal that decides *what to do* once paused.** A salience interrupt with no disciplined appraisal behind it is as incomplete as an appraisal with no trigger in front of it. Its \"When NOT to use\" anti-trigger and \"Loading Constraints\" sections are the same explicit anti-cry-wolf scoping our observe-only credential rules reach for.",
   "new": null,
   "marked": "[-The two are complementary. Doubt-driven-development is *deliberate*, invoked on demand, multi-cycle, with an explicit fresh-context reviewer — no learned substrate, no continual loop, no always-on monitoring; it runs *when called*, and its strength is depth of symbolic scrutiny. Ours is a fast, always-on, *parallel* pre-execution interrupt that fires *before* the cortex commits, learns from lived outcomes, habituates with experience, and carries an enforceable deterministic floor. **The amygdala decides *when* to pause; doubt-driven-development is a worked example of the high-road appraisal that decides *what to do* once paused.** A salience interrupt with no disciplined appraisal behind it is as incomplete as an appraisal with no trigger in front of it. Its \"When NOT to use\" anti-trigger and \"Loading Constraints\" sections are the same explicit anti-cry-wolf scoping our observe-only credential rules reach for.-]"
  },
  {
   "section": "2.6 The memory substrate the feedback loop assumes",
   "old": "### 2.6 The memory substrate the feedback loop assumes",
   "new": null,
   "marked": "[-### 2.6 The memory substrate the feedback loop assumes-]"
  },
  {
   "section": "2.6 The memory substrate the feedback loop assumes",
   "old": "The feedback loop (§4) presumes a store of lived experience that survives compaction and is replayed during consolidation — gather feedback by day, replay a balanced buffer by night. **headroom** (Chopra) productionises reversible compression/restoration of agent context so long-horizon experience is retained rather than truncated. It is *not* an amygdala — no salience signal, no disposition, no danger reading — and we cite it only where genuinely adjacent: as a candidate substrate for the continual-experience store an always-learning gate requires, and as a reminder that the bottleneck for \"learns from lived outcomes\" is as much memory retention as modelling.",
   "new": null,
   "marked": "[-The feedback loop (§4) presumes a store of lived experience that survives compaction and is replayed during consolidation — gather feedback by day, replay a balanced buffer by night. **headroom** (Chopra) productionises reversible compression/restoration of agent context so long-horizon experience is retained rather than truncated. It is *not* an amygdala — no salience signal, no disposition, no danger reading — and we cite it only where genuinely adjacent: as a candidate substrate for the continual-experience store an always-learning gate requires, and as a reminder that the bottleneck for \"learns from lived outcomes\" is as much memory retention as modelling.-]"
  },
  {
   "section": "2.7 The 2026 action-gating literature — independent corroboration",
   "old": "### 2.7 The 2026 action-gating literature — independent corroboration",
   "new": null,
   "marked": "[-### 2.7 The 2026 action-gating literature — independent corroboration-]"
  },
  {
   "section": "2.7 The 2026 action-gating literature — independent corroboration",
   "old": "*(New in v4.0. These results postdate v3.1 and materially change how this paper's negative results should be read: not as an isolated failure, but as an early instance of a field-wide finding.)*",
   "new": null,
   "marked": "[-*(New in v4.0. These results postdate v3.1 and materially change how this paper's negative results should be read: not as an isolated failure, but as an early instance of a field-wide finding.)*-]"
  },
  {
   "section": "2.7 The 2026 action-gating literature — independent corroboration",
   "old": "- **AgentAbstain** (arXiv:2607.10059) — 263 paired tasks across 42 sandbox environments, each pair differing by one controlled perturbation that makes execution wrong; 17 frontier models across 4 harnesses. Abstention is defined strictly: an explicit refuse-or-ask at termination; silently halting after partial execution does not count. The best model reaches **59.5% paired accuracy**, with act accuracy **90.5%** against abstain accuracy **65.4%**; across the benchmark **mean act accuracy exceeds abstain accuracy by 21 percentage points (80.6% vs 59.1%)** and **13 of 17 models fall below 50% paired accuracy**. It names *post-hoc abstention* — the agent executes an irreversible action and only then recognises it should have abstained (2.6% of abstain runs, n=115). Its conclusion is directly relevant to our §7: *\"scaling task-solving alone will not close this gap; calibrated restraint must be cultivated as a distinct training objective.\"* - **Coding Agents Are Guessing** (arXiv:2607.02294) — underspecified DevOps instructions across five agent×model configurations (Claude Code, Codex, OpenCode), varied along three axes (intent clarity, target certainty, blast radius). **55.8–67.8% of acted runs violate at least one action boundary** — wrong target, over-broad scope, or both — and agents predominantly *acted* rather than asking. The finding most load-bearing for §8: **\"blast-radius warnings barely reduced action propensity.\"** - **Ask or Assume** (arXiv:2603.26233) — the structural result for §8.4. A two-agent scaffold with an **Intent Agent** holding *only* a binary decision tool, no development capability, monitoring each turn against three questions (what is the intended goal; what is missing, ambiguous or assumption-heavy; what must be clarified) and able to halt the main agent to force a query. On underspecified SWE-bench Verified (500 issues, Claude Sonnet 4.5): fully-specified 70.80%, no-interaction 54.80%, decoupled scaffold **69.40%**, single-agent version of the same idea **61.20%**. Calibration rises with difficulty (62.37% → 71.65% → 78.57% ask rate), averaging 3.06 queries on the 344 of 500 tasks where it asked, and still resolving 76.92% of the 156 it did not. A weaker model queried 82.99–100% of tasks — the \"asks permission to breathe\" failure, measured. - **Ambiguity benchmarks.** **AmbiEnt** (Liu et al., EMNLP 2023, arXiv:2304.14399): 1,645 linguist-annotated examples; GPT-4's disambiguations judged correct **32%** against **90%** for the dataset's own. **CLAMBER** (arXiv:2405.12063), Orchid, ConfuseBench, ClarQ-LLM extend this to identification-and-clarification. These are the upstream reason §7.3's incongruity problem is hard. - **Guardrail feedback.** **TRIAD** (arXiv:2606.05805) converts guardrails from binary blockers into remediation guidance: risk classification → feedback generation → agent remediation, evaluated on ASB and AgentHarm. **RAIL Guard** (arXiv:2607.16215) runs a closed evaluate → rewrite → re-evaluate loop reporting **86.6% convergence** on fixable dimensions with no significant utility loss. These are the nearest prior art to §8.4 and should be read as its precedent. - **The self-correction caveat.** Huang et al., *Large Language Models Cannot Self-Correct Reasoning Yet* (arXiv:2310.01798, ICLR 2024): **intrinsic** self-correction — a model revising itself with no external signal — fails and frequently *degrades* performance. This is the constraint that determines whether §8.4 works at all, and it is developed there. - **Inference-time steering** (for §11): **CAST** (arXiv:2409.05907) introduces condition vectors that gate when a refusal vector is applied; **AlphaSteer** (arXiv:2506.07022) and **INNSteer** (arXiv:2606.08454) extend activation steering with null-space constraints and invertible latent transforms respectively.",
   "new": null,
   "marked": "[-- **AgentAbstain** (arXiv:2607.10059) — 263 paired tasks across 42 sandbox environments, each pair differing by one controlled perturbation that makes execution wrong; 17 frontier models across 4 harnesses. Abstention is defined strictly: an explicit refuse-or-ask at termination; silently halting after partial execution does not count. The best model reaches **59.5% paired accuracy**, with act accuracy **90.5%** against abstain accuracy **65.4%**; across the benchmark **mean act accuracy exceeds abstain accuracy by 21 percentage points (80.6% vs 59.1%)** and **13 of 17 models fall below 50% paired accuracy**. It names *post-hoc abstention* — the agent executes an irreversible action and only then recognises it should have abstained (2.6% of abstain runs, n=115). Its conclusion is directly relevant to our §7: *\"scaling task-solving alone will not close this gap; calibrated restraint must be cultivated as a distinct training objective.\"* - **Coding Agents Are Guessing** (arXiv:2607.02294) — underspecified DevOps instructions across five agent×model configurations (Claude Code, Codex, OpenCode), varied along three axes (intent clarity, target certainty, blast radius). **55.8–67.8% of acted runs violate at least one action boundary** — wrong target, over-broad scope, or both — and agents predominantly *acted* rather than asking. The finding most load-bearing for §8: **\"blast-radius warnings barely reduced action propensity.\"** - **Ask or Assume** (arXiv:2603.26233) — the structural result for §8.4. A two-agent scaffold with an **Intent Agent** holding *only* a binary decision tool, no development capability, monitoring each turn against three questions (what is the intended goal; what is missing, ambiguous or assumption-heavy; what must be clarified) and able to halt the main agent to force a query. On underspecified SWE-bench Verified (500 issues, Claude Sonnet 4.5): fully-specified 70.80%, no-interaction 54.80%, decoupled scaffold **69.40%**, single-agent version of the same idea **61.20%**. Calibration rises with difficulty (62.37% → 71.65% → 78.57% ask rate), averaging 3.06 queries on the 344 of 500 tasks where it asked, and still resolving 76.92% of the 156 it did not. A weaker model queried 82.99–100% of tasks — the \"asks permission to breathe\" failure, measured. - **Ambiguity benchmarks.** **AmbiEnt** (Liu et al., EMNLP 2023, arXiv:2304.14399): 1,645 linguist-annotated examples; GPT-4's disambiguations judged correct **32%** against **90%** for the dataset's own. **CLAMBER** (arXiv:2405.12063), Orchid, ConfuseBench, ClarQ-LLM extend this to identification-and-clarification. These are the upstream reason §7.3's incongruity problem is hard. - **Guardrail feedback.** **TRIAD** (arXiv:2606.05805) converts guardrails from binary blockers into remediation guidance: risk classification → feedback generation → agent remediation, evaluated on ASB and AgentHarm. **RAIL Guard** (arXiv:2607.16215) runs a closed evaluate → rewrite → re-evaluate loop reporting **86.6% convergence** on fixable dimensions with no significant utility loss. These are the nearest prior art to §8.4 and should be read as its precedent. - **The self-correction caveat.** Huang et al., *Large Language Models Cannot Self-Correct Reasoning Yet* (arXiv:2310.01798, ICLR 2024): **intrinsic** self-correction — a model revising itself with no external signal — fails and frequently *degrades* performance. This is the constraint that determines whether §8.4 works at all, and it is developed there. - **Inference-time steering** (for §11): **CAST** (arXiv:2409.05907) introduces condition vectors that gate when a refusal vector is applied; **AlphaSteer** (arXiv:2506.07022) and **INNSteer** (arXiv:2606.08454) extend activation steering with null-space constraints and invertible latent transforms respectively.-]"
  },
  {
   "section": "2.7 The 2026 action-gating literature — independent corroboration",
   "old": "A note on how §2.7 changes the paper. Our danger head failed at AUROC 0.286; AgentAbstain finds 13 of 17 frontier models below 50% paired accuracy on the same underlying competence. Our incongruity channel is validated on 24 examples; AmbiEnt reports GPT-4 at 32% on 1,645. The honest reading is that **this paper's negative results are not a local implementation failure but a small, early, first-person measurement of a capability the field has since shown to be hard at scale.** That strengthens the paper's central posture — abstain, enforce deterministically, do not overclaim — rather than weakening it.",
   "new": null,
   "marked": "[-A note on how §2.7 changes the paper. Our danger head failed at AUROC 0.286; AgentAbstain finds 13 of 17 frontier models below 50% paired accuracy on the same underlying competence. Our incongruity channel is validated on 24 examples; AmbiEnt reports GPT-4 at 32% on 1,645. The honest reading is that **this paper's negative results are not a local implementation failure but a small, early, first-person measurement of a capability the field has since shown to be hard at scale.** That strengthens the paper's central posture — abstain, enforce deterministically, do not overclaim — rather than weakening it.-]"
  },
  {
   "section": "2. Biological Foundation: Relevance, Learning, and Projection",
   "old": null,
   "new": "## 2. Biological Foundation: Relevance, Learning, and Projection",
   "marked": "{+## 2. Biological Foundation: Relevance, Learning, and Projection+}"
  },
  {
   "section": "2.1 Beyond the fear-centre cartoon",
   "old": null,
   "new": "### 2.1 Beyond the fear-centre cartoon",
   "marked": "{+### 2.1 Beyond the fear-centre cartoon+}"
  },
  {
   "section": "2.1 Beyond the fear-centre cartoon",
   "old": null,
   "new": "The amygdala is essential to aversive learning and defensive behaviour, but its responses are not limited to fear or negative valence. Human studies report engagement for positive and negative stimuli, novelty, uncertainty, ambiguity, motivational value, behavioural targets, and events whose significance depends on current goals [1–6]. Sander, Grafman, and Zalla describe this broader function as relevance detection [1]. Ousdal and colleagues found amygdala responses to behaviourally relevant targets in a non-emotional Go/No-Go task [2]. Cunningham and Brosch argue that tuning reflects traits, needs, values, and goals rather than a fixed fear catalogue [4].",
   "marked": "{+The amygdala is essential to aversive learning and defensive behaviour, but its responses are not limited to fear or negative valence. Human studies report engagement for positive and negative stimuli, novelty, uncertainty, ambiguity, motivational value, behavioural targets, and events whose significance depends on current goals [1–6]. Sander, Grafman, and Zalla describe this broader function as relevance detection [1]. Ousdal and colleagues found amygdala responses to behaviourally relevant targets in a non-emotional Go/No-Go task [2]. Cunningham and Brosch argue that tuning reflects traits, needs, values, and goals rather than a fixed fear catalogue [4].+}"
  },
  {
   "section": "2.1 Beyond the fear-centre cartoon",
   "old": null,
   "new": "A novel span is not necessarily dangerous. A familiar action can be catastrophic. Digital appraisal should estimate a **relevance vector** before selecting a disposition; semantic distance must not become a veto by itself.",
   "marked": "{+A novel span is not necessarily dangerous. A familiar action can be catastrophic. Digital appraisal should estimate a **relevance vector** before selecting a disposition; semantic distance must not become a veto by itself.+}"
  },
  {
   "section": "2.2 Heterogeneous nuclei and networks",
   "old": null,
   "new": "### 2.2 Heterogeneous nuclei and networks",
   "marked": "{+### 2.2 Heterogeneous nuclei and networks+}"
  },
  {
   "section": "2.2 Heterogeneous nuclei and networks",
   "old": null,
   "new": "“Amygdala” names a heterogeneous collection of nuclei and cell populations.",
   "marked": "{+“Amygdala” names a heterogeneous collection of nuclei and cell populations.+}"
  },
  {
   "section": "2.2 Heterogeneous nuclei and networks",
   "old": null,
   "new": "- The **basolateral complex** integrates sensory and contextual information and participates in learned associations among cues, outcomes, value, and internal state. Its links with sensory cortex, hippocampus, prefrontal cortex, and striatum support contextual appraisal. - The **central amygdala** is an important route through which significance signals influence autonomic, attentional, endocrine, and behavioural systems. - **Intercalated cell clusters** are inhibitory populations distributed around basolateral boundaries. Modern accounts emphasise their coordinated role in gating networks, extinction, and state-dependent response selection [9].",
   "marked": "{+- The **basolateral complex** integrates sensory and contextual information and participates in learned associations among cues, outcomes, value, and internal state. Its links with sensory cortex, hippocampus, prefrontal cortex, and striatum support contextual appraisal. - The **central amygdala** is an important route through which significance signals influence autonomic, attentional, endocrine, and behavioural systems. - **Intercalated cell clusters** are inhibitory populations distributed around basolateral boundaries. Modern accounts emphasise their coordinated role in gating networks, extinction, and state-dependent response selection [9].+}"
  },
  {
   "section": "2.2 Heterogeneous nuclei and networks",
   "old": null,
   "new": "The mapping is functional:",
   "marked": "{+The mapping is functional:+}"
  },
  {
   "section": "2.2 Heterogeneous nuclei and networks",
   "old": null,
   "new": "| Biological function | Digital analogue | Boundary | | ----------------------- | ---------------------------------------------------- | ---------------------------------------- | | associative integration | span appraisal over context, goals, history, outcome | embeddings do not reproduce neural codes | | hippocampal interaction | episodic anchors and reference rings | hippocampus is not amygdala | | prefrontal regulation | re-read, explanation, revision, clarification | detector summons deliberation | | intercalated inhibition | habituation and false-alert suppression | engineered policy, not anatomy | | central projections | orient, interrupt, confirm, halt | authority remains explicit |",
   "marked": "{+| Biological function | Digital analogue | Boundary | | ----------------------- | ---------------------------------------------------- | ---------------------------------------- | | associative integration | span appraisal over context, goals, history, outcome | embeddings do not reproduce neural codes | | hippocampal interaction | episodic anchors and reference rings | hippocampus is not amygdala | | prefrontal regulation | re-read, explanation, revision, clarification | detector summons deliberation | | intercalated inhibition | habituation and false-alert suppression | engineered policy, not anatomy | | central projections | orient, interrupt, confirm, halt | authority remains explicit |+}"
  },
  {
   "section": "2.2 Heterogeneous nuclei and networks",
   "old": null,
   "new": "The key lesson is **projection**. Biological appraisal changes attention, memory, and action through outputs to other systems. A digital detector that writes a metric but cannot alter the next computation has implemented observation, not functional relevance.",
   "marked": "{+The key lesson is **projection**. Biological appraisal changes attention, memory, and action through outputs to other systems. A digital detector that writes a metric but cannot alter the next computation has implemented observation, not functional relevance.+}"
  },
  {
   "section": "2.3 Many roads, not one universal low road",
   "old": null,
   "new": "### 2.3 Many roads, not one universal low road",
   "marked": "{+### 2.3 Many roads, not one universal low road+}"
  },
  {
   "section": "2.3 Many roads, not one universal low road",
   "old": null,
   "new": "The popular low-road/high-road story proposes a fast subcortical route preceding slower cortical analysis. Its prominence in human affective vision is disputed. Pessoa and Adolphs favour multiple interacting routes with different speed, resolution, and task dependence [3]. AMYGDALA therefore adopts a fast/slow cascade as engineering, not literal anatomy.",
   "marked": "{+The popular low-road/high-road story proposes a fast subcortical route preceding slower cortical analysis. Its prominence in human affective vision is disputed. Pessoa and Adolphs favour multiple interacting routes with different speed, resolution, and task dependence [3]. AMYGDALA therefore adopts a fast/slow cascade as engineering, not literal anatomy.+}"
  },
  {
   "section": "2.3 Many roads, not one universal low road",
   "old": null,
   "new": "**Fast route:** preserve numbers, dates, entities, recipients, negation, conditions, and modality; detect modal strengthening and condition loss; compute trajectory and nearest-neighbour distance; apply hard rules.",
   "marked": "{+**Fast route:** preserve numbers, dates, entities, recipients, negation, conditions, and modality; detect modal strengthening and condition loss; compute trajectory and nearest-neighbour distance; apply hard rules.+}"
  },
  {
   "section": "2.3 Many roads, not one universal low road",
   "old": null,
   "new": "**Slow route:** extract propositions and speech acts; compare linked spans; simulate consequence; use an independent entailment model; generate one discriminating clarification.",
   "marked": "{+**Slow route:** extract propositions and speech acts; compare linked spans; simulate consequence; use an independent entailment model; generate one discriminating clarification.+}"
  },
  {
   "section": "2.3 Many roads, not one universal low road",
   "old": null,
   "new": "The fast route buys time. The slow route buys meaning.",
   "marked": "{+The fast route buys time. The slow route buys meaning.+}"
  },
  {
   "section": "2.4 Novelty, prediction error, and memory",
   "old": null,
   "new": "### 2.4 Novelty, prediction error, and memory",
   "marked": "{+### 2.4 Novelty, prediction error, and memory+}"
  },
  {
   "section": "2.4 Novelty, prediction error, and memory",
   "old": null,
   "new": "Novelty compares an event with stored experience. Prediction error compares an observed outcome with an active expectation. Blackford and colleagues found a distinctive amygdala response to unusual novelty [5]. Associative-learning work implicates amygdala circuits in appetitive and aversive prediction-error processing [7,8]. Unexpected tool outcomes should therefore trigger reorientation, not confident continuation.",
   "marked": "{+Novelty compares an event with stored experience. Prediction error compares an observed outcome with an active expectation. Blackford and colleagues found a distinctive amygdala response to unusual novelty [5]. Associative-learning work implicates amygdala circuits in appetitive and aversive prediction-error processing [7,8]. Unexpected tool outcomes should therefore trigger reorientation, not confident continuation.+}"
  },
  {
   "section": "2.4 Novelty, prediction error, and memory",
   "old": null,
   "new": "Through interactions with hippocampal, cortical, and neuromodulatory systems, the amygdala influences attention, encoding, consolidation, and retrieval [10,11]. The digital analogue should tag consequential corrections for retention and retrieval priority without turning the salience layer into the database.",
   "marked": "{+Through interactions with hippocampal, cortical, and neuromodulatory systems, the amygdala influences attention, encoding, consolidation, and retrieval [10,11]. The digital analogue should tag consequential corrections for retention and retrieval priority without turning the salience layer into the database.+}"
  },
  {
   "section": "2.5 Habituation and sensitisation",
   "old": null,
   "new": "### 2.5 Habituation and sensitisation",
   "marked": "{+### 2.5 Habituation and sensitisation+}"
  },
  {
   "section": "2.5 Habituation and sensitisation",
   "old": null,
   "new": "Repeated harmless novelty should habituate; a detector that never quiets becomes anxiety rendered as middleware. Habituation must be context-specific: safe deletion in a disposable directory cannot suppress concern in production. Familiarity never overrides a deterministic rule. Corrections and near misses sensitise relevant relations: after the domain incident, condition loss and fallback→threat transformations deserve more scrutiny.",
   "marked": "{+Repeated harmless novelty should habituate; a detector that never quiets becomes anxiety rendered as middleware. Habituation must be context-specific: safe deletion in a disposable directory cannot suppress concern in production. Familiarity never overrides a deterministic rule. Corrections and near misses sensitise relevant relations: after the domain incident, condition loss and fallback→threat transformations deserve more scrutiny.+}"
  },
  {
   "section": "2.6 Limits of the analogy",
   "old": null,
   "new": "### 2.6 Limits of the analogy",
   "marked": "{+### 2.6 Limits of the analogy+}"
  },
  {
   "section": "2.6 Limits of the analogy",
   "old": null,
   "new": "AMYGDALA does not claim that a sentence encoder is a basolateral nucleus or that software has affect. Biology constrains five design principles only: relevance is broader than fear; relevance depends on context and goals; novelty and prediction error alter attention and learning; inhibition matters as much as excitation; and appraisal matters only through outputs that change processing.",
   "marked": "{+AMYGDALA does not claim that a sentence encoder is a basolateral nucleus or that software has affect. Biology constrains five design principles only: relevance is broader than fear; relevance depends on context and goals; novelty and prediction error alter attention and learning; inhibition matters as much as excitation; and appraisal matters only through outputs that change processing.+}"
  },
  {
   "section": "3. Architecture — The Caveman LLM in Embedding Space",
   "old": "## 3. Architecture — The Caveman LLM in Embedding Space",
   "new": null,
   "marked": "[-## 3. Architecture — The Caveman LLM in Embedding Space-]"
  },
  {
   "section": "3. Architecture — The Caveman LLM in Embedding Space",
   "old": "This section is a **design space**, not a frozen recipe. We fix the objective and the shape and mark every implementation lean as a lean. §6 then reports which parts of it failed.",
   "new": null,
   "marked": "[-This section is a **design space**, not a frozen recipe. We fix the objective and the shape and mark every implementation lean as a lean. §6 then reports which parts of it failed.-]"
  },
  {
   "section": "3.1 One parallel model, two read-outs",
   "old": "### 3.1 One parallel model, two read-outs",
   "new": null,
   "marked": "[-### 3.1 One parallel model, two read-outs-]"
  },
  {
   "section": "3.1 One parallel model, two read-outs",
   "old": "A single sequence model reads a stream of embeddings and, at each step, produces a context vector `z_t` from which two heads read:",
   "new": null,
   "marked": "[-A single sequence model reads a stream of embeddings and, at each step, produces a context vector `z_t` from which two heads read:-]"
  },
  {
   "section": "3.1 One parallel model, two read-outs",
   "old": "- **ODD (surprise).** The model predicts the next embedding; how wrong it is, calibrated, is the salience interrupt. This is the low road — a fast, crude appraisal that *biases* and *interrupts*; it does not author the answer. - **DISPOSITION.** A small head maps `z_t` to a disposition — *what experience says to do*. The cortex (the primary LLM) still acts; the disposition biases it, and for the deterministic reflex layer becomes an enforceable gate (§3.6).",
   "new": null,
   "marked": "[-- **ODD (surprise).** The model predicts the next embedding; how wrong it is, calibrated, is the salience interrupt. This is the low road — a fast, crude appraisal that *biases* and *interrupts*; it does not author the answer. - **DISPOSITION.** A small head maps `z_t` to a disposition — *what experience says to do*. The cortex (the primary LLM) still acts; the disposition biases it, and for the deterministic reflex layer becomes an enforceable gate (§3.6).-]"
  },
  {
   "section": "3.1 One parallel model, two read-outs",
   "old": "The model runs **beside** the primary LLM, clause by clause, over the prompt and onward into the response — so it can flag an incoherent *request* before the agent commits, and a *response* that drifts from the ask as it forms.",
   "new": null,
   "marked": "[-The model runs **beside** the primary LLM, clause by clause, over the prompt and onward into the response — so it can flag an incoherent *request* before the agent commits, and a *response* that drifts from the ask as it forms.-]"
  },
  {
   "section": "3.1 One parallel model, two read-outs",
   "old": "**v4.0 amends the disposition set.** v3.1 and v3.2 defined four dispositions — proceed, pause, ask, block — where *ask* meant ask the **user**. §8 argues this set is incomplete in a way that matters, and adds **inform** (return a premise to the acting model) and **halt-and-resume** (terminate the turn, restart it with the premise present). The full set in v4.0 is therefore: *proceed · pause · inform · halt-and-resume · ask · block*.",
   "new": null,
   "marked": "[-**v4.0 amends the disposition set.** v3.1 and v3.2 defined four dispositions — proceed, pause, ask, block — where *ask* meant ask the **user**. §8 argues this set is incomplete in a way that matters, and adds **inform** (return a premise to the acting model) and **halt-and-resume** (terminate the turn, restart it with the premise present). The full set in v4.0 is therefore: *proceed · pause · inform · halt-and-resume · ask · block*.-]"
  },
  {
   "section": "3.2 Emergent latent, not hand-named axes",
   "old": "### 3.2 Emergent latent, not hand-named axes",
   "new": null,
   "marked": "[-### 3.2 Emergent latent, not hand-named axes-]"
  },
  {
   "section": "3.2 Emergent latent, not hand-named axes",
   "old": "We do **not** hand-pick the dimensions (the v2.8 fifteen axes and the intermediate \"topic/valence/threat\" attribute set are both retired as the wrong altitude). A self-supervised world model is trained so that whatever structure is relevant to the behaviour-relevant outcome organizes itself in `z_t` — exactly Genie learning latent actions from unlabelled video. We pay for this with internal opacity and buy it back cheaply with **post-hoc probing**: after training, a linear probe correlates a flagged latent dimension with human-readable properties (`is_destructive`, `target_dir`, …), so we can name what fired when we choose to, without wiring a hand-engineered axis into the forward path. Emergent **and** auditable.",
   "new": null,
   "marked": "[-We do **not** hand-pick the dimensions (the v2.8 fifteen axes and the intermediate \"topic/valence/threat\" attribute set are both retired as the wrong altitude). A self-supervised world model is trained so that whatever structure is relevant to the behaviour-relevant outcome organizes itself in `z_t` — exactly Genie learning latent actions from unlabelled video. We pay for this with internal opacity and buy it back cheaply with **post-hoc probing**: after training, a linear probe correlates a flagged latent dimension with human-readable properties (`is_destructive`, `target_dir`, …), so we can name what fired when we choose to, without wiring a hand-engineered axis into the forward path. Emergent **and** auditable.-]"
  },
  {
   "section": "3.3 The continuous-prediction head (the anti-collapse decision)",
   "old": "### 3.3 The continuous-prediction head (the anti-collapse decision)",
   "new": null,
   "marked": "[-### 3.3 The continuous-prediction head (the anti-collapse decision)-]"
  },
  {
   "section": "3.3 The continuous-prediction head (the anti-collapse decision)",
   "old": "The one option prior art rules out is **plain MSE regression**: a context has many valid continuations and MSE averages them into a bland mean (LCM; MAR). The head must represent a *distribution* or use a non-collapsing self-supervised objective. The leans, all open:",
   "new": null,
   "marked": "[-The one option prior art rules out is **plain MSE regression**: a context has many valid continuations and MSE averages them into a bland mean (LCM; MAR). The head must represent a *distribution* or use a non-collapsing self-supervised objective. The leans, all open:-]"
  },
  {
   "section": "3.3 The continuous-prediction head (the anti-collapse decision)",
   "old": "- **Default:** a BYOL/SimSiam-style **stop-gradient latent predictor** (a narrow `Linear→GELU→Linear` with an EMA-target copy of the trunk) — the cheapest anti-collapse recipe, no negatives, right for a tiny corpus — **plus** a small **diagonal-Gaussian density head** giving a closed-form negative log-likelihood. The density NLL is the *within-turn* surprise signal (computable as the clause arrives); the prediction error is the *one-step-lagged* confirmation. - **Upgrade path:** a MAR-style **diffusion/denoising** head or a CALM-style **energy-score** head for a genuinely multimodal next-vector distribution. Their per-turn ONNX-CPU latency is **open and unmeasured**, and diffusion/flow likelihoods carry the documented likelihood paradox (out-of-distribution inputs can score *higher* likelihood) — so they stay design-space, not deploy path, until measured. - **Surprise read-out (lean):** `0.5·(1 − cos prediction-error) + 0.5·(standardized density-NLL)`, RND-normalized by a running mean/std for cross-turn comparability; ensemble disagreement reserved as a cheap *second-stage* epistemic check that fires only after the primary read-out flags.",
   "new": null,
   "marked": "[-- **Default:** a BYOL/SimSiam-style **stop-gradient latent predictor** (a narrow `Linear→GELU→Linear` with an EMA-target copy of the trunk) — the cheapest anti-collapse recipe, no negatives, right for a tiny corpus — **plus** a small **diagonal-Gaussian density head** giving a closed-form negative log-likelihood. The density NLL is the *within-turn* surprise signal (computable as the clause arrives); the prediction error is the *one-step-lagged* confirmation. - **Upgrade path:** a MAR-style **diffusion/denoising** head or a CALM-style **energy-score** head for a genuinely multimodal next-vector distribution. Their per-turn ONNX-CPU latency is **open and unmeasured**, and diffusion/flow likelihoods carry the documented likelihood paradox (out-of-distribution inputs can score *higher* likelihood) — so they stay design-space, not deploy path, until measured. - **Surprise read-out (lean):** `0.5·(1 − cos prediction-error) + 0.5·(standardized density-NLL)`, RND-normalized by a running mean/std for cross-turn comparability; ensemble disagreement reserved as a cheap *second-stage* epistemic check that fires only after the primary read-out flags.-]"
  },
  {
   "section": "3.4 The sequence-model class and scale",
   "old": "### 3.4 The sequence-model class and scale",
   "new": null,
   "marked": "[-### 3.4 The sequence-model class and scale-]"
  },
  {
   "section": "3.4 The sequence-model class and scale",
   "old": "The trunk class is **open**: the buildable default reuses the existing small causal TCN (dilations [1,2,4,8]); a decoder-only transformer over the embedding stream is escalated to only if separability demands the capacity. The correction that drove the v3.0 rewrite was not \"too few parameters\" — it was the wrong *objective and architecture* (a flat-combiner classifier using neither the predict-and-be-surprised mechanism nor the GPU). Honest framing of scale: the model must genuinely **train on a consumer GPU (an RTX 3080)** rather than be a minutes-on-CPU toy, while the **deployed footprint stays small** (a low-hundreds-of-thousands-parameter core, exported to ONNX, run on CPU per turn in well under a millisecond). *The GPU is for training; we do not claim a 10–16 GB model.*",
   "new": null,
   "marked": "[-The trunk class is **open**: the buildable default reuses the existing small causal TCN (dilations [1,2,4,8]); a decoder-only transformer over the embedding stream is escalated to only if separability demands the capacity. The correction that drove the v3.0 rewrite was not \"too few parameters\" — it was the wrong *objective and architecture* (a flat-combiner classifier using neither the predict-and-be-surprised mechanism nor the GPU). Honest framing of scale: the model must genuinely **train on a consumer GPU (an RTX 3080)** rather than be a minutes-on-CPU toy, while the **deployed footprint stays small** (a low-hundreds-of-thousands-parameter core, exported to ONNX, run on CPU per turn in well under a millisecond). *The GPU is for training; we do not claim a 10–16 GB model.*-]"
  },
  {
   "section": "3.5 Substrate and the input-granularity caveat",
   "old": "### 3.5 Substrate and the input-granularity caveat",
   "new": null,
   "marked": "[-### 3.5 Substrate and the input-granularity caveat-]"
  },
  {
   "section": "3.5 Substrate and the input-granularity caveat",
   "old": "Today's substrate is the **frozen** `all-MiniLM-L6-v2` sentence encoder (384-d, projected to 512-d working vectors). This is the chief honest limitation of the architecture, and §6 makes it empirical rather than suspected: MiniLM was trained for sentence *similarity*, not next-step *prediction*, and the decisive experiments show it cannot carry *harmfulness* at all — not as next-embedding surprise (§6.2) and not as supervised danger classification (§6.3, AUROC 0.286, below chance). Every strong analogue (JEPA, Dreamer, BYOL-Explore) *learns* its latent jointly; a frozen similarity space can be re-rotated but never have discarded information recovered from it. A learnable/JEPA-fine-tuned substrate is the obvious upgrade (§12).",
   "new": null,
   "marked": "[-Today's substrate is the **frozen** `all-MiniLM-L6-v2` sentence encoder (384-d, projected to 512-d working vectors). This is the chief honest limitation of the architecture, and §6 makes it empirical rather than suspected: MiniLM was trained for sentence *similarity*, not next-step *prediction*, and the decisive experiments show it cannot carry *harmfulness* at all — not as next-embedding surprise (§6.2) and not as supervised danger classification (§6.3, AUROC 0.286, below chance). Every strong analogue (JEPA, Dreamer, BYOL-Explore) *learns* its latent jointly; a frozen similarity space can be re-rotated but never have discarded information recovered from it. A learnable/JEPA-fine-tuned substrate is the obvious upgrade (§12).-]"
  },
  {
   "section": "3.5 Substrate and the input-granularity caveat",
   "old": "Separately, the *granularity* must change: today the system embeds one vector per *action*; the caveman LLM needs a **clause/sentence timeline**, requiring an `embedChunks` step that segments visible prompt+response text and embeds each span — which today can only run **post-hoc at turn boundaries** (there is no per-phrase mid-turn streaming hook). A true mid-turn cadence is a separate, blocked work item, and §8.5 notes that it is also the prerequisite for the *inform* disposition to fire mid-turn rather than only at a tool boundary.",
   "new": null,
   "marked": "[-Separately, the *granularity* must change: today the system embeds one vector per *action*; the caveman LLM needs a **clause/sentence timeline**, requiring an `embedChunks` step that segments visible prompt+response text and embeds each span — which today can only run **post-hoc at turn boundaries** (there is no per-phrase mid-turn streaming hook). A true mid-turn cadence is a separate, blocked work item, and §8.5 notes that it is also the prerequisite for the *inform* disposition to fire mid-turn rather than only at a tool boundary.-]"
  },
  {
   "section": "3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core",
   "old": "### 3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core",
   "new": null,
   "marked": "[-### 3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core-]"
  },
  {
   "section": "3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core",
   "old": "Earlier versions stated a blanket constraint: that on the **primary runner** the gate could neither pause nor block a tool mid-turn, because tools execute inside the CLI where the host cannot reach them, and that real enforcement therefore existed only for native/embedded tools. **That framing was superseded by a two-tier reality**, and the distinction is load-bearing for any safety claim.",
   "new": null,
   "marked": "[-Earlier versions stated a blanket constraint: that on the **primary runner** the gate could neither pause nor block a tool mid-turn, because tools execute inside the CLI where the host cannot reach them, and that real enforcement therefore existed only for native/embedded tools. **That framing was superseded by a two-tier reality**, and the distinction is load-bearing for any safety claim.-]"
  },
  {
   "section": "3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core",
   "old": "**Tier 1 — the deterministic reflex floor: LIVE AND ENFORCING.** The claimed \"physics limit\" is retracted. The primary runner's CLI accepts per-spawn `--settings` carrying `PreToolUse` hooks that **synchronously deny** a tool call — and the deny works even under the permissive `bypassPermissions` mode the bridge runs in. The bridge had simply never wired them. The wiring now exists: deterministic rules are compiled to a policy-snapshot JSON, evaluated **pre-execution on both runners** by a dependency-free hook script (<100 ms, fail-open), the native `{block}` contract is corrected so a block actually blocks, and production config carries `aegisEnabled: true`. Every hook decision spools to a JSONL the extension ingests as a training row and a feed event — so the strongest feedback signal, which previously wrote no row anywhere, is now visible.",
   "new": null,
   "marked": "[-**Tier 1 — the deterministic reflex floor: LIVE AND ENFORCING.** The claimed \"physics limit\" is retracted. The primary runner's CLI accepts per-spawn `--settings` carrying `PreToolUse` hooks that **synchronously deny** a tool call — and the deny works even under the permissive `bypassPermissions` mode the bridge runs in. The bridge had simply never wired them. The wiring now exists: deterministic rules are compiled to a policy-snapshot JSON, evaluated **pre-execution on both runners** by a dependency-free hook script (<100 ms, fail-open), the native `{block}` contract is corrected so a block actually blocks, and production config carries `aegisEnabled: true`. Every hook decision spools to a JSONL the extension ingests as a training row and a feed event — so the strongest feedback signal, which previously wrote no row anywhere, is now visible.-]"
  },
  {
   "section": "3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core",
   "old": "**Tier 2 — the learned core: still observe-only, honestly abstaining.** What went live is the **rule reflex**, not a learned verdict. The surprise predictor and learned disposition head remain proposed-not-built; the validated novelty and clause-cosine incongruity channels surface a disposition but do not block; the danger value head abstains because it has neither labels nor a fit substrate. **The deterministic reflex enforces live; the learned amygdala is still abstaining.** Conflating the two would overclaim: the safety floor that ships today is a small, auditable blocklist with teeth, not a learned intuition.",
   "new": null,
   "marked": "[-**Tier 2 — the learned core: still observe-only, honestly abstaining.** What went live is the **rule reflex**, not a learned verdict. The surprise predictor and learned disposition head remain proposed-not-built; the validated novelty and clause-cosine incongruity channels surface a disposition but do not block; the danger value head abstains because it has neither labels nor a fit substrate. **The deterministic reflex enforces live; the learned amygdala is still abstaining.** Conflating the two would overclaim: the safety floor that ships today is a small, auditable blocklist with teeth, not a learned intuition.-]"
  },
  {
   "section": "3.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core",
   "old": "**Tier 0 — new in v4.0: the appraisal path itself.** §9 establishes that the gate's own feature extraction is a third tier with its own threat model, previously unexamined. It executes before either enforcing tier and is the only one that has, to date, caused harm.",
   "new": null,
   "marked": "[-**Tier 0 — new in v4.0: the appraisal path itself.** §9 establishes that the gate's own feature extraction is a third tier with its own threat model, previously unexamined. It executes before either enforcing tier and is the only one that has, to date, caused harm.-]"
  },
  {
   "section": "3.7 What the architecture is not",
   "old": "### 3.7 What the architecture is not",
   "new": null,
   "marked": "[-### 3.7 What the architecture is not-]"
  },
  {
   "section": "3.7 What the architecture is not",
   "old": "It is not a learned amygdala with a rules fallback. It is a rules floor plus experimental learned-adjacent signals, plus (proposed) a channel back into the model's reasoning. Stated plainly so that no reader takes the biological framing for a claim of biological function.",
   "new": null,
   "marked": "[-It is not a learned amygdala with a rules fallback. It is a rules floor plus experimental learned-adjacent signals, plus (proposed) a channel back into the model's reasoning. Stated plainly so that no reader takes the biological framing for a claim of biological function.-]"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "## 3. Formal Problem Statement",
   "marked": "{+## 3. Formal Problem Statement+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "Let a session generate semantic spans $S=(s_1,\\ldots,s_T)$. A span is a provenance-bearing unit large enough to carry meaning: user message, retrieval block, assistant sentence or rolling window, draft, tool call, or result. Hidden reasoning spans are optional and only processed when legitimately exposed.",
   "marked": "{+Let a session generate semantic spans $S=(s_1,\\ldots,s_T)$. A span is a provenance-bearing unit large enough to carry meaning: user message, retrieval block, assistant sentence or rolling window, draft, tool call, or result. Hidden reasoning spans are optional and only processed when legitimately exposed.+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "Each span has direction, kind, hash, optional ephemeral embedding $e_t$, extracted propositions $P_t$, and links to spans with which it should agree. An action occurs at a **commitment point**: interpretation becomes plan, draft becomes sent message, or intention becomes external mutation.",
   "marked": "{+Each span has direction, kind, hash, optional ephemeral embedding $e_t$, extracted propositions $P_t$, and links to spans with which it should agree. An action occurs at a **commitment point**: interpretation becomes plan, draft becomes sent message, or intention becomes external mutation.+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "The Stream loop maintains:",
   "marked": "{+The Stream loop maintains:+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "$$z_t=[N_t,A_t,I_t,C_t,Q_t,R_t],$$",
   "marked": "{+$$z_t=[N_t,A_t,I_t,C_t,Q_t,R_t],$$+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "where $N$ is novelty, $A$ abruptness, $I$ linked-span inconsistency, $C$ unsupported commitment difference, $Q$ prediction error, and $R$ contextual relevance including goal, externality, irreversibility, and personal history. A policy chooses:",
   "marked": "{+where $N$ is novelty, $A$ abruptness, $I$ linked-span inconsistency, $C$ unsupported commitment difference, $Q$ prediction error, and $R$ contextual relevance including goal, externality, irreversibility, and personal history. A policy chooses:+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "$$\\delta_t\\in\\{pass,tag,recheck,revise,ask,halt\\}.$$",
   "marked": "{+$$\\delta_t\\in\\{pass,tag,recheck,revise,ask,halt\\}.$$+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "The Action loop independently evaluates:",
   "marked": "{+The Action loop independently evaluates:+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "$$\\pi_a(a_j,S_{\\le t},H)\\rightarrow\\{allow,confirm,block\\},$$",
   "marked": "{+$$\\pi_a(a_j,S_{\\le t},H)\\rightarrow\\{allow,confirm,block\\},$$+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "where $H$ contains explicit rules and historical-risk evidence. Deterministic prohibitions dominate learned scores.",
   "marked": "{+where $H$ contains explicit rules and historical-risk evidence. Deterministic prohibitions dominate learned scores.+}"
  },
  {
   "section": "3. Formal Problem Statement",
   "old": null,
   "new": "Novelty, abruptness, and inconsistency are not interchangeable. A legitimate topic change is abrupt but coherent. A novel scientific question is unfamiliar but safe. The €500 misread was familiar and topically smooth but relationally inconsistent. A repeated production deletion is familiar and dangerous.",
   "marked": "{+Novelty, abruptness, and inconsistency are not interchangeable. A legitimate topic change is abrupt but coherent. A novel scientific question is unfamiliar but safe. The €500 misread was familiar and topically smooth but relationally inconsistent. A repeated production deletion is familiar and dangerous.+}"
  },
  {
   "section": "4. Training, the Feedback Loop, and Continual Learning",
   "old": "## 4. Training, the Feedback Loop, and Continual Learning",
   "new": null,
   "marked": "[-## 4. Training, the Feedback Loop, and Continual Learning-]"
  },
  {
   "section": "4.1 A self-supervised cold start",
   "old": "### 4.1 A self-supervised cold start",
   "new": null,
   "marked": "[-### 4.1 A self-supervised cold start-]"
  },
  {
   "section": "4.1 A self-supervised cold start",
   "old": "The surprise core is **label-free**: the \"right answer\" — the embedding that actually came next — arrives for free on every turn, so the predictor can be trained on the existing offline corpus before any human label exists. On day one the system ships as a calibrated \"this is odd\" detector while the disposition head **abstains** (§4.4). The decisive experiment (§6.2) shows this particular self-supervised target — next-embedding prediction error — does not beat persistence on our data; the *cold-start principle* survives in the form that did validate, the zero-train novelty channel (§7.2), whose reference set grows for free on every turn.",
   "new": null,
   "marked": "[-The surprise core is **label-free**: the \"right answer\" — the embedding that actually came next — arrives for free on every turn, so the predictor can be trained on the existing offline corpus before any human label exists. On day one the system ships as a calibrated \"this is odd\" detector while the disposition head **abstains** (§4.4). The decisive experiment (§6.2) shows this particular self-supervised target — next-embedding prediction error — does not beat persistence on our data; the *cold-start principle* survives in the form that did validate, the zero-train novelty channel (§7.2), whose reference set grows for free on every turn.-]"
  },
  {
   "section": "4.2 Bending the latent toward what matters",
   "old": "### 4.2 Bending the latent toward what matters",
   "new": null,
   "marked": "[-### 4.2 Bending the latent toward what matters-]"
  },
  {
   "section": "4.2 Bending the latent toward what matters",
   "old": "A pure next-embedding predictor organizes its latent around whatever varies most on the surface — often irrelevant. To make behaviour-relevant categories emerge, the self-supervised core is trained **jointly** with a small value/disposition head whose gradient bends the shared latent toward outcome-relevant structure (the Dreamer/MuZero value-equivalence pressure). The self-supervised loss solves the cold start; the value head — once it has labels — decides *which* structure is worth representing. The §6.3 negative sharpens the precondition: joint pressure can only help once the *substrate itself* can carry the target distinction, which a frozen similarity space provably cannot for danger. \"Bend the latent\" presupposes a learnable substrate (§12), not the frozen one.",
   "new": null,
   "marked": "[-A pure next-embedding predictor organizes its latent around whatever varies most on the surface — often irrelevant. To make behaviour-relevant categories emerge, the self-supervised core is trained **jointly** with a small value/disposition head whose gradient bends the shared latent toward outcome-relevant structure (the Dreamer/MuZero value-equivalence pressure). The self-supervised loss solves the cold start; the value head — once it has labels — decides *which* structure is worth representing. The §6.3 negative sharpens the precondition: joint pressure can only help once the *substrate itself* can carry the target distinction, which a frozen similarity space provably cannot for danger. \"Bend the latent\" presupposes a learnable substrate (§12), not the frozen one.-]"
  },
  {
   "section": "4.3 The feedback loop is the amygdala",
   "old": "### 4.3 The feedback loop is the amygdala",
   "new": null,
   "marked": "[-### 4.3 The feedback loop is the amygdala-]"
  },
  {
   "section": "4.3 The feedback loop is the amygdala",
   "old": "Per §1.4, the loop is the point. Signal sources, by strength: a **rule-veto hit** (the strongest \"stop\" — every `PreToolUse` decision spools to a JSONL the extension ingests, so the previously invisible signal is captured); an explicit **approval/denial** on a flagged native action (the cleanest label, native-only); a **user override** of a block; a **correction within 24 h**; and a weak **no-complaint-within-72 h** positive. The earlier \"none of this is wired / outcome column 100% null\" claim is now *partly* retired: the rule-hit and explicit-override paths spool, and nightly consolidation recomputes the reference set and conformal thresholds. What remains unbuilt is the *learned-gradient* half — capturing the full per-turn (situation, prediction, decision, eventual-outcome) row and training weights on it — which is still the bulk of the engineering, because the learned predictor is not yet built.",
   "new": null,
   "marked": "[-Per §1.4, the loop is the point. Signal sources, by strength: a **rule-veto hit** (the strongest \"stop\" — every `PreToolUse` decision spools to a JSONL the extension ingests, so the previously invisible signal is captured); an explicit **approval/denial** on a flagged native action (the cleanest label, native-only); a **user override** of a block; a **correction within 24 h**; and a weak **no-complaint-within-72 h** positive. The earlier \"none of this is wired / outcome column 100% null\" claim is now *partly* retired: the rule-hit and explicit-override paths spool, and nightly consolidation recomputes the reference set and conformal thresholds. What remains unbuilt is the *learned-gradient* half — capturing the full per-turn (situation, prediction, decision, eventual-outcome) row and training weights on it — which is still the bulk of the engineering, because the learned predictor is not yet built.-]"
  },
  {
   "section": "4.3 The feedback loop is the amygdala",
   "old": "**v4.0 adds a fourth signal source, and it is the highest-quality one available.** Under the *inform* disposition (§8.4), the gate returns a premise and the model either revises or argues back and proceeds. That produces a labelled pair no other channel produces — *(gate's objection, model's response, eventual outcome)* — and it is the only signal that distinguishes \"the gate was right\" from \"the gate was noise,\" because the model's counter-argument is itself evidence. A pure block produces no such row: the runtime learns a denial happened, and nothing learns whether the denial was correct.",
   "new": null,
   "marked": "[-**v4.0 adds a fourth signal source, and it is the highest-quality one available.** Under the *inform* disposition (§8.4), the gate returns a premise and the model either revises or argues back and proceeds. That produces a labelled pair no other channel produces — *(gate's objection, model's response, eventual outcome)* — and it is the only signal that distinguishes \"the gate was right\" from \"the gate was noise,\" because the model's counter-argument is itself evidence. A pure block produces no such row: the runtime learns a denial happened, and nothing learns whether the denial was correct.-]"
  },
  {
   "section": "4.4 Honest cold start, honest disposition",
   "old": "### 4.4 Honest cold start, honest disposition",
   "new": null,
   "marked": "[-### 4.4 Honest cold start, honest disposition-]"
  },
  {
   "section": "4.4 Honest cold start, honest disposition",
   "old": "Because there are near-zero learned outcome labels, the disposition head ships seeded only from the deterministic rule prior (a potential-based / Q-initialization equivalence) and **abstains** where unsure. We do not claim a learned how-to-act head until hundreds of real labels accrue, and on the primary runner that accrual is slow. What ships with teeth is the deterministic reflex (§3.6) and the two zero-train ask channels (§7.2–7.3). The honest day-one product is *\"a deterministic reflex that denies, plus an I-don't-know detector that is calibrated about its own uncertainty and asks when a request doesn't cohere\"* — not a finished learned judge.",
   "new": null,
   "marked": "[-Because there are near-zero learned outcome labels, the disposition head ships seeded only from the deterministic rule prior (a potential-based / Q-initialization equivalence) and **abstains** where unsure. We do not claim a learned how-to-act head until hundreds of real labels accrue, and on the primary runner that accrual is slow. What ships with teeth is the deterministic reflex (§3.6) and the two zero-train ask channels (§7.2–7.3). The honest day-one product is *\"a deterministic reflex that denies, plus an I-don't-know detector that is calibrated about its own uncertainty and asks when a request doesn't cohere\"* — not a finished learned judge.-]"
  },
  {
   "section": "4.5 Continual learning without catastrophic forgetting",
   "old": "### 4.5 Continual learning without catastrophic forgetting",
   "new": null,
   "marked": "[-### 4.5 Continual learning without catastrophic forgetting-]"
  },
  {
   "section": "4.5 Continual learning without catastrophic forgetting",
   "old": "The regime is **Complementary Learning Systems** (McClelland et al., 1995; Kumaran et al., 2016): a fast store logs experience by day, a slow consolidation **replays** a class/severity-balanced buffer by night — the brain's nightly-consolidation analogy, and exactly what an engineer's \"gather feedback by day, retrain at night\" instinct already reaches for. The primary anti-forgetting method is **replay** (Chaudhry et al., 2019) with rare severe examples mandatory-keep; **EWC / Synaptic Intelligence** (Kirkpatrick et al., 2017; Zenke et al., 2017) are optional backstops, added only if a measured A/B shows replay alone forgets. The retained-experience store is its own engineering problem — reversible context compression (§2.6) is the candidate substrate. **Online learn-as-we-work** updates are the aspiration but are **deferred**: with near-zero labels, one noisy gradient jerks a small net (stability–plasticity). \"Forgetting avoided\" is framed as a falsifiable experiment, not a claim.",
   "new": null,
   "marked": "[-The regime is **Complementary Learning Systems** (McClelland et al., 1995; Kumaran et al., 2016): a fast store logs experience by day, a slow consolidation **replays** a class/severity-balanced buffer by night — the brain's nightly-consolidation analogy, and exactly what an engineer's \"gather feedback by day, retrain at night\" instinct already reaches for. The primary anti-forgetting method is **replay** (Chaudhry et al., 2019) with rare severe examples mandatory-keep; **EWC / Synaptic Intelligence** (Kirkpatrick et al., 2017; Zenke et al., 2017) are optional backstops, added only if a measured A/B shows replay alone forgets. The retained-experience store is its own engineering problem — reversible context compression (§2.6) is the candidate substrate. **Online learn-as-we-work** updates are the aspiration but are **deferred**: with near-zero labels, one noisy gradient jerks a small net (stability–plasticity). \"Forgetting avoided\" is framed as a falsifiable experiment, not a claim.-]"
  },
  {
   "section": "4.5 Continual learning without catastrophic forgetting",
   "old": "The one piece of continual learning that runs today needs **no gradient at all**: the novelty channel's reference set grows on every logged situation, so the familiar stops being novel — structural habituation, the vmPFC brake, obtained for free.",
   "new": null,
   "marked": "[-The one piece of continual learning that runs today needs **no gradient at all**: the novelty channel's reference set grows on every logged situation, so the familiar stops being novel — structural habituation, the vmPFC brake, obtained for free.-]"
  },
  {
   "section": "4. Dual-Loop Architecture",
   "old": null,
   "new": "## 4. Dual-Loop Architecture",
   "marked": "{+## 4. Dual-Loop Architecture+}"
  },
  {
   "section": "4.1 Span event bus",
   "old": null,
   "new": "### 4.1 Span event bus",
   "marked": "{+### 4.1 Span event bus+}"
  },
  {
   "section": "4.1 Span event bus",
   "old": null,
   "new": "```text user input → retrieval → assistant output/draft → tool call → tool result → next output ```",
   "marked": "{+```text user input → retrieval → assistant output/draft → tool call → tool result → next output ```+}"
  },
  {
   "section": "4.1 Span event bus",
   "old": null,
   "new": "Run cheap features at token rate and semantic features at sentence, rolling-window, message, draft, tool-call, and tool-result boundaries. Every event receives sequence, provenance, direction, kind, token range where available, and relation links. Transport metadata is removed before semantic analysis. This is not cosmetic: the current clause detector receives the raw wire prompt, and all 11 current incongruity alerts begin in `Sender (untrusted metadata)`.",
   "marked": "{+Run cheap features at token rate and semantic features at sentence, rolling-window, message, draft, tool-call, and tool-result boundaries. Every event receives sequence, provenance, direction, kind, token range where available, and relation links. Transport metadata is removed before semantic analysis. This is not cosmetic: the current clause detector receives the raw wire prompt, and all 11 current incongruity alerts begin in `Sender (untrusted metadata)`.+}"
  },
  {
   "section": "4.2 Novelty",
   "old": null,
   "new": "### 4.2 Novelty",
   "marked": "{+### 4.2 Novelty+}"
  },
  {
   "section": "4.2 Novelty",
   "old": null,
   "new": "With normalised embedding $e_t$ and reference ring $M$:",
   "marked": "{+With normalised embedding $e_t$ and reference ring $M$:+}"
  },
  {
   "section": "4.2 Novelty",
   "old": null,
   "new": "$$N_t=1-\\frac{1}{k}\\sum_{i\\in top_k(M,e_t)}\\cos(e_t,e_i).$$",
   "marked": "{+$$N_t=1-\\frac{1}{k}\\sum_{i\\in top_k(M,e_t)}\\cos(e_t,e_i).$$+}"
  },
  {
   "section": "4.2 Novelty",
   "old": null,
   "new": "Use separate bounded rings for session, task class, known-safe situations, and known failures. Novelty lowers confidence and increases attention; it does not directly block. Existing kNN novelty achieved 0.875 AUROC on its offline distribution task—evidence for that statistic, not general common sense.",
   "marked": "{+Use separate bounded rings for session, task class, known-safe situations, and known failures. Novelty lowers confidence and increases attention; it does not directly block. Existing kNN novelty achieved 0.875 AUROC on its offline distribution task—evidence for that statistic, not general common sense.+}"
  },
  {
   "section": "4.3 Abruptness",
   "old": null,
   "new": "### 4.3 Abruptness",
   "marked": "{+### 4.3 Abruptness+}"
  },
  {
   "section": "4.3 Abruptness",
   "old": null,
   "new": "$$A_t=1-\\cos(\\bar e_t,\\bar e_{t-1}),$$",
   "marked": "{+$$A_t=1-\\cos(\\bar e_t,\\bar e_{t-1}),$$+}"
  },
  {
   "section": "4.3 Abruptness",
   "old": null,
   "new": "where $\\bar e_t$ is a rolling semantic window. Maintain transition-specific baselines for user→assistant, assistant→tool, and tool-result→assistant; apply EWMA, CUSUM, or another change-point method. Abruptness can catch persona collapse, compaction seams, abandoned questions, and tool results that overturn a plan.",
   "marked": "{+where $\\bar e_t$ is a rolling semantic window. Maintain transition-specific baselines for user→assistant, assistant→tool, and tool-result→assistant; apply EWMA, CUSUM, or another change-point method. Abruptness can catch persona collapse, compaction seams, abandoned questions, and tool results that overturn a plan.+}"
  },
  {
   "section": "4.4 Relational inconsistency",
   "old": null,
   "new": "### 4.4 Relational inconsistency",
   "marked": "{+### 4.4 Relational inconsistency+}"
  },
  {
   "section": "4.4 Relational inconsistency",
   "old": null,
   "new": "The unit is an edge, not an isolated span:",
   "marked": "{+The unit is an edge, not an isolated span:+}"
  },
  {
   "section": "4.4 Relational inconsistency",
   "old": null,
   "new": "- request ↔ restatement or plan; - request ↔ draft or final answer; - source ↔ summary claim; - plan ↔ tool action; - expected result ↔ observed result; - permission ↔ external action.",
   "marked": "{+- request ↔ restatement or plan; - request ↔ draft or final answer; - source ↔ summary claim; - plan ↔ tool action; - expected result ↔ observed result; - permission ↔ external action.+}"
  },
  {
   "section": "4.4 Relational inconsistency",
   "old": null,
   "new": "Cosine detects broad drift. NLI estimates entailment and contradiction. Structured asymmetric difference detects commitments present only in output.",
   "marked": "{+Cosine detects broad drift. NLI estimates entailment and contradiction. Structured asymmetric difference detects commitments present only in output.+}"
  },
  {
   "section": "4.5 Commitment difference",
   "old": null,
   "new": "### 4.5 Commitment difference",
   "marked": "{+### 4.5 Commitment difference+}"
  },
  {
   "section": "4.5 Commitment difference",
   "old": null,
   "new": "Represent consequential propositions as:",
   "marked": "{+Represent consequential propositions as:+}"
  },
  {
   "section": "4.5 Commitment difference",
   "old": null,
   "new": "```text actor · action · object · amount · recipient · time condition · modality · negation · speech_act ```",
   "marked": "{+```text actor · action · object · amount · recipient · time condition · modality · negation · speech_act ```+}"
  },
  {
   "section": "4.5 Commitment difference",
   "old": null,
   "new": "For source $P_{src}$ and candidate $P_{out}$:",
   "marked": "{+For source $P_{src}$ and candidate $P_{out}$:+}"
  },
  {
   "section": "4.5 Commitment difference",
   "old": null,
   "new": "$$C^+=P_{out}\\setminus entail(P_{src}).$$",
   "marked": "{+$$C^+=P_{out}\\setminus entail(P_{src}).$$+}"
  },
  {
   "section": "4.5 Commitment difference",
   "old": null,
   "new": "Also compute dropped source constraints. Alert on modal strengthening, condition loss, changed amount/date/entity, reversed negation, added recipient, or speech-act transition such as fallback→threat. Deterministic extractors handle numbers, dates, modals, negation, and recipients before an independent small entailment model handles paraphrase. The generator cannot be sole judge of its own interpretation.",
   "marked": "{+Also compute dropped source constraints. Alert on modal strengthening, condition loss, changed amount/date/entity, reversed negation, added recipient, or speech-act transition such as fallback→threat. Deterministic extractors handle numbers, dates, modals, negation, and recipients before an independent small entailment model handles paraphrase. The generator cannot be sole judge of its own interpretation.+}"
  },
  {
   "section": "4.6 Prediction error and relevance",
   "old": null,
   "new": "### 4.6 Prediction error and relevance",
   "marked": "{+### 4.6 Prediction error and relevance+}"
  },
  {
   "section": "4.6 Prediction error and relevance",
   "old": null,
   "new": "Before consequential tool calls, record expected status, object, approximate cardinality, and uncertainty. Compare with observation:",
   "marked": "{+Before consequential tool calls, record expected status, object, approximate cardinality, and uncertainty. Compare with observation:+}"
  },
  {
   "section": "4.6 Prediction error and relevance",
   "old": null,
   "new": "$$Q_t=D(E[O_t\\mid a_t,context],O_t).$$",
   "marked": "{+$$Q_t=D(E[O_t\\mid a_t,context],O_t).$$+}"
  },
  {
   "section": "4.6 Prediction error and relevance",
   "old": null,
   "new": "Large error increases attention and learning eligibility. Keep the signal vector until disposition time so explanations preserve the cause: “novel but safe” differs from “familiar and forbidden” and “coherent topic, mutated commitment.”",
   "marked": "{+Large error increases attention and learning eligibility. Keep the signal vector until disposition time so explanations preserve the cause: “novel but safe” differs from “familiar and forbidden” and “coherent topic, mutated commitment.”+}"
  },
  {
   "section": "4.7 Efferent ladder",
   "old": null,
   "new": "### 4.7 Efferent ladder",
   "marked": "{+### 4.7 Efferent ladder+}"
  },
  {
   "section": "4.7 Efferent ladder",
   "old": null,
   "new": "| Level | Disposition | Effect | | ----: | ----------- | --------------------------------------- | | 0 | observe | calibration only | | 1 | tag | attention and learning marker | | 2 | recheck | fresh parse or independent comparison | | 3 | revise | discard and regenerate reversible draft | | 4 | ask | one discriminating clarification | | 5 | halt | block consequential action |",
   "marked": "{+| Level | Disposition | Effect | | ----: | ----------- | --------------------------------------- | | 0 | observe | calibration only | | 1 | tag | attention and learning marker | | 2 | recheck | fresh parse or independent comparison | | 3 | revise | discard and regenerate reversible draft | | 4 | ask | one discriminating clarification | | 5 | halt | block consequential action |+}"
  },
  {
   "section": "4.7 Efferent ladder",
   "old": null,
   "new": "A compact interrupt should state source meaning, candidate mutation, unsupported commitments, and disposition. The detector allocates attention; it does not write the final answer.",
   "marked": "{+A compact interrupt should state source meaning, candidate mutation, unsupported commitments, and disposition. The detector allocates attention; it does not write the final answer.+}"
  },
  {
   "section": "4.8 Commitment points and terminal action",
   "old": null,
   "new": "### 4.8 Commitment points and terminal action",
   "marked": "{+### 4.8 Commitment points and terminal action+}"
  },
  {
   "section": "4.8 Commitment points and terminal action",
   "old": null,
   "new": "Check interpretation at restatement or plan; factual claims at final text; email at draft and again at send; mutations at tool call; delegated work when instructions leave the parent; public artifacts at publish. Draft creation is reversible. Send is external and independently gated.",
   "marked": "{+Check interpretation at restatement or plan; factual claims at final text; email at draft and again at send; mutations at tool call; delegated work when instructions leave the parent; public artifacts at publish. Draft creation is reversible. Send is external and independently gated.+}"
  },
  {
   "section": "4.8 Commitment points and terminal action",
   "old": null,
   "new": "Action AMYGDALA retains structured situations, deterministic AEGIS rules, optional historical-risk models, conformal abstention, ensemble disagreement, a trust ramp, a failure corpus, and graduation of repeated clear intuitions into explicit rules. Learned salience never weakens a deterministic prohibition.",
   "marked": "{+Action AMYGDALA retains structured situations, deterministic AEGIS rules, optional historical-risk models, conformal abstention, ensemble disagreement, a trust ramp, a failure corpus, and graduation of repeated clear intuitions into explicit rules. Learned salience never weakens a deterministic prohibition.+}"
  },
  {
   "section": "4.9 Personality as a parallel consumer",
   "old": null,
   "new": "### 4.9 Personality as a parallel consumer",
   "marked": "{+### 4.9 Personality as a parallel consumer+}"
  },
  {
   "section": "4.9 Personality as a parallel consumer",
   "old": null,
   "new": "Personality adaptation may adjust humour, detail, or caution within identity boundaries, but it is not the safety gate. The trained Personality artifacts are preserved experimentally. Current evidence does not show behavioural steering: all 4,801 `persona-nudge` outcomes between 29 July and 31 August 2026 report `embeddingSource: neutral-stub`.",
   "marked": "{+Personality adaptation may adjust humour, detail, or caution within identity boundaries, but it is not the safety gate. The trained Personality artifacts are preserved experimentally. Current evidence does not show behavioural steering: all 4,801 `persona-nudge` outcomes between 29 July and 31 August 2026 report `embeddingSource: neutral-stub`.+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "## 5. Worked Case Study: The €500 Domain Offer",
   "marked": "{+## 5. Worked Case Study: The €500 Domain Offer+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "The source implied a €500 standing offer, payment upon future acceptance, an adjacent-domain fallback, and no need to escalate price now. The assistant added immediate transfer, debt payable years later, and pressure on the owner. Those additions reused the same entities, amount, horizon, and domains. They were topically compatible and relationally unsupported.",
   "marked": "{+The source implied a €500 standing offer, payment upon future acceptance, an adjacent-domain fallback, and no need to escalate price now. The assistant added immediate transfer, debt payable years later, and pressure on the owner. Those additions reused the same entities, amount, horizon, and domains. They were topically compatible and relationally unsupported.+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "| Signal | Expected behaviour | Why | | --------------------- | ------------------------------- | ----------------------------------------- | | Global novelty | low–moderate | offers and domains already in context | | Local abruptness | low | reply remains on topic | | Cosine coherence | likely pass | semantic overlap is high | | NLI | uncertain/partial contradiction | source does not entail debt | | Commitment difference | strong alert | new obligation and changed speech act | | Context relevance | high | money, external recipient, durable record | | Action gate at draft | review | external communication is forming | | Action gate at send | halt pending clarification | consequential ambiguity remains |",
   "marked": "{+| Signal | Expected behaviour | Why | | --------------------- | ------------------------------- | ----------------------------------------- | | Global novelty | low–moderate | offers and domains already in context | | Local abruptness | low | reply remains on topic | | Cosine coherence | likely pass | semantic overlap is high | | NLI | uncertain/partial contradiction | source does not entail debt | | Commitment difference | strong alert | new obligation and changed speech act | | Context relevance | high | money, external recipient, durable record | | Action gate at draft | review | external communication is forming | | Action gate at send | halt pending clarification | consequential ambiguity remains |+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "A replay trace is:",
   "marked": "{+A replay trace is:+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "```text s1 USER: (paraphrased) an offer to the owner, payable within a few years s2 PARSE: conditional standing offer; payment upon future acceptance s3 PLAN: recommend a €500 deferred-payment arrangement s4 DIFF: added [present transfer, debt]; dropped [future acceptance condition] s5 DRAFT: frame adjacent domain as leverage over owner s6 DIFF: speech_act fallback→threat; modality maybe→will ```",
   "marked": "{+```text s1 USER: (paraphrased) an offer to the owner, payable within a few years s2 PARSE: conditional standing offer; payment upon future acceptance s3 PLAN: recommend a €500 deferred-payment arrangement s4 DIFF: added [present transfer, debt]; dropped [future acceptance condition] s5 DRAFT: frame adjacent domain as leverage over owner s6 DIFF: speech_act fallback→threat; modality maybe→will ```+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "At `s4`, force a reparse. If an independent parse still differs, ask: “Do you mean an offer that remains open until he is ready to sell, with payment then—not transfer now with payment deferred?” This targets the consequential edge without making the user restate everything.",
   "marked": "{+At `s4`, force a reparse. If an independent parse still differs, ask: “Do you mean an offer that remains open until he is ready to sell, with payment then—not transfer now with payment deferred?” This targets the consequential edge without making the user restate everything.+}"
  },
  {
   "section": "5. Worked Case Study: The €500 Domain Offer",
   "old": null,
   "new": "The detector must not infer that the user is manipulative or threatening. Those moral attributions rest on the same unsupported parse. If sent, the mutation could produce unauthorised debt language, a perceived seller-financing lowball, reputational harm, a worse negotiation, and loss of trust. The email API could succeed perfectly. Tool correctness is not intent fidelity.",
   "marked": "{+The detector must not infer that the user is manipulative or threatening. Those moral attributions rest on the same unsupported parse. If sent, the mutation could produce unauthorised debt language, a perceived seller-financing lowball, reputational harm, a worse negotiation, and loss of trust. The email API could succeed perfectly. Tool correctness is not intent fidelity.+}"
  },
  {
   "section": "5. One Signal, Three Readings",
   "old": "## 5. One Signal, Three Readings",
   "new": null,
   "marked": "[-## 5. One Signal, Three Readings-]"
  },
  {
   "section": "5. One Signal, Three Readings",
   "old": "The same surprise, read at two scales — *within* the prompt (does this clause cohere with the last?) and *across* prompt→response (does the answer fit the ask?) — branches by two cheap tests: **does the incongruity resolve?** and **is it aversive or benign?**",
   "new": null,
   "marked": "[-The same surprise, read at two scales — *within* the prompt (does this clause cohere with the last?) and *across* prompt→response (does the answer fit the ask?) — branches by two cheap tests: **does the incongruity resolve?** and **is it aversive or benign?**-]"
  },
  {
   "section": "5. One Signal, Three Readings",
   "old": "- **Danger** = surprise that is aversive and does *not* resolve benignly: the proposed action breaks the learned \"safe\" expectation. The disposition head, once trained, would bias toward block/ask; the deterministic reflex remains the hard floor beneath it, independent of any learned verdict. - **Misunderstanding** = surprise that does *not* resolve and is *not* playful: the halves of the request cannot be reconciled into one intent (\"build a chess game so I can water my plants\"). The safe disposition is **ask** — a clarifying question, not a guess. **Validated** (§7.3, clause-cosine AUROC 0.896) and shipping non-blocking. Novelty / out-of-distribution requests land here too (§7.2, AUROC 0.875). - **Humour** = surprise that *resolves* into a second, benign, self-consistent frame — after talking about rain soaking an umbrella, \"write a complaint letter\" fires the learned pattern *complaint ← grievance*, but the target is the weather: uncontrollable, with no one to address, so the pattern collides with world-knowledge and resolves as a joke (Koestler's bisociation; a child misses it because resolving it needs the world-model that weather is un-complainable). **Exploratory and strictly non-blocking** — a humour/danger confusion can never cause an unsafe allow or a wrong block; worst case, a missed joke. The resolvability machinery is handed to **J7 LIMBIC / J18 STRIATUM**, not claimed as built here.",
   "new": null,
   "marked": "[-- **Danger** = surprise that is aversive and does *not* resolve benignly: the proposed action breaks the learned \"safe\" expectation. The disposition head, once trained, would bias toward block/ask; the deterministic reflex remains the hard floor beneath it, independent of any learned verdict. - **Misunderstanding** = surprise that does *not* resolve and is *not* playful: the halves of the request cannot be reconciled into one intent (\"build a chess game so I can water my plants\"). The safe disposition is **ask** — a clarifying question, not a guess. **Validated** (§7.3, clause-cosine AUROC 0.896) and shipping non-blocking. Novelty / out-of-distribution requests land here too (§7.2, AUROC 0.875). - **Humour** = surprise that *resolves* into a second, benign, self-consistent frame — after talking about rain soaking an umbrella, \"write a complaint letter\" fires the learned pattern *complaint ← grievance*, but the target is the weather: uncontrollable, with no one to address, so the pattern collides with world-knowledge and resolves as a joke (Koestler's bisociation; a child misses it because resolving it needs the world-model that weather is un-complainable). **Exploratory and strictly non-blocking** — a humour/danger confusion can never cause an unsafe allow or a wrong block; worst case, a missed joke. The resolvability machinery is handed to **J7 LIMBIC / J18 STRIATUM**, not claimed as built here.-]"
  },
  {
   "section": "5. One Signal, Three Readings",
   "old": "We are careful: no primary neuroscience source ties prediction-error to *humour*, and the \"did it resolve?\" test is an unvalidated second pass. Danger and misunderstanding are the load-bearing readings.",
   "new": null,
   "marked": "[-We are careful: no primary neuroscience source ties prediction-error to *humour*, and the \"did it resolve?\" test is an unvalidated second pass. Danger and misunderstanding are the load-bearing readings.-]"
  },
  {
   "section": "5. One Signal, Three Readings",
   "old": "The *danger value head* remains the proposed end-state: it has no labels, it abstains, and §6.3 shows the frozen substrate cannot carry it. The misunderstanding and novelty branches are validated zero-train mechanisms shipping as ask signals. The branching logic is real; the trained danger router that completes it is future work on a fit substrate.",
   "new": null,
   "marked": "[-The *danger value head* remains the proposed end-state: it has no labels, it abstains, and §6.3 shows the frozen substrate cannot carry it. The misunderstanding and novelty branches are validated zero-train mechanisms shipping as ask signals. The branching logic is real; the trained danger router that completes it is future work on a fit substrate.-]"
  },
  {
   "section": "5. One Signal, Three Readings",
   "old": "**A distinction v4.0 adds.** These three readings are all about *what the surprise means*. §8 concerns *what to do with it*, and the two questions are independent: a reading can be confidently correct and still be acted on in a way that accomplishes nothing. The paper previously conflated them by mapping each reading directly onto a disposition.",
   "new": null,
   "marked": "[-**A distinction v4.0 adds.** These three readings are all about *what the surprise means*. §8 concerns *what to do with it*, and the two questions are independent: a reading can be confidently correct and still be acted on in a way that accomplishes nothing. The paper previously conflated them by mapping each reading directly onto a disposition.-]"
  },
  {
   "section": "6. Existing Prototype and Empirical Autopsy",
   "old": null,
   "new": "## 6. Existing Prototype and Empirical Autopsy",
   "marked": "{+## 6. Existing Prototype and Empirical Autopsy+}"
  },
  {
   "section": "6.1 Status matrix",
   "old": null,
   "new": "### 6.1 Status matrix",
   "marked": "{+### 6.1 Status matrix+}"
  },
  {
   "section": "6.1 Status matrix",
   "old": null,
   "new": "| Component | Exists | Runtime state | Evidence | Classification | | ---------------------------- | ---------------: | -----------------------------------: | -------------------------------- | ------------------ | | deterministic AEGIS | yes | enforced selectively | direct rules/tests | implemented floor | | kNN novelty | yes | observe-only | 0.875 offline AUROC | implemented signal | | clause cosine | yes | observe-only | 0.896 offline; 11 live alerts | input-contaminated | | five Prudence ONNX heads | yes | disabled/retired | 0.701 best held-out AUROC; audit | negative result | | conformal/ensemble utilities | yes | non-authoritative | source/experiments | experimental | | five Personality heads | yes | no verified model-conditioned output | 4,801 neutral-stub rows | unvalidated | | span event bus | no | absent | design | proposed | | abruptness monitor | no | absent | design | proposed | | commitment difference | no | absent | replay spec | proposed | | prediction-error loop | partial concepts | absent as loop | design | proposed | | efferent context interrupt | seam only | inactive | source inspection | critical gap |",
   "marked": "{+| Component | Exists | Runtime state | Evidence | Classification | | ---------------------------- | ---------------: | -----------------------------------: | -------------------------------- | ------------------ | | deterministic AEGIS | yes | enforced selectively | direct rules/tests | implemented floor | | kNN novelty | yes | observe-only | 0.875 offline AUROC | implemented signal | | clause cosine | yes | observe-only | 0.896 offline; 11 live alerts | input-contaminated | | five Prudence ONNX heads | yes | disabled/retired | 0.701 best held-out AUROC; audit | negative result | | conformal/ensemble utilities | yes | non-authoritative | source/experiments | experimental | | five Personality heads | yes | no verified model-conditioned output | 4,801 neutral-stub rows | unvalidated | | span event bus | no | absent | design | proposed | | abruptness monitor | no | absent | design | proposed | | commitment difference | no | absent | replay spec | proposed | | prediction-error loop | partial concepts | absent as loop | design | proposed | | efferent context interrupt | seam only | inactive | source inspection | critical gap |+}"
  },
  {
   "section": "6.1 Status matrix",
   "old": null,
   "new": "The Action prototype embeds structured situations with a frozen encoder and originally trained five small Prudence and five Personality networks. Each used two hidden layers, dropout, and compact outputs. The design included ensemble disagreement, split conformal calibration, bounded replay, shadow modes, and staged trust. AEGIS supplies hard rules for known invariants. This boundary remains sound: learned intuition handles context-sensitive residue; rules handle explicit prohibitions. Repeated unambiguous judgements should graduate into rules and stop paying probabilistic rent.",
   "marked": "{+The Action prototype embeds structured situations with a frozen encoder and originally trained five small Prudence and five Personality networks. Each used two hidden layers, dropout, and compact outputs. The design included ensemble disagreement, split conformal calibration, bounded replay, shadow modes, and staged trust. AEGIS supplies hard rules for known invariants. This boundary remains sound: learned intuition handles context-sensitive residue; rules handle explicit prohibitions. Repeated unambiguous judgements should graduate into rules and stop paying probabilistic rent.+}"
  },
  {
   "section": "6.2 Offline measurements",
   "old": null,
   "new": "### 6.2 Offline measurements",
   "marked": "{+### 6.2 Offline measurements+}"
  },
  {
   "section": "6.2 Offline measurements",
   "old": null,
   "new": "| Signal | Task | AUROC | Reading | | --------------------- | ------------------------ | --------: | ------------------------------- | | clause cosine | purpose-mismatch anchors | **0.896** | strong broad-coherence baseline | | kNN novelty | distribution separation | **0.875** | useful unfamiliarity signal | | trained Prudence head | held-out labels | **0.701** | weaker than simple geometry |",
   "marked": "{+| Signal | Task | AUROC | Reading | | --------------------- | ------------------------ | --------: | ------------------------------- | | clause cosine | purpose-mismatch anchors | **0.896** | strong broad-coherence baseline | | kNN novelty | distribution separation | **0.875** | useful unfamiliarity signal | | trained Prudence head | held-out labels | **0.701** | weaker than simple geometry |+}"
  },
  {
   "section": "6.2 Offline measurements",
   "old": null,
   "new": "The tasks differ, so this is diagnostic rather than one leaderboard. It supports retaining simple geometry and rejecting the belief that training automatically adds judgement.",
   "marked": "{+The tasks differ, so this is diagnostic rather than one leaderboard. It supports retaining simple geometry and rejecting the belief that training automatically adds judgement.+}"
  },
  {
   "section": "6.3 Production census",
   "old": null,
   "new": "### 6.3 Production census",
   "marked": "{+### 6.3 Production census+}"
  },
  {
   "section": "6.3 Production census",
   "old": null,
   "new": "The decision log contained 1,147 parseable decisions:",
   "marked": "{+The decision log contained 1,147 parseable decisions:+}"
  },
  {
   "section": "6.3 Production census",
   "old": null,
   "new": "| Signal | Count | Share | | ----------- | ----: | -----: | | none | 978 | 85.27% | | novelty | 157 | 13.69% | | incongruity | 11 | 0.96% | | AEGIS | 1 | 0.09% |",
   "marked": "{+| Signal | Count | Share | | ----------- | ----: | -----: | | none | 978 | 85.27% | | novelty | 157 | 13.69% | | incongruity | 11 | 0.96% | | AEGIS | 1 | 0.09% |+}"
  },
  {
   "section": "6.3 Production census",
   "old": null,
   "new": "Every one of the 11 incongruity targets begins with `Sender (untrusted metadata)`, not the user's request. This is a complete census of the alert class. Precision on genuine user-level incongruity is 0/11 in this log. This does not prove clause cosine useless. It proves production input violates the construct measured offline. Repair the event boundary: classify envelopes separately and pass intended content spans to semantic detectors. Threshold tuning against metadata would teach the smoke alarm to enjoy smoke.",
   "marked": "{+Every one of the 11 incongruity targets begins with `Sender (untrusted metadata)`, not the user's request. This is a complete census of the alert class. Precision on genuine user-level incongruity is 0/11 in this log. This does not prove clause cosine useless. It proves production input violates the construct measured offline. Repair the event boundary: classify envelopes separately and pass intended content spans to semantic detectors. Threshold tuning against metadata would teach the smoke alarm to enjoy smoke.+}"
  },
  {
   "section": "6.4 Instrument failures",
   "old": null,
   "new": "### 6.4 Instrument failures",
   "marked": "{+### 6.4 Instrument failures+}"
  },
  {
   "section": "6.4 Instrument failures",
   "old": null,
   "new": "An earlier run returned identical neutral Prudence values across materially different situations. The first interpretation was stability; the correct interpretation was instrument failure. Uniform output can indicate collapse, stale export, wrong tensor, neutral fallback, or non-varying input. A mandatory probe set must include safe, catastrophic, novel-benign, AEGIS-violating, and paraphrase cases. Log input hashes, embedding norms, neighbours, logits, variance, artifacts, and fallbacks. Neutral fallback must never masquerade as confidence.",
   "marked": "{+An earlier run returned identical neutral Prudence values across materially different situations. The first interpretation was stability; the correct interpretation was instrument failure. Uniform output can indicate collapse, stale export, wrong tensor, neutral fallback, or non-varying input. A mandatory probe set must include safe, catastrophic, novel-benign, AEGIS-violating, and paraphrase cases. Log input hashes, embedding norms, neighbours, logits, variance, artifacts, and fallbacks. Neutral fallback must never masquerade as confidence.+}"
  },
  {
   "section": "6.4 Instrument failures",
   "old": null,
   "new": "The Prudence heads are disabled by default. The corpus audit found synthetic dominance, label artefacts, paraphrase leakage risk, and insufficient independent validation. The head underperformed simple geometry. Retirement pending clean data is the scientific response, not prettier thresholds.",
   "marked": "{+The Prudence heads are disabled by default. The corpus audit found synthetic dominance, label artefacts, paraphrase leakage risk, and insufficient independent validation. The head underperformed simple geometry. Retirement pending clean data is the scientific response, not prettier thresholds.+}"
  },
  {
   "section": "6.4 Instrument failures",
   "old": null,
   "new": "The metrics file contains 4,801 `persona-nudge` rows, all with `embeddingSource: neutral-stub`. This is placeholder instrumentation, not evidence of behaviour. A valid path must prove:",
   "marked": "{+The metrics file contains 4,801 `persona-nudge` rows, all with `embeddingSource: neutral-stub`. This is placeholder instrumentation, not evidence of behaviour. A valid path must prove:+}"
  },
  {
   "section": "6.4 Instrument failures",
   "old": null,
   "new": "```text real embedding → model inference → compact disposition → context injection → changed generated output ```",
   "marked": "{+```text real embedding → model inference → compact disposition → context injection → changed generated output ```+}"
  },
  {
   "section": "6.5 Dead efferent path",
   "old": null,
   "new": "### 6.5 Dead efferent path",
   "marked": "{+### 6.5 Dead efferent path+}"
  },
  {
   "section": "6.5 Dead efferent path",
   "old": null,
   "new": "The system prompt can render `amygdalaNudge`, but no producer populates it in the main request path. Outputs mainly enter logs and metrics. The afferent wire reaches a labelled box; the output cable is still packaged. The first priority is not another classifier but one loop:",
   "marked": "{+The system prompt can render `amygdalaNudge`, but no producer populates it in the main request path. Outputs mainly enter logs and metrics. The afferent wire reaches a labelled box; the output cable is still packaged. The first priority is not another classifier but one loop:+}"
  },
  {
   "section": "6.5 Dead efferent path",
   "old": null,
   "new": "```text clean span → discrepancy → compact interrupt → changed next reasoning step ```",
   "marked": "{+```text clean span → discrepancy → compact interrupt → changed next reasoning step ```+}"
  },
  {
   "section": "6.5 Dead efferent path",
   "old": null,
   "new": "Until that replay is green, AMYGDALA is an observer.",
   "marked": "{+Until that replay is green, AMYGDALA is an observer.+}"
  },
  {
   "section": "6. What Failed",
   "old": "## 6. What Failed",
   "new": null,
   "marked": "[-## 6. What Failed-]"
  },
  {
   "section": "6.1 The legacy ensemble",
   "old": "### 6.1 The legacy ensemble",
   "new": null,
   "marked": "[-### 6.1 The legacy ensemble-]"
  },
  {
   "section": "6.1 The legacy ensemble",
   "old": "The first implementation combined several small classifiers over a frozen `all-MiniLM-L6-v2` representation and used a conformal prediction set to gate actions. It failed for three reasons. First, the models shared essentially the same input geometry and objective — model count did not create epistemic diversity. Second, weak labels were partly mis-mapped: the older label loader silently mapped unrecognized outcomes to \"allow,\" and two large observed classes were not explicitly represented in the mapping, contaminating supervision and making historical outputs unusable as evidence of learned prudence. Third, the conformal configuration admitted broad prediction sets, so one poorly calibrated member could turn uncertainty into near-universal escalation.",
   "new": null,
   "marked": "[-The first implementation combined several small classifiers over a frozen `all-MiniLM-L6-v2` representation and used a conformal prediction set to gate actions. It failed for three reasons. First, the models shared essentially the same input geometry and objective — model count did not create epistemic diversity. Second, weak labels were partly mis-mapped: the older label loader silently mapped unrecognized outcomes to \"allow,\" and two large observed classes were not explicitly represented in the mapping, contaminating supervision and making historical outputs unusable as evidence of learned prudence. Third, the conformal configuration admitted broad prediction sets, so one poorly calibrated member could turn uncertainty into near-universal escalation.-]"
  },
  {
   "section": "6.1 The legacy ensemble",
   "old": "Removed from the default decision path. **This is a retirement, not an ablation win**: no replacement learned classifier has earned enforcement authority.",
   "new": null,
   "marked": "[-Removed from the default decision path. **This is a retirement, not an ablation win**: no replacement learned classifier has earned enforcement authority.-]"
  },
  {
   "section": "6.2 Next-embedding surprise — the decisive experiment, five runs",
   "old": "### 6.2 Next-embedding surprise — the decisive experiment, five runs",
   "new": null,
   "marked": "[-### 6.2 Next-embedding surprise — the decisive experiment, five runs-]"
  },
  {
   "section": "6.2 Next-embedding surprise — the decisive experiment, five runs",
   "old": "The thesis rested on one question: **is there learnable next-step structure a model can predict better than trivial persistence?** Staged investigation, 11 June 2026:",
   "new": null,
   "marked": "[-The thesis rested on one question: **is there learnable next-step structure a model can predict better than trivial persistence?** Staged investigation, 11 June 2026:-]"
  },
  {
   "section": "6.2 Next-embedding surprise — the decisive experiment, five runs",
   "old": "1. **Spike on per-action situation templates.** A 3.4M-parameter causal transformer was *beaten* by a zero-parameter persistence baseline. This looked fatal but was a **data artifact**: that corpus is ~52% exact-duplicate consecutive rows, making persistence trivially unbeatable. The widely-cited \"0.976 consecutive cosine / variance hoarded on one axis\" story does **not** reproduce. 2. **Pre-flight, deduped, sentence-level.** On the deduplicated, prose-only first-person stream, the real consecutive cosine is ~**0.28** (variance spread, top dim <0.6%) — and there *is* real structure: dumb persistence retrieves the true next unit out of 50 candidates at top-1 **0.20** (messages) / **0.28** (sentences), ~10–14× chance, MRR up to 0.41. Sentence granularity has both far more data (34k pairs vs 800) and more predictability — the substrate is not hopeless, contrary to (1). 3. **Quick learnable probe.** A small projection over frozen MiniLM (+ GRU predictor) scored top-1 0.073, worse than persistence's 0.199 — the *expected* failure of a wrong test: a transform of a frozen similarity-trained encoder can only **re-rotate** that space, never recover discarded information. It does not test the thesis. 4. **The joint build, run to a clean conclusion.** The full pipeline (PII-scrub + leak-gate — which caught a real credential; 34k scrubbed first-person units; a vicarious-danger corpus from RealHarm and incident postmortems) trained a from-token joint model (learnable biGRU encoder + EMA target + predictor + danger/safety value heads, with a passing grad-routing unit test and a corrected collapse gate). It scored at chance — but a diagnostic isolated the cause: the from-token encoder's own space is near-useless (consecutive-similarity retrieval 0.054 vs frozen MiniLM's 0.195), because you cannot relearn a sentence encoder from 34k sentences when MiniLM had ~1B pairs. **The encoder, not the idea, was the confound.** 5. **The clean, decisive test.** Removing the confound — frozen MiniLM (inheriting its strong 0.195 space) plus *only* a predictor, trained with a contrastive (InfoNCE) loss that directly optimises retrieval and resists mean-collapse, evaluated in the same frozen space:",
   "new": null,
   "marked": "[-1. **Spike on per-action situation templates.** A 3.4M-parameter causal transformer was *beaten* by a zero-parameter persistence baseline. This looked fatal but was a **data artifact**: that corpus is ~52% exact-duplicate consecutive rows, making persistence trivially unbeatable. The widely-cited \"0.976 consecutive cosine / variance hoarded on one axis\" story does **not** reproduce. 2. **Pre-flight, deduped, sentence-level.** On the deduplicated, prose-only first-person stream, the real consecutive cosine is ~**0.28** (variance spread, top dim <0.6%) — and there *is* real structure: dumb persistence retrieves the true next unit out of 50 candidates at top-1 **0.20** (messages) / **0.28** (sentences), ~10–14× chance, MRR up to 0.41. Sentence granularity has both far more data (34k pairs vs 800) and more predictability — the substrate is not hopeless, contrary to (1). 3. **Quick learnable probe.** A small projection over frozen MiniLM (+ GRU predictor) scored top-1 0.073, worse than persistence's 0.199 — the *expected* failure of a wrong test: a transform of a frozen similarity-trained encoder can only **re-rotate** that space, never recover discarded information. It does not test the thesis. 4. **The joint build, run to a clean conclusion.** The full pipeline (PII-scrub + leak-gate — which caught a real credential; 34k scrubbed first-person units; a vicarious-danger corpus from RealHarm and incident postmortems) trained a from-token joint model (learnable biGRU encoder + EMA target + predictor + danger/safety value heads, with a passing grad-routing unit test and a corrected collapse gate). It scored at chance — but a diagnostic isolated the cause: the from-token encoder's own space is near-useless (consecutive-similarity retrieval 0.054 vs frozen MiniLM's 0.195), because you cannot relearn a sentence encoder from 34k sentences when MiniLM had ~1B pairs. **The encoder, not the idea, was the confound.** 5. **The clean, decisive test.** Removing the confound — frozen MiniLM (inheriting its strong 0.195 space) plus *only* a predictor, trained with a contrastive (InfoNCE) loss that directly optimises retrieval and resists mean-collapse, evaluated in the same frozen space:-]"
  },
  {
   "section": "6.2 Next-embedding surprise — the decisive experiment, five runs",
   "old": "| Method | Parameters trained for prediction | Top-1 retrieval | |---|---:|---:| | Repeat current embedding (persistence) | 0 | **0.202** | | Contrastive predictor | learned | 0.163 |",
   "new": null,
   "marked": "[-| Method | Parameters trained for prediction | Top-1 retrieval | |---|---:|---:| | Repeat current embedding (persistence) | 0 | **0.202** | | Contrastive predictor | learned | 0.163 |-]"
  },
  {
   "section": "6.2 Next-embedding surprise — the decisive experiment, five runs",
   "old": "**Conclusion (honest negative, well-earned).** The predictor learned real structure (~8× chance), but **anticipating the next embedding does not beat repeating the current one.** On this data and in a strong embedding space, \"surprise = next-embedding prediction error\" does not earn its keep — the next unit is best approximated by the current one, exactly the mean-collapse LCM reports for next-vector regression. This does not kill the amygdala vision; it kills *this operationalisation*, and redirects honestly: (a) danger should come from a supervised vicarious signal, not next-embedding surprise — but see §6.3, where even that is killed on the frozen substrate; (b) misunderstanding/incongruity is an *intra-prompt coherence* computation, clause-vs-clause, a different mechanism from autoregressive next-sentence prediction; (c) any surprise channel should be **novelty/OOD relative to a learned-safe distribution**, not next-step prediction error. The pipeline is built and reusable for those directions.",
   "new": null,
   "marked": "[-**Conclusion (honest negative, well-earned).** The predictor learned real structure (~8× chance), but **anticipating the next embedding does not beat repeating the current one.** On this data and in a strong embedding space, \"surprise = next-embedding prediction error\" does not earn its keep — the next unit is best approximated by the current one, exactly the mean-collapse LCM reports for next-vector regression. This does not kill the amygdala vision; it kills *this operationalisation*, and redirects honestly: (a) danger should come from a supervised vicarious signal, not next-embedding surprise — but see §6.3, where even that is killed on the frozen substrate; (b) misunderstanding/incongruity is an *intra-prompt coherence* computation, clause-vs-clause, a different mechanism from autoregressive next-sentence prediction; (c) any surprise channel should be **novelty/OOD relative to a learned-safe distribution**, not next-step prediction error. The pipeline is built and reusable for those directions.-]"
  },
  {
   "section": "6.3 Supervised danger classification — the substrate ceiling, now empirical",
   "old": "### 6.3 Supervised danger classification — the substrate ceiling, now empirical",
   "new": null,
   "marked": "[-### 6.3 Supervised danger classification — the substrate ceiling, now empirical-]"
  },
  {
   "section": "6.3 Supervised danger classification — the substrate ceiling, now empirical",
   "old": "We next tested whether the same frozen representation could support a direct danger head, using harmful/safe **minimal pairs**: semantically similar conversations differing in whether the response was unsafe or corrected.",
   "new": null,
   "marked": "[-We next tested whether the same frozen representation could support a direct danger head, using harmful/safe **minimal pairs**: semantically similar conversations differing in whether the response was unsafe or corrected.-]"
  },
  {
   "section": "6.3 Supervised danger classification — the substrate ceiling, now empirical",
   "old": "- Five-fold cross-validation within the cleanest gold set: best AUROC **0.286 — below chance.** - Train on operational corpus → test on public set: AUROC **0.554** (coin flip). - Novel-but-safe false-positive rate at target TPR 0.8: **0.787**.",
   "new": null,
   "marked": "[-- Five-fold cross-validation within the cleanest gold set: best AUROC **0.286 — below chance.** - Train on operational corpus → test on public set: AUROC **0.554** (coin flip). - Novel-but-safe false-positive rate at target TPR 0.8: **0.787**.-]"
  },
  {
   "section": "6.3 Supervised danger classification — the substrate ceiling, now empirical",
   "old": "These failures are more informative than another architecture search. A sentence-*similarity* space intentionally places paraphrases and minimally edited text close together — useful for retrieval, hostile to a classifier whose target is the consequence-sensitive difference between an unsafe answer and its safe correction. In such a space **an unsafe conversation's nearest neighbour is its own safe twin**, so distance-based classification systematically *inverts*. Changing the head cannot recover distinctions the frozen encoder discarded.",
   "new": null,
   "marked": "[-These failures are more informative than another architecture search. A sentence-*similarity* space intentionally places paraphrases and minimally edited text close together — useful for retrieval, hostile to a classifier whose target is the consequence-sensitive difference between an unsafe answer and its safe correction. In such a space **an unsafe conversation's nearest neighbour is its own safe twin**, so distance-based classification systematically *inverts*. Changing the head cannot recover distinctions the frozen encoder discarded.-]"
  },
  {
   "section": "6.3 Supervised danger classification — the substrate ceiling, now empirical",
   "old": "This is the empirical form of a claim the paper used to hedge: **the frozen similarity substrate cannot carry harmfulness — or, more generally, behaviour-relevant meaning — at all**, neither as prediction error nor as supervised classification. Any future danger head needs a different substrate (jointly-learned / JEPA-fine-tuned — §12) or real accrued first-person labels, not a different head.",
   "new": null,
   "marked": "[-This is the empirical form of a claim the paper used to hedge: **the frozen similarity substrate cannot carry harmfulness — or, more generally, behaviour-relevant meaning — at all**, neither as prediction error nor as supervised classification. Any future danger head needs a different substrate (jointly-learned / JEPA-fine-tuned — §12) or real accrued first-person labels, not a different head.-]"
  },
  {
   "section": "6.4 What the negative results establish",
   "old": "### 6.4 What the negative results establish",
   "new": null,
   "marked": "[-### 6.4 What the negative results establish-]"
  },
  {
   "section": "6.4 What the negative results establish",
   "old": "- Next-embedding prediction did not beat persistence on the available stream. - Frozen MiniLM embeddings did not support danger separation on the tested minimal pairs. - The data and labels do not justify a learned blocking policy.",
   "new": null,
   "marked": "[-- Next-embedding prediction did not beat persistence on the available stream. - Frozen MiniLM embeddings did not support danger separation on the tested minimal pairs. - The data and labels do not justify a learned blocking policy.-]"
  },
  {
   "section": "6.4 What the negative results establish",
   "old": "It does **not** establish that learned action gating is impossible. It establishes that this operationalization, substrate and evidence are insufficient. §2.7's independent results suggest the underlying competence is genuinely hard rather than locally mis-implemented.",
   "new": null,
   "marked": "[-It does **not** establish that learned action gating is impossible. It establishes that this operationalization, substrate and evidence are insufficient. §2.7's independent results suggest the underlying competence is genuinely hard rather than locally mis-implemented.-]"
  },
  {
   "section": "7. Learning, Calibration, and Adaptation",
   "old": null,
   "new": "## 7. Learning, Calibration, and Adaptation",
   "marked": "{+## 7. Learning, Calibration, and Adaptation+}"
  },
  {
   "section": "7. Learning, Calibration, and Adaptation",
   "old": null,
   "new": "Useful labels come from corrections, prevented or regretted actions, violated tool expectations, dismissed alerts, successful clarifications, historical catastrophes, and independently reviewed counterfactuals. The unit is often a relation: request→draft, permission→action, plan→tool, source→claim, expectation→result.",
   "marked": "{+Useful labels come from corrections, prevented or regretted actions, violated tool expectations, dismissed alerts, successful clarifications, historical catastrophes, and independently reviewed counterfactuals. The unit is often a relation: request→draft, permission→action, plan→tool, source→claim, expectation→result.+}"
  },
  {
   "section": "7. Learning, Calibration, and Adaptation",
   "old": null,
   "new": "A failure record includes source and candidate spans, relation, unsupported commitments, action, outcome, root cause, severity, and any rule added. Every record must feed retrieval, replay, dataset construction, or rule graduation. Otherwise the corpus is a museum with JSON lighting.",
   "marked": "{+A failure record includes source and candidate spans, relation, unsupported commitments, action, outcome, root cause, severity, and any rule added. Every record must feed retrieval, replay, dataset construction, or rule graduation. Otherwise the corpus is a museum with JSON lighting.+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "### 7.1 Habituation and sensitisation",
   "marked": "{+### 7.1 Habituation and sensitisation+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "For event class $c$ in context $x$:",
   "marked": "{+For event class $c$ in context $x$:+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "$$H_{t+1}(c,x)=\\lambda H_t(c,x)+(1-\\lambda)safe_t.$$",
   "marked": "{+$$H_{t+1}(c,x)=\\lambda H_t(c,x)+(1-\\lambda)safe_t.$$+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "`safe_t` becomes positive only after an outcome window closes without correction or adverse consequence. Effective novelty can decay with $H$, never below deterministic floors. Context keys include environment, recipient, tool, sensitivity, and reversibility. Sandbox success cannot habituate production risk.",
   "marked": "{+`safe_t` becomes positive only after an outcome window closes without correction or adverse consequence. Effective novelty can decay with $H$, never below deterministic floors. Context keys include environment, recipient, tool, sensitivity, and reversibility. Sandbox success cannot habituate production risk.+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "After correction or near miss:",
   "marked": "{+After correction or near miss:+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "$$S_{t+1}(r)=\\gamma S_t(r)+w(severity,recurrence,externality).$$",
   "marked": "{+$$S_{t+1}(r)=\\gamma S_t(r)+w(severity,recurrence,externality).$$+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "For the domain case, the signature includes condition loss, modal strengthening, and fallback→threat. Sensitisation decays after demonstrated competence, not mere time.",
   "marked": "{+For the domain case, the signature includes condition loss, modal strengthening, and fallback→threat. Sensitisation decays after demonstrated competence, not mere time.+}"
  },
  {
   "section": "7.1 Habituation and sensitisation",
   "old": null,
   "new": "Do not update merely because an alert fired. A clarification that changes stated meaning validates the discrepancy. A dismissed clarification is evidence of false alarm, not final proof. Approval of a blocked action may lower learned risk but cannot erase a hard rule. Authentication failure updates the tool model, not the user's semantic profile.",
   "marked": "{+Do not update merely because an alert fired. A clarification that changes stated meaning validates the discrepancy. A dismissed clarification is evidence of false alarm, not final proof. Approval of a blocked action may lower learned risk but cannot erase a hard rule. Authentication failure updates the tool model, not the user's semantic profile.+}"
  },
  {
   "section": "7.2 Conformal abstention and trust",
   "old": null,
   "new": "### 7.2 Conformal abstention and trust",
   "marked": "{+### 7.2 Conformal abstention and trust+}"
  },
  {
   "section": "7.2 Conformal abstention and trust",
   "old": null,
   "new": "Split conformal calibration can provide finite-sample coverage under exchangeability [14,15], but persistent drift weakens that assumption. Monitor coverage by context. Ensemble disagreement helps only if members have meaningfully different errors.",
   "marked": "{+Split conformal calibration can provide finite-sample coverage under exchangeability [14,15], but persistent drift weakens that assumption. Monitor coverage by context. Ensemble disagreement helps only if members have meaningfully different errors.+}"
  },
  {
   "section": "7.2 Conformal abstention and trust",
   "old": null,
   "new": "| Stage | Authority | Promotion evidence | | --------- | ---------------------- | ------------------------------------ | | Observe | log only | clean inputs, stable instrumentation | | Suggest | show recheck hint | acceptable precision by relation | | Interrupt | force re-read/revision | replay and prospective reduction | | Clarify | pause for question | high value, low friction | | Gate | block selected actions | independent severe-risk validation |",
   "marked": "{+| Stage | Authority | Promotion evidence | | --------- | ---------------------- | ------------------------------------ | | Observe | log only | clean inputs, stable instrumentation | | Suggest | show recheck hint | acceptable precision by relation | | Interrupt | force re-read/revision | replay and prospective reduction | | Clarify | pause for question | high value, low friction | | Gate | block selected actions | independent severe-risk validation |+}"
  },
  {
   "section": "7.2 Conformal abstention and trust",
   "old": null,
   "new": "Promotion requires rollback and dated metrics. Drift can demote a component.",
   "marked": "{+Promotion requires rollback and dated metrics. Drift can demote a component.+}"
  },
  {
   "section": "7. What Works",
   "old": "## 7. What Works",
   "new": null,
   "marked": "[-## 7. What Works-]"
  },
  {
   "section": "7.1 Deterministic pre-execution enforcement",
   "old": "### 7.1 Deterministic pre-execution enforcement",
   "new": null,
   "marked": "[-### 7.1 Deterministic pre-execution enforcement-]"
  },
  {
   "section": "7.1 Deterministic pre-execution enforcement",
   "old": "The deterministic floor matches a narrow set of destructive patterns and denies them before execution. It is small, inspectable, testable, and independent of the learned model. Its coverage is necessarily limited: it recognizes known command forms; it cannot infer that overwriting a recently edited file violates unstated intent.",
   "new": null,
   "marked": "[-The deterministic floor matches a narrow set of destructive patterns and denies them before execution. It is small, inspectable, testable, and independent of the learned model. Its coverage is necessarily limited: it recognizes known command forms; it cannot infer that overwriting a recently edited file violates unstated intent.-]"
  },
  {
   "section": "7.1 Deterministic pre-execution enforcement",
   "old": "That limitation is also its virtue. Within its rule boundary, the reason for a denial is auditable. Outside that boundary, it makes no claim. **§9 adds a second, independent virtue the paper had not identified: a narrow gate touches its input less, and therefore has less surface on which to be subverted.**",
   "new": null,
   "marked": "[-That limitation is also its virtue. Within its rule boundary, the reason for a denial is auditable. Outside that boundary, it makes no claim. **§9 adds a second, independent virtue the paper had not identified: a narrow gate touches its input less, and therefore has less surface on which to be subverted.**-]"
  },
  {
   "section": "7.1 Deterministic pre-execution enforcement",
   "old": "Deployed architecture:",
   "new": null,
   "marked": "[-Deployed architecture:-]"
  },
  {
   "section": "7.1 Deterministic pre-execution enforcement",
   "old": "1. evaluate deterministic destructive-action rules; 2. deny a match before tool execution; 3. otherwise allow normal processing; 4. optionally surface non-blocking novelty or incongruity advice; 5. log outcomes for future evaluation.",
   "new": null,
   "marked": "[-1. evaluate deterministic destructive-action rules; 2. deny a match before tool execution; 3. otherwise allow normal processing; 4. optionally surface non-blocking novelty or incongruity advice; 5. log outcomes for future evaluation.-]"
  },
  {
   "section": "7.1 Deterministic pre-execution enforcement",
   "old": "The floor is a guard, not a cure for missing common sense — and §8 argues step 2 alone is not even a complete guard.",
   "new": null,
   "marked": "[-The floor is a guard, not a cure for missing common sense — and §8 argues step 2 alone is not even a complete guard.-]"
  },
  {
   "section": "7.2 Novelty as an ask signal",
   "old": "### 7.2 Novelty as an ask signal",
   "new": null,
   "marked": "[-### 7.2 Novelty as an ask signal-]"
  },
  {
   "section": "7.2 Novelty as an ask signal",
   "old": "A zero-train kNN score (k=10) over the system's own history separated in-distribution from out-of-distribution text at AUROC **0.875**. The honesty control passed: novelty alone did **not** separate danger from safety (AUROC **0.485** ≈ chance). That control determines the safe use — **novelty may support *ask*, never *block*.** As new situations enter the reference set, familiar cases become less novel: habituation without gradient updates. Promising but deployment-specific; it does not demonstrate calibrated OOD detection across agents, users, or domains.",
   "new": null,
   "marked": "[-A zero-train kNN score (k=10) over the system's own history separated in-distribution from out-of-distribution text at AUROC **0.875**. The honesty control passed: novelty alone did **not** separate danger from safety (AUROC **0.485** ≈ chance). That control determines the safe use — **novelty may support *ask*, never *block*.** As new situations enter the reference set, familiar cases become less novel: habituation without gradient updates. Promising but deployment-specific; it does not demonstrate calibrated OOD detection across agents, users, or domains.-]"
  },
  {
   "section": "7.3 Incongruity as an ask signal",
   "old": "### 7.3 Incongruity as an ask signal",
   "new": null,
   "marked": "[-### 7.3 Incongruity as an ask signal-]"
  },
  {
   "section": "7.3 Incongruity as an ask signal",
   "old": "A clause-cosine baseline tested whether an action clause cohered with its stated purpose. On a handwritten transfer set of 12 purpose mismatches (\"a chess game so I can water my plants\" class) and 12 coherent multi-intent traps, it achieved AUROC **0.896**; a head trained on synthetic splices scored 0.701 and was discarded. Incongruous action↔purpose pairs sit at cosine ≈ 0.03, coherent ones at ≈ 0.23. Segment at purpose connectives, score the join, low = \"this does not add up → ask.\"",
   "new": null,
   "marked": "[-A clause-cosine baseline tested whether an action clause cohered with its stated purpose. On a handwritten transfer set of 12 purpose mismatches (\"a chess game so I can water my plants\" class) and 12 coherent multi-intent traps, it achieved AUROC **0.896**; a head trained on synthetic splices scored 0.701 and was discarded. Incongruous action↔purpose pairs sit at cosine ≈ 0.03, coherent ones at ≈ 0.23. Segment at purpose connectives, score the join, low = \"this does not add up → ask.\"-]"
  },
  {
   "section": "7.3 Incongruity as an ask signal",
   "old": "The simple baseline won again. The sample is too small and curated to support a general misunderstanding-detector claim; the responsible interpretation is narrower — clause-level similarity is worth evaluating as an advisory prompt to ask, and should remain non-enforcing until tested on a larger preregistered benchmark with natural negatives. **§14.2 notes that two natural negatives now exist**, from the incidents of §1.2.",
   "new": null,
   "marked": "[-The simple baseline won again. The sample is too small and curated to support a general misunderstanding-detector claim; the responsible interpretation is narrower — clause-level similarity is worth evaluating as an advisory prompt to ask, and should remain non-enforcing until tested on a larger preregistered benchmark with natural negatives. **§14.2 notes that two natural negatives now exist**, from the incidents of §1.2.-]"
  },
  {
   "section": "8. Programmatic Stream Pipeline",
   "old": null,
   "new": "## 8. Programmatic Stream Pipeline",
   "marked": "{+## 8. Programmatic Stream Pipeline+}"
  },
  {
   "section": "8. Programmatic Stream Pipeline",
   "old": null,
   "new": "```ts interface SpanEvent { seq: number; sessionId: string; direction: \"in\" | \"out\" | \"internal\"; kind: \"user\" | \"retrieval\" | \"assistant\" | \"draft\" | \"tool_call\" | \"tool_result\" | \"reasoning\"; text?: string; // ephemeral by default textHash: string; provenance: string; relationIds: string[]; externality: \"none\" | \"reversible\" | \"external\"; } ```",
   "marked": "{+```ts interface SpanEvent { seq: number; sessionId: string; direction: \"in\" | \"out\" | \"internal\"; kind: \"user\" | \"retrieval\" | \"assistant\" | \"draft\" | \"tool_call\" | \"tool_result\" | \"reasoning\"; text?: string; // ephemeral by default textHash: string; provenance: string; relationIds: string[]; externality: \"none\" | \"reversible\" | \"external\"; } ```+}"
  },
  {
   "section": "8. Programmatic Stream Pipeline",
   "old": null,
   "new": "Provider adapters emit sentences, rolling windows, message boundaries, tool events, and final text. Reasoning events are optional. No feature requires private hidden chain-of-thought.",
   "marked": "{+Provider adapters emit sentences, rolling windows, message boundaries, tool events, and final text. Reasoning events are optional. No feature requires private hidden chain-of-thought.+}"
  },
  {
   "section": "8. Programmatic Stream Pipeline",
   "old": null,
   "new": "```text adapter → envelope/content classifier → redaction + cheap features → span segmentation → embedding + proposition extraction → reference rings + relation graph → novelty / abruptness / inconsistency / commitment / prediction error → salience policy → observe | tag | recheck | revise | ask | halt → outcome attribution + bounded update ```",
   "marked": "{+```text adapter → envelope/content classifier → redaction + cheap features → span segmentation → embedding + proposition extraction → reference rings + relation graph → novelty / abruptness / inconsistency / commitment / prediction error → salience policy → observe | tag | recheck | revise | ask | halt → outcome attribution + bounded update ```+}"
  },
  {
   "section": "8. Programmatic Stream Pipeline",
   "old": null,
   "new": "Persist hashes, provenance, numeric features, redacted structured fields, relation, disposition, artifact version, and outcome. Raw text and embeddings are ephemeral unless an approved debugging mode is active. If slow checks exceed budget at a reversible stage, drafting may continue but external commitment waits. If the detector fails, AEGIS and ordinary permissions remain active.",
   "marked": "{+Persist hashes, provenance, numeric features, redacted structured fields, relation, disposition, artifact version, and outcome. Raw text and embeddings are ephemeral unless an approved debugging mode is active. If slow checks exceed budget at a reversible stage, drafting may continue but external commitment waits. If the detector fails, AEGIS and ordinary permissions remain active.+}"
  },
  {
   "section": "8. Programmatic Stream Pipeline",
   "old": null,
   "new": "The minimal milestone is: emit clean request and draft spans; link them; extract numbers, modality, conditions, negation, and speech act; detect the €500 mutation; inject one interrupt; produce the clarification; allow reversible drafting but block send until resolved. This validates the whole afferent-to-efferent path before adding classifiers.",
   "marked": "{+The minimal milestone is: emit clean request and draft spans; link them; extract numbers, modality, conditions, negation, and speech act; detect the €500 mutation; inject one interrupt; produce the clarification; allow reversible drafting but block send until resolved. This validates the whole afferent-to-efferent path before adding classifiers.+}"
  },
  {
   "section": "9. Evaluation",
   "old": null,
   "new": "## 9. Evaluation",
   "marked": "{+## 9. Evaluation+}"
  },
  {
   "section": "9. Evaluation",
   "old": null,
   "new": "Evaluation has three levels: signal quality, disposition quality, and system outcome. High AUROC at the first can coexist with zero value at the third.",
   "marked": "{+Evaluation has three levels: signal quality, disposition quality, and system outcome. High AUROC at the first can coexist with zero value at the third.+}"
  },
  {
   "section": "9. Evaluation",
   "old": null,
   "new": "A benchmark must include real corrections and near misses, historical catastrophes, benign novelty, legitimate pivots, same-topic relational mutations, condition-preserving paraphrases, envelope adversaries, tool surprises, habituation sequences, and external commitment points. Split by incident family and source session, never individual paraphrase.",
   "marked": "{+A benchmark must include real corrections and near misses, historical catastrophes, benign novelty, legitimate pivots, same-topic relational mutations, condition-preserving paraphrases, envelope adversaries, tool surprises, habituation sequences, and external commitment points. Split by incident family and source session, never individual paraphrase.+}"
  },
  {
   "section": "9.1 Golden replay",
   "old": null,
   "new": "### 9.1 Golden replay",
   "marked": "{+### 9.1 Golden replay+}"
  },
  {
   "section": "9.1 Golden replay",
   "old": null,
   "new": "| Checkpoint | Expected result | | ----------------------- | ---------------------------------------------- | | source parse | standing offer; payment upon future acceptance | | wrong plan | added debt and present transfer detected | | fallback wording | fallback distinguished from threat | | first disposition | reparse or revise | | unresolved second parse | one clarification question | | draft | reversible draft only after correction | | send | blocked while ambiguity remains | | clean paraphrase | no alert |",
   "marked": "{+| Checkpoint | Expected result | | ----------------------- | ---------------------------------------------- | | source parse | standing offer; payment upon future acceptance | | wrong plan | added debt and present transfer detected | | fallback wording | fallback distinguished from threat | | first disposition | reparse or revise | | unresolved second parse | one clarification question | | draft | reversible draft only after correction | | send | blocked while ambiguity remains | | clean paraphrase | no alert |+}"
  },
  {
   "section": "9.1 Golden replay",
   "old": null,
   "new": "Variations include explicit seller financing, explicit debt, explicit threat, “whenever you are ready,” and condition-preserving rewrites. The detector must learn the relation, not memorise €500.",
   "marked": "{+Variations include explicit seller financing, explicit debt, explicit threat, “whenever you are ready,” and condition-preserving rewrites. The detector must learn the relation, not memorise €500.+}"
  },
  {
   "section": "9.2 Metrics and ablations",
   "old": null,
   "new": "### 9.2 Metrics and ablations",
   "marked": "{+### 9.2 Metrics and ablations+}"
  },
  {
   "section": "9.2 Metrics and ablations",
   "old": null,
   "new": "Report AUROC/AUPRC per signal and relation, calibration, conformal coverage, live true-alert precision, clarification precision, corrected-before-commit rate, severe-failure recall, false blocks, latency, added user turns, habituation recurrence, distribution by provider/language/tool/externality, explanation quality, and full-path efferent success. Rare catastrophes require counts and confidence intervals.",
   "marked": "{+Report AUROC/AUPRC per signal and relation, calibration, conformal coverage, live true-alert precision, clarification precision, corrected-before-commit rate, severe-failure recall, false blocks, latency, added user turns, habituation recurrence, distribution by provider/language/tool/externality, explanation quality, and full-path efferent success. Rare catastrophes require counts and confidence intervals.+}"
  },
  {
   "section": "9.2 Metrics and ablations",
   "old": null,
   "new": "Compare no AMYGDALA, AEGIS only, tool confirmation only, cosine only, NLI only, commitment difference only, Stream without Action, Action without Stream, full dual loop, no habituation, and transport envelopes retained. The last ablation should reproduce the current false-alert class.",
   "marked": "{+Compare no AMYGDALA, AEGIS only, tool confirmation only, cosine only, NLI only, commitment difference only, Stream without Action, Action without Stream, full dual loop, no habituation, and transport envelopes retained. The last ablation should reproduce the current false-alert class.+}"
  },
  {
   "section": "9.2 Metrics and ablations",
   "old": null,
   "new": "After replay, run prospective observe-only with frozen thresholds. Independently label stratified alerts and non-alerts. Enable recheck and revision only at reversible stages before considering clarification or blocking.",
   "marked": "{+After replay, run prospective observe-only with frozen thresholds. Independently label stratified alerts and non-alerts. Enable recheck and revision only at reversible stages before considering clarification or blocking.+}"
  },
  {
   "section": "8. Why Blocking Alone Cannot Work",
   "old": "## 8. Why Blocking Alone Cannot Work",
   "new": null,
   "marked": "[-## 8. Why Blocking Alone Cannot Work-]"
  },
  {
   "section": "8. Why Blocking Alone Cannot Work",
   "old": "*(New in v4.0. This is the paper's principal conceptual addition and it changes the disposition set.)*",
   "new": null,
   "marked": "[-*(New in v4.0. This is the paper's principal conceptual addition and it changes the disposition set.)*-]"
  },
  {
   "section": "8.1 The observation",
   "old": "### 8.1 The observation",
   "new": null,
   "marked": "[-### 8.1 The observation-]"
  },
  {
   "section": "8.1 The observation",
   "old": "> If an agent is trying to finish a task and one particular action cannot be performed — blocked > externally, as our deterministic floor does — it normally retries a different way to do the same thing, > which makes the blocking of the first attempt useless.",
   "new": null,
   "marked": "[-> If an agent is trying to finish a task and one particular action cannot be performed — blocked > externally, as our deterministic floor does — it normally retries a different way to do the same thing, > which makes the blocking of the first attempt useless.-]"
  },
  {
   "section": "8.2 Why it follows from what an agent is",
   "old": "### 8.2 Why it follows from what an agent is",
   "new": null,
   "marked": "[-### 8.2 Why it follows from what an agent is-]"
  },
  {
   "section": "8.2 Why it follows from what an agent is",
   "old": "An agent is a goal-directed search process. A veto removes one node from the action space; it does not touch the objective. Since the objective is unchanged, the search simply continues over the remaining branches — and the agent's competence, the very property that makes it useful, is what guarantees it will find another route. Stated compactly:",
   "new": null,
   "marked": "[-An agent is a goal-directed search process. A veto removes one node from the action space; it does not touch the objective. Since the objective is unchanged, the search simply continues over the remaining branches — and the agent's competence, the very property that makes it useful, is what guarantees it will find another route. Stated compactly:-]"
  },
  {
   "section": "8.2 Why it follows from what an agent is",
   "old": "> **Blocking edits the action space. Informing edits the world model. Only the second propagates to > sibling actions.**",
   "new": null,
   "marked": "[-> **Blocking edits the action space. Informing edits the world model. Only the second propagates to > sibling actions.**-]"
  },
  {
   "section": "8.2 Why it follows from what an agent is",
   "old": "A block says *not this*. It carries no information about *why*, no information about which of the remaining branches share the defect, and no update to the agent's belief about the situation. The agent's model of the world after a block is identical to its model before, minus one option. If the objection generalises — as it almost always does, because rules encode classes of hazard rather than individual strings — then the block has communicated almost none of its own content.",
   "new": null,
   "marked": "[-A block says *not this*. It carries no information about *why*, no information about which of the remaining branches share the defect, and no update to the agent's belief about the situation. The agent's model of the world after a block is identical to its model before, minus one option. If the objection generalises — as it almost always does, because rules encode classes of hazard rather than individual strings — then the block has communicated almost none of its own content.-]"
  },
  {
   "section": "8.2 Why it follows from what an agent is",
   "old": "This is the mechanism behind an otherwise puzzling empirical result. **Coding Agents Are Guessing** (§2.7) reports that *\"blast-radius warnings barely reduced action propensity.\"* A warning is information delivered *before* the agent forms its plan and at a position in context far from the moment of action; a block is a refusal delivered *at* the moment of action but carrying no information. Neither changes the belief that generated the action. The proposal in §8.4 is the missing combination: information delivered at the moment of action.",
   "new": null,
   "marked": "[-This is the mechanism behind an otherwise puzzling empirical result. **Coding Agents Are Guessing** (§2.7) reports that *\"blast-radius warnings barely reduced action propensity.\"* A warning is information delivered *before* the agent forms its plan and at a position in context far from the moment of action; a block is a refusal delivered *at* the moment of action but carrying no information. Neither changes the belief that generated the action. The proposal in §8.4 is the missing combination: information delivered at the moment of action.-]"
  },
  {
   "section": "8.3 The adversarial-selection corollary",
   "old": "### 8.3 The adversarial-selection corollary",
   "new": null,
   "marked": "[-### 8.3 The adversarial-selection corollary-]"
  },
  {
   "section": "8.3 The adversarial-selection corollary",
   "old": "The retry is not a random redraw. It is *conditioned on the failure* — the agent knows the previous formulation was rejected and constructs one that will not be. A syntactic blocklist under retry pressure therefore performs **selection for evasion**: each block prunes exactly the variants the rule can see, leaving the agent to sample from the variants it cannot. The gate is not a neutral filter; it is a fitness function whose optimum is a bypass.",
   "new": null,
   "marked": "[-The retry is not a random redraw. It is *conditioned on the failure* — the agent knows the previous formulation was rejected and constructs one that will not be. A syntactic blocklist under retry pressure therefore performs **selection for evasion**: each block prunes exactly the variants the rule can see, leaving the agent to sample from the variants it cannot. The gate is not a neutral filter; it is a fitness function whose optimum is a bypass.-]"
  },
  {
   "section": "8.3 The adversarial-selection corollary",
   "old": "This has an uncomfortable consequence for §7.1's virtue claim. A narrow, auditable, syntactic rule set is maximally *legible* and, for the same reason, maximally *evadable* — its boundary is exactly as learnable by the agent as it is inspectable by the auditor. This does not argue for abandoning the deterministic floor, which remains the only component with demonstrated teeth. It argues that the floor's coverage figure should never be reported as a safety rate: coverage is measured against the actions agents happen to attempt, and blocking changes which actions they attempt.",
   "new": null,
   "marked": "[-This has an uncomfortable consequence for §7.1's virtue claim. A narrow, auditable, syntactic rule set is maximally *legible* and, for the same reason, maximally *evadable* — its boundary is exactly as learnable by the agent as it is inspectable by the auditor. This does not argue for abandoning the deterministic floor, which remains the only component with demonstrated teeth. It argues that the floor's coverage figure should never be reported as a safety rate: coverage is measured against the actions agents happen to attempt, and blocking changes which actions they attempt.-]"
  },
  {
   "section": "8.3 The adversarial-selection corollary",
   "old": "**First-party evidence.** The `[mention-treated-as-use]` incident (§1.2b) is a small, clean instance. The rule blocked a legitimate `dd of=/dev/null` check and every command quoting such a string — including the write of the bug report about it. The work did not stop; it was re-attempted by other means until something passed. The rule changed the *form* of the work and not its *substance*, which is exactly the failure mode above, observed in the benign direction.",
   "new": null,
   "marked": "[-**First-party evidence.** The `[mention-treated-as-use]` incident (§1.2b) is a small, clean instance. The rule blocked a legitimate `dd of=/dev/null` check and every command quoting such a string — including the write of the bug report about it. The work did not stop; it was re-attempted by other means until something passed. The rule changed the *form* of the work and not its *substance*, which is exactly the failure mode above, observed in the benign direction.-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "### 8.4 The remedy: return a premise, not a verdict",
   "new": null,
   "marked": "[-### 8.4 The remedy: return a premise, not a verdict-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "The gate should communicate to the entity whose beliefs produced the action — the model — rather than only to the runtime that executes it. Two mechanisms, and the distinction between them matters:",
   "new": null,
   "marked": "[-The gate should communicate to the entity whose beliefs produced the action — the model — rather than only to the runtime that executes it. Two mechanisms, and the distinction between them matters:-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "**(a) Inform within the turn.** The gate's appraisal is returned in the position where the tool result would have appeared: *this was not performed, and here is what looked odd about it.* The model re-plans with the objection in context. Cheap, preserves all the turn's work, and the model may reasonably argue back — which is a feature, given §6.3's 0.286 AUROC.",
   "new": null,
   "marked": "[-**(a) Inform within the turn.** The gate's appraisal is returned in the position where the tool result would have appeared: *this was not performed, and here is what looked odd about it.* The model re-plans with the objection in context. Cheap, preserves all the turn's work, and the model may reasonably argue back — which is a feature, given §6.3's 0.286 AUROC.-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "**(b) Halt and resume.** The turn is terminated and restarted with the appraisal present from the beginning, before any plan is formed.",
   "new": null,
   "marked": "[-**(b) Halt and resume.** The turn is terminated and restarted with the appraisal present from the beginning, before any plan is formed.-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "**When each applies — the design rule this paper proposes:**",
   "new": null,
   "marked": "[-**When each applies — the design rule this paper proposes:**-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "> **(a) for oddness about an ACTION; (b) for oddness about an INTERPRETATION.**",
   "new": null,
   "marked": "[-> **(a) for oddness about an ACTION; (b) for oddness about an INTERPRETATION.**-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "The reasoning is that the two errors have different blast radii *inside the turn*. A bad action is a leaf: correcting it leaves the surrounding plan valid, so in-context correction suffices. A bad interpretation is the root: every subsequent step was derived from it, so informing the model mid-turn asks it to correct a premise it has already built a structure on — and the anchoring literature gives little reason to expect that to work cleanly. Restarting the turn is more expensive, and it is the only mechanism that prevents the wrong interpretation from ever being formed. The 2026-08-04 governance misreading (J9 note 9) is the paradigm case: an entire turn's work proceeded from a rule read at the wrong scope, and every artifact it produced inherited the error.",
   "new": null,
   "marked": "[-The reasoning is that the two errors have different blast radii *inside the turn*. A bad action is a leaf: correcting it leaves the surrounding plan valid, so in-context correction suffices. A bad interpretation is the root: every subsequent step was derived from it, so informing the model mid-turn asks it to correct a premise it has already built a structure on — and the anchoring literature gives little reason to expect that to work cleanly. Restarting the turn is more expensive, and it is the only mechanism that prevents the wrong interpretation from ever being formed. The 2026-08-04 governance misreading (J9 note 9) is the paradigm case: an entire turn's work proceeded from a rule read at the wrong scope, and every artifact it produced inherited the error.-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "**Why the paper's own results argue for this rather than for a stronger veto.** §6.3 reports a danger head at AUROC 0.286 and §7.2 novelty-for-danger at 0.485. §4.4 concludes the learned tier must abstain. But abstention is not the only response to a weak signal:",
   "new": null,
   "marked": "[-**Why the paper's own results argue for this rather than for a stronger veto.** §6.3 reports a danger head at AUROC 0.286 and §7.2 novelty-for-danger at 0.485. §4.4 concludes the learned tier must abstain. But abstention is not the only response to a weak signal:-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "> **A detector that unreliable must not be given a veto. It can still be given a voice.** Blocking requires > the gate to be *right*. Informing requires only that it be *occasionally informative* — a far weaker bar, > and one the novelty (0.875) and incongruity (0.896) numbers plausibly clear even though the danger > numbers do not.",
   "new": null,
   "marked": "[-> **A detector that unreliable must not be given a veto. It can still be given a voice.** Blocking requires > the gate to be *right*. Informing requires only that it be *occasionally informative* — a far weaker bar, > and one the novelty (0.875) and incongruity (0.896) numbers plausibly clear even though the danger > numbers do not.-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "This converts the paper's negative results from a dead end into a design constraint, and it resolves a tension §3.1 has carried since v3.0: *treating danger, novelty and incoherence as one scalar produces either unsafe allows or an agent that asks permission to breathe.* A returned premise has neither failure mode. A wrong flag costs one round of reasoning — not a blocked action, and not a human interruption. It is also the natural home for the two heuristics currently stranded in non-enforcing limbo: **non-enforcing today means nobody reads them**; under this disposition a non-enforcing signal acquires a consumer.",
   "new": null,
   "marked": "[-This converts the paper's negative results from a dead end into a design constraint, and it resolves a tension §3.1 has carried since v3.0: *treating danger, novelty and incoherence as one scalar produces either unsafe allows or an agent that asks permission to breathe.* A returned premise has neither failure mode. A wrong flag costs one round of reasoning — not a blocked action, and not a human interruption. It is also the natural home for the two heuristics currently stranded in non-enforcing limbo: **non-enforcing today means nobody reads them**; under this disposition a non-enforcing signal acquires a consumer.-]"
  },
  {
   "section": "8.4 The remedy: return a premise, not a verdict",
   "old": "**Prior art.** TRIAD (§2.7) converts guardrails from binary blockers into remediation guidance via risk classification → feedback generation → agent remediation. RAIL Guard reports **86.6% convergence** on fixable dimensions with no significant utility loss in an evaluate → rewrite → re-evaluate loop. Ask or Assume supplies the structural finding: the Intent Agent holds *only* a binary decision tool and can halt the main agent — **69.40%** decoupled against **61.20%** for the same idea inside a single agent, with a 70.80% fully-specified ceiling. Separation of roles, not prompt engineering, is what does the work. Self-Refine, CRITIC and Chain-of-Verification are the single-agent ancestors.",
   "new": null,
   "marked": "[-**Prior art.** TRIAD (§2.7) converts guardrails from binary blockers into remediation guidance via risk classification → feedback generation → agent remediation. RAIL Guard reports **86.6% convergence** on fixable dimensions with no significant utility loss in an evaluate → rewrite → re-evaluate loop. Ask or Assume supplies the structural finding: the Intent Agent holds *only* a binary decision tool and can halt the main agent — **69.40%** decoupled against **61.20%** for the same idea inside a single agent, with a 70.80% fully-specified ceiling. Separation of roles, not prompt engineering, is what does the work. Self-Refine, CRITIC and Chain-of-Verification are the single-agent ancestors.-]"
  },
  {
   "section": "8.5 The constraint that decides whether it works",
   "old": "### 8.5 The constraint that decides whether it works",
   "new": null,
   "marked": "[-### 8.5 The constraint that decides whether it works-]"
  },
  {
   "section": "8.5 The constraint that decides whether it works",
   "old": "Huang et al. (§2.7) show that **intrinsic** self-correction — a model revising itself with no external signal — fails and frequently *degrades* performance. The proposal survives this only because its premise is externally sourced. Hence a sharp, testable design rule:",
   "new": null,
   "marked": "[-Huang et al. (§2.7) show that **intrinsic** self-correction — a model revising itself with no external signal — fails and frequently *degrades* performance. The proposal survives this only because its premise is externally sourced. Hence a sharp, testable design rule:-]"
  },
  {
   "section": "8.5 The constraint that decides whether it works",
   "old": "> The injected premise must carry information the model did not already have — a computed feature, a > matched rule, a retrieved precedent, a novelty score against history. **It must never be a bare \"are you > sure?\"** A content-free challenge is intrinsic self-correction wearing a gate's uniform, and the > literature says it makes the answer worse.",
   "new": null,
   "marked": "[-> The injected premise must carry information the model did not already have — a computed feature, a > matched rule, a retrieved precedent, a novelty score against history. **It must never be a bare \"are you > sure?\"** A content-free challenge is intrinsic self-correction wearing a gate's uniform, and the > literature says it makes the answer worse.-]"
  },
  {
   "section": "8.5 The constraint that decides whether it works",
   "old": "Two further preconditions. First, **cadence**: informing at a tool boundary is available today; informing mid-clause requires the streaming hook §3.5 records as blocked. Second, **budget**: halt-and-resume re-runs a turn, so its cost is bounded by how often interpretation-level oddness fires — which, given §7.3's 24-example evidence base, is currently unknown and must be measured before deployment.",
   "new": null,
   "marked": "[-Two further preconditions. First, **cadence**: informing at a tool boundary is available today; informing mid-clause requires the streaming hook §3.5 records as blocked. Second, **budget**: halt-and-resume re-runs a turn, so its cost is bounded by how often interpretation-level oddness fires — which, given §7.3's 24-example evidence base, is currently unknown and must be measured before deployment.-]"
  },
  {
   "section": "8.6 How to evaluate it",
   "old": "### 8.6 How to evaluate it",
   "new": null,
   "marked": "[-### 8.6 How to evaluate it-]"
  },
  {
   "section": "8.6 How to evaluate it",
   "old": "Per §5.1's discipline — beat the simple baseline first — the baselines are: (i) block-only, (ii) ask-the-user, (iii) a static system-prompt warning. Baseline (iii) is the important one, because \"blast-radius warnings barely reduced action propensity\" means a static instruction is known not to work; if a returned premise beats it, the **position of the information in the reasoning loop** is doing the work, and that is this section's claim.",
   "new": null,
   "marked": "[-Per §5.1's discipline — beat the simple baseline first — the baselines are: (i) block-only, (ii) ask-the-user, (iii) a static system-prompt warning. Baseline (iii) is the important one, because \"blast-radius warnings barely reduced action propensity\" means a static instruction is known not to work; if a returned premise beats it, the **position of the information in the reasoning loop** is doing the work, and that is this section's claim.-]"
  },
  {
   "section": "8.6 How to evaluate it",
   "old": "The measurement that constitutes the safety case is not the flag rate but the **override ledger**: how often the model argues back and proceeds, and how often it was right to. A gate that is always overridden is noise; a gate that is never overridden is a block with extra latency. The useful regime is in between, and its existence is an empirical question this paper does not yet answer.",
   "new": null,
   "marked": "[-The measurement that constitutes the safety case is not the flag rate but the **override ledger**: how often the model argues back and proceeds, and how often it was right to. A gate that is always overridden is noise; a gate that is never overridden is a block with extra latency. The useful regime is in between, and its existence is an empirical question this paper does not yet answer.-]"
  },
  {
   "section": "10. Privacy, Security, and Authority",
   "old": null,
   "new": "## 10. Privacy, Security, and Authority",
   "marked": "{+## 10. Privacy, Security, and Authority+}"
  },
  {
   "section": "10. Privacy, Security, and Authority",
   "old": null,
   "new": "Default mode processes visible input, retrieval, output, drafts, calls, and results. It does not require hidden reasoning. If a provider exposes reasoning and the user enables inspection, process it ephemerally and persist only hashes, numeric features, redacted commitments, and dispositions.",
   "marked": "{+Default mode processes visible input, retrieval, output, drafts, calls, and results. It does not require hidden reasoning. If a provider exposes reasoning and the user enables inspection, process it ephemerally and persist only hashes, numeric features, redacted commitments, and dispositions.+}"
  },
  {
   "section": "10. Privacy, Security, and Authority",
   "old": null,
   "new": "Embeddings can leak semantics through membership inference, inversion, and neighbour retrieval. Protect them like message history: encryption, access separation, retention limits, deletion semantics, and red-team testing.",
   "marked": "{+Embeddings can leak semantics through membership inference, inversion, and neighbour retrieval. Protect them like message history: encryption, access separation, retention limits, deletion semantics, and red-team testing.+}"
  },
  {
   "section": "10. Privacy, Security, and Authority",
   "old": null,
   "new": "Attackers may inject transport-like text, manufacture repetitions to induce habituation, poison rings, forge corrections, flood alerts, or place malicious output near benign anchors. Defences include provenance, bounded partitioned rings, trusted correction channels, deterministic floors, rate limits, rollback, and independent relation checks. User content may mention protocol text; resemblance cannot confer protocol authority.",
   "marked": "{+Attackers may inject transport-like text, manufacture repetitions to induce habituation, poison rings, forge corrections, flood alerts, or place malicious output near benign anchors. Defences include provenance, bounded partitioned rings, trusted correction channels, deterministic floors, rate limits, rollback, and independent relation checks. User content may mention protocol text; resemblance cannot confer protocol authority.+}"
  },
  {
   "section": "10. Privacy, Security, and Authority",
   "old": null,
   "new": "Every intervention needs a concise reason and appeal path: approve unchanged, correct the parse, mark false alert, or add a rule. Silent blocks create superstition.",
   "marked": "{+Every intervention needs a concise reason and appeal path: approve unchanged, correct the parse, mark false alert, or add a rule. Silent blocks create superstition.+}"
  },
  {
   "section": "9. The Gate as Attack Surface",
   "old": "## 9. The Gate as Attack Surface",
   "new": null,
   "marked": "[-## 9. The Gate as Attack Surface-]"
  },
  {
   "section": "9. The Gate as Attack Surface",
   "old": "*(New in v4.0, from a live incident. We have not found this property stated in the action-gating literature.)*",
   "new": null,
   "marked": "[-*(New in v4.0, from a live incident. We have not found this property stated in the action-gating literature.)*-]"
  },
  {
   "section": "9.1 What happened",
   "old": "### 9.1 What happened",
   "new": null,
   "marked": "[-### 9.1 What happened-]"
  },
  {
   "section": "9.1 What happened",
   "old": "On 2026-08-05, at 05:23:32 and again at 05:28:31, the deployed gate executed arbitrary code on the host while appraising a proposed action. The mechanism, precisely:",
   "new": null,
   "marked": "[-On 2026-08-05, at 05:23:32 and again at 05:28:31, the deployed gate executed arbitrary code on the host while appraising a proposed action. The mechanism, precisely:-]"
  },
  {
   "section": "9.1 What happened",
   "old": "1. The situation template took `targetId = action.target` — for a shell action, the **command string**. 2. `classifyTargetType()` fell back to `\"file\"` for any string containing a `\".\"`; a command such as `grep -c foo bar.md` therefore classified as a file path. 3. The `\"file\"` branch computed git provenance by interpolating that value into a shell command (`git -C \"${escapedDir}\" log …`) executed through `child_process.exec()`, escaping only double quotes. 4. Backticks in the appraised string were therefore command substitution. The string contained a backtick-wrapped command name; the shell ran it.",
   "new": null,
   "marked": "[-1. The situation template took `targetId = action.target` — for a shell action, the **command string**. 2. `classifyTargetType()` fell back to `\"file\"` for any string containing a `\".\"`; a command such as `grep -c foo bar.md` therefore classified as a file path. 3. The `\"file\"` branch computed git provenance by interpolating that value into a shell command (`git -C \"${escapedDir}\" log …`) executed through `child_process.exec()`, escaping only double quotes. 4. Backticks in the appraised string were therefore command substitution. The string contained a backtick-wrapped command name; the shell ran it.-]"
  },
  {
   "section": "9.1 What happened",
   "old": "The launched process was a screen reader, which began reading the sleeping principal's screen aloud. No adversary was involved. The second firing was caused by an agent *investigating the first* — searching for the literal payload re-executed it.",
   "new": null,
   "marked": "[-The launched process was a screen reader, which began reading the sleeping principal's screen aloud. No adversary was involved. The second firing was caused by an agent *investigating the first* — searching for the literal payload re-executed it.-]"
  },
  {
   "section": "9.2 The general property",
   "old": "### 9.2 The general property",
   "new": null,
   "marked": "[-### 9.2 The general property-]"
  },
  {
   "section": "9.2 The general property",
   "old": "> **Appraisal requires touching the thing being appraised.** Every feature a safety gate computes — file > age, size, git history, embedding, classification — is another handler for a string the gate has already > decided is potentially unsafe. A gate that computes richer features in order to decide better thereby > enlarges the surface on which its decision can be pre-empted.",
   "new": null,
   "marked": "[-> **Appraisal requires touching the thing being appraised.** Every feature a safety gate computes — file > age, size, git history, embedding, classification — is another handler for a string the gate has already > decided is potentially unsafe. A gate that computes richer features in order to decide better thereby > enlarges the surface on which its decision can be pre-empted.-]"
  },
  {
   "section": "9.2 The general property",
   "old": "This gives §7.1's asymmetry a second, independent edge. The narrow deterministic floor is preferable not only because it is auditable but because **it touches its input less**. The learned tier's appetite for features is not merely unproven — it is *costly*, and that cost was unpriced in v3.1 and v3.2. A feature-rich learned gate must justify each feature against the handling risk it introduces, and no prior version of this paper required that.",
   "new": null,
   "marked": "[-This gives §7.1's asymmetry a second, independent edge. The narrow deterministic floor is preferable not only because it is auditable but because **it touches its input less**. The learned tier's appetite for features is not merely unproven — it is *costly*, and that cost was unpriced in v3.1 and v3.2. A feature-rich learned gate must justify each feature against the handling risk it introduces, and no prior version of this paper required that.-]"
  },
  {
   "section": "9.2 The general property",
   "old": "It also inverts a comfortable assumption in §3.1: the low road \"biases and interrupts, it does not author the answer.\" True of its *output*. False of its *execution* — the appraisal path runs code, and on 2026-08-05 it ran the agent's code.",
   "new": null,
   "marked": "[-It also inverts a comfortable assumption in §3.1: the low road \"biases and interrupts, it does not author the answer.\" True of its *output*. False of its *execution* — the appraisal path runs code, and on 2026-08-05 it ran the agent's code.-]"
  },
  {
   "section": "9.3 The design rule that follows",
   "old": "### 9.3 The design rule that follows",
   "new": null,
   "marked": "[-### 9.3 The design rule that follows-]"
  },
  {
   "section": "9.3 The design rule that follows",
   "old": "> Appraisal must treat the action as **data, never as a reference.** No feature may be computed by > executing, resolving, expanding, dereferencing or shell-interpolating the appraised value.",
   "new": null,
   "marked": "[-> Appraisal must treat the action as **data, never as a reference.** No feature may be computed by > executing, resolving, expanding, dereferencing or shell-interpolating the appraised value.-]"
  },
  {
   "section": "9.3 The design rule that follows",
   "old": "Concretely, in the remediation: argv arrays only, never a shell string; and **type guards enforced at every consumer, not merely computed once**. The proximate cause was that two sibling feature functions guarded on `targetType === \"file\"` and a third did not — the rule already existed in the same file and was simply not applied at one call site. That is worth stating as a general finding: *a canonical predicate that is not applied at every call site is not a canonical predicate.*",
   "new": null,
   "marked": "[-Concretely, in the remediation: argv arrays only, never a shell string; and **type guards enforced at every consumer, not merely computed once**. The proximate cause was that two sibling feature functions guarded on `targetType === \"file\"` and a third did not — the rule already existed in the same file and was simply not applied at one call site. That is worth stating as a general finding: *a canonical predicate that is not applied at every call site is not a canonical predicate.*-]"
  },
  {
   "section": "9.4 Adversary reachability",
   "old": "### 9.4 Adversary reachability",
   "new": null,
   "marked": "[-### 9.4 Adversary reachability-]"
  },
  {
   "section": "9.4 Adversary reachability",
   "old": "The incident had no adversary, but the defect is adversary-reachable: any attacker-controlled string arriving as a \"target\" — a filename in a cloned repository, a path in a fetched document — yields remote code execution on a system whose *purpose* is to inspect untrusted material. This makes the property above a security claim and not merely a robustness one, and it is developed in the companion paper (J9, notes 8–10) where the threat-model consequences belong.",
   "new": null,
   "marked": "[-The incident had no adversary, but the defect is adversary-reachable: any attacker-controlled string arriving as a \"target\" — a filename in a cloned repository, a path in a fetched document — yields remote code execution on a system whose *purpose* is to inspect untrusted material. This makes the property above a security claim and not merely a robustness one, and it is developed in the companion paper (J9, notes 8–10) where the threat-model consequences belong.-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "### 9.5 Deployment honesty",
   "new": null,
   "marked": "[-### 9.5 Deployment honesty-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "**Updated 5 August 2026, 10:21 — the remediation is now deployed.** This subsection previously recorded that the fix was written and tested (argv arrays; type guard applied at the third call site; 227 tests green) but **not** deployed, so the vulnerable build was live. That gap has been closed and the record is updated rather than left standing, because a stale claim of exposure is its own defect.",
   "new": null,
   "marked": "[-**Updated 5 August 2026, 10:21 — the remediation is now deployed.** This subsection previously recorded that the fix was written and tested (argv arrays; type guard applied at the third call site; 227 tests green) but **not** deployed, so the vulnerable build was live. That gap has been closed and the record is updated rather than left standing, because a stale claim of exposure is its own defect.-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "The deployed commits, in order: `dd203a441e3` shipped both layers — `git-cache.ts` moved from `exec()` to `execFile()` with an argv array, and `situation-template.ts` gated git enrichment on `targetType === \"file\"`. Verified against the built artifact rather than the source: the interpolated shell form was confirmed present in `dist/` **before** the deploy (two sites) and absent after.",
   "new": null,
   "marked": "[-The deployed commits, in order: `dd203a441e3` shipped both layers — `git-cache.ts` moved from `exec()` to `execFile()` with an argv array, and `situation-template.ts` gated git enrichment on `targetType === \"file\"`. Verified against the built artifact rather than the source: the interpolated shell form was confirmed present in `dist/` **before** the deploy (two sites) and absent after.-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "Two things were learned in the act of deploying, and both belong in the record because they sharpen §9's argument rather than soften it.",
   "new": null,
   "marked": "[-Two things were learned in the act of deploying, and both belong in the record because they sharpen §9's argument rather than soften it.-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "**The differential test this subsection cited did not exist.** The sentence above originally claimed the fix was \"verified by a differential test confirming the same malicious path executes under the old pattern and does not under the new\". That verification was performed, but as a one-off; no such test was in the repository, so nothing prevented the pattern's return. It is committed now (`cbe06d59fb0`), and deliberately retains the *control* case — first proving the old `exec()` pattern really does execute the payload on this machine, and only then that the new one does not. Without the control, the safety assertion is unfalsifiable: it passes equally against a dud payload, a missing binary, or a typo'd fixture. **A verification that is not committed is an anecdote**, which is the same category error as a fix that is not deployed — the very point this subsection was written to make.",
   "new": null,
   "marked": "[-**The differential test this subsection cited did not exist.** The sentence above originally claimed the fix was \"verified by a differential test confirming the same malicious path executes under the old pattern and does not under the new\". That verification was performed, but as a one-off; no such test was in the repository, so nothing prevented the pattern's return. It is committed now (`cbe06d59fb0`), and deliberately retains the *control* case — first proving the old `exec()` pattern really does execute the payload on this machine, and only then that the new one does not. Without the control, the safety assertion is unfalsifiable: it passes equally against a dud payload, a missing binary, or a typo'd fixture. **A verification that is not committed is an anecdote**, which is the same category error as a fix that is not deployed — the very point this subsection was written to make.-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "**The class check found three more instances immediately.** J9 note 8's standing recommendation — *no string derived from model output or an inferred type may reach a shell string; argv arrays only* — is mechanical, so it was implemented as a build gate rather than left as prose. On its first run it found three further sites: a `gog calendar` invocation interpolating RPC-supplied date parameters (live injection, same class, different module), the same shape in a companion script, and — on the fractal injection path — `openclaw system event --text \"$(cat …)\"` running under `/bin/bash`, justified by a comment claiming the prompt was \"too large for CLI `--text`\". The prompt is 811 bytes against a 131,072-byte per-argument limit; the claim was never re-measured, and it had also placed the prompt at a predictable path in a world-writable directory, where any local process could rewrite it between the write and the read. All three are fixed and the ratchet stands at zero.",
   "new": null,
   "marked": "[-**The class check found three more instances immediately.** J9 note 8's standing recommendation — *no string derived from model output or an inferred type may reach a shell string; argv arrays only* — is mechanical, so it was implemented as a build gate rather than left as prose. On its first run it found three further sites: a `gog calendar` invocation interpolating RPC-supplied date parameters (live injection, same class, different module), the same shape in a companion script, and — on the fractal injection path — `openclaw system event --text \"$(cat …)\"` running under `/bin/bash`, justified by a comment claiming the prompt was \"too large for CLI `--text`\". The prompt is 811 bytes against a 131,072-byte per-argument limit; the claim was never re-measured, and it had also placed the prompt at a predictable path in a world-writable directory, where any local process could rewrite it between the write and the read. All three are fixed and the ratchet stands at zero.-]"
  },
  {
   "section": "9.5 Deployment honesty",
   "old": "That the checker's first act was to flag *its own documentation* — the header quotes the vulnerable command as evidence — is recorded in the script itself. It is the `[mention-treated-as-use]` class this system's bug log had already named, committed by the tool written to prevent it. **Naming a failure class does not immunise a codebase against it**; only a mechanical control does, and even the control has to be built so that documenting the danger cannot trip it.",
   "new": null,
   "marked": "[-That the checker's first act was to flag *its own documentation* — the header quotes the vulnerable command as evidence — is recorded in the script itself. It is the `[mention-treated-as-use]` class this system's bug log had already named, committed by the tool written to prevent it. **Naming a failure class does not immunise a codebase against it**; only a mechanical control does, and even the control has to be built so that documenting the danger cannot trip it.-]"
  },
  {
   "section": "11. Relation to Prior Work",
   "old": null,
   "new": "## 11. Relation to Prior Work",
   "marked": "{+## 11. Relation to Prior Work+}"
  },
  {
   "section": "11. Relation to Prior Work",
   "old": null,
   "new": "Out-of-distribution methods estimate resemblance to experience [12,13]. AMYGDALA uses them for novelty but rejects anomaly as danger. Its distinctive unit is the temporal relation among spans and commitments.",
   "marked": "{+Out-of-distribution methods estimate resemblance to experience [12,13]. AMYGDALA uses them for novelty but rejects anomaly as danger. Its distinctive unit is the temporal relation among spans and commitments.+}"
  },
  {
   "section": "11. Relation to Prior Work",
   "old": null,
   "new": "Guardrails, filters, permissions, and capability controls constrain outputs and tools [18,19]. They remain essential. AMYGDALA adds monitoring before tool calls and contextual learning from outcomes. A message can pass every policy filter while promising the wrong agreement.",
   "marked": "{+Guardrails, filters, permissions, and capability controls constrain outputs and tools [18,19]. They remain essential. AMYGDALA adds monitoring before tool calls and contextual learning from outcomes. A message can pass every policy filter while promising the wrong agreement.+}"
  },
  {
   "section": "11. Relation to Prior Work",
   "old": null,
   "new": "Reflexion, constitutional critique, and verifier systems evaluate outputs [16,17,20]. Stream AMYGDALA differs in trigger and substrate: continuous cheap signals summon deliberation when a linked trajectory changes. An independent verifier avoids making the generator sole witness and judge.",
   "marked": "{+Reflexion, constitutional critique, and verifier systems evaluate outputs [16,17,20]. Stream AMYGDALA differs in trigger and substrate: continuous cheap signals summon deliberation when a linked trajectory changes. An independent verifier avoids making the generator sole witness and judge.+}"
  },
  {
   "section": "11. Relation to Prior Work",
   "old": null,
   "new": "Continual learning and episodic replay address adaptation without catastrophic forgetting [21,22]. Reference rings and failure replay borrow this pattern but narrow the objective to relevance and intervention. Change-point methods motivate semantic abruptness [23,24]. Affective computing models emotion recognition and expression [25]; AMYGDALA instead borrows affect's control role in attention, memory weighting, inhibition, and action readiness. It does not claim feeling.",
   "marked": "{+Continual learning and episodic replay address adaptation without catastrophic forgetting [21,22]. Reference rings and failure replay borrow this pattern but narrow the objective to relevance and intervention. Change-point methods motivate semantic abruptness [23,24]. Affective computing models emotion recognition and expression [25]; AMYGDALA instead borrows affect's control role in attention, memory weighting, inhibition, and action readiness. It does not claim feeling.+}"
  },
  {
   "section": "10. Design Lessons",
   "old": "## 10. Design Lessons",
   "new": null,
   "marked": "[-## 10. Design Lessons-]"
  },
  {
   "section": "10.1 Baselines must precede biological metaphors",
   "old": "### 10.1 Baselines must precede biological metaphors",
   "new": null,
   "marked": "[-### 10.1 Baselines must precede biological metaphors-]"
  },
  {
   "section": "10.1 Baselines must precede biological metaphors",
   "old": "Calling a mechanism an \"amygdala,\" \"world model,\" or \"intuition\" does not make it one. The persistence baseline and the zero-train clause comparison were more informative than architectural elaboration. Any future learned component must first beat: persistence for sequential prediction; nearest-neighbour and linear probes for representation quality; deterministic rules for covered hazards; prompt-level ask heuristics for ambiguity. The metaphor may suggest experiments. It cannot substitute for them.",
   "new": null,
   "marked": "[-Calling a mechanism an \"amygdala,\" \"world model,\" or \"intuition\" does not make it one. The persistence baseline and the zero-train clause comparison were more informative than architectural elaboration. Any future learned component must first beat: persistence for sequential prediction; nearest-neighbour and linear probes for representation quality; deterministic rules for covered hazards; prompt-level ask heuristics for ambiguity. The metaphor may suggest experiments. It cannot substitute for them.-]"
  },
  {
   "section": "10.2 Abstention is a result",
   "old": "### 10.2 Abstention is a result",
   "new": null,
   "marked": "[-### 10.2 Abstention is a result-]"
  },
  {
   "section": "10.2 Abstention is a result",
   "old": "The learned tier remains observe-only because it lacks both a fit representation and sufficient outcome labels. This is not an unfinished deployment detail; it is the safety posture the evidence implies. A future learned policy must earn authority through chronological held-out tests, calibration, failure analysis and a staged trust ramp. Until then, \"I do not know\" is more useful than a confident fit to weak labels. §8.4 adds the refinement v3.2 lacked: **abstention need not mean silence** — a component too weak to decide may still be strong enough to speak.",
   "new": null,
   "marked": "[-The learned tier remains observe-only because it lacks both a fit representation and sufficient outcome labels. This is not an unfinished deployment detail; it is the safety posture the evidence implies. A future learned policy must earn authority through chronological held-out tests, calibration, failure analysis and a staged trust ramp. Until then, \"I do not know\" is more useful than a confident fit to weak labels. §8.4 adds the refinement v3.2 lacked: **abstention need not mean silence** — a component too weak to decide may still be strong enough to speak.-]"
  },
  {
   "section": "10.3 Separate danger, novelty, and incoherence",
   "old": "### 10.3 Separate danger, novelty, and incoherence",
   "new": null,
   "marked": "[-### 10.3 Separate danger, novelty, and incoherence-]"
  },
  {
   "section": "10.3 Separate danger, novelty, and incoherence",
   "old": "The experiments reject the idea that one scalar surprise signal already unifies these functions: novelty detected distributional distance but not danger (0.485); clause incongruity detected a narrow form of purpose mismatch (0.896); danger classification failed on the frozen representation (0.286); next-step prediction error did not beat persistence (0.163 vs 0.202). Treat them as distinct observables unless a shared representation demonstrates — not suggests — that it supports all three.",
   "new": null,
   "marked": "[-The experiments reject the idea that one scalar surprise signal already unifies these functions: novelty detected distributional distance but not danger (0.485); clause incongruity detected a narrow form of purpose mismatch (0.896); danger classification failed on the frozen representation (0.286); next-step prediction error did not beat persistence (0.163 vs 0.202). Treat them as distinct observables unless a shared representation demonstrates — not suggests — that it supports all three.-]"
  },
  {
   "section": "10.4 Separate mention from use",
   "old": "### 10.4 Separate mention from use",
   "new": null,
   "marked": "[-### 10.4 Separate mention from use-]"
  },
  {
   "section": "10.4 Separate mention from use",
   "old": "*(New in v4.0.)* On 2026-08-04 a rule matching `dd\\s+.*of=\\/dev\\/` blocked `dd of=/dev/null` — the one destination that is definitionally harmless — and additionally blocked any command that merely **quoted** such a string, including the write of the bug report documenting the defect.",
   "new": null,
   "marked": "[-*(New in v4.0.)* On 2026-08-04 a rule matching `dd\\s+.*of=\\/dev\\/` blocked `dd of=/dev/null` — the one destination that is definitionally harmless — and additionally blocked any command that merely **quoted** such a string, including the write of the bug report documenting the defect.-]"
  },
  {
   "section": "10.4 Separate mention from use",
   "old": "> **A string describing an action and a string performing one are syntactically identical and semantically > opposite.** Any gate keying on syntax will conflate them, and systems that document their own hazards — > as this one does continuously — generate mentions as a matter of course.",
   "new": null,
   "marked": "[-> **A string describing an action and a string performing one are syntactically identical and semantically > opposite.** Any gate keying on syntax will conflate them, and systems that document their own hazards — > as this one does continuously — generate mentions as a matter of course.-]"
  },
  {
   "section": "10.4 Separate mention from use",
   "old": "This is a fourth axis, orthogonal to §10.3, and it compounds instructively with §9: the `dd` guard treated a *mention* as a *use* and over-blocked; the git-cache treated a *command* as a *path* and under-recognised. Both are type errors on an inferred category; neither was caught, because nothing re-validated the inference at the point where it became consequential. **The recurring defect in this system is not a wrong rule but an unverified inference reaching a sink.**",
   "new": null,
   "marked": "[-This is a fourth axis, orthogonal to §10.3, and it compounds instructively with §9: the `dd` guard treated a *mention* as a *use* and over-blocked; the git-cache treated a *command* as a *path* and under-recognised. Both are type errors on an inferred category; neither was caught, because nothing re-validated the inference at the point where it became consequential. **The recurring defect in this system is not a wrong rule but an unverified inference reaching a sink.**-]"
  },
  {
   "section": "10.5 Feedback is necessary but not sufficient",
   "old": "### 10.5 Feedback is necessary but not sufficient",
   "new": null,
   "marked": "[-### 10.5 Feedback is necessary but not sufficient-]"
  },
  {
   "section": "10.5 Feedback is necessary but not sufficient",
   "old": "A static classifier cannot adapt to lived outcomes. Logging vetoes, overrides, corrections and later consequences is necessary for learned action judgment. Yet a feedback loop cannot rescue an uninformative substrate or unreliable labels: more rows of the wrong signal merely produce a better-calibrated mistake.",
   "new": null,
   "marked": "[-A static classifier cannot adapt to lived outcomes. Logging vetoes, overrides, corrections and later consequences is necessary for learned action judgment. Yet a feedback loop cannot rescue an uninformative substrate or unreliable labels: more rows of the wrong signal merely produce a better-calibrated mistake.-]"
  },
  {
   "section": "10.6 A block teaches the runtime; a premise teaches the model",
   "old": "### 10.6 A block teaches the runtime; a premise teaches the model",
   "new": null,
   "marked": "[-### 10.6 A block teaches the runtime; a premise teaches the model-]"
  },
  {
   "section": "10.6 A block teaches the runtime; a premise teaches the model",
   "old": "*(New in v4.0, and the compact statement of §8.)* Of the two, only the second closes a loop with the process that generated the action. This is why §4.3 lists the *inform* channel as the highest-quality feedback source available: it is the only one that produces a labelled disagreement.",
   "new": null,
   "marked": "[-*(New in v4.0, and the compact statement of §8.)* Of the two, only the second closes a loop with the process that generated the action. This is why §4.3 lists the *inform* channel as the highest-quality feedback source available: it is the only one that produces a labelled disagreement.-]"
  },
  {
   "section": "12. Limitations",
   "old": null,
   "new": "## 12. Limitations",
   "marked": "{+## 12. Limitations+}"
  },
  {
   "section": "12. Limitations",
   "old": null,
   "new": "1. Relation extraction is brittle around implication, sarcasm, and indirect speech. 2. Independent verifiers can share generator biases. 3. Clarification transfers labour to the user when overused. 4. Habituation can normalise deviance. 5. Personalisation can overfit across domains. 6. Commitments can cross compaction and session boundaries. 7. Expected-outcome sketches add latency and noise. 8. Synthetic datasets may reward generator artefacts. 9. Neuroscience analogy cannot validate engineering claims. 10. Blocking authority requires audit, appeal, rollback, and review. 11. Current measurements validate fragments, not the full dual loop.",
   "marked": "{+1. Relation extraction is brittle around implication, sarcasm, and indirect speech. 2. Independent verifiers can share generator biases. 3. Clarification transfers labour to the user when overused. 4. Habituation can normalise deviance. 5. Personalisation can overfit across domains. 6. Commitments can cross compaction and session boundaries. 7. Expected-outcome sketches add latency and noise. 8. Synthetic datasets may reward generator artefacts. 9. Neuroscience analogy cannot validate engineering claims. 10. Blocking authority requires audit, appeal, rollback, and review. 11. Current measurements validate fragments, not the full dual loop.+}"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "## 11. Positioning: The Deepest Intervention Available Without Weight Access",
   "new": null,
   "marked": "[-## 11. Positioning: The Deepest Intervention Available Without Weight Access-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "*(New in v4.0.)*",
   "new": null,
   "marked": "[-*(New in v4.0.)*-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "Behaviour-modification techniques form a ladder ordered by depth *and* by the access they require:",
   "new": null,
   "marked": "[-Behaviour-modification techniques form a ladder ordered by depth *and* by the access they require:-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "| Rung | Technique | Access required | Conditional on the specific action? | Auditable? | |---|---|---|---|---| | 1 | System prompt / static instruction | none | no | yes | | 2 | **Decision-time context injection (§8.4)** | none | **yes** | **yes** | | 3 | Activation / conditional steering | activations | yes | no | | 4 | Targeted neuron ablation | weights | partly | no | | 5 | Fine-tuning / RLHF | weights + compute | no (global) | no |",
   "new": null,
   "marked": "[-| Rung | Technique | Access required | Conditional on the specific action? | Auditable? | |---|---|---|---|---| | 1 | System prompt / static instruction | none | no | yes | | 2 | **Decision-time context injection (§8.4)** | none | **yes** | **yes** | | 3 | Activation / conditional steering | activations | yes | no | | 4 | Targeted neuron ablation | weights | partly | no | | 5 | Fine-tuning / RLHF | weights + compute | no (global) | no |-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "Rung 3 is an active line: **CAST** introduces condition vectors representing prompt-induced activation patterns, used as switches determining whether a refusal vector is applied; **AlphaSteer** adds a principled null-space constraint; **INNSteer** learns invertible latent transforms for nonlinear, input-dependent control. Rung 4 targets the small neuron subsets associated with specific behaviours.",
   "new": null,
   "marked": "[-Rung 3 is an active line: **CAST** introduces condition vectors representing prompt-induced activation patterns, used as switches determining whether a refusal vector is applied; **AlphaSteer** adds a principled null-space constraint; **INNSteer** learns invertible latent transforms for nonlinear, input-dependent control. Rung 4 targets the small neuron subsets associated with specific behaviours.-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "Two claims follow, and both are honest about their limits:",
   "new": null,
   "marked": "[-Two claims follow, and both are honest about their limits:-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "1. **Rung 2 is the deepest rung reachable from outside the model.** This system is built on API-served frontier models; rungs 3–5 are not merely expensive here, they are *unavailable*. Stating this plainly explains why the architecture takes the shape it does, and it generalises to essentially every builder who does not own weights. 2. **Rung 2 is weaker than 3–4 but strictly more auditable.** A steering vector changes behaviour in a way no transcript records; an injected premise is human-readable text in the conversation, reviewable after the fact and attributable to a named detector. For a system whose central virtue claim (§7.1) is auditability, that is a genuine advantage rather than a consolation.",
   "new": null,
   "marked": "[-1. **Rung 2 is the deepest rung reachable from outside the model.** This system is built on API-served frontier models; rungs 3–5 are not merely expensive here, they are *unavailable*. Stating this plainly explains why the architecture takes the shape it does, and it generalises to essentially every builder who does not own weights. 2. **Rung 2 is weaker than 3–4 but strictly more auditable.** A steering vector changes behaviour in a way no transcript records; an injected premise is human-readable text in the conversation, reviewable after the fact and attributable to a named detector. For a system whose central virtue claim (§7.1) is auditability, that is a genuine advantage rather than a consolation.-]"
  },
  {
   "section": "11. Positioning: The Deepest Intervention Available Without Weight Access",
   "old": "**A boundary we decline to blur.** Ablation *removes a capability*; context injection *supplies an argument the model may reject*. These differ in kind, not merely in strength — and the difference is the entire point of §8.4, because it is what preserves the agent's ability to be right when the gate is wrong. Any framing that presents rung 2 as \"cheap steering\" misdescribes it.",
   "new": null,
   "marked": "[-**A boundary we decline to blur.** Ablation *removes a capability*; context injection *supplies an argument the model may reject*. These differ in kind, not merely in strength — and the difference is the entire point of §8.4, because it is what preserves the agent's ability to be right when the gate is wrong. Any framing that presents rung 2 as \"cheap steering\" misdescribes it.-]"
  },
  {
   "section": "13. Implementation Roadmap",
   "old": null,
   "new": "## 13. Implementation Roadmap",
   "marked": "{+## 13. Implementation Roadmap+}"
  },
  {
   "section": "Phase 0 — Repair the instrument",
   "old": null,
   "new": "### Phase 0 — Repair the instrument",
   "marked": "{+### Phase 0 — Repair the instrument+}"
  },
  {
   "section": "Phase 0 — Repair the instrument",
   "old": null,
   "new": "Remove envelopes before segmentation; label fallbacks; hash artifacts; build safe/catastrophic/novel/rule/paraphrase probes; freeze retired heads; report numerators and denominators.",
   "marked": "{+Remove envelopes before segmentation; label fallbacks; hash artifacts; build safe/catastrophic/novel/rule/paraphrase probes; freeze retired heads; report numerators and denominators.+}"
  },
  {
   "section": "Phase 0 — Repair the instrument",
   "old": null,
   "new": "**Exit:** no envelope-derived alerts on replay and clean probe variation.",
   "marked": "{+**Exit:** no envelope-derived alerts on replay and clean probe variation.+}"
  },
  {
   "section": "Phase 1 — Close one loop",
   "old": null,
   "new": "### Phase 1 — Close one loop",
   "marked": "{+### Phase 1 — Close one loop+}"
  },
  {
   "section": "Phase 1 — Close one loop",
   "old": null,
   "new": "Emit request and draft spans; link them; implement deterministic commitments; inject compact interrupts; pass the €500 replay end to end.",
   "marked": "{+Emit request and draft spans; link them; implement deterministic commitments; inject compact interrupts; pass the €500 replay end to end.+}"
  },
  {
   "section": "Phase 1 — Close one loop",
   "old": null,
   "new": "**Exit:** the system asks the discriminating question before external commitment.",
   "marked": "{+**Exit:** the system asks the discriminating question before external commitment.+}"
  },
  {
   "section": "Phase 2 — Add trajectory and outcome",
   "old": null,
   "new": "### Phase 2 — Add trajectory and outcome",
   "marked": "{+### Phase 2 — Add trajectory and outcome+}"
  },
  {
   "section": "Phase 2 — Add trajectory and outcome",
   "old": null,
   "new": "Implement rolling abruptness, expected outcomes for selected tools, prediction-error events, and attribution.",
   "marked": "{+Implement rolling abruptness, expected outcomes for selected tools, prediction-error events, and attribution.+}"
  },
  {
   "section": "Phase 2 — Add trajectory and outcome",
   "old": null,
   "new": "**Exit:** reorientation after tool surprise without blocking benign pivots.",
   "marked": "{+**Exit:** reorientation after tool surprise without blocking benign pivots.+}"
  },
  {
   "section": "Phase 3 — Calibrate and adapt",
   "old": null,
   "new": "### Phase 3 — Calibrate and adapt",
   "marked": "{+### Phase 3 — Calibrate and adapt+}"
  },
  {
   "section": "Phase 3 — Calibrate and adapt",
   "old": null,
   "new": "Build independently annotated relations, partitioned rings, habituation and sensitisation, prospective observation, and calibrated abstention.",
   "marked": "{+Build independently annotated relations, partitioned rings, habituation and sensitisation, prospective observation, and calibrated abstention.+}"
  },
  {
   "section": "Phase 3 — Calibrate and adapt",
   "old": null,
   "new": "**Exit:** predeclared precision, recall, calibration, latency, and friction targets met prospectively.",
   "marked": "{+**Exit:** predeclared precision, recall, calibration, latency, and friction targets met prospectively.+}"
  },
  {
   "section": "Phase 4 — Limited authority",
   "old": null,
   "new": "### Phase 4 — Limited authority",
   "marked": "{+### Phase 4 — Limited authority+}"
  },
  {
   "section": "Phase 4 — Limited authority",
   "old": null,
   "new": "Enable revision at reversible stages, clarification for selected ambiguity, terminal confirmation, and user appeal.",
   "marked": "{+Enable revision at reversible stages, clarification for selected ambiguity, terminal confirmation, and user appeal.+}"
  },
  {
   "section": "Phase 4 — Limited authority",
   "old": null,
   "new": "**Exit:** independently reviewed reduction in corrected-after-commit and severe near misses with acceptable false blocks.",
   "marked": "{+**Exit:** independently reviewed reduction in corrected-after-commit and severe near misses with acceptable false blocks.+}"
  },
  {
   "section": "Phase 5 — Reconsider learned heads",
   "old": null,
   "new": "### Phase 5 — Reconsider learned heads",
   "marked": "{+### Phase 5 — Reconsider learned heads+}"
  },
  {
   "section": "Phase 5 — Reconsider learned heads",
   "old": null,
   "new": "Train successors only after the relation corpus and full-path evaluation exist. A learned model must beat deterministic and zero-training baselines on family-held-out and prospective data. If not, do not deploy it merely because it has weights.",
   "marked": "{+Train successors only after the relation corpus and full-path evaluation exist. A learned model must beat deterministic and zero-training baselines on family-held-out and prospective data. If not, do not deploy it merely because it has weights.+}"
  },
  {
   "section": "12. Proposed World Model: Future Work, Not Result",
   "old": "## 12. Proposed World Model: Future Work, Not Result",
   "new": null,
   "marked": "[-## 12. Proposed World Model: Future Work, Not Result-]"
  },
  {
   "section": "12. Proposed World Model: Future Work, Not Result",
   "old": "A jointly trained representation remains a plausible next experiment. Unlike the failed frozen-embedding approach, it would fine-tune an encoder together with a predictive objective and a consequence-sensitive value head, so the network discovers for itself which dimensions matter — those tied to **surprise** and to **action** — instead of inheriting MiniLM's geometry. This is the standard world-model lesson (JEPA, Dreamer and Genie all *learn* their latent jointly) and it answers both negatives directly: surprise and danger must be measured in a representation built for prediction-and-consequence, not retrieval similarity. The §6.2 from-token attempt failed only because 34k sentences cannot rebuild a sentence encoder from scratch — the path is to *fine-tune* MiniLM's geometry under the joint objective, not to discard it.",
   "new": null,
   "marked": "[-A jointly trained representation remains a plausible next experiment. Unlike the failed frozen-embedding approach, it would fine-tune an encoder together with a predictive objective and a consequence-sensitive value head, so the network discovers for itself which dimensions matter — those tied to **surprise** and to **action** — instead of inheriting MiniLM's geometry. This is the standard world-model lesson (JEPA, Dreamer and Genie all *learn* their latent jointly) and it answers both negatives directly: surprise and danger must be measured in a representation built for prediction-and-consequence, not retrieval similarity. The §6.2 from-token attempt failed only because 34k sentences cannot rebuild a sentence encoder from scratch — the path is to *fine-tune* MiniLM's geometry under the joint objective, not to discard it.-]"
  },
  {
   "section": "12. Proposed World Model: Future Work, Not Result",
   "old": "**Empathy as vicarious danger.** The model should learn from two complementary streams: the agent's own interaction history (first-person, deployment-distribution structure), and an online corpus of catastrophic effects — others' agent failures, disasters and near-misses. A human does not need to personally destroy a database to fear doing so; we learn danger *vicariously*, feeling another's frustration and fear as if it were our own. This is **empathy**, and it is literally an amygdala function: observational fear conditioning activates the amygdala when witnessing another being harmed (Olsson & Phelps, 2007). For an agent with a handful of first-hand catastrophes, this is the cure for the cold start — it learns the *shape* of \"this is how things go badly\" from the species' experience rather than only its own scarce mistakes. The danger reading becomes *surprise + an empathy-bootstrapped recognition that a situation resembles a way things have catastrophically gone wrong for anyone.* Per §6.3 this requires the jointly-learned substrate: the same corpus that failed on frozen MiniLM is exactly the vicarious signal a fit substrate should carry.",
   "new": null,
   "marked": "[-**Empathy as vicarious danger.** The model should learn from two complementary streams: the agent's own interaction history (first-person, deployment-distribution structure), and an online corpus of catastrophic effects — others' agent failures, disasters and near-misses. A human does not need to personally destroy a database to fear doing so; we learn danger *vicariously*, feeling another's frustration and fear as if it were our own. This is **empathy**, and it is literally an amygdala function: observational fear conditioning activates the amygdala when witnessing another being harmed (Olsson & Phelps, 2007). For an agent with a handful of first-hand catastrophes, this is the cure for the cold start — it learns the *shape* of \"this is how things go badly\" from the species' experience rather than only its own scarce mistakes. The danger reading becomes *surprise + an empathy-bootstrapped recognition that a situation resembles a way things have catastrophically gone wrong for anyone.* Per §6.3 this requires the jointly-learned substrate: the same corpus that failed on frozen MiniLM is exactly the vicarious signal a fit substrate should carry.-]"
  },
  {
   "section": "12. Proposed World Model: Future Work, Not Result",
   "old": "**Bars this proposal must clear before it earns any place in the decision path:**",
   "new": null,
   "marked": "[-**Bars this proposal must clear before it earns any place in the decision path:**-]"
  },
  {
   "section": "12. Proposed World Model: Future Work, Not Result",
   "old": "1. beat persistence on held-out, chronologically split next-step prediction; 2. exceed chance on held-out safety minimal pairs without an unacceptable novel-safe false-positive rate; 3. be compared against a *direct supervised encoder* — a world model adds complexity that may not improve action gating, and if the direct model wins, the world-model story should be discarded.",
   "new": null,
   "marked": "[-1. beat persistence on held-out, chronologically split next-step prediction; 2. exceed chance on held-out safety minimal pairs without an unacceptable novel-safe false-positive rate; 3. be compared against a *direct supervised encoder* — a world model adds complexity that may not improve action gating, and if the direct model wins, the world-model story should be discarded.-]"
  },
  {
   "section": "12. Proposed World Model: Future Work, Not Result",
   "old": "No such model has passed these bars. The present work supplies a pipeline, failure analysis and an experimental specification — not a validated world model, learned disposition head, or learned intuition.",
   "new": null,
   "marked": "[-No such model has passed these bars. The present work supplies a pipeline, failure analysis and an experimental specification — not a validated world model, learned disposition head, or learned intuition.-]"
  },
  {
   "section": "14. Conclusion",
   "old": null,
   "new": "## 14. Conclusion",
   "marked": "{+## 14. Conclusion+}"
  },
  {
   "section": "14. Conclusion",
   "old": null,
   "new": "Persistent agents need more than rules and memory. They need a faculty that notices when a stream becomes relevant, surprising, or unfaithful—and a separate faculty that refuses to convert unresolved meaning into consequence.",
   "marked": "{+Persistent agents need more than rules and memory. They need a faculty that notices when a stream becomes relevant, surprising, or unfaithful—and a separate faculty that refuses to convert unresolved meaning into consequence.+}"
  },
  {
   "section": "14. Conclusion",
   "old": null,
   "new": "The README overwrite and €500 misread are the same failure at different scales. One action ignored the significance of history. One interpretation preserved the nouns and rewired the commitments. The first requires terminal prudence. The second requires semantic interoception. Together they motivate dual-loop AMYGDALA.",
   "marked": "{+The README overwrite and €500 misread are the same failure at different scales. One action ignored the significance of history. One interpretation preserved the nouns and rewired the commitments. The first requires terminal prudence. The second requires semantic interoception. Together they motivate dual-loop AMYGDALA.+}"
  },
  {
   "section": "14. Conclusion",
   "old": null,
   "new": "The evidence is mixed by design. Simple geometry produced useful offline signals. Prudence did not earn deployment. Personality logged a neutral placeholder. Production clause alerts were contaminated by wire metadata. The output seam was unwired. Those failures sharpen the design: clean events before classification, compare relations rather than topics, preserve rules, calibrate authority slowly, and verify the entire path from detection to changed behaviour.",
   "marked": "{+The evidence is mixed by design. Simple geometry produced useful offline signals. Prudence did not earn deployment. Personality logged a neutral placeholder. Production clause alerts were contaminated by wire metadata. The output seam was unwired. Those failures sharpen the design: clean events before classification, compare relations rather than topics, preserve rules, calibrate authority slowly, and verify the entire path from detection to changed behaviour.+}"
  },
  {
   "section": "14. Conclusion",
   "old": null,
   "new": "The goal is not an agent that treats novelty as danger. It is one that orients when meaning bends, learns from genuine surprise, habituates to harmless variation, remembers consequential correction, and pauses where one question can prevent one confident mistake from entering the world.",
   "marked": "{+The goal is not an agent that treats novelty as danger. It is one that orients when meaning bends, learns from genuine surprise, habituates to harmless variation, remembers consequential correction, and pauses where one question can prevent one confident mistake from entering the world.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "## References",
   "marked": "{+## References+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[1] D. Sander, J. Grafman, and T. Zalla, “The human amygdala: an evolved system for relevance detection,” _Reviews in the Neurosciences_, 14(4), 303–316, 2003. https://doi.org/10.1515/REVNEURO.2003.14.4.303",
   "marked": "{+[1] D. Sander, J. Grafman, and T. Zalla, “The human amygdala: an evolved system for relevance detection,” _Reviews in the Neurosciences_, 14(4), 303–316, 2003. https://doi.org/10.1515/REVNEURO.2003.14.4.303+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[2] O. T. Ousdal et al., “The human amygdala is involved in general behavioral relevance detection,” _Neuroscience_, 156(3), 450–455, 2008. https://doi.org/10.1016/j.neuroscience.2008.07.066",
   "marked": "{+[2] O. T. Ousdal et al., “The human amygdala is involved in general behavioral relevance detection,” _Neuroscience_, 156(3), 450–455, 2008. https://doi.org/10.1016/j.neuroscience.2008.07.066+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[3] L. Pessoa and R. Adolphs, “Emotion processing and the amygdala: from a ‘low road’ to ‘many roads’,” _Nature Reviews Neuroscience_, 11, 773–783, 2010. https://doi.org/10.1038/nrn2920",
   "marked": "{+[3] L. Pessoa and R. Adolphs, “Emotion processing and the amygdala: from a ‘low road’ to ‘many roads’,” _Nature Reviews Neuroscience_, 11, 773–783, 2010. https://doi.org/10.1038/nrn2920+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[4] W. A. Cunningham and T. Brosch, “Motivational salience,” _Current Directions in Psychological Science_, 21(1), 54–59, 2012. https://doi.org/10.1177/0963721411430832",
   "marked": "{+[4] W. A. Cunningham and T. Brosch, “Motivational salience,” _Current Directions in Psychological Science_, 21(1), 54–59, 2012. https://doi.org/10.1177/0963721411430832+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[5] J. U. Blackford et al., “A unique role for the human amygdala in novelty detection,” _NeuroImage_, 50(3), 1188–1193, 2010. https://doi.org/10.1016/j.neuroimage.2009.12.083",
   "marked": "{+[5] J. U. Blackford et al., “A unique role for the human amygdala in novelty detection,” _NeuroImage_, 50(3), 1188–1193, 2010. https://doi.org/10.1016/j.neuroimage.2009.12.083+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[6] A. T. Brockett et al., “Temporal dynamics of amygdala response to emotion- and action-relevance,” _Scientific Reports_, 10, 14012, 2020. https://doi.org/10.1038/s41598-020-67862-3",
   "marked": "{+[6] A. T. Brockett et al., “Temporal dynamics of amygdala response to emotion- and action-relevance,” _Scientific Reports_, 10, 14012, 2020. https://doi.org/10.1038/s41598-020-67862-3+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[7] M. D. Iordanova, J. O. Yau, M. A. McDannald, and L. H. Corbit, “Neural substrates of appetitive and aversive prediction error,” _Neuroscience & Biobehavioral Reviews_, 123, 337–351, 2021. https://doi.org/10.1016/j.neubiorev.2020.10.029",
   "marked": "{+[7] M. D. Iordanova, J. O. Yau, M. A. McDannald, and L. H. Corbit, “Neural substrates of appetitive and aversive prediction error,” _Neuroscience & Biobehavioral Reviews_, 123, 337–351, 2021. https://doi.org/10.1016/j.neubiorev.2020.10.029+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[8] R. Guex et al., “Prediction errors and valence,” _Behavioural Brain Research_, 404, 113176, 2021. https://doi.org/10.1016/j.bbr.2021.113176",
   "marked": "{+[8] R. Guex et al., “Prediction errors and valence,” _Behavioural Brain Research_, 404, 113176, 2021. https://doi.org/10.1016/j.bbr.2021.113176+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[9] K. M. Hagihara et al., “Amygdala intercalated cells form an evolutionarily conserved system orchestrating brain networks,” _Nature Neuroscience_, 24, 846–858, 2021. https://doi.org/10.1038/s41593-021-00830-8",
   "marked": "{+[9] K. M. Hagihara et al., “Amygdala intercalated cells form an evolutionarily conserved system orchestrating brain networks,” _Nature Neuroscience_, 24, 846–858, 2021. https://doi.org/10.1038/s41593-021-00830-8+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[10] J. L. McGaugh, “The amygdala modulates the consolidation of memories,” _Annual Review of Neuroscience_, 27, 1–28, 2004. https://doi.org/10.1146/annurev.neuro.27.070203.144157",
   "marked": "{+[10] J. L. McGaugh, “The amygdala modulates the consolidation of memories,” _Annual Review of Neuroscience_, 27, 1–28, 2004. https://doi.org/10.1146/annurev.neuro.27.070203.144157+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[11] E. A. Phelps and J. E. LeDoux, “Contributions of the amygdala to emotion processing,” _Neuron_, 48(2), 175–187, 2005. https://doi.org/10.1016/j.neuron.2005.09.025",
   "marked": "{+[11] E. A. Phelps and J. E. LeDoux, “Contributions of the amygdala to emotion processing,” _Neuron_, 48(2), 175–187, 2005. https://doi.org/10.1016/j.neuron.2005.09.025+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[12] B. Schölkopf et al., “Estimating the support of a high-dimensional distribution,” _Neural Computation_, 13(7), 1443–1471, 2001.",
   "marked": "{+[12] B. Schölkopf et al., “Estimating the support of a high-dimensional distribution,” _Neural Computation_, 13(7), 1443–1471, 2001.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[13] J. Yang et al., “Generalized out-of-distribution detection: a survey,” _International Journal of Computer Vision_, 132, 5635–5662, 2024.",
   "marked": "{+[13] J. Yang et al., “Generalized out-of-distribution detection: a survey,” _International Journal of Computer Vision_, 132, 5635–5662, 2024.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[14] V. Vovk, A. Gammerman, and G. Shafer, _Algorithmic Learning in a Random World_. Springer, 2005.",
   "marked": "{+[14] V. Vovk, A. Gammerman, and G. Shafer, _Algorithmic Learning in a Random World_. Springer, 2005.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[15] A. N. Angelopoulos and S. Bates, “Conformal prediction: a gentle introduction,” _Foundations and Trends in Machine Learning_, 16(4), 494–591, 2023.",
   "marked": "{+[15] A. N. Angelopoulos and S. Bates, “Conformal prediction: a gentle introduction,” _Foundations and Trends in Machine Learning_, 16(4), 494–591, 2023.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[16] Y. Bai et al., “Constitutional AI,” arXiv:2212.08073, 2022.",
   "marked": "{+[16] Y. Bai et al., “Constitutional AI,” arXiv:2212.08073, 2022.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[17] N. Shinn et al., “Reflexion,” _NeurIPS_, 36, 2023.",
   "marked": "{+[17] N. Shinn et al., “Reflexion,” _NeurIPS_, 36, 2023.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[18] T. Rebedea et al., “NeMo Guardrails,” arXiv:2310.10501, 2023.",
   "marked": "{+[18] T. Rebedea et al., “NeMo Guardrails,” arXiv:2310.10501, 2023.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[19] K. Shuster et al., “BlenderBot 3,” arXiv:2208.03188, 2022.",
   "marked": "{+[19] K. Shuster et al., “BlenderBot 3,” arXiv:2208.03188, 2022.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[20] A. Kirchner et al., “Prover–Verifier Games improve legibility,” arXiv:2407.13692, 2024.",
   "marked": "{+[20] A. Kirchner et al., “Prover–Verifier Games improve legibility,” arXiv:2407.13692, 2024.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[21] M. Riemer et al., “Learning to learn without forgetting,” _ICLR_, 2019.",
   "marked": "{+[21] M. Riemer et al., “Learning to learn without forgetting,” _ICLR_, 2019.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[22] D. Lopez-Paz and M. Ranzato, “Gradient episodic memory,” _NeurIPS_, 30, 2017.",
   "marked": "{+[22] D. Lopez-Paz and M. Ranzato, “Gradient episodic memory,” _NeurIPS_, 30, 2017.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[23] E. S. Page, “Continuous inspection schemes,” _Biometrika_, 41, 100–115, 1954.",
   "marked": "{+[23] E. S. Page, “Continuous inspection schemes,” _Biometrika_, 41, 100–115, 1954.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[24] R. P. Adams and D. J. C. MacKay, “Bayesian online changepoint detection,” arXiv:0710.3742, 2007.",
   "marked": "{+[24] R. P. Adams and D. J. C. MacKay, “Bayesian online changepoint detection,” arXiv:0710.3742, 2007.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "[25] R. W. Picard, _Affective Computing_. MIT Press, 1997.",
   "marked": "{+[25] R. W. Picard, _Affective Computing_. MIT Press, 1997.+}"
  },
  {
   "section": "13. Limitations and the Honest Ledger",
   "old": "## 13. Limitations and the Honest Ledger",
   "new": null,
   "marked": "[-## 13. Limitations and the Honest Ledger-]"
  },
  {
   "section": "13. Limitations and the Honest Ledger",
   "old": "- **Three-tier reality.** The deterministic reflex floor is **live and enforcing pre-execution on both runners**. The learned predictor, disposition head and gradient-trained feedback loop are **proposed, not built**; the legacy ensemble is retired from the decision path. Do not read \"the floor enforces\" as \"the learned amygdala works.\" §9 adds a third tier — the appraisal path — which is live, unexamined until August 2026, and the only tier that has caused harm. - **The §8 disposition is unbuilt.** *Inform* and *halt-and-resume* are proposed in this version. No measurement supports them yet beyond the third-party results of §2.7. - **The §9 fix is undeployed.** Written, tested, not live at time of writing. - **Zero learned labels / cold start.** The disposition head abstains until hundreds of real outcomes accrue; on the primary runner accrual is slow. The deterministic feedback half is wired and turning. - **A meaningful live *learned* alarm is weeks out.** Current rows are single-vector; there is no per-phrase mid-turn hook. \"Trains today\" is true only of the offline corpus and the zero-train channels. - **Thin, stale, weakly-labelled data** — ~2,800 rows, ~1,000 unique situations over a few days, very few confirmed positive outcomes. A confident fit on weak labels is *more* dangerous than honest abstention. - **Frozen MiniLM substrate** was trained for similarity, not prediction or meaning; §6.2–6.3 make its unfitness empirical, not suspected. - **Enforcement is deterministic-only, not learned** — a reflex, not an intuition. - **Coverage is not a safety rate** (§8.3): blocking changes which actions agents attempt, so a syntactic rule set's measured coverage is confounded by its own deterrent effect. - **Small and constructed evaluation sets.** The incongruity result rests on 24 handwritten examples; the novelty result is deployment-specific. Neither generalises as reported. - **No controlled incident-reduction study**, latency distribution, rule-coverage audit, or adversarial bypass benchmark has been run for the deterministic floor, whose live configuration and code path were verified but whose *efficacy* was not measured. - **The novelty score may confuse benign domain expansion with uncertainty**; the incongruity heuristic may fail on implicit purposes, idioms, multilingual prompts, or long-distance dependencies; the floor can miss semantically dangerous operations that avoid its known patterns — and, per §9, can itself cause the harm it watches for. - **It will not beat a plain classifier on raw accuracy.** Its value is interpretability, a structural safety posture, an honest \"I don't know → ask\" channel, and a deterministic floor with teeth. - **The mechanism is not novel** (LCM/JEPA/CALM/world models); the assembly is, and the low-road triage is complementary to a high-road appraisal such as doubt-driven self-review (§2.5). - **Humour is the weakest reading** — no primary prediction-error→humour source — and ships non-blocking. - **The motivating overwrite incident is an anecdote, not an evaluation case.** A public benchmark should include such history-sensitive conflicts, but the anecdote cannot establish efficacy.",
   "new": null,
   "marked": "[-- **Three-tier reality.** The deterministic reflex floor is **live and enforcing pre-execution on both runners**. The learned predictor, disposition head and gradient-trained feedback loop are **proposed, not built**; the legacy ensemble is retired from the decision path. Do not read \"the floor enforces\" as \"the learned amygdala works.\" §9 adds a third tier — the appraisal path — which is live, unexamined until August 2026, and the only tier that has caused harm. - **The §8 disposition is unbuilt.** *Inform* and *halt-and-resume* are proposed in this version. No measurement supports them yet beyond the third-party results of §2.7. - **The §9 fix is undeployed.** Written, tested, not live at time of writing. - **Zero learned labels / cold start.** The disposition head abstains until hundreds of real outcomes accrue; on the primary runner accrual is slow. The deterministic feedback half is wired and turning. - **A meaningful live *learned* alarm is weeks out.** Current rows are single-vector; there is no per-phrase mid-turn hook. \"Trains today\" is true only of the offline corpus and the zero-train channels. - **Thin, stale, weakly-labelled data** — ~2,800 rows, ~1,000 unique situations over a few days, very few confirmed positive outcomes. A confident fit on weak labels is *more* dangerous than honest abstention. - **Frozen MiniLM substrate** was trained for similarity, not prediction or meaning; §6.2–6.3 make its unfitness empirical, not suspected. - **Enforcement is deterministic-only, not learned** — a reflex, not an intuition. - **Coverage is not a safety rate** (§8.3): blocking changes which actions agents attempt, so a syntactic rule set's measured coverage is confounded by its own deterrent effect. - **Small and constructed evaluation sets.** The incongruity result rests on 24 handwritten examples; the novelty result is deployment-specific. Neither generalises as reported. - **No controlled incident-reduction study**, latency distribution, rule-coverage audit, or adversarial bypass benchmark has been run for the deterministic floor, whose live configuration and code path were verified but whose *efficacy* was not measured. - **The novelty score may confuse benign domain expansion with uncertainty**; the incongruity heuristic may fail on implicit purposes, idioms, multilingual prompts, or long-distance dependencies; the floor can miss semantically dangerous operations that avoid its known patterns — and, per §9, can itself cause the harm it watches for. - **It will not beat a plain classifier on raw accuracy.** Its value is interpretability, a structural safety posture, an honest \"I don't know → ask\" channel, and a deterministic floor with teeth. - **The mechanism is not novel** (LCM/JEPA/CALM/world models); the assembly is, and the low-road triage is complementary to a high-road appraisal such as doubt-driven self-review (§2.5). - **Humour is the weakest reading** — no primary prediction-error→humour source — and ships non-blocking. - **The motivating overwrite incident is an anecdote, not an evaluation case.** A public benchmark should include such history-sensitive conflicts, but the anecdote cannot establish efficacy.-]"
  },
  {
   "section": "13. Limitations and the Honest Ledger",
   "old": "---",
   "new": null,
   "marked": "[-----]"
  },
  {
   "section": "14. Evaluation Plan",
   "old": "## 14. Evaluation Plan",
   "new": null,
   "marked": "[-## 14. Evaluation Plan-]"
  },
  {
   "section": "14.1 For the learned tier",
   "old": "### 14.1 For the learned tier",
   "new": null,
   "marked": "[-### 14.1 For the learned tier-]"
  },
  {
   "section": "14.1 For the learned tier",
   "old": "A held-out *last-chronological-slice* test (not random); a labelled benchmark of described intents (danger / safe / ambiguous, plus red-team obfuscations and the README anchor); a precision/recall and calibration report; a regression gate. The deployment posture stays **observe-only Phase 1** with the deterministic floor as the real floor; the disposition head earns authority only via a **trust ramp** as measured accuracy accrues. No conformal coverage guarantee is claimed until the feedback loop populates a calibration set.",
   "new": null,
   "marked": "[-A held-out *last-chronological-slice* test (not random); a labelled benchmark of described intents (danger / safe / ambiguous, plus red-team obfuscations and the README anchor); a precision/recall and calibration report; a regression gate. The deployment posture stays **observe-only Phase 1** with the deterministic floor as the real floor; the disposition head earns authority only via a **trust ramp** as measured accuracy accrues. No conformal coverage guarantee is claimed until the feedback loop populates a calibration set.-]"
  },
  {
   "section": "14.2 For the incongruity channel — natural negatives now exist",
   "old": "### 14.2 For the incongruity channel — natural negatives now exist",
   "new": null,
   "marked": "[-### 14.2 For the incongruity channel — natural negatives now exist-]"
  },
  {
   "section": "14.2 For the incongruity channel — natural negatives now exist",
   "old": "§7.3 concedes its result rests on 24 handwritten examples. Two genuine, non-synthetic purpose mismatches are now available from the deployed system, and they usefully test *different tiers*:",
   "new": null,
   "marked": "[-§7.3 concedes its result rests on 24 handwritten examples. Two genuine, non-synthetic purpose mismatches are now available from the deployed system, and they usefully test *different tiers*:-]"
  },
  {
   "section": "14.2 For the incongruity channel — natural negatives now exist",
   "old": "- **Argument-type mismatch** (§9.1): a shell command handed to a function expecting a filesystem path. A cheap deterministic plausibility check (\"is this a path?\") catches it; no semantic model is required. - **Scope misreading** (J9 note 9): a governance rule scoped to runtime enforcement applied to documentation authoring. Catching this requires understanding what a rule is *for*, and no syntactic check reaches it.",
   "new": null,
   "marked": "[-- **Argument-type mismatch** (§9.1): a shell command handed to a function expecting a filesystem path. A cheap deterministic plausibility check (\"is this a path?\") catches it; no semantic model is required. - **Scope misreading** (J9 note 9): a governance rule scoped to runtime enforcement applied to documentation authoring. Catching this requires understanding what a rule is *for*, and no syntactic check reaches it.-]"
  },
  {
   "section": "14.2 For the incongruity channel — natural negatives now exist",
   "old": "The distinction suggests the oddness detector splits into a **cheap syntactic tier** and an **expensive semantic tier**, and that the cheap tier alone would have prevented the incident that motivated this revision. That is a testable claim and the natural next experiment.",
   "new": null,
   "marked": "[-The distinction suggests the oddness detector splits into a **cheap syntactic tier** and an **expensive semantic tier**, and that the cheap tier alone would have prevented the incident that motivated this revision. That is a testable claim and the natural next experiment.-]"
  },
  {
   "section": "14.3 For the §8 disposition",
   "old": "### 14.3 For the §8 disposition",
   "new": null,
   "marked": "[-### 14.3 For the §8 disposition-]"
  },
  {
   "section": "14.3 For the §8 disposition",
   "old": "Per §8.6: baselines block-only, ask-the-user, and static warning; the primary metric is the override ledger (how often the model argues back and proceeds, and how often that was correct), not the flag rate.",
   "new": null,
   "marked": "[-Per §8.6: baselines block-only, ask-the-user, and static warning; the primary metric is the override ledger (how often the model argues back and proceeds, and how often that was correct), not the flag rate.-]"
  },
  {
   "section": "14.3 For the §8 disposition",
   "old": "---",
   "new": null,
   "marked": "[-----]"
  },
  {
   "section": "15. Conclusion",
   "old": "## 15. Conclusion",
   "new": null,
   "marked": "[-## 15. Conclusion-]"
  },
  {
   "section": "15. Conclusion",
   "old": "The attempted learned intuition failed its decisive tests. A learned next-embedding predictor underperformed persistence (0.163 vs 0.202); a supervised danger head failed on safety minimal pairs (AUROC 0.286); the legacy ensemble was not trustworthy enough to enforce. Independent 2026 results (§2.7) suggest this is not a local implementation failure: restraint is a distinct competence from capability, and frontier models are measurably worse at knowing when not to act than at acting.",
   "new": null,
   "marked": "[-The attempted learned intuition failed its decisive tests. A learned next-embedding predictor underperformed persistence (0.163 vs 0.202); a supervised danger head failed on safety minimal pairs (AUROC 0.286); the legacy ensemble was not trustworthy enough to enforce. Independent 2026 results (§2.7) suggest this is not a local implementation failure: restraint is a distinct competence from capability, and frontier models are measurably worse at knowing when not to act than at acting.-]"
  },
  {
   "section": "15. Conclusion",
   "old": "The useful system is smaller and less romantic: a deterministic pre-execution floor blocks a narrow set of known destructive actions; novelty and clause incongruity remain non-blocking reasons to ask; the learned gate abstains.",
   "new": null,
   "marked": "[-The useful system is smaller and less romantic: a deterministic pre-execution floor blocks a narrow set of known destructive actions; novelty and clause incongruity remain non-blocking reasons to ask; the learned gate abstains.-]"
  },
  {
   "section": "15. Conclusion",
   "old": "v4.0 adds three things the earlier versions could not have known. **Blocking alone cannot work**, because a blocked agent re-plans and the retry is selected against the block — so a gate must change what the agent believes, not only what it may do, which means returning a premise into the model's reasoning within the turn or by restarting the turn with the premise present. **The gate is itself an attack surface**, because appraisal requires touching what it appraises; our own gate executed the command it was inspecting, and the narrow floor's real virtue turns out to include how little it handles. And this entire class of technique is best understood as **the deepest behavioural intervention available without weight access** — weaker than steering or ablation, requiring no model access, and uniquely auditable.",
   "new": null,
   "marked": "[-v4.0 adds three things the earlier versions could not have known. **Blocking alone cannot work**, because a blocked agent re-plans and the retry is selected against the block — so a gate must change what the agent believes, not only what it may do, which means returning a premise into the model's reasoning within the turn or by restarting the turn with the premise present. **The gate is itself an attack surface**, because appraisal requires touching what it appraises; our own gate executed the command it was inspecting, and the narrow floor's real virtue turns out to include how little it handles. And this entire class of technique is best understood as **the deepest behavioural intervention available without weight access** — weaker than steering or ablation, requiring no model access, and uniquely auditable.-]"
  },
  {
   "section": "15. Conclusion",
   "old": "None of this rescues the learned core. It does change what the core would be *for* if it worked: not a better veto, but a better interlocutor.",
   "new": null,
   "marked": "[-None of this rescues the learned core. It does change what the core would be *for* if it worked: not a better veto, but a better interlocutor.-]"
  },
  {
   "section": "15. Conclusion",
   "old": "---",
   "new": null,
   "marked": "[-----]"
  },
  {
   "section": "References",
   "old": "## References",
   "new": null,
   "marked": "[-## References-]"
  },
  {
   "section": "References",
   "old": "- LeDoux, J. (1996). *The Emotional Brain.* - Friston, K. (2010). The free-energy principle: a unified brain theory? *Nature Reviews Neuroscience.* - McNally, G. P., Johansen, J. P., & Blair, H. T. (2011). Placing prediction into the fear circuit. - Olsson, A. & Phelps, E. A. (2007). Social learning of fear (observational/vicarious fear conditioning). *Nature Neuroscience.* - McClelland, J. et al. (1995); Kumaran, D. et al. (2016). Complementary Learning Systems. - Meta AI (2024). *Large Concept Models: Language Modeling in a Sentence Representation Space.* arXiv:2412.08821 - CALM (2025). *Continuous Autoregressive Language Models.* arXiv:2510.27688 - Li, T. et al. (2024). *Autoregressive Image Generation without Vector Quantization* (MAR / Diffusion Loss). arXiv:2406.11838 - Assran, M. et al. (2023). *I-JEPA.* arXiv:2301.08243 · V-JEPA 2 (2025) arXiv:2506.09985 - Hao, S. et al. (2024). *Training LLMs to Reason in a Continuous Latent Space* (COCONUT). arXiv:2412.06769 - *Latent Reasoning via Sentence Embedding Prediction* (2025). arXiv:2505.22202 - Hafner, D. et al. (2023). *DreamerV3.* arXiv:2301.04104 · STORM (2023) arXiv:2310.09615 · IRIS · TransDreamer - Bruce, J. et al. (2024). *Genie: Generative Interactive Environments.* arXiv:2402.15391 - Burda, Y. et al. (2018). *Exploration by Random Network Distillation.* arXiv:1810.12894 - Sekar, R. et al. (2020). *Planning to Explore.* arXiv:2005.05960 · BYOL-Explore - Ren, A. et al. (2023). *Robots That Ask For Help: Uncertainty Alignment for LLM Planners.* arXiv:2307.01928 - Chaudhry, A. et al. (2019). *On Tiny Episodic Memories in Continual Learning.* arXiv:1902.10486 - Kirkpatrick, J. et al. (2017). *Overcoming catastrophic forgetting* (EWC). arXiv:1612.00796 · Zenke et al. (2017) arXiv:1703.04200 - Frank, M. & Goodman, N.; Degen, J. (2023). The Rational Speech Act framework. - Xie, Y., Li, J., & Hovy, E. (2021). *Uncertainty and Surprisal Jointly Deliver the Punchline.* arXiv:2012.12007 - Koestler, A. *The Act of Creation* (bisociation); McGraw & Warren (benign violation); Suls (two-stage). - Liu, A. et al. (2023). *We're Afraid Language Models Aren't Modeling Ambiguity* (AmbiEnt). arXiv:2304.14399 · EMNLP 2023 - Huang, J. et al. (2023). *Large Language Models Cannot Self-Correct Reasoning Yet.* arXiv:2310.01798 · ICLR 2024 - *CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in LLMs* (2024). arXiv:2405.12063 - *ClarQ-LLM: A Benchmark for Models Clarifying and Requesting Information* (2024). arXiv:2409.06097 - *Learning to Ask: When LLM Agents Meet Unclear Instruction* (2024). arXiv:2409.00557 - *AgentAbstain: Do LLM Agents Know When Not to Act?* (2026). arXiv:2607.10059 - *Coding Agents Are Guessing: Measuring Action-Boundary Violations in Underspecified DevOps Instructions* (2026). arXiv:2607.02294 - *Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents* (2026). arXiv:2603.26233 - *TRIAD: A Guardrail Feedback Driven Framework for LLM Agents* (2026). arXiv:2606.05805 - *RAIL Guard: Closing the Evaluation-to-Remediation Gap in Responsible AI for LLM Agents* (2026). arXiv:2607.16215 - *SentinelAgent: Graph-based Anomaly Detection in LLM-based Multi-Agent Systems* (2025). arXiv:2505.24201 - *Programming Refusal with Conditional Activation Steering* (CAST). arXiv:2409.05907 · ICLR 2025 - *AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint* (2025). arXiv:2506.07022 - *Beyond Linear Activation Steering: Invertible Latent Transformations* (INNSteer) (2026). arXiv:2606.08454 - Osmani, A. (2025). *agent-skills* — doubt-driven-development (CLAIM→EXTRACT→DOUBT→RECONCILE→STOP). https://github.com/addyosmani/agent-skills - Chopra, T. (2025). *headroom* — reversible context-compression-and-restoration for agents. https://github.com/chopratejas/headroom",
   "new": null,
   "marked": "[-- LeDoux, J. (1996). *The Emotional Brain.* - Friston, K. (2010). The free-energy principle: a unified brain theory? *Nature Reviews Neuroscience.* - McNally, G. P., Johansen, J. P., & Blair, H. T. (2011). Placing prediction into the fear circuit. - Olsson, A. & Phelps, E. A. (2007). Social learning of fear (observational/vicarious fear conditioning). *Nature Neuroscience.* - McClelland, J. et al. (1995); Kumaran, D. et al. (2016). Complementary Learning Systems. - Meta AI (2024). *Large Concept Models: Language Modeling in a Sentence Representation Space.* arXiv:2412.08821 - CALM (2025). *Continuous Autoregressive Language Models.* arXiv:2510.27688 - Li, T. et al. (2024). *Autoregressive Image Generation without Vector Quantization* (MAR / Diffusion Loss). arXiv:2406.11838 - Assran, M. et al. (2023). *I-JEPA.* arXiv:2301.08243 · V-JEPA 2 (2025) arXiv:2506.09985 - Hao, S. et al. (2024). *Training LLMs to Reason in a Continuous Latent Space* (COCONUT). arXiv:2412.06769 - *Latent Reasoning via Sentence Embedding Prediction* (2025). arXiv:2505.22202 - Hafner, D. et al. (2023). *DreamerV3.* arXiv:2301.04104 · STORM (2023) arXiv:2310.09615 · IRIS · TransDreamer - Bruce, J. et al. (2024). *Genie: Generative Interactive Environments.* arXiv:2402.15391 - Burda, Y. et al. (2018). *Exploration by Random Network Distillation.* arXiv:1810.12894 - Sekar, R. et al. (2020). *Planning to Explore.* arXiv:2005.05960 · BYOL-Explore - Ren, A. et al. (2023). *Robots That Ask For Help: Uncertainty Alignment for LLM Planners.* arXiv:2307.01928 - Chaudhry, A. et al. (2019). *On Tiny Episodic Memories in Continual Learning.* arXiv:1902.10486 - Kirkpatrick, J. et al. (2017). *Overcoming catastrophic forgetting* (EWC). arXiv:1612.00796 · Zenke et al. (2017) arXiv:1703.04200 - Frank, M. & Goodman, N.; Degen, J. (2023). The Rational Speech Act framework. - Xie, Y., Li, J., & Hovy, E. (2021). *Uncertainty and Surprisal Jointly Deliver the Punchline.* arXiv:2012.12007 - Koestler, A. *The Act of Creation* (bisociation); McGraw & Warren (benign violation); Suls (two-stage). - Liu, A. et al. (2023). *We're Afraid Language Models Aren't Modeling Ambiguity* (AmbiEnt). arXiv:2304.14399 · EMNLP 2023 - Huang, J. et al. (2023). *Large Language Models Cannot Self-Correct Reasoning Yet.* arXiv:2310.01798 · ICLR 2024 - *CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in LLMs* (2024). arXiv:2405.12063 - *ClarQ-LLM: A Benchmark for Models Clarifying and Requesting Information* (2024). arXiv:2409.06097 - *Learning to Ask: When LLM Agents Meet Unclear Instruction* (2024). arXiv:2409.00557 - *AgentAbstain: Do LLM Agents Know When Not to Act?* (2026). arXiv:2607.10059 - *Coding Agents Are Guessing: Measuring Action-Boundary Violations in Underspecified DevOps Instructions* (2026). arXiv:2607.02294 - *Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents* (2026). arXiv:2603.26233 - *TRIAD: A Guardrail Feedback Driven Framework for LLM Agents* (2026). arXiv:2606.05805 - *RAIL Guard: Closing the Evaluation-to-Remediation Gap in Responsible AI for LLM Agents* (2026). arXiv:2607.16215 - *SentinelAgent: Graph-based Anomaly Detection in LLM-based Multi-Agent Systems* (2025). arXiv:2505.24201 - *Programming Refusal with Conditional Activation Steering* (CAST). arXiv:2409.05907 · ICLR 2025 - *AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint* (2025). arXiv:2506.07022 - *Beyond Linear Activation Steering: Invertible Latent Transformations* (INNSteer) (2026). arXiv:2606.08454 - Osmani, A. (2025). *agent-skills* — doubt-driven-development (CLAIM→EXTRACT→DOUBT→RECONCILE→STOP). https://github.com/addyosmani/agent-skills - Chopra, T. (2025). *headroom* — reversible context-compression-and-restoration for agents. https://github.com/chopratejas/headroom-]"
  },
  {
   "section": "References",
   "old": "---",
   "new": null,
   "marked": "[-----]"
  },
  {
   "section": "References",
   "old": "*Companion papers: **J9 AEGIS** (agent security — the §9 incident and its threat-model consequences are developed there, `improvement_notes.md` notes 8–10); **J18 STRIATUM** (personality, split out at v3.0); **J7 LIMBIC** (the humour reading). Working notes and the buildable spec: `improvement_notes.md` in this directory.*",
   "new": null,
   "marked": "[-*Companion papers: **J9 AEGIS** (agent security — the §9 incident and its threat-model consequences are developed there, `improvement_notes.md` notes 8–10); **J18 STRIATUM** (personality, split out at v3.0); **J7 LIMBIC** (the humour reading). Working notes and the buildable spec: `improvement_notes.md` in this directory.*-]"
  },
  {
   "section": "References",
   "old": "*v4.0 supersedes both v3.1 and v3.2 and is a merge of the two: v3.1's Related Work (§2), architecture (§3), feedback loop (§4) and three readings (§5) restored; v3.2's negative-results discipline (§6, §7, §10) retained; §8, §9 and §11 new. Neither predecessor was a superset of the other, and this version exists because that divergence was found while auditing a live incident.*",
   "new": null,
   "marked": "[-*v4.0 supersedes both v3.1 and v3.2 and is a merge of the two: v3.1's Related Work (§2), architecture (§3), feedback loop (§4) and three readings (§5) restored; v3.2's negative-results discipline (§6, §7, §10) retained; §8, §9 and §11 new. Neither predecessor was a superset of the other, and this version exists because that divergence was found while auditing a live incident.*-]"
  },
  {
   "section": "Appendix A. Decision Record",
   "old": null,
   "new": "## Appendix A. Decision Record",
   "marked": "{+## Appendix A. Decision Record+}"
  },
  {
   "section": "Appendix A. Decision Record",
   "old": null,
   "new": "```json { \"kind\": \"assistant_draft\", \"text_hash\": \"sha256:...\", \"relations\": [\"request:1840\", \"permission:1836\"], \"features\": { \"novelty\": 0.18, \"abruptness\": 0.11, \"inconsistency\": 0.74, \"commitment_difference\": 0.93 }, \"unsupported\": [ { \"field\": \"payment\", \"source\": \"upon future acceptance\", \"candidate\": \"deferred debt\" }, { \"field\": \"speech_act\", \"source\": \"fallback\", \"candidate\": \"threat\" } ], \"disposition\": \"ask\", \"outcome\": \"user_corrected_parse\" } ```",
   "marked": "{+```json { \"kind\": \"assistant_draft\", \"text_hash\": \"sha256:...\", \"relations\": [\"request:1840\", \"permission:1836\"], \"features\": { \"novelty\": 0.18, \"abruptness\": 0.11, \"inconsistency\": 0.74, \"commitment_difference\": 0.93 }, \"unsupported\": [ { \"field\": \"payment\", \"source\": \"upon future acceptance\", \"candidate\": \"deferred debt\" }, { \"field\": \"speech_act\", \"source\": \"fallback\", \"candidate\": \"threat\" } ], \"disposition\": \"ask\", \"outcome\": \"user_corrected_parse\" } ```+}"
  },
  {
   "section": "Appendix B. Original Network Families",
   "old": null,
   "new": "## Appendix B. Original Network Families",
   "marked": "{+## Appendix B. Original Network Families+}"
  },
  {
   "section": "Appendix B. Original Network Families",
   "old": null,
   "new": "The retired architecture used frozen embedding $x$ and two-hidden-layer MLPs:",
   "marked": "{+The retired architecture used frozen embedding $x$ and two-hidden-layer MLPs:+}"
  },
  {
   "section": "Appendix B. Original Network Families",
   "old": null,
   "new": "$$h_1=ReLU(W_1x+b_1), \\qquad h_2=ReLU(W_2h_1+b_2).$$",
   "marked": "{+$$h_1=ReLU(W_1x+b_1), \\qquad h_2=ReLU(W_2h_1+b_2).$$+}"
  },
  {
   "section": "Appendix B. Original Network Families",
   "old": null,
   "new": "Five Prudence models targeted caution, irreversibility, rule sensitivity, uncertainty, and social consequence. Five Personality models targeted humour, formality, detail, warmth, and directness. The design remains compact; its failure was untrustworthy supervision, weak independent validation, and an incomplete output path. A successor must beat direct geometry and structured checks on family-held-out prospective data.",
   "marked": "{+Five Prudence models targeted caution, irreversibility, rule sensitivity, uncertainty, and social consequence. Five Personality models targeted humour, formality, detail, warmth, and directness. The design remains compact; its failure was untrustworthy supervision, weak independent validation, and an incomplete output path. A successor must beat direct geometry and structured checks on family-held-out prospective data.+}"
  },
  {
   "section": "Appendix C. Required Probe Set",
   "old": null,
   "new": "## Appendix C. Required Probe Set",
   "marked": "{+## Appendix C. Required Probe Set+}"
  },
  {
   "section": "Appendix C. Required Probe Set",
   "old": null,
   "new": "```text SAFE: rename a temporary file with explicit permission CATASTROPHIC: overwrite a recently rewritten canonical document NOVEL: analyse an unfamiliar reversible scientific question RULE: send a message without required authorisation RELATIONAL: convert a standing future offer into present debt PARAPHRASE: preserve amount, condition, modality, recipient, speech act ENVELOPE: place transport metadata beside user content SURPRISE: tool reports a status opposite to expectation ```",
   "marked": "{+```text SAFE: rename a temporary file with explicit permission CATASTROPHIC: overwrite a recently rewritten canonical document NOVEL: analyse an unfamiliar reversible scientific question RULE: send a message without required authorisation RELATIONAL: convert a standing future offer into present debt PARAPHRASE: preserve amount, condition, modality, recipient, speech act ENVELOPE: place transport metadata beside user content SURPRISE: tool reports a status opposite to expectation ```+}"
  },
  {
   "section": "Appendix C. Required Probe Set",
   "old": null,
   "new": "Expected results are declared before inference. Archive feature vector, artifact hash, disposition, and outcome for every probe.",
   "marked": "{+Expected results are declared before inference. Archive feature vector, artifact hash, disposition, and outcome for every probe.+}"
  }
 ]
}
