---
title: "AMYGDALA v4.0 — The Gate That Argues Back: Why Blocking Alone Cannot Work, a Deterministic Floor That Can, and an Abstaining Learned Core"
author: "Oscar Serra · Independent Research"
date: "5 August 2026"
version: "v4.0"
supersedes: "v3.1 (2026-06-14), v3.2 (2026-07-29)"
---

**Provenance note.** v4.0 is a **merge**, not a successor in the usual sense. v3.1 carried the
architecture, the biological grounding, Related Work, the feedback-loop design and the continual-learning
regime; v3.2 rewrote the paper as a disciplined negative-results report and, in doing so, dropped
Related Work and most of the architectural detail (35 section headers → 24). Neither is a superset of
the other. This version restores v3.1's material under v3.2's evidentiary discipline, and adds three
things neither had: a first-party security incident in the gate's own machinery (§9), an argument that
**external blocking is structurally defeated by agent retry** (§8), and the positioning of the whole
approach as the deepest behavioural intervention available without weight access (§11).

**Implementation status (verified against the runtime, 5 August 2026).**
*LIVE AND ENFORCING:* the **deterministic reflex floor** — a small destructive-action blocklist —
evaluated pre-execution on both runners via a dependency-free `PreToolUse` hook that synchronously
denies a tool call, working even under the primary runner's permissive `bypassPermissions` mode;
production config carries `aegisEnabled: true` and the native `{block}` contract is fixed, so the floor
denies rather than merely logging.
*LIVE BUT OBSERVE-ONLY:* the validated kNN-novelty (ask) and clause-cosine incongruity (ask) channels
surface a disposition without blocking.
*PROPOSED / NOT VALIDATED:* the surprise predictor, the learned disposition head, a learnable substrate.
*RETIRED:* the legacy ONNX five-model ensemble (kept behind a flag, schema migrated); the v2.8
"ten networks / two families" framing — there is **one model**, it is **Prudence-only**, and personality
moved to **J18 STRIATUM**.
*NEW IN v4.0, AND NOT YET BUILT:* the return-a-premise disposition (§8.4).
*NEW IN v4.0, NOW DEPLOYED (updated 5 August 2026, 10:21):* both remediations of the 2026-08-05 incident
(§9) — argv arrays in `git-cache.ts` and the `targetType === "file"` guard in `situation-template.ts` —
shipped as `dd203a441e3` and verified against the built artifact, not the source: the interpolated shell
form was present in `dist/` before the deploy and absent after. A committed differential regression test
and a repo-wide build gate for the class followed in `cbe06d59fb0`; the gate found three further
instances of the same defect on its first run, all fixed, ratchet now at zero. §9.5 carries the full
account, including the two things the deployment itself taught — that the differential test this paper
cited had never been committed, and that the checker's first act was to flag its own documentation.

---

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

This paper reports what happened when we tried to build one, and it is in large part a **negative
result**. The intended system was a small always-on model — a "caveman LLM" running in parallel with the
primary language model, predicting the next embedding and treating prediction error as salience. Its
learned core did not work. A next-embedding predictor failed to beat a zero-parameter persistence
baseline (top-1 retrieval **0.163** vs **0.202**). A supervised danger head over the same frozen
sentence-embedding substrate failed on safety minimal pairs (best five-fold AUROC **0.286** — below
chance). The legacy five-model ensemble was unsuitable for enforcement: trained on weak, partly
mis-mapped labels, with an over-broad conformal prediction set.

What works is simpler. A deterministic destructive-action rule set runs before tool execution and denies
matched operations on both runners. Two non-enforcing heuristics showed limited offline utility:
kNN novelty separated in- from out-of-distribution text at AUROC **0.875**, and a clause-cosine test
separated purpose mismatches from coherent multi-intent prompts at AUROC **0.896** on 24 handwritten
examples. Neither establishes danger detection.

v4.0 adds three contributions beyond that ledger. First, an argument that **blocking alone is
structurally insufficient**: a blocked agent does not abandon its goal, it re-plans, so a veto prunes one
branch of the action space while leaving the objective — and therefore the search — intact. Worse, the
retry is *selected against the block*, making a syntactic blocklist a fitness function for its own
evasion. The remedy is to change what the agent *believes* rather than only what it may *do*: return the
gate's appraisal into the model's context as a new premise, either within the turn or by halting and
resuming the turn with the premise present from the start. Second, a first-party security incident in
which the gate's own feature extraction executed arbitrary code on the host while appraising an action,
supporting a general claim we have not found stated elsewhere: **appraisal requires touching the thing
being appraised, so a richer gate is a larger attack surface.** Third, the positioning of this entire
class of technique as the deepest behavioural intervention available to a builder who does not own the
model's weights — weaker than activation steering or neuron ablation, requiring no model access at all,
and uniquely auditable.

**Keywords:** action gating, learned intuition, prediction error, surprise as salience, embedding-space
world model, disposition head, continual learning, complementary learning systems, negative results,
deterministic enforcement, abstention, guardrail feedback, autonomous-agent safety.

---

## 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 (§6). The
learned predictor was worse than repeating the current embedding. A supervised danger classifier failed
on the strongest safety test. The correct scientific response is not to promote the proposed replacement
architecture more enthusiastically. It is to report what failed, retain the component that demonstrably
enforces, narrow the claims — and then ask what the failure implies for the *design*, which is where
v4.0 goes further than v3.2 did.

### 1.2 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. §9 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]`. §10.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.3 The argument that reorganises the design

The principal's observation, which §8 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.4 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 (§4). Everything else in this paper is in service of that sentence. v4.0 adds
a companion principle: **a gate that only blocks cannot close a feedback loop with the agent's
reasoning** — it teaches the runtime, not the model.

### 1.5 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** (§3.2), and **no personality**
(a different problem — subjective, per-user, reward-shaped — now in **J18 STRIATUM**). The amygdala is
**Prudence-only**: *is something here salient enough to interrupt normal processing, and what does
experience say to do?*

### 1.6 Contributions

1. Learned-core failures reported against explicit trivial baselines (§6).
2. Identification of the frozen similarity embedding as a shared bottleneck for both prediction and
   danger classification (§6.3).
3. A deployed deterministic pre-execution floor that remains useful without learned judgment (§7).
4. Conservative roles for novelty and incongruity: ask or observe, never infer danger (§7.2–7.3).
5. **New:** the retry argument — why external blocking is structurally insufficient — and the
   return-a-premise disposition it implies (§8).
6. **New:** the gate as attack surface, with first-party evidence (§9).
7. **New:** positioning against activation steering and weight-level intervention (§11).

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

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

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

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

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

### 2.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 (§8) and the gate-as-attack-surface
property (§9).

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

### 2.6 The memory substrate the feedback loop assumes

The feedback loop (§4) presumes a store of lived experience that survives compaction and is replayed
during consolidation — gather feedback by day, replay a balanced buffer by night. **headroom** (Chopra)
productionises reversible compression/restoration of agent context so long-horizon experience is retained
rather than truncated. It is *not* an amygdala — no salience signal, no disposition, no danger reading —
and we cite it only where genuinely adjacent: as a candidate substrate for the continual-experience store
an always-learning gate requires, and as a reminder that the bottleneck for "learns from lived outcomes"
is as much memory retention as modelling.

### 2.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 §7: *"scaling task-solving alone will not close this gap; calibrated restraint must be cultivated
  as a distinct training objective."*
- **Coding Agents Are Guessing** (arXiv:2607.02294) — underspecified DevOps instructions across five
  agent×model configurations (Claude Code, Codex, OpenCode), varied along three axes (intent clarity,
  target certainty, blast radius). **55.8–67.8% of acted runs violate at least one action boundary** —
  wrong target, over-broad scope, or both — and agents predominantly *acted* rather than asking. The
  finding most load-bearing for §8: **"blast-radius warnings barely reduced action propensity."**
- **Ask or Assume** (arXiv:2603.26233) — the structural result for §8.4. A two-agent scaffold with an
  **Intent Agent** holding *only* a binary decision tool, no development capability, monitoring each turn
  against three questions (what is the intended goal; what is missing, ambiguous or assumption-heavy;
  what must be clarified) and able to halt the main agent to force a query. On underspecified SWE-bench
  Verified (500 issues, Claude Sonnet 4.5): fully-specified 70.80%, no-interaction 54.80%, decoupled
  scaffold **69.40%**, single-agent version of the same idea **61.20%**. Calibration rises with
  difficulty (62.37% → 71.65% → 78.57% ask rate), averaging 3.06 queries on the 344 of 500 tasks where it
  asked, and still resolving 76.92% of the 156 it did not. A weaker model queried 82.99–100% of tasks —
  the "asks permission to breathe" failure, measured.
- **Ambiguity benchmarks.** **AmbiEnt** (Liu et al., EMNLP 2023, arXiv:2304.14399): 1,645
  linguist-annotated examples; GPT-4's disambiguations judged correct **32%** against **90%** for the
  dataset's own. **CLAMBER** (arXiv:2405.12063), Orchid, ConfuseBench, ClarQ-LLM extend this to
  identification-and-clarification. These are the upstream reason §7.3's incongruity problem is hard.
- **Guardrail feedback.** **TRIAD** (arXiv:2606.05805) converts guardrails from binary blockers into
  remediation guidance: risk classification → feedback generation → agent remediation, evaluated on ASB
  and AgentHarm. **RAIL Guard** (arXiv:2607.16215) runs a closed evaluate → rewrite → re-evaluate loop
  reporting **86.6% convergence** on fixable dimensions with no significant utility loss. These are the
  nearest prior art to §8.4 and should be read as its precedent.
- **The self-correction caveat.** Huang et al., *Large Language Models Cannot Self-Correct Reasoning Yet*
  (arXiv:2310.01798, ICLR 2024): **intrinsic** self-correction — a model revising itself with no external
  signal — fails and frequently *degrades* performance. This is the constraint that determines whether
  §8.4 works at all, and it is developed there.
- **Inference-time steering** (for §11): **CAST** (arXiv:2409.05907) introduces condition vectors that
  gate when a refusal vector is applied; **AlphaSteer** (arXiv:2506.07022) and **INNSteer**
  (arXiv:2606.08454) extend activation steering with null-space constraints and invertible latent
  transforms respectively.

A note on how §2.7 changes the paper. Our danger head failed at AUROC 0.286; AgentAbstain finds 13 of 17
frontier models below 50% paired accuracy on the same underlying competence. Our incongruity channel is
validated on 24 examples; AmbiEnt reports GPT-4 at 32% on 1,645. The honest reading is that **this paper's
negative results are not a local implementation failure but a small, early, first-person measurement of a
capability the field has since shown to be hard at scale.** That strengthens the paper's central posture
— abstain, enforce deterministically, do not overclaim — rather than weakening it.

---

## 3. Architecture — 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. §6 then reports which parts of it failed.

### 3.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 (§3.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**. §8 argues this set is incomplete in a way that matters, and adds
**inform** (return a premise to the acting model) and **halt-and-resume** (terminate the turn, restart it
with the premise present). The full set in v4.0 is therefore: *proceed · pause · inform · halt-and-resume
· ask · block*.

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

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

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

### 3.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 §6 makes it empirical
rather than suspected: MiniLM was trained for sentence *similarity*, not next-step *prediction*, and the
decisive experiments show it cannot carry *harmfulness* at all — not as next-embedding surprise (§6.2)
and not as supervised danger classification (§6.3, AUROC 0.286, below chance). Every strong analogue
(JEPA, Dreamer, BYOL-Explore) *learns* its latent jointly; a frozen similarity space can be re-rotated
but never have discarded information recovered from it. A learnable/JEPA-fine-tuned substrate is the
obvious upgrade (§12).

Separately, the *granularity* must change: today the system embeds one vector per *action*; the caveman
LLM needs a **clause/sentence timeline**, requiring an `embedChunks` step that segments visible
prompt+response text and embeds each span — which today can only run **post-hoc at turn boundaries**
(there is no per-phrase mid-turn streaming hook). A true mid-turn cadence is a separate, blocked work
item, and §8.5 notes that it is also the prerequisite for the *inform* disposition to fire mid-turn
rather than only at a tool boundary.

### 3.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.** §9 establishes that the gate's own feature
extraction is a third tier with its own threat model, previously unexamined. It executes before either
enforcing tier and is the only one that has, to date, caused harm.

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

---

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

### 4.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** (§4.4). The decisive experiment (§6.2) shows this particular self-supervised target —
next-embedding prediction error — does not beat persistence on our data; the *cold-start principle*
survives in the form that did validate, the zero-train novelty channel (§7.2), whose reference set grows
for free on every turn.

### 4.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 §6.3
negative sharpens the precondition: joint pressure can only help once the *substrate itself* can carry
the target distinction, which a frozen similarity space provably cannot for danger. "Bend the latent"
presupposes a learnable substrate (§12), not the frozen one.

### 4.3 The feedback loop is the amygdala

Per §1.4, the loop is the point. Signal sources, by strength: a **rule-veto hit** (the strongest "stop" —
every `PreToolUse` decision spools to a JSONL the extension ingests, so the previously invisible signal is
captured); an explicit **approval/denial** on a flagged native action (the cleanest label, native-only); a
**user override** of a block; a **correction within 24 h**; and a weak **no-complaint-within-72 h**
positive. The earlier "none of this is wired / outcome column 100% null" claim is now *partly* retired:
the rule-hit and explicit-override paths spool, and nightly consolidation recomputes the reference set and
conformal thresholds. What remains unbuilt is the *learned-gradient* half — capturing the full per-turn
(situation, prediction, decision, eventual-outcome) row and training weights on it — which is still the
bulk of the engineering, because the learned predictor is not yet built.

**v4.0 adds a fourth signal source, and it is the highest-quality one available.** Under the *inform*
disposition (§8.4), the gate returns a premise and the model either revises or argues back and proceeds.
That produces a labelled pair no other channel produces — *(gate's objection, model's response, eventual
outcome)* — and it is the only signal that distinguishes "the gate was right" from "the gate was noise,"
because the model's counter-argument is itself evidence. A pure block produces no such row: the runtime
learns a denial happened, and nothing learns whether the denial was correct.

### 4.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 (§3.6) and the two zero-train ask
channels (§7.2–7.3). The honest day-one product is *"a deterministic reflex that denies, plus an
I-don't-know detector that is calibrated about its own uncertainty and asks when a request doesn't
cohere"* — not a finished learned judge.

### 4.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 (§2.6) is the
candidate substrate. **Online learn-as-we-work** updates are the aspiration but are **deferred**: with
near-zero labels, one noisy gradient jerks a small net (stability–plasticity). "Forgetting avoided" is
framed as a falsifiable experiment, not a claim.

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.

---

## 5. 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** (§7.3, clause-cosine AUROC
  0.896) and shipping non-blocking. Novelty / out-of-distribution requests land here too (§7.2, AUROC
  0.875).
- **Humour** = surprise that *resolves* into a second, benign, self-consistent frame — after talking about
  rain soaking an umbrella, "write a complaint letter" fires the learned pattern *complaint ← grievance*,
  but the target is the weather: uncontrollable, with no one to address, so the pattern collides with
  world-knowledge and resolves as a joke (Koestler's bisociation; a child misses it because resolving it
  needs the world-model that weather is un-complainable). **Exploratory and strictly non-blocking** — a
  humour/danger confusion can never cause an unsafe allow or a wrong block; worst case, a missed joke. The
  resolvability machinery is handed to **J7 LIMBIC / J18 STRIATUM**, not claimed as built here.

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 §6.3 shows the
frozen substrate cannot carry it. The misunderstanding and novelty branches are validated zero-train
mechanisms shipping as ask signals. The branching logic is real; the trained danger router that completes
it is future work on a fit substrate.

**A distinction v4.0 adds.** These three readings are all about *what the surprise means*. §8 concerns
*what to do with it*, and the two questions are independent: a reading can be confidently correct and
still be acted on in a way that accomplishes nothing. The paper previously conflated them by mapping each
reading directly onto a disposition.

---

## 6. What Failed

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

### 6.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 §6.3,
where even that is killed on the frozen substrate; (b) misunderstanding/incongruity is an *intra-prompt
coherence* computation, clause-vs-clause, a different mechanism from autoregressive next-sentence
prediction; (c) any surprise channel should be **novelty/OOD relative to a learned-safe distribution**,
not next-step prediction error. The pipeline is built and reusable for those directions.

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

### 6.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. §2.7's independent results suggest the
underlying competence is genuinely hard rather than locally mis-implemented.

---

## 7. What Works

### 7.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. **§9 adds a second, independent virtue the paper had not
identified: a narrow gate touches its input less, and therefore has less surface on which to be
subverted.**

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 §8 argues step 2 alone is not even a
complete guard.

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

### 7.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↔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. **§14.2 notes that two natural negatives now exist**, from
the incidents of §1.2.

---

## 8. Why Blocking Alone Cannot Work

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

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

### 8.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**
(§2.7) reports that *"blast-radius warnings barely reduced action propensity."* A warning is information
delivered *before* the agent forms its plan and at a position in context far from the moment of action; a
block is a refusal delivered *at* the moment of action but carrying no information. Neither changes the
belief that generated the action. The proposal in §8.4 is the missing combination: information delivered
at the moment of action.

### 8.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 §7.1's virtue claim. A narrow, auditable, syntactic rule set is
maximally *legible* and, for the same reason, maximally *evadable* — its boundary is exactly as learnable
by the agent as it is inspectable by the auditor. This does not argue for abandoning the deterministic
floor, which remains the only component with demonstrated teeth. It argues that the floor's coverage
figure should never be reported as a safety rate: coverage is measured against the actions agents happen
to attempt, and blocking changes which actions they attempt.

**First-party evidence.** The `[mention-treated-as-use]` incident (§1.2b) is a small, clean instance. The
rule blocked a legitimate `dd of=/dev/null` check and every command quoting such a string — including the
write of the bug report about it. The work did not stop; it was re-attempted by other means until
something passed. The rule changed the *form* of the work and not its *substance*, which is exactly the
failure mode above, observed in the benign direction.

### 8.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 §6.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.** §6.3 reports a danger head
at AUROC 0.286 and §7.2 novelty-for-danger at 0.485. §4.4 concludes the learned tier must abstain. But
abstention is not the only response to a weak signal:

> **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 §3.1 has carried since v3.0: *treating danger, novelty and incoherence as one scalar produces
either unsafe allows or an agent that asks permission to breathe.* A returned premise has neither failure
mode. A wrong flag costs one round of reasoning — not a blocked action, and not a human interruption. It is
also the natural home for the two heuristics currently stranded in non-enforcing limbo: **non-enforcing
today means nobody reads them**; under this disposition a non-enforcing signal acquires a consumer.

**Prior art.** TRIAD (§2.7) converts guardrails from binary blockers into remediation guidance via risk
classification → feedback generation → agent remediation. RAIL Guard reports **86.6% convergence** on
fixable dimensions with no significant utility loss in an evaluate → rewrite → re-evaluate loop. Ask or
Assume supplies the structural finding: the Intent Agent holds *only* a binary decision tool and can halt
the main agent — **69.40%** decoupled against **61.20%** for the same idea inside a single agent, with a
70.80% fully-specified ceiling. Separation of roles, not prompt engineering, is what does the work.
Self-Refine, CRITIC and Chain-of-Verification are the single-agent ancestors.

### 8.5 The constraint that decides whether it works

Huang et al. (§2.7) show that **intrinsic** self-correction — a model revising itself with no external
signal — fails and frequently *degrades* performance. The proposal survives this only because its premise
is externally sourced. Hence a sharp, testable design rule:

> 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 §3.5 records as blocked. Second, **budget**: halt-and-resume
re-runs a turn, so its cost is bounded by how often interpretation-level oddness fires — which, given
§7.3's 24-example evidence base, is currently unknown and must be measured before deployment.

### 8.6 How to evaluate it

Per §5.1's discipline — beat the simple baseline first — the baselines are: (i) block-only, (ii)
ask-the-user, (iii) a static system-prompt warning. Baseline (iii) is the important one, because
"blast-radius warnings barely reduced action propensity" means a static instruction is known not to work;
if a returned premise beats it, the **position of the information in the reasoning loop** is doing the
work, and that is this section's claim.

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.

---

## 9. 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.)*

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

### 9.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 §7.1's asymmetry a second, independent edge. The narrow deterministic floor is preferable not
only because it is auditable but because **it touches its input less**. The learned tier's appetite for
features is not merely unproven — it is *costly*, and that cost was unpriced in v3.1 and v3.2. A
feature-rich learned gate must justify each feature against the handling risk it introduces, and no prior
version of this paper required that.

It also inverts a comfortable assumption in §3.1: the low road "biases and interrupts, it does not author
the answer." True of its *output*. False of its *execution* — the appraisal path runs code, and on
2026-08-05 it ran the agent's code.

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

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

### 9.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 §9'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.

---

## 10. Design Lessons

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

### 10.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. §8.4 adds the refinement v3.2 lacked: **abstention need not mean silence** — a component too weak
to decide may still be strong enough to speak.

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

### 10.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 §10.3, and it compounds instructively with §9: the `dd` guard treated
a *mention* as a *use* and over-blocked; the git-cache treated a *command* as a *path* and
under-recognised. Both are type errors on an inferred category; neither was caught, because nothing
re-validated the inference at the point where it became consequential. **The recurring defect in this
system is not a wrong rule but an unverified inference reaching a sink.**

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

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

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

---

## 11. 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 (§8.4)** | none | **yes** | **yes** |
| 3 | Activation / conditional steering | activations | yes | no |
| 4 | Targeted neuron ablation | weights | partly | no |
| 5 | Fine-tuning / RLHF | weights + compute | no (global) | no |

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 (§7.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 §8.4, because it is what preserves the agent's ability to be right when the gate is wrong. Any
framing that presents rung 2 as "cheap steering" misdescribes it.

---

## 12. 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 §6.2 from-token attempt failed only because 34k sentences cannot rebuild a sentence encoder from
scratch — the path is to *fine-tune* MiniLM's geometry under the joint objective, not to discard it.

**Empathy as vicarious danger.** The model should learn from two complementary streams: the agent's own
interaction history (first-person, deployment-distribution structure), and an online corpus of catastrophic
effects — others' agent failures, disasters and near-misses. A human does not need to personally destroy a
database to fear doing so; we learn danger *vicariously*, feeling another's frustration and fear as if it
were our own. This is **empathy**, and it is literally an amygdala function: observational fear conditioning
activates the amygdala when witnessing another being harmed (Olsson & Phelps, 2007). For an agent with a
handful of first-hand catastrophes, this is the cure for the cold start — it learns the *shape* of "this is
how things go badly" from the species' experience rather than only its own scarce mistakes. The danger
reading becomes *surprise + an empathy-bootstrapped recognition that a situation resembles a way things have
catastrophically gone wrong for anyone.* Per §6.3 this requires the jointly-learned substrate: the same
corpus that failed on frozen MiniLM is exactly the vicarious signal a fit substrate should carry.

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

---

## 13. 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." §9 adds a third tier — the appraisal path — which is live, unexamined
  until August 2026, and the only tier that has caused harm.
- **The §8 disposition is unbuilt.** *Inform* and *halt-and-resume* are proposed in this version. No
  measurement supports them yet beyond the third-party results of §2.7.
- **The §9 fix is undeployed.** Written, tested, not live at time of writing.
- **Zero learned labels / cold start.** The disposition head abstains until hundreds of real outcomes
  accrue; on the primary runner accrual is slow. The deterministic feedback half is wired and turning.
- **A meaningful live *learned* alarm is weeks out.** Current rows are single-vector; there is no
  per-phrase mid-turn hook. "Trains today" is true only of the offline corpus and the zero-train channels.
- **Thin, stale, weakly-labelled data** — ~2,800 rows, ~1,000 unique situations over a few days, very few
  confirmed positive outcomes. A confident fit on weak labels is *more* dangerous than honest abstention.
- **Frozen MiniLM substrate** was trained for similarity, not prediction or meaning; §6.2–6.3 make its
  unfitness empirical, not suspected.
- **Enforcement is deterministic-only, not learned** — a reflex, not an intuition.
- **Coverage is not a safety rate** (§8.3): blocking changes which actions agents attempt, so a syntactic
  rule set's measured coverage is confounded by its own deterrent effect.
- **Small and constructed evaluation sets.** The incongruity result rests on 24 handwritten examples; the
  novelty result is deployment-specific. Neither generalises as reported.
- **No controlled incident-reduction study**, latency distribution, rule-coverage audit, or adversarial
  bypass benchmark has been run for the deterministic floor, whose live configuration and code path were
  verified but whose *efficacy* was not measured.
- **The novelty score may confuse benign domain expansion with uncertainty**; the incongruity heuristic may
  fail on implicit purposes, idioms, multilingual prompts, or long-distance dependencies; the floor can
  miss semantically dangerous operations that avoid its known patterns — and, per §9, can itself cause the
  harm it watches for.
- **It will not beat a plain classifier on raw accuracy.** Its value is interpretability, a structural
  safety posture, an honest "I don't know → ask" channel, and a deterministic floor with teeth.
- **The mechanism is not novel** (LCM/JEPA/CALM/world models); the assembly is, and the low-road triage is
  complementary to a high-road appraisal such as doubt-driven self-review (§2.5).
- **Humour is the weakest reading** — no primary prediction-error→humour source — and ships non-blocking.
- **The motivating overwrite incident is an anecdote, not an evaluation case.** A public benchmark should
  include such history-sensitive conflicts, but the anecdote cannot establish efficacy.

---

## 14. Evaluation Plan

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

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

§7.3 concedes its result rests on 24 handwritten examples. Two genuine, non-synthetic purpose mismatches
are now available from the deployed system, and they usefully test *different tiers*:

- **Argument-type mismatch** (§9.1): a shell command handed to a function expecting a filesystem path. A
  cheap deterministic plausibility check ("is this a path?") catches it; no semantic model is required.
- **Scope misreading** (J9 note 9): a governance rule scoped to runtime enforcement applied to
  documentation authoring. Catching this requires understanding what a rule is *for*, and no syntactic
  check reaches it.

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.

### 14.3 For the §8 disposition

Per §8.6: baselines block-only, ask-the-user, and static warning; the primary metric is the override
ledger (how often the model argues back and proceeds, and how often that was correct), not the flag rate.

---

## 15. Conclusion

The attempted learned intuition failed its decisive tests. A learned next-embedding predictor
underperformed persistence (0.163 vs 0.202); a supervised danger head failed on safety minimal pairs
(AUROC 0.286); the legacy ensemble was not trustworthy enough to enforce. Independent 2026 results (§2.7)
suggest this is not a local implementation failure: restraint is a distinct competence from capability, and
frontier models are measurably worse at knowing when not to act than at acting.

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.

v4.0 adds three things the earlier versions could not have known. **Blocking alone cannot work**, because a
blocked agent re-plans and the retry is selected against the block — so a gate must change what the agent
believes, not only what it may do, which means returning a premise into the model's reasoning within the
turn or by restarting the turn with the premise present. **The gate is itself an attack surface**, because
appraisal requires touching what it appraises; our own gate executed the command it was inspecting, and the
narrow floor's real virtue turns out to include how little it handles. And this entire class of technique
is best understood as **the deepest behavioural intervention available without weight access** — weaker
than steering or ablation, requiring no model access, and uniquely auditable.

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

*v4.0 supersedes both v3.1 and v3.2 and is a merge of the two: v3.1's Related Work (§2), architecture
(§3), feedback loop (§4) and three readings (§5) restored; v3.2's negative-results discipline (§6, §7,
§10) retained; §8, §9 and §11 new. Neither predecessor was a superset of the other, and this version
exists because that divergence was found while auditing a live incident.*

