{
 "paper": "agent-security-aegis",
 "a": "2.5",
 "b": "2.6",
 "summary": "From v2.5 (2 Jun) to v2.6 (2 Jun): 28,537 words to 28,640 words, 152 words in new or rewritten paragraphs and 49 taken out, 6 paragraphs changed.",
 "note": {
  "title": "Corrects the safety-gate claim again and drops a self-citation",
  "kind": "revision",
  "body": "## Summary\n\nA small correction to v2.5. The audit now says the gate's inference library is declared and set up for bundling, not confirmed as shipped, and lists confirming it as the first open item. A citation to the author's own unpublished report is removed.",
  "source": "change note"
 },
 "paragraphs_changed": 6,
 "changes": [
  {
   "section": "11.10 AMYGDALA — Learned Intuition and Safety Gate",
   "old": "AMYGDALA operates two neural ensembles. The Prudence ensemble evaluates every tool call before execution and scores it for safety risk; when the ensemble crosses its threshold or disagreement between ensemble members exceeds a conservatism override, the conservative vote wins and the tool call is blocked. The Personality ensemble calibrates behavioral tone and writes nudges to a configuration file that subsequent sessions consume. The *learned* Prudence ensemble currently runs observe-only — it logs what it would block without aborting — but a *deterministic* AEGIS veto (the rule-based destructive-command gate plus an AEGIS pre/post-check) now hard-blocks unconditionally, independent of that observe-only ramp. The reference-implementation audit in §11.14.4 details the current state, including the caveat that the learned Prudence path — though its inference dependency is now loaded — has not yet been calibrated against a production attack corpus, so the boundary that actually fires is the deterministic veto rather than the neural classifier.",
   "new": "AMYGDALA operates two neural ensembles. The Prudence ensemble evaluates every tool call before execution and scores it for safety risk; when the ensemble crosses its threshold or disagreement between ensemble members exceeds a conservatism override, the conservative vote wins and the tool call is blocked. The Personality ensemble calibrates behavioral tone and writes nudges to a configuration file that subsequent sessions consume. The *learned* Prudence ensemble currently runs observe-only — it logs what it would block without aborting — but a *deterministic* AEGIS veto (the rule-based destructive-command gate plus an AEGIS pre/post-check) now hard-blocks unconditionally, independent of that observe-only ramp. The reference-implementation audit in §11.14.4 details the current state, including the caveat that the learned Prudence path — whose native inference dependency is declared and configured for bundling but must be confirmed staged in the shipped runtime at each build — has not yet been calibrated against a production attack corpus, so the boundary that actually fires is the deterministic veto rather than the neural classifier.",
   "marked": "AMYGDALA operates two neural ensembles. The Prudence ensemble evaluates every tool call before execution and scores it for safety risk; when the ensemble crosses its threshold or disagreement between ensemble members exceeds a conservatism override, the conservative vote wins and the tool call is blocked. The Personality ensemble calibrates behavioral tone and writes nudges to a configuration file that subsequent sessions consume. The *learned* Prudence ensemble currently runs observe-only — it logs what it would block without aborting — but a *deterministic* AEGIS veto (the rule-based destructive-command gate plus an AEGIS pre/post-check) now hard-blocks unconditionally, independent of that observe-only ramp. The reference-implementation audit in §11.14.4 details the current state, including the caveat that the learned Prudence path — [-though its-] {+whose native+} inference dependency is [-now loaded-] {+declared and configured for bundling but must be confirmed staged in the shipped runtime at each build+} — has not yet been calibrated against a production attack corpus, so the boundary that actually fires is the deterministic veto rather than the neural classifier."
  },
  {
   "section": "11.14 The Reference Implementation — What TinkerClaw Enforces Today",
   "old": "1. The **deterministic regex gate, not a learned classifier, is the absolute veto that holds today.** The native ONNX inference dependency is now present and staged into the plugin's bundled runtime, so the neural model path is live rather than missing — but the *learned* ensemble runs in its observe-only training ramp (it logs the verdict it *would* reach without aborting), and its risk thresholds are not yet calibrated against a production attack corpus. Until that learned half is measured against a benchmark, the boundary that actually fires is the regex gate. This is precisely the §4.5 calibration: do not count the probabilistic layer as a boundary until it is demonstrably present *and measured*, not merely loadable. 2. The veto is only as good as its rule set (see below). It is a deterministic floor, not a complete intent verifier — the same architectural limit §7.3 identifies in NemoClaw's Layer 5.",
   "new": "1. The **deterministic regex gate, not a learned classifier, is the absolute veto that holds today.** The native ONNX inference dependency is declared and configured for bundling into the plugin's runtime, but two facts keep the learned path out of the live boundary. First, the dependency's presence in the *shipped* bundle must be confirmed at each build — a plugin that declares a native dependency but fails to stage the platform binary into its distributed runtime falls back silently to the rule-based gate, a regression class that has bitten this runtime before. Second, even with the binary staged, the *learned* ensemble runs in its observe-only training ramp (it logs the verdict it *would* reach without aborting), and its risk thresholds are not yet calibrated against a production attack corpus. Until that learned half is both confirmed-staged and measured against a benchmark, the boundary that actually fires is the regex gate. This is precisely the §4.5 calibration: do not count the probabilistic layer as a boundary until it is demonstrably present *and measured*, not merely declared. 2. The veto is only as good as its rule set (see below). It is a deterministic floor, not a complete intent verifier — the same architectural limit §7.3 identifies in NemoClaw's Layer 5.",
   "marked": "1. The **deterministic regex gate, not a learned classifier, is the absolute veto that holds today.** The native ONNX inference dependency is [-now present-] {+declared+} and [-staged-] {+configured for bundling+} into the plugin's [-bundled-] runtime, [-so-] {+but two facts keep+} the [-neural model-] {+learned+} path [-is-] {+out of the+} live [-rather than missing-] {+boundary. First, the dependency's presence in the *shipped* bundle must be confirmed at each build+} — {+a plugin that declares a native dependency+} but {+fails to stage the platform binary into its distributed runtime falls back silently to the rule-based gate, a regression class that has bitten this runtime before. Second, even with the binary staged,+} the *learned* ensemble runs in its observe-only training ramp (it logs the verdict it *would* reach without aborting), and its risk thresholds are not yet calibrated against a production attack corpus. Until that learned half is {+both confirmed-staged and+} measured against a benchmark, the boundary that actually fires is the regex gate. This is precisely the §4.5 calibration: do not count the probabilistic layer as a boundary until it is demonstrably present *and measured*, not merely [-loadable.-] {+declared.+} 2. The veto is only as good as its rule set (see below). It is a deterministic floor, not a complete intent verifier — the same architectural limit §7.3 identifies in NemoClaw's Layer 5."
  },
  {
   "section": "11.14 The Reference Implementation — What TinkerClaw Enforces Today",
   "old": "1. **The blocking controls are deterministic; the learned ones are signal.** Every control that actually held under the audit was a code-layer mechanism the model could not influence. The neural gate's value, until its weights and the deterministic veto were both in place, was observability — knowing what it *would* block. This is §4.5's calibration stated as an engineering fact rather than a recommendation. 2. **A wrapper is a security boundary; a prompt is a preference.** The reversibility contract that prevents an Inbox Zero recurrence lives in a shell wrapper, not in the system prompt — because the prompt is bypassable by the very injection class (§4.5) the wrapper is there to survive. Where an action is irreversible or outbound, the AEGIS prescription is to push the guard down to code (§11.14.2). 3. **Disclose the observe-only gaps.** The most useful sentence in this chapter is the one admitting that the learned ensemble still runs observe-only and is not yet a measured boundary — even though its inference dependency is now loaded. An agent-security posture that reports a control by its *intended* behavior rather than its *current* behavior is the over-claiming failure mode §4 was written to prevent. The framework's credibility rests on reporting the gate that is still in training as exactly that — present, loadable, but not yet counted.",
   "new": "1. **The blocking controls are deterministic; the learned ones are signal.** Every control that actually held under the audit was a code-layer mechanism the model could not influence. The neural gate's value, until its weights and the deterministic veto were both in place, was observability — knowing what it *would* block. This is §4.5's calibration stated as an engineering fact rather than a recommendation. 2. **A wrapper is a security boundary; a prompt is a preference.** The reversibility contract that prevents an Inbox Zero recurrence lives in a shell wrapper, not in the system prompt — because the prompt is bypassable by the very injection class (§4.5) the wrapper is there to survive. Where an action is irreversible or outbound, the AEGIS prescription is to push the guard down to code (§11.14.2). 3. **Disclose the observe-only gaps.** The most useful sentence in this chapter is the one admitting that the learned ensemble still runs observe-only and is not yet a measured boundary — and that its native inference dependency, while declared and configured for bundling, must be confirmed present in the shipped runtime at each build before the neural path can be counted at all. An agent-security posture that reports a control by its *intended* behavior rather than its *current* behavior is the over-claiming failure mode §4 was written to prevent. The framework's credibility rests on reporting the gate that is still in training as exactly that — configured, not yet measured, and not yet counted.",
   "marked": "1. **The blocking controls are deterministic; the learned ones are signal.** Every control that actually held under the audit was a code-layer mechanism the model could not influence. The neural gate's value, until its weights and the deterministic veto were both in place, was observability — knowing what it *would* block. This is §4.5's calibration stated as an engineering fact rather than a recommendation. 2. **A wrapper is a security boundary; a prompt is a preference.** The reversibility contract that prevents an Inbox Zero recurrence lives in a shell wrapper, not in the system prompt — because the prompt is bypassable by the very injection class (§4.5) the wrapper is there to survive. Where an action is irreversible or outbound, the AEGIS prescription is to push the guard down to code (§11.14.2). 3. **Disclose the observe-only gaps.** The most useful sentence in this chapter is the one admitting that the learned ensemble still runs observe-only and is not yet a measured boundary — [-even though-] {+and that+} its {+native+} inference [-dependency is now loaded.-] {+dependency, while declared and configured for bundling, must be confirmed present in the shipped runtime at each build before the neural path can be counted at all.+} An agent-security posture that reports a control by its *intended* behavior rather than its *current* behavior is the over-claiming failure mode §4 was written to prevent. The framework's credibility rests on reporting the gate that is still in training as exactly that — [-present, loadable, but-] {+configured, not yet measured, and+} not yet counted."
  },
  {
   "section": "11.14 The Reference Implementation — What TinkerClaw Enforces Today",
   "old": "**Open upgrade items** flowing from this audit, offered as the §14.2 future-work agenda made specific: calibrate and benchmark the learned AMYGDALA ensemble — now that its inference dependency is loaded — so it becomes a *measured* control rather than an observe-only one before it is allowed to abort tool calls; harden the personality-nudge file (§11.10) and add load-time hash verification before the gate exits observe-only; adopt pairing-code / scope-intersection authentication for subagent reconnect (the §2.1.1 GHSA-hf68 mitigation, re-validating the toolset intersection on every reconnect rather than trusting the initial pairing); and pair the §1.4 CVE-2026-25253 WebSocket-hijack case study with the loopback-bind-plus-token-auth pattern the browser relay (§11.14.3) already demonstrates.",
   "new": "**Open upgrade items** flowing from this audit, offered as the §14.2 future-work agenda made specific: confirm at build time that the native inference dependency is actually staged into the shipped plugin runtime — declaring it is not the same as shipping it — and then calibrate and benchmark the learned AMYGDALA ensemble so it becomes a *measured* control rather than an observe-only one before it is allowed to abort tool calls; harden the personality-nudge file (§11.10) and add load-time hash verification before the gate exits observe-only; adopt pairing-code / scope-intersection authentication for subagent reconnect (the §2.1.1 GHSA-hf68 mitigation, re-validating the toolset intersection on every reconnect rather than trusting the initial pairing); and pair the §1.4 CVE-2026-25253 WebSocket-hijack case study with the loopback-bind-plus-token-auth pattern the browser relay (§11.14.3) already demonstrates.",
   "marked": "**Open upgrade items** flowing from this audit, offered as the §14.2 future-work agenda made specific: {+confirm at build time that the native inference dependency is actually staged into the shipped plugin runtime — declaring it is not the same as shipping it — and then+} calibrate and benchmark the learned AMYGDALA ensemble [-— now that its inference dependency is loaded —-] so it becomes a *measured* control rather than an observe-only one before it is allowed to abort tool calls; harden the personality-nudge file (§11.10) and add load-time hash verification before the gate exits observe-only; adopt pairing-code / scope-intersection authentication for subagent reconnect (the §2.1.1 GHSA-hf68 mitigation, re-validating the toolset intersection on every reconnect rather than trusting the initial pairing); and pair the §1.4 CVE-2026-25253 WebSocket-hijack case study with the loopback-bind-plus-token-auth pattern the browser relay (§11.14.3) already demonstrates."
  },
  {
   "section": "16. References",
   "old": "Serra, O. (2026). \"The Wondering Machine: Curiosity, Memory, and the Architecture of Self-Improving Language Models.\" Technical report.",
   "new": null,
   "marked": "[-Serra, O. (2026). \"The Wondering Machine: Curiosity, Memory, and the Architecture of Self-Improving Language Models.\" Technical report.-]"
  },
  {
   "section": "Appendix B: Threat-to-Section Cross-Reference",
   "old": "*AEGIS: A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: June 2026 | Version: 2.5* *Classification: Internal — IT Contractor Review*",
   "new": "*AEGIS: A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: June 2026 | Version: 2.6* *Classification: Internal — IT Contractor Review*",
   "marked": "*AEGIS: A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: June 2026 | Version: [-2.5*-] {+2.6*+} *Classification: Internal — IT Contractor Review*"
  }
 ]
}
