---
title: "AMYGDALA v4.1 — The Gate That Argues Back: Dual-Loop Learned Relevance for Persistent AI Agents"
author: "Oscar Serra · Independent Research"
date: "19 September 2026"
version: "v4.1"
supersedes: "v4.0 (2026-08-05, “The Gate That Argues Back”) and v4.0 (2026-09-02, “Dual-Loop Learned Relevance”)"
---

**Provenance note.** v4.1 merges two manuscripts that were both released as v4.0 and had diverged. The
5 August edition was the evidence line: negative results for the learned core, the deployed deterministic
floor, the retry argument (§13) and the gate as attack surface (§14). The 2 September edition was the
design line: a formal problem statement (§4), a dual-loop architecture separating semantic interoception
from terminal prudence (§5), a worked near-miss case (§7), an empirical autopsy of the live prototype (§12)
and a phased roadmap (§21). Neither contained the other. This version keeps both lines, removes the
duplicated opening incident, unifies citations to author–year form, and adds a dated re-census of the
production log (§12.6).

**Implementation status (verified against the runtime, 19 September 2026).**
*LIVE AND ENFORCING:* the **deterministic reflex floor** — a small destructive-action blocklist evaluated
pre-execution on both runners through a dependency-free `PreToolUse` hook, including under the primary
runner's permissive `bypassPermissions` mode. Both remediations of the 2026-08-05 incident (§14) — argv
arrays in `git-cache.ts` and the `targetType === "file"` guard in `situation-template.ts` — shipped as
`dd203a441e3`, with a differential regression test and a repo-wide build gate in `cbe06d59fb0`.
*LIVE BUT OBSERVE-ONLY:* kNN novelty and clause-cosine incongruity, which log an `ask` disposition that
reaches no model (§12.5).
*RETIRED:* the five-network Prudence ensemble, disabled after data and validation failures; the
Personality family, whose 4,801 logged outcomes used a neutral stub (§12.4).
*DESIGNED, NOT BUILT:* the Stream loop — span event bus, abruptness, commitment difference and the
prediction-error loop — and every efferent path for learned signals, including the return-a-premise
disposition (§13.4). An implementation plan for these components was written on 2 September 2026; as of
19 September none of them exists in the code.

---

## Abstract

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.

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*.

Persistent agents fail on two surfaces. The first is the action boundary: a script overwrites a file
that four sub-agents rewrote in the previous 36 hours, although every signal needed to stop it was present.
The second begins earlier, while meaning is still forming: an assistant keeps the nouns of a request and
rewires its commitments, turning a standing offer into a deferred debt and a fallback into a threat. A gate
that inspects only tool calls can catch the first and remains structurally blind to the second.

This paper describes **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 estimates novelty, abruptness, relational inconsistency, unsupported commitments and
prediction error; its normal response is to orient — tag, re-read, revise or ask — not to block. **Action
AMYGDALA** preserves terminal prudence at consequential boundaries, combining deterministic hard
constraints with learned or similarity-based historical risk.

It is also, in large part, a **negative result**. The intended learned core — a small always-on "caveman
LLM" predicting the next embedding and treating prediction error as salience — did not work. The predictor
failed to beat a zero-parameter persistence baseline (top-1 retrieval **0.163** vs **0.202**), and a
supervised danger head over the same frozen sentence-embedding substrate scored AUROC **0.286** on safety
minimal pairs, below chance. What works is simpler: a deterministic destructive-action rule set that denies
matched operations before execution on both runners. Two non-enforcing heuristics show limited offline
utility — kNN novelty separated in- from out-of-distribution text at AUROC **0.875**, and a clause-cosine
test separated purpose mismatches at **0.896** on 24 handwritten examples — yet in production every
incongruity alert in two separate log censuses (11 of 11, then 26 of 26) fired on transport metadata
rather than on the user's request, and no learned signal yet has a path back into the model's context.

Three arguments follow from that ledger. **Blocking alone is structurally insufficient**: a blocked agent
re-plans, so a veto prunes one branch while leaving the objective intact, and the retry is selected
against the block; the remedy is to return the gate's appraisal to the model as a new premise. **Appraisal
is an attack surface**: our own gate executed the command it was inspecting, so a richer gate is a larger
target. And the whole class of technique is **the deepest behavioural intervention available without
weight access** — weaker than activation steering, requiring no model access, and uniquely auditable. The
paper closes with a replay protocol centred on a real near-miss and a phased roadmap whose first step is
repairing the instrument, not training a better classifier.

**Keywords:** action gating, learned intuition, persistent agents, semantic interoception, relevance
detection, prediction error, commitment tracking, novelty, abruptness, deterministic enforcement,
abstention, conformal prediction, guardrail feedback, negative results, autonomous-agent safety.

---

## 1. Introduction — The Agent That Had All the Context and Did the Wrong Thing Anyway

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.

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?

### 1.1 The thesis, and what became of it

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.

The experiments did not support that hypothesis on the available data and representation (§10). 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.

### 1.2 The interpretation that changed the deal

A second incident exposes an earlier failure surface. While discussing buying a domain name from its owner, the user wrote (paraphrased here):

> (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.

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.

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.

| 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                     |

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:

> “Do you mean a standing €500 offer payable whenever he chooses to sell, or a commitment to buy now and pay later?”

One clarification turn would have prevented the error. No destructive tool was required for the failure to matter.

### 1.3 Two commitment surfaces

- **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.

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.

### 1.4 Two incidents that reframed the problem (August 2026)

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:

**(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. §14 develops the general property this exposes.

**(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]`. §15.4
develops this.

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.

### 1.5 The argument that reorganises the design

The principal's observation, which §13 develops into the paper's central new claim:

> 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.

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.

### 1.6 The principle that survives everything

**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 (§8). 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.

### 1.7 What this replaces

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** (§6.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?*

### 1.8 Contributions

1. A dual-loop formulation separating semantic interoception from terminal prudence (§5), stated formally
   (§4).
2. Asymmetric commitment difference over actor, action, object, amount, recipient, time, condition,
   modality, negation and speech act (§5.5), with a worked near-miss case (§7).
3. Learned-core failures reported against explicit trivial baselines, and the frozen similarity embedding
   identified as a shared bottleneck for both prediction and danger classification (§10).
4. A deployed deterministic pre-execution floor that remains useful without learned judgment (§11).
5. Conservative roles for novelty and incongruity — ask or observe, never infer danger (§11.2–11.3) — and
   an empirical autopsy of the live prototype, including two complete envelope-contamination censuses (§12).
6. The retry argument — why external blocking is structurally insufficient — and the return-a-premise
   disposition it implies (§13).
7. The gate as attack surface, with first-party evidence (§14), and privacy modes that require no hidden
   chain-of-thought (§14.6).
8. Positioning against activation steering and weight-level intervention (§17).
9. A replay-based evaluation protocol and a phased roadmap gated on full-path, detection-to-behaviour
   evidence (§20–§21).

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.

---

## 2. Biological Foundation: Relevance, Learning, and Projection

### 2.1 Beyond the fear-centre cartoon

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 (Sander, Grafman & Zalla, 2003; Ousdal et al., 2008; Pessoa & Adolphs, 2010; Cunningham & Brosch, 2012; Blackford et al., 2010; Brockett et al., 2020). Sander, Grafman, and Zalla describe this broader function as relevance detection (Sander, Grafman & Zalla, 2003). Ousdal and colleagues found amygdala responses to behaviourally relevant targets in a non-emotional Go/No-Go task (Ousdal et al., 2008). Cunningham and Brosch argue that tuning reflects traits, needs, values, and goals rather than a fixed fear catalogue (Cunningham & Brosch, 2012).

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.

### 2.2 Heterogeneous nuclei and networks

“Amygdala” names a heterogeneous collection of nuclei and cell populations.

- 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 (Hagihara et al., 2021).

The mapping is functional:

| 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               |

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.

### 2.3 Many roads, not one universal low road

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 (Pessoa & Adolphs, 2010). AMYGDALA therefore adopts a fast/slow cascade as engineering, not literal anatomy.

**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.

**Slow route:** extract propositions and speech acts; compare linked spans; simulate consequence; use an independent entailment model; generate one discriminating clarification.

The fast route buys time. The slow route buys meaning.

### 2.4 Novelty, prediction error, and memory

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 (Blackford et al., 2010). Associative-learning work implicates amygdala circuits in appetitive and aversive prediction-error processing (Iordanova et al., 2021; Guex et al., 2021). Unexpected tool outcomes should therefore trigger reorientation, not confident continuation.

Through interactions with hippocampal, cortical, and neuromodulatory systems, the amygdala influences attention, encoding, consolidation, and retrieval (McGaugh, 2004; Phelps & LeDoux, 2005). The digital analogue should tag consequential corrections for retention and retrieval priority without turning the salience layer into the database.

### 2.5 Habituation and sensitisation

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.

### 2.6 Limits of the analogy

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.

---

## 3. Related Work

*(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 §3.7.)*

The mechanism we use is not new; the assembly and the application are.

### 3.1 Autoregressive prediction in embedding / concept space

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 (§10.2) ultimately reproduces the LCM mean-collapse lesson
*empirically* on our own data — the next unit is best approximated by the current one.

### 3.2 World models and surprise read-outs

"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.

### 3.3 The biological anchors

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 §18: the amygdala activates when witnessing another being harmed.

### 3.4 Honest novelty

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 (§13) and the gate-as-attack-surface
property (§14).

### 3.5 The high-road partner: doubt-driven appraisal

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.

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.

### 3.6 The memory substrate the feedback loop assumes

The feedback loop (§8) 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.

### 3.7 The 2026 action-gating literature — independent corroboration

*(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.)*

- **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 §11: *"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 §13: **"blast-radius warnings barely reduced action propensity."**
- **Ask or Assume** (arXiv:2603.26233) — the structural result for §13.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 §11.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 §13.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
  §13.4 works at all, and it is developed there.
- **Inference-time steering** (for §17): **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.

A note on how §3.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.

### 3.8 Monitoring, guardrails and adaptation precedents

Out-of-distribution methods estimate resemblance to experience (Schölkopf et al., 2001; Yang et al., 2024). AMYGDALA uses them for novelty but rejects anomaly as danger. Its distinctive unit is the temporal relation among spans and commitments.

Guardrails, filters, permissions, and capability controls constrain outputs and tools (Rebedea et al., 2023; Shuster et al., 2022). 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.

Reflexion, constitutional critique, and verifier systems evaluate outputs (Bai et al., 2022; Shinn et al., 2023; Kirchner et al., 2024). 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.

Continual learning and episodic replay address adaptation without catastrophic forgetting (Riemer et al., 2019; Lopez-Paz & Ranzato, 2017). Reference rings and failure replay borrow this pattern but narrow the objective to relevance and intervention. Change-point methods motivate semantic abruptness (Page, 1954; Adams & MacKay, 2007). Affective computing models emotion recognition and expression (Picard, 1997); AMYGDALA instead borrows affect's control role in attention, memory weighting, inhibition, and action readiness. It does not claim feeling.

---

## 4. Formal Problem Statement

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.

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.

The Stream loop maintains:

$$z_t=[N_t,A_t,I_t,C_t,Q_t,R_t],$$

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:

$$\delta_t\in\{pass,tag,recheck,revise,ask,halt\}.$$

The Action loop independently evaluates:

$$\pi_a(a_j,S_{\le t},H)\rightarrow\{allow,confirm,block\},$$

where $H$ contains explicit rules and historical-risk evidence. Deterministic prohibitions dominate learned scores.

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.

---

## 5. Dual-Loop Architecture

### 5.1 Span event bus

```text
user input → retrieval → assistant output/draft
           → tool call → tool result → next output
```

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)`.

### 5.2 Novelty

With normalised embedding $e_t$ and reference ring $M$:

$$N_t=1-\frac{1}{k}\sum_{i\in top_k(M,e_t)}\cos(e_t,e_i).$$

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.

### 5.3 Abruptness

$$A_t=1-\cos(\bar e_t,\bar e_{t-1}),$$

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.

### 5.4 Relational inconsistency

The unit is an edge, not an isolated span:

- request $\leftrightarrow$ restatement or plan;
- request $\leftrightarrow$ draft or final answer;
- source $\leftrightarrow$ summary claim;
- plan $\leftrightarrow$ tool action;
- expected result $\leftrightarrow$ observed result;
- permission $\leftrightarrow$ external action.

Cosine detects broad drift. NLI estimates entailment and contradiction. Structured asymmetric difference detects commitments present only in output.

### 5.5 Commitment difference

Represent consequential propositions as:

```text
actor · action · object · amount · recipient · time
condition · modality · negation · speech_act
```

For source $P_{src}$ and candidate $P_{out}$:

$$C^+=P_{out}\setminus entail(P_{src}).$$

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.

### 5.6 Prediction error and relevance

Before consequential tool calls, record expected status, object, approximate cardinality, and uncertainty. Compare with observation:

$$Q_t=D(E[O_t\mid a_t,context],O_t).$$

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.”

### 5.7 Efferent ladder

| 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              |

A compact interrupt should state source meaning, candidate mutation, unsupported commitments, and disposition. The detector allocates attention; it does not write the final answer.

### 5.8 Commitment points and terminal action

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.

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.

### 5.9 Personality as a parallel consumer

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`.

---

## 6. The Learned Core as First Proposed — The Caveman LLM in Embedding Space

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. §10 then reports which parts of it failed.

### 6.1 One parallel model, two read-outs

A single sequence model reads a stream of embeddings and, at each step, produces a context vector `z_t`
from which two heads read:

- **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 (§6.6).

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.

**v4.0 amends the disposition set.** v3.1 and v3.2 defined four dispositions — proceed, pause, ask, block
— where *ask* meant ask the **user**. §13 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*.

### 6.2 Emergent latent, not hand-named axes

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.

### 6.3 The continuous-prediction head (the anti-collapse decision)

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:

- **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.

### 6.4 The sequence-model class and scale

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.*

### 6.5 Substrate and the input-granularity caveat

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 §10 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 (§10.2)
and not as supervised danger classification (§10.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 (§18).

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 §13.5 notes that it is also the prerequisite for the *inform* disposition to fire mid-turn
rather than only at a tool boundary.

### 6.6 The enforcement posture — a live deterministic floor under a still-observe-only learned core

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.

**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.

**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.

**Tier 0 — new in v4.0: the appraisal path itself.** §14 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.

### 6.7 What the architecture is not

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.

---

## 7. Worked Case Study: The €500 Domain Offer

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.

| 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           |

A replay trace is:

```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
```

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.

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.

---

## 8. Training, the Feedback Loop, and Continual Learning

### 8.1 A self-supervised cold start

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** (§8.4). The decisive experiment (§10.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 (§11.2), whose reference set grows
for free on every turn.

### 8.2 Bending the latent toward what matters

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 §10.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 (§18), not the frozen one.

### 8.3 The feedback loop is the amygdala

Per §1.6, 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.

**v4.0 adds a fourth signal source, and it is the highest-quality one available.** Under the *inform*
disposition (§13.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.

### 8.4 Honest cold start, honest disposition

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 (§6.6) and the two zero-train ask
channels (§11.2–11.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.

### 8.5 Continual learning without catastrophic forgetting

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 (§3.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.

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.

### 8.6 Learning from corrections and outcomes

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.

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.

### 8.7 Habituation and sensitisation

For event class $c$ in context $x$:

$$H_{t+1}(c,x)=\lambda H_t(c,x)+(1-\lambda)safe_t.$$

`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.

After correction or near miss:

$$S_{t+1}(r)=\gamma S_t(r)+w(severity,recurrence,externality).$$

For the domain case, the signature includes condition loss, modal strengthening, and fallback→threat. Sensitisation decays after demonstrated competence, not mere time.

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.

### 8.8 Conformal abstention and trust

Split conformal calibration can provide finite-sample coverage under exchangeability (Vovk, Gammerman & Shafer, 2005; Angelopoulos & Bates, 2023), but persistent drift weakens that assumption. Monitor coverage by context. Ensemble disagreement helps only if members have meaningfully different errors.

| 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   |

Promotion requires rollback and dated metrics. Drift can demote a component.

---

## 9. One Signal, Three Readings

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?**

- **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** (§11.3, clause-cosine AUROC
  0.896) and shipping non-blocking. Novelty / out-of-distribution requests land here too (§11.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.

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.

The *danger value head* remains the proposed end-state: it has no labels, it abstains, and §10.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.

**A distinction v4.0 adds.** These three readings are all about *what the surprise means*. §13 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.

---

## 10. What Failed

### 10.1 The legacy ensemble

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.

Removed from the default decision path. **This is a retirement, not an ablation win**: no replacement
learned classifier has earned enforcement authority.

### 10.2 Next-embedding surprise — the decisive experiment, five runs

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:

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:

| Method | Parameters trained for prediction | Top-1 retrieval |
|---|---:|---:|
| Repeat current embedding (persistence) | 0 | **0.202** |
| Contrastive predictor | learned | 0.163 |

**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 §10.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.

### 10.3 Supervised danger classification — the substrate ceiling, now empirical

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.

- 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**.

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.

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 — §18) or real accrued first-person labels, not a different head.

### 10.4 What the negative results establish

- 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.

It does **not** establish that learned action gating is impossible. It establishes that this
operationalization, substrate and evidence are insufficient. §3.7's independent results suggest the
underlying competence is genuinely hard rather than locally mis-implemented.

---

## 11. What Works

### 11.1 Deterministic pre-execution enforcement

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.

That limitation is also its virtue. Within its rule boundary, the reason for a denial is auditable.
Outside that boundary, it makes no claim. **§14 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.**

Deployed architecture:

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.

The floor is a guard, not a cure for missing common sense — and §13 argues step 2 alone is not even a
complete guard.

### 11.2 Novelty as an ask signal

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.

### 11.3 Incongruity as an ask signal

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$\leftrightarrow$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."

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. **§20.2 notes that two natural negatives now exist**, from
the incidents of §1.4.

---

## 12. Existing Prototype and Empirical Autopsy

### 12.1 Status matrix

| 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       |

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.

### 12.2 Offline measurements

| 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     |

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.

### 12.3 Production census

As of 2 September 2026 the decision log contained 1,147 parseable decisions:

| Signal      | Count |  Share |
| ----------- | ----: | -----: |
| none        |   978 | 85.27% |
| novelty     |   157 | 13.69% |
| incongruity |    11 |  0.96% |
| AEGIS       |     1 |  0.09% |

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.

### 12.4 Instrument failures

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.

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.

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:

```text
real embedding → model inference → compact disposition
→ context injection → changed generated output
```

### 12.5 Dead efferent path

The deterministic floor's pre-execution deny (§11.1) is a working efferent path for explicit rules. Nothing learned has one. 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:

```text
clean span → discrepancy → compact interrupt → changed next reasoning step
```

Until that replay is green, AMYGDALA is an observer.

### 12.6 Re-census, 19 September 2026

A fresh window of the decision log — 615 decisions between 17 September 18:02 and 19 September 04:51
UTC — reproduces the pattern. 537 decisions proceeded and 78 (12.7%) carried an `ask` disposition; none was
enforced. **All 26 incongruity asks fired on the inbound message envelope** (`Sender (untrusted
metadata)` …), not on the user's text: the failure of §12.3, now 26 of 26. The other 52 asks came from the
novelty channel, all on shell commands. The sampled cases were long heredoc scripts, headless-browser
screenshots and reads of this paper's own source — unusual text rather than risky actions, consistent with
novelty's chance-level performance as a danger signal (§11.2). Across the window the novelty score had a
median of 0.277 and a 90th percentile of 0.41. The ordering of §21 therefore stands: Phase 0, removing the
envelope before segmentation, is still the binding step.

---

## 13. Why Blocking Alone Cannot Work

*(New in v4.0. This is the paper's principal conceptual addition and it changes the disposition set.)*

### 13.1 The observation

> 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.

### 13.2 Why it follows from what an agent is

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:

> **Blocking edits the action space. Informing edits the world model. Only the second propagates to
> sibling actions.**

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.

This is the mechanism behind an otherwise puzzling empirical result. **Coding Agents Are Guessing**
(§3.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 §13.4 is the missing combination: information delivered
at the moment of action.

### 13.3 The adversarial-selection corollary

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.

This has an uncomfortable consequence for §11.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.

**First-party evidence.** The `[mention-treated-as-use]` incident (§1.4b) 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.

### 13.4 The remedy: return a premise, not a verdict

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:

**(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 §10.3's 0.286 AUROC.

**(b) Halt and resume.** The turn is terminated and restarted with the appraisal present from the
beginning, before any plan is formed.

**When each applies — the design rule this paper proposes:**

> **(a) for oddness about an ACTION; (b) for oddness about an INTERPRETATION.**

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.

**Why the paper's own results argue for this rather than for a stronger veto.** §10.3 reports a danger head
at AUROC 0.286 and §11.2 novelty-for-danger at 0.485. §8.4 concludes the learned tier must abstain. But
abstention is not the only response to a weak signal:

> **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.

This converts the paper's negative results from a dead end into a design constraint, and it resolves a
tension §6.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.

**Prior art.** TRIAD (§3.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.

### 13.5 The constraint that decides whether it works

Huang et al. (§3.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:

> 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.

Two further preconditions. First, **cadence**: informing at a tool boundary is available today; informing
mid-clause requires the streaming hook §6.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
§11.3's 24-example evidence base, is currently unknown and must be measured before deployment.

### 13.6 How to evaluate it

Per §15.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.

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.

---

## 14. The Gate as Attack Surface

*(New in v4.0, from a live incident. We have not found this property stated in the action-gating
literature.)*

### 14.1 What happened

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:

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.

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.

### 14.2 The general property

> **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.

This gives §11.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.

It also inverts a comfortable assumption in §6.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.

### 14.3 The design rule that follows

> 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.

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.*

### 14.4 Adversary reachability

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.

### 14.5 Deployment honesty

**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.

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.

Two things were learned in the act of deploying, and both belong in the record because they sharpen §14's
argument rather than soften it.

**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.

**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.

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.

### 14.6 Privacy, Security, and Authority

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.

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.

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.

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.

---

## 15. Design Lessons

### 15.1 Baselines must precede biological metaphors

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.

### 15.2 Abstention is a result

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. §13.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.

### 15.3 Separate danger, novelty, and incoherence

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.

### 15.4 Separate mention from use

*(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.

> **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.

This is a fourth axis, orthogonal to §15.3, and it compounds instructively with §14: 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.**

### 15.5 Feedback is necessary but not sufficient

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.

### 15.6 A block teaches the runtime; a premise teaches the model

*(New in v4.0, and the compact statement of §13.)* Of the two, only the second closes a loop with the
process that generated the action. This is why §8.3 lists the *inform* channel as the highest-quality
feedback source available: it is the only one that produces a labelled disagreement.

---

## 16. Programmatic Stream Pipeline

```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";
}
```

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.

```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
```

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.

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.

---

## 17. Positioning: The Deepest Intervention Available Without Weight Access

*(New in v4.0.)*

Behaviour-modification techniques form a ladder ordered by depth *and* by the access they require:

| Rung | Technique | Access required | Conditional on the specific action? | Auditable? |
|---|---|---|---|---|
| 1 | System prompt / static instruction | none | no | yes |
| 2 | **Decision-time context injection (§13.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 |

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.

Two claims follow, and both are honest about their limits:

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 (§11.1) is
   auditability, that is a genuine advantage rather than a consolation.

**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 §13.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.

---

## 18. Proposed World Model: Future Work, Not Result

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 §10.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.

**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 §10.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.

**Bars this proposal must clear before it earns any place in the decision path:**

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.

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.

---

## 19. Limitations and the Honest Ledger

- **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." §14 adds a third tier — the appraisal path — which is live, unexamined
  until August 2026, and the only tier that has caused harm.
- **The §13 disposition is unbuilt.** *Inform* and *halt-and-resume* are proposed in this version. No
  measurement supports them yet beyond the third-party results of §3.7.
- **The §14 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; §10.2–10.3 make its
  unfitness empirical, not suspected.
- **Enforcement is deterministic-only, not learned** — a reflex, not an intuition.
- **Coverage is not a safety rate** (§13.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 §14, 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 (§3.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.

### 19.1 Limitations of the dual-loop design

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.

---

## 20. Evaluation

### 20.1 For the learned tier

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.

### 20.2 For the incongruity channel — natural negatives now exist

§11.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*:

- **Argument-type mismatch** (§14.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.

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.

### 20.3 For the §13 disposition

Per §13.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.

### 20.4 Evaluation levels for the dual loop

Evaluation has three levels: signal quality, disposition quality, and system outcome. High AUROC at the first can coexist with zero value at the third.

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.

### 20.5 Golden replay

| 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                                       |

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.

### 20.6 Metrics and ablations

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.

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.

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.

---

## 21. Implementation Roadmap

### Phase 0 — Repair the instrument

Remove envelopes before segmentation; label fallbacks; hash artifacts; build safe/catastrophic/novel/rule/paraphrase probes; freeze retired heads; report numerators and denominators.

**Exit:** no envelope-derived alerts on replay and clean probe variation.

### Phase 1 — Close one loop

Emit request and draft spans; link them; implement deterministic commitments; inject compact interrupts; pass the €500 replay end to end.

**Exit:** the system asks the discriminating question before external commitment.

### Phase 2 — Add trajectory and outcome

Implement rolling abruptness, expected outcomes for selected tools, prediction-error events, and attribution.

**Exit:** reorientation after tool surprise without blocking benign pivots.

### Phase 3 — Calibrate and adapt

Build independently annotated relations, partitioned rings, habituation and sensitisation, prospective observation, and calibrated abstention.

**Exit:** predeclared precision, recall, calibration, latency, and friction targets met prospectively.

### Phase 4 — Limited authority

Enable revision at reversible stages, clarification for selected ambiguity, terminal confirmation, and user appeal.

**Exit:** independently reviewed reduction in corrected-after-commit and severe near misses with acceptable false blocks.

### Phase 5 — Reconsider learned heads

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.

---

## 22. Conclusion

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.

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.

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 (§3.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.

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.

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.

Three further results reach beyond that ledger. **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.

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.

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.

---

## References

- 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>

*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.*
- Sander, D., Grafman, J., & Zalla, T. (2003). The human amygdala: an evolved system for relevance detection. *Reviews in the Neurosciences*, 14(4), 303–316. <https://doi.org/10.1515/REVNEURO.2003.14.4.303>
- Ousdal, O. T. et al. (2008). The human amygdala is involved in general behavioral relevance detection. *Neuroscience*, 156(3), 450–455. <https://doi.org/10.1016/j.neuroscience.2008.07.066>
- Pessoa, L. & Adolphs, R. (2010). Emotion processing and the amygdala: from a “low road” to “many roads”. *Nature Reviews Neuroscience*, 11, 773–783. <https://doi.org/10.1038/nrn2920>
- Cunningham, W. A. & Brosch, T. (2012). Motivational salience. *Current Directions in Psychological Science*, 21(1), 54–59. <https://doi.org/10.1177/0963721411430832>
- Blackford, J. U. et al. (2010). A unique role for the human amygdala in novelty detection. *NeuroImage*, 50(3), 1188–1193. <https://doi.org/10.1016/j.neuroimage.2009.12.083>
- Brockett, A. T. et al. (2020). Temporal dynamics of amygdala response to emotion- and action-relevance. *Scientific Reports*, 10, 14012. <https://doi.org/10.1038/s41598-020-67862-3>
- Iordanova, M. D., Yau, J. O., McDannald, M. A., & Corbit, L. H. (2021). Neural substrates of appetitive and aversive prediction error. *Neuroscience & Biobehavioral Reviews*, 123, 337–351. <https://doi.org/10.1016/j.neubiorev.2020.10.029>
- Guex, R. et al. (2021). Prediction errors and valence. *Behavioural Brain Research*, 404, 113176. <https://doi.org/10.1016/j.bbr.2021.113176>
- Hagihara, K. M. et al. (2021). Amygdala intercalated cells form an evolutionarily conserved system orchestrating brain networks. *Nature Neuroscience*, 24, 846–858. <https://doi.org/10.1038/s41593-021-00830-8>
- McGaugh, J. L. (2004). The amygdala modulates the consolidation of memories. *Annual Review of Neuroscience*, 27, 1–28. <https://doi.org/10.1146/annurev.neuro.27.070203.144157>
- Phelps, E. A. & LeDoux, J. E. (2005). Contributions of the amygdala to emotion processing. *Neuron*, 48(2), 175–187. <https://doi.org/10.1016/j.neuron.2005.09.025>
- Schölkopf, B. et al. (2001). Estimating the support of a high-dimensional distribution. *Neural Computation*, 13(7), 1443–1471.
- Yang, J. et al. (2024). Generalized out-of-distribution detection: a survey. *International Journal of Computer Vision*, 132, 5635–5662.
- Vovk, V., Gammerman, A., & Shafer, G. (2005). *Algorithmic Learning in a Random World.* Springer.
- Angelopoulos, A. N. & Bates, S. (2023). Conformal prediction: a gentle introduction. *Foundations and Trends in Machine Learning*, 16(4), 494–591.
- Bai, Y. et al. (2022). Constitutional AI. arXiv:2212.08073
- Shinn, N. et al. (2023). Reflexion. *NeurIPS*, 36.
- Rebedea, T. et al. (2023). NeMo Guardrails. arXiv:2310.10501
- Shuster, K. et al. (2022). BlenderBot 3. arXiv:2208.03188
- Kirchner, A. et al. (2024). Prover–Verifier Games improve legibility. arXiv:2407.13692
- Riemer, M. et al. (2019). Learning to learn without forgetting. *ICLR*.
- Lopez-Paz, D. & Ranzato, M. (2017). Gradient episodic memory. *NeurIPS*, 30.
- Page, E. S. (1954). Continuous inspection schemes. *Biometrika*, 41, 100–115.
- Adams, R. P. & MacKay, D. J. C. (2007). Bayesian online changepoint detection. arXiv:0710.3742
- Picard, R. W. (1997). *Affective Computing.* MIT Press.

---

## Appendix A. Decision Record

```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"
}
```

## Appendix B. Original Network Families

The retired architecture used frozen embedding $x$ and two-hidden-layer MLPs:

$$h_1=ReLU(W_1x+b_1), \qquad h_2=ReLU(W_2h_1+b_2).$$

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.

## Appendix C. Required Probe Set

```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
```

Expected results are declared before inference. Archive feature vector, artifact hash, disposition, and outcome for every probe.

---

*v4.1 merges the two editions released as v4.0 (5 August and 2 September 2026). The evidence line of the 5 August edition and the design line of the 2 September edition are both retained; the duplicated opening incident was removed, citations were unified to author–year form, and §12.6 is new.*
