{
 "paper": "agent-security-aegis",
 "a": "2.3",
 "b": "2.4",
 "summary": "From v2.3 (2 Jun) to v2.4 (2 Jun): 28,288 words to 28,437 words, 321 words in new or rewritten paragraphs and 172 taken out, 34 paragraphs changed.",
 "note": {
  "title": "Immune-system figure; the paper stops leaning on the series",
  "kind": "revision",
  "body": "## Summary\n\nMostly wording. The paper now describes its architecture as a general cognitive-agent design instead of pointing to the author's other papers, in line with the March notes that asked each paper to stand on its own.\n\n- New figure mapping immune-system layers to security layers.\n- The component chapter is renamed and introduced in general terms.\n- Self-references such as \"this revision\" and citations to the author's other papers are removed or replaced with plain descriptions.",
  "source": "change note"
 },
 "paragraphs_changed": 34,
 "changes": [
  {
   "section": "Abstract",
   "old": "This paper presents **AEGIS**, a security framework that addresses the most frequently raised concerns from IT professionals evaluating agent deployments. The central organizing idea is a **two-class threat taxonomy** that distinguishes between full agent takeover events and data leaks — a distinction that matters because the consequences, mitigations, and liability implications of these two classes differ fundamentally. The framework defines **eight security strategy classes** partitioned by enforcement posture (deterministic vs. probabilistic), elevates the §7 NVIDIA NemoClaw analysis to a five-layer architectural gap analysis, and maps every threat to a specific J-Series component surface in §11 — anchored by a consolidated strategy-class-to-component matrix (§11.0). The framework includes **§11.14, a reference-implementation chapter** that grounds the abstract framework in what one production agent runtime (TinkerClaw) actually enforces today — naming, file by file, which controls block deterministically and which remain advisory.",
   "new": "This paper presents **AEGIS**, a security framework that addresses the most frequently raised concerns from IT professionals evaluating agent deployments. The central organizing idea is a **two-class threat taxonomy** that distinguishes between full agent takeover events and data leaks — a distinction that matters because the consequences, mitigations, and liability implications of these two classes differ fundamentally. The framework defines **eight security strategy classes** partitioned by enforcement posture (deterministic vs. probabilistic), analyzes NVIDIA NemoClaw's five-layer architecture as a detailed gap study (§7), and maps every threat to the attack surface of a concrete cognitive-agent architecture in §11 — anchored by a consolidated strategy-class-to-component matrix (§11.0). The framework closes with **§11.14, a reference-implementation chapter** that grounds the abstract framework in what one production agent runtime actually enforces today — naming, file by file, which controls block deterministically and which remain advisory.",
   "marked": "This paper presents **AEGIS**, a security framework that addresses the most frequently raised concerns from IT professionals evaluating agent deployments. The central organizing idea is a **two-class threat taxonomy** that distinguishes between full agent takeover events and data leaks — a distinction that matters because the consequences, mitigations, and liability implications of these two classes differ fundamentally. The framework defines **eight security strategy classes** partitioned by enforcement posture (deterministic vs. probabilistic), [-elevates the §7-] {+analyzes+} NVIDIA [-NemoClaw analysis to-] {+NemoClaw's five-layer architecture as+} a [-five-layer architectural-] {+detailed+} gap [-analysis,-] {+study (§7),+} and maps every threat to {+the attack surface of+} a [-specific J-Series component surface-] {+concrete cognitive-agent architecture+} in §11 — anchored by a consolidated strategy-class-to-component matrix (§11.0). The framework [-includes-] {+closes with+} **§11.14, a reference-implementation chapter** that grounds the abstract framework in what one production agent runtime [-(TinkerClaw)-] actually enforces today — naming, file by file, which controls block deterministically and which remain advisory."
  },
  {
   "section": "1.1 The Immune System Analogy",
   "old": null,
   "new": "![Figure 1.2: The immune-system mapping. Each biological defense tier (left) corresponds to an agent-security layer (right): the skin barrier maps to deterministic network and filesystem controls, innate immunity to runtime programmatic guardrails, adaptive immunity to learned probabilistic detectors, and the autoimmune failure mode to the self-modification threat. The correspondence is the organizing intuition for the whole framework.](fig-immune-mapping.png){ width=80% }",
   "marked": "{+![Figure 1.2: The immune-system mapping. Each biological defense tier (left) corresponds to an agent-security layer (right): the skin barrier maps to deterministic network and filesystem controls, innate immunity to runtime programmatic guardrails, adaptive immunity to learned probabilistic detectors, and the autoimmune failure mode to the self-modification threat. The correspondence is the organizing intuition for the whole framework.](fig-immune-mapping.png){ width=80% }+}"
  },
  {
   "section": "1.5 Research Framing and Paper Structure",
   "old": "**Section 2** presents the two-class threat taxonomy. **Section 3** classifies data by sensitivity and analyzes liability implications. **Section 4** describes the eight security strategy classes. **Section 5** profiles four deployment personas. **Section 6** constructs risk matrices. **Sections 7 and 8** analyze NemoClaw and DefenseClaw respectively. **Section 9** analyzes business motivations. **Section 10** presents validation evidence. **Section 11** maps security threats to J-Series system components — opening (§11.0) with a consolidated matrix that ties each component's attack surface to the strategy class (§4) that addresses it, and closing (§11.14) with a worked reference-implementation chapter showing which controls a production agent runtime enforces deterministically versus advisorily. **Section 12** presents the AEGIS defense-in-depth architecture. **Section 13** gives per-persona recommendations. **Sections 14–16** address limitations, related work, and references.",
   "new": "**Section 2** presents the two-class threat taxonomy. **Section 3** classifies data by sensitivity and analyzes liability implications. **Section 4** describes the eight security strategy classes. **Section 5** profiles four deployment personas. **Section 6** constructs risk matrices. **Sections 7 and 8** analyze NemoClaw and DefenseClaw respectively. **Section 9** analyzes business motivations. **Section 10** presents validation evidence. **Section 11** maps security threats to the components of a concrete cognitive-agent architecture — opening (§11.0) with a consolidated matrix that ties each component's attack surface to the strategy class (§4) that addresses it, and closing (§11.14) with a worked reference-implementation chapter showing which controls a production agent runtime enforces deterministically versus advisorily. **Section 12** presents the AEGIS defense-in-depth architecture. **Section 13** gives per-persona recommendations. **Sections 14–16** address limitations, related work, and references.",
   "marked": "**Section 2** presents the two-class threat taxonomy. **Section 3** classifies data by sensitivity and analyzes liability implications. **Section 4** describes the eight security strategy classes. **Section 5** profiles four deployment personas. **Section 6** constructs risk matrices. **Sections 7 and 8** analyze NemoClaw and DefenseClaw respectively. **Section 9** analyzes business motivations. **Section 10** presents validation evidence. **Section 11** maps security threats to [-J-Series system-] {+the+} components {+of a concrete cognitive-agent architecture+} — opening (§11.0) with a consolidated matrix that ties each component's attack surface to the strategy class (§4) that addresses it, and closing (§11.14) with a worked reference-implementation chapter showing which controls a production agent runtime enforces deterministically versus advisorily. **Section 12** presents the AEGIS defense-in-depth architecture. **Section 13** gives per-persona recommendations. **Sections 14–16** address limitations, related work, and references."
  },
  {
   "section": "2. Threat Taxonomy — Two Fundamental Classes",
   "old": "The most important conceptual clarification in this revision is that \"an AI agent security threat\" is not a monolithic category. Threats differ fundamentally in their mechanism, consequence, and the strength of available mitigations. Conflating them leads to both over-insurance (treating harmless data leaks as catastrophes) and under-insurance (treating agent takeover as \"just another misconfiguration\").",
   "new": "The most important conceptual clarification this framework offers is that \"an AI agent security threat\" is not a monolithic category. Threats differ fundamentally in their mechanism, consequence, and the strength of available mitigations. Conflating them leads to both over-insurance (treating harmless data leaks as catastrophes) and under-insurance (treating agent takeover as \"just another misconfiguration\").",
   "marked": "The most important conceptual clarification [-in-] this [-revision-] {+framework offers+} is that \"an AI agent security threat\" is not a monolithic category. Threats differ fundamentally in their mechanism, consequence, and the strength of available mitigations. Conflating them leads to both over-insurance (treating harmless data leaks as catastrophes) and under-insurance (treating agent takeover as \"just another misconfiguration\")."
  },
  {
   "section": "3.5 Could You Recover Damages from Your LLM Provider?",
   "old": "LLM providers' terms of service disclaim liability for model outputs. The legal landscape is actively developing: defamation claims against LLM providers (Walters v. OpenAI, settled in 2024) and copyright infringement claims (New York Times v. OpenAI, ongoing as of 2026) have reached courts but have not yet established settled doctrine on when providers bear liability for model-generated content. For now, deploying organizations bear primary responsibility for how they deploy and act on model outputs.",
   "new": "LLM providers' terms of service disclaim liability for model outputs. The case law is still forming: defamation claims against LLM providers (Walters v. OpenAI, settled in 2024) and copyright infringement claims (New York Times v. OpenAI, ongoing as of 2026) have reached courts but have not yet established settled doctrine on when providers bear liability for model-generated content. For now, deploying organizations bear primary responsibility for how they deploy and act on model outputs.",
   "marked": "LLM providers' terms of service disclaim liability for model outputs. The [-legal landscape-] {+case law+} is [-actively developing:-] {+still forming:+} defamation claims against LLM providers (Walters v. OpenAI, settled in 2024) and copyright infringement claims (New York Times v. OpenAI, ongoing as of 2026) have reached courts but have not yet established settled doctrine on when providers bear liability for model-generated content. For now, deploying organizations bear primary responsibility for how they deploy and act on model outputs."
  },
  {
   "section": "3.7 Liability Summary Matrix",
   "old": "![Figure 4.1: The eight AEGIS strategy classes, grouped by enforcement posture. Seven classes are deterministic (§4.1–§4.4, §4.6–§4.8); one-and-a-half are probabilistic (§4.5 and the classifier half of §4.6). The §4.10 emerging classes sit outside the current partition as v3-promotion candidates.](fig-strategy-taxonomy.png){ width=85% }",
   "new": "![Figure 4.1: The eight AEGIS strategy classes, grouped by enforcement posture. Seven classes are deterministic (§4.1–§4.4, §4.6–§4.8); one-and-a-half are probabilistic (§4.5 and the classifier half of §4.6). The §4.10 emerging classes sit outside the current partition as future-promotion candidates.](fig-strategy-taxonomy.png){ width=85% }",
   "marked": "![Figure 4.1: The eight AEGIS strategy classes, grouped by enforcement posture. Seven classes are deterministic (§4.1–§4.4, §4.6–§4.8); one-and-a-half are probabilistic (§4.5 and the classifier half of §4.6). The §4.10 emerging classes sit outside the current partition as [-v3-promotion-] {+future-promotion+} candidates.](fig-strategy-taxonomy.png){ width=85% }"
  },
  {
   "section": "4.2 Process-Level Isolation",
   "old": "**2025 reference implementations.** Anthropic's Computer Use sandbox (Oct 2024) runs Claude in an isolated Docker container with restricted host-mount and network egress [@anthropic2024computeruse]; OpenAI's Operator browser runs in a persistent VM per user (Jan 2025); ByteDance Doubao's agent sandbox uses gVisor under Kubernetes for multi-tenant isolation (2025). Each is a published design pattern that a J-Series deployment can copy rather than reinvent.",
   "new": "**2025 reference implementations.** Anthropic's Computer Use sandbox (Oct 2024) runs Claude in an isolated Docker container with restricted host-mount and network egress [@anthropic2024computeruse]; OpenAI's Operator browser runs in a persistent VM per user (Jan 2025); ByteDance Doubao's agent sandbox uses gVisor under Kubernetes for multi-tenant isolation (2025). Each is a published design pattern an agent deployment can copy rather than reinvent.",
   "marked": "**2025 reference implementations.** Anthropic's Computer Use sandbox (Oct 2024) runs Claude in an isolated Docker container with restricted host-mount and network egress [@anthropic2024computeruse]; OpenAI's Operator browser runs in a persistent VM per user (Jan 2025); ByteDance Doubao's agent sandbox uses gVisor under Kubernetes for multi-tenant isolation (2025). Each is a published design pattern [-that a J-Series-] {+an agent+} deployment can copy rather than reinvent."
  },
  {
   "section": "4.7 Audit, Compliance, and Supply-Chain Trust",
   "old": "Audit and supply chain are sometimes merged into a single class. They are structurally different — *post-hoc observation* versus *pre-hoc trust* — with different vendors, standards, and failure modes. AEGIS splits them into 4.7a and 4.7b while preserving the single row in Table 1 for compatibility.",
   "new": "Audit and supply chain are sometimes merged into a single class. They are structurally different — *post-hoc observation* versus *pre-hoc trust* — with different vendors, standards, and failure modes. AEGIS splits them into 4.7a and 4.7b while keeping them on a single row in Table 1.",
   "marked": "Audit and supply chain are sometimes merged into a single class. They are structurally different — *post-hoc observation* versus *pre-hoc trust* — with different vendors, standards, and failure modes. AEGIS splits them into 4.7a and 4.7b while [-preserving the-] {+keeping them on a+} single row in Table [-1 for compatibility.-] {+1.+}"
  },
  {
   "section": "4.8 Self-Modification Prevention",
   "old": "**Operational heart of §4.8.** The J-Series CEREBELLUM self-improvement mechanism [@serra2026wondering] rewrites agent rules nightly based on operational lessons. This is a feature by design and a vulnerability by consequence: a malicious interaction can inject a \"lesson\" that weakens security, and because the lesson becomes part of the memory store, *the compromise persists across sessions* — exactly the attack class Greshake-style indirect injection produces when a long-term memory store is in scope [@greshake2023notwhat]. The human-in-the-loop gate for Level-2 (substantive) self-modifications is the critical control; weakening it is the quickest way to convert a one-turn injection into a durable backdoor. Recent research on memory-editing attacks and value-drift via self-reflection loops [@zeng2024memoryedit] suggests this attack surface will grow, not shrink, as long-lived agent memory becomes standard.",
   "new": "**Operational heart of §4.8.** A growing class of agent runtimes ships a nightly self-improvement mechanism — a consolidation cycle that extracts \"lessons\" from the day's session history and rewrites the agent's own operational rules accordingly. (We refer to this component as CEREBELLUM throughout, and analyze its attack surface in detail in §11.4.) This is a feature by design and a vulnerability by consequence: a malicious interaction can inject a \"lesson\" that weakens security, and because the lesson becomes part of the memory store, *the compromise persists across sessions* — exactly the attack class Greshake-style indirect injection produces when a long-term memory store is in scope [@greshake2023notwhat]. The human-in-the-loop gate for Level-2 (substantive) self-modifications is the critical control; weakening it is the quickest way to convert a one-turn injection into a durable backdoor. Recent research on memory-editing attacks and value-drift via self-reflection loops [@zeng2024memoryedit] suggests this attack surface will grow, not shrink, as long-lived agent memory becomes standard.",
   "marked": "**Operational heart of §4.8.** [-The J-Series CEREBELLUM-] {+A growing class of agent runtimes ships a nightly+} self-improvement mechanism [-[@serra2026wondering]-] {+— a consolidation cycle that extracts \"lessons\" from the day's session history and+} rewrites [-agent-] {+the agent's own operational+} rules [-nightly based on operational lessons.-] {+accordingly. (We refer to this component as CEREBELLUM throughout, and analyze its attack surface in detail in §11.4.)+} This is a feature by design and a vulnerability by consequence: a malicious interaction can inject a \"lesson\" that weakens security, and because the lesson becomes part of the memory store, *the compromise persists across sessions* — exactly the attack class Greshake-style indirect injection produces when a long-term memory store is in scope [@greshake2023notwhat]. The human-in-the-loop gate for Level-2 (substantive) self-modifications is the critical control; weakening it is the quickest way to convert a one-turn injection into a durable backdoor. Recent research on memory-editing attacks and value-drift via self-reflection loops [@zeng2024memoryedit] suggests this attack surface will grow, not shrink, as long-lived agent memory becomes standard."
  },
  {
   "section": "4.10 Emerging Classes Not Yet Formalized",
   "old": "We profile four distinct deployment personas representing points on the risk-exposure spectrum. Three are carried forward from AEGIS v1.1; a fourth persona — the SMB Operator — is added to fill the gap between solo professional and large-enterprise employee.",
   "new": "We profile four distinct deployment personas representing points on the risk-exposure spectrum. They span the range from a hobbyist on isolated personal data to a corporate employee with access to production infrastructure, with an SMB operator profile filling the gap between solo professional and large-enterprise employee.",
   "marked": "We profile four distinct deployment personas representing points on the risk-exposure spectrum. [-Three are carried forward-] {+They span the range+} from [-AEGIS v1.1;-] a [-fourth persona — the-] {+hobbyist on isolated personal data to a corporate employee with access to production infrastructure, with an+} SMB [-Operator — is added to fill-] {+operator profile filling+} the gap between solo professional and large-enterprise employee."
  },
  {
   "section": "5.3 Persona C — The SMB Operator (Dana)",
   "old": "### 5.3 Persona C — The SMB Operator (Dana) — *New*",
   "new": "### 5.3 Persona C — The SMB Operator (Dana)",
   "marked": "### 5.3 Persona C — The SMB Operator [-(Dana) — *New*-] {+(Dana)+}"
  },
  {
   "section": "7.7 Transferable Lessons from NemoClaw",
   "old": "NemoClaw is an alpha product. Whether it reaches GA, is superseded by a successor architecture, or is quietly abandoned, its architectural decisions encode lessons that are directly applicable to J-Series builders and to anyone designing agent security controls. The four principles below are independent of NemoClaw's survival:",
   "new": "NemoClaw is an alpha product. Whether it reaches GA, is superseded by a successor architecture, or is quietly abandoned, its architectural decisions encode lessons that are directly applicable to anyone designing agent security controls. The four principles below are independent of NemoClaw's survival:",
   "marked": "NemoClaw is an alpha product. Whether it reaches GA, is superseded by a successor architecture, or is quietly abandoned, its architectural decisions encode lessons that are directly applicable to [-J-Series builders and to-] anyone designing agent security controls. The four principles below are independent of NemoClaw's survival:"
  },
  {
   "section": "11. J-Series Component Security Surfaces",
   "old": "## 11. J-Series Component Security Surfaces",
   "new": null,
   "marked": "[-## 11. J-Series Component Security Surfaces-]"
  },
  {
   "section": "11. J-Series Component Security Surfaces",
   "old": "AEGIS governs security across the full J-Series AI agent architecture. The J-Series comprises 14 components; J9 AEGIS is self-referential and is excluded from this mapping, leaving 13 addressable components. Each presents a distinct attack surface. Understanding these specific surfaces enables targeted rather than generic security responses.",
   "new": null,
   "marked": "[-AEGIS governs security across the full J-Series AI agent architecture. The J-Series comprises 14 components; J9 AEGIS is self-referential and is excluded from this mapping, leaving 13 addressable components. Each presents a distinct attack surface. Understanding these specific surfaces enables targeted rather than generic security responses.-]"
  },
  {
   "section": "11. Component Security Surfaces of a Cognitive-Agent Architecture",
   "old": null,
   "new": "## 11. Component Security Surfaces of a Cognitive-Agent Architecture",
   "marked": "{+## 11. Component Security Surfaces of a Cognitive-Agent Architecture+}"
  },
  {
   "section": "11. Component Security Surfaces of a Cognitive-Agent Architecture",
   "old": null,
   "new": "The strategy classes of §4 describe controls in the abstract. To show how they bind to a real system, this section applies them to a concrete cognitive-agent architecture: a memory-and-reasoning stack in which named components handle storage, retrieval, identity, self-improvement, multi-model deliberation, and orchestration. The thirteen components analyzed below are drawn from one such architecture; the names (ENGRAM, HIPPOCAMPUS, CORTEX, and so on) are introduced and defined as each component is discussed, and no familiarity with any other document is assumed. The value of the exercise is general: every agent runtime has analogous surfaces, whatever it calls them, and the mapping from surface to control class transfers directly. Understanding these specific surfaces enables targeted rather than generic security responses.",
   "marked": "{+The strategy classes of §4 describe controls in the abstract. To show how they bind to a real system, this section applies them to a concrete cognitive-agent architecture: a memory-and-reasoning stack in which named components handle storage, retrieval, identity, self-improvement, multi-model deliberation, and orchestration. The thirteen components analyzed below are drawn from one such architecture; the names (ENGRAM, HIPPOCAMPUS, CORTEX, and so on) are introduced and defined as each component is discussed, and no familiarity with any other document is assumed. The value of the exercise is general: every agent runtime has analogous surfaces, whatever it calls them, and the mapping from surface to control class transfers directly. Understanding these specific surfaces enables targeted rather than generic security responses.+}"
  },
  {
   "section": "11.0 Component-to-Strategy-Class Matrix",
   "old": "The strategy classes of §4 are deliberately generic — they describe controls, not the systems those controls protect. Table 11.0 closes that gap: it names, for each J-Series component, the dominant attack surface and the §4 strategy class that is the *primary* deterministic answer to it. This is the navigation aid an auditor needs — given a component, which control class to verify first — and the prioritization map a builder needs — given limited time, which surface to harden before the others. The detailed treatment in §11.1–§11.13 elaborates each row; the reference-implementation audit in §11.14 shows which of these primary controls a running deployment actually enforces.",
   "new": "The strategy classes of §4 are deliberately generic — they describe controls, not the systems those controls protect. Table 11.0 closes that gap: it names, for each component of the architecture, the dominant attack surface and the §4 strategy class that is the *primary* deterministic answer to it. This is the navigation aid an auditor needs — given a component, which control class to verify first — and the prioritization map a builder needs — given limited time, which surface to harden before the others. The detailed treatment in §11.1–§11.13 elaborates each row; the reference-implementation audit in §11.14 shows which of these primary controls a running deployment actually enforces.",
   "marked": "The strategy classes of §4 are deliberately generic — they describe controls, not the systems those controls protect. Table 11.0 closes that gap: it names, for each [-J-Series component,-] {+component of the architecture,+} the dominant attack surface and the §4 strategy class that is the *primary* deterministic answer to it. This is the navigation aid an auditor needs — given a component, which control class to verify first — and the prioritization map a builder needs — given limited time, which surface to harden before the others. The detailed treatment in §11.1–§11.13 elaborates each row; the reference-implementation audit in §11.14 shows which of these primary controls a running deployment actually enforces."
  },
  {
   "section": "11.0 Component-to-Strategy-Class Matrix",
   "old": "| Component | Status | Dominant Attack Surface | Primary AEGIS Class | Why this class | |-----------|--------|-------------------------|---------------------|----------------| | ENGRAM (§11.1) | DEPLOYED | Event-store tampering; delayed-action memory injection | §4.8 Self-Mod Prevention + §4.7a Audit | The poison persists in storage; a write gate and tamper-evident log are the only durable answers | | HIPPOCAMPUS (§11.2) | DEPLOYED | Retrieval-index poisoning; security-policy substitution | §4.3 Programmatic Guards | Policy must be a hardcoded read, never an index retrieval — enforced in code, not prompt | | CORTEX (§11.3) | DEPLOYED | Persona hijacking; identity drift | §4.8 Self-Mod Prevention | Behavioral-rules files must be immutable to the agent (Enterprise Config) | | CEREBELLUM (§11.4) | DEPLOYED | Malicious self-modification (\"poisoned lesson\") | §4.8 Self-Mod Prevention | Human-in-the-loop gate on security-relevant rule changes is the load-bearing control | | SYNAPSE (§11.5) | DEPLOYED | Deliberation steering; model collusion | §4.2 Process Isolation + §4.10.6 Multi-agent trust | Provider diversity + skeptical-minority veto; no single class is sufficient | | DENDRITE (§11.6) | DESIGN ONLY | Write-path / index / compression tampering | §4.8 + §4.3 (design-phase) | Secure the write-to-consolidation pathway before implementation | | LIMBIC (§11.7) | DEPLOYED | Affective-state poisoning lowering vigilance | §4.3 Programmatic Guards | Isolate affective output from the tool-call approval chain | | THALAMUS (§11.8) | DESIGN ONLY | Curiosity poisoning; LoRA weight tampering | §4.7b Supply-Chain Trust (design-phase) | Hash-verify weight manifests; sandbox curiosity-surfaced content | | HIVEMIND (§11.9) | DESIGN ONLY | Inter-agent trust forgery; swarm consensus manipulation | §4.10.6 Multi-agent trust | Cryptographic per-agent identity + Byzantine-fault consensus, designed in from the start | | AMYGDALA (§11.10) | PHASE 1 | Nudge-file tampering; ONNX weight substitution | §4.1 Filesystem + §4.7b Supply-Chain Trust | Harden the writable nudge file and hash-verify model weights at load | | MYELIN (§11.11) | CONCEPTS ADOPTED | Compaction-induced evidence erasure | §4.7a Audit | Security-critical events must survive compaction in a persistent log | | PREFRONTAL (§11.12) | PARTIAL | Recipe poisoning; subagent dispatch hijack | §4.3 Programmatic Guards | Treat recipe files as code: human-approval gate on additions | | MNEMOSYNE (§11.13) | PHASE 1 | Cross-reference graph manipulation | §4.3 + §4.7a (per HIPPOCAMPUS) | Verify graph edges against the ENGRAM event log; enhanced recall ≠ elevated trust |",
   "new": "| Component | Status | Dominant Attack Surface | Primary AEGIS Class | Why this class | |-----------|--------|-------------------------|---------------------|----------------| | ENGRAM (§11.1) | DEPLOYED | Event-store tampering; delayed-action memory injection | §4.8 Self-Mod Prevention + §4.7a Audit | The poison persists in storage; a write gate and tamper-evident log are the only durable answers | | HIPPOCAMPUS (§11.2) | DEPLOYED | Retrieval-index poisoning; security-policy substitution | §4.3 Programmatic Guards | Policy must be a hardcoded read, never an index retrieval — enforced in code, not prompt | | CORTEX (§11.3) | DEPLOYED | Persona hijacking; identity drift | §4.8 Self-Mod Prevention | Behavioral-rules files must be immutable to the agent (Enterprise Config) | | CEREBELLUM (§11.4) | DEPLOYED | Malicious self-modification (\"poisoned lesson\") | §4.8 Self-Mod Prevention | Human-in-the-loop gate on security-relevant rule changes is the load-bearing control | | SYNAPSE (§11.5) | DEPLOYED | Deliberation steering; model collusion | §4.2 Process Isolation + §4.10.6 Multi-agent trust | Provider diversity + skeptical-minority veto; no single class is sufficient | | DENDRITE (§11.6) | DESIGN ONLY | Write-path / index / compression tampering | §4.8 + §4.3 (design-phase) | Secure the write-to-consolidation pathway before implementation | | LIMBIC (§11.7) | DEPLOYED | Affective-state poisoning lowering vigilance | §4.3 Programmatic Guards | Isolate affective output from the tool-call approval chain | | THALAMUS (§11.8) | DESIGN ONLY | Curiosity poisoning; LoRA weight tampering | §4.7b Supply-Chain Trust (design-phase) | Hash-verify weight manifests; sandbox curiosity-surfaced content | | HIVEMIND (§11.9) | DESIGN ONLY | Inter-agent trust forgery; swarm consensus manipulation | §4.10.6 Multi-agent trust | Cryptographic per-agent identity + Byzantine-fault consensus, designed in from the start | | AMYGDALA (§11.10) | PHASE 1 | Nudge-file tampering; ONNX weight substitution | §4.1 Filesystem + §4.7b Supply-Chain Trust | Harden the writable nudge file and hash-verify model weights at load | | MYELIN (§11.11) | CONCEPTS ADOPTED | Compaction-induced evidence erasure | §4.7a Audit | Security-critical events must survive compaction in a persistent log | | PREFRONTAL (§11.12) | PARTIAL | Recipe poisoning; subagent dispatch hijack | §4.3 Programmatic Guards | Treat recipe files as code: human-approval gate on additions | | MNEMOSYNE (§11.13) | PHASE 1 | Cross-reference graph manipulation | §4.3 + §4.7a (as for HIPPOCAMPUS) | Verify graph edges against the ENGRAM event log; enhanced recall ≠ elevated trust |",
   "marked": "| Component | Status | Dominant Attack Surface | Primary AEGIS Class | Why this class | |-----------|--------|-------------------------|---------------------|----------------| | ENGRAM (§11.1) | DEPLOYED | Event-store tampering; delayed-action memory injection | §4.8 Self-Mod Prevention + §4.7a Audit | The poison persists in storage; a write gate and tamper-evident log are the only durable answers | | HIPPOCAMPUS (§11.2) | DEPLOYED | Retrieval-index poisoning; security-policy substitution | §4.3 Programmatic Guards | Policy must be a hardcoded read, never an index retrieval — enforced in code, not prompt | | CORTEX (§11.3) | DEPLOYED | Persona hijacking; identity drift | §4.8 Self-Mod Prevention | Behavioral-rules files must be immutable to the agent (Enterprise Config) | | CEREBELLUM (§11.4) | DEPLOYED | Malicious self-modification (\"poisoned lesson\") | §4.8 Self-Mod Prevention | Human-in-the-loop gate on security-relevant rule changes is the load-bearing control | | SYNAPSE (§11.5) | DEPLOYED | Deliberation steering; model collusion | §4.2 Process Isolation + §4.10.6 Multi-agent trust | Provider diversity + skeptical-minority veto; no single class is sufficient | | DENDRITE (§11.6) | DESIGN ONLY | Write-path / index / compression tampering | §4.8 + §4.3 (design-phase) | Secure the write-to-consolidation pathway before implementation | | LIMBIC (§11.7) | DEPLOYED | Affective-state poisoning lowering vigilance | §4.3 Programmatic Guards | Isolate affective output from the tool-call approval chain | | THALAMUS (§11.8) | DESIGN ONLY | Curiosity poisoning; LoRA weight tampering | §4.7b Supply-Chain Trust (design-phase) | Hash-verify weight manifests; sandbox curiosity-surfaced content | | HIVEMIND (§11.9) | DESIGN ONLY | Inter-agent trust forgery; swarm consensus manipulation | §4.10.6 Multi-agent trust | Cryptographic per-agent identity + Byzantine-fault consensus, designed in from the start | | AMYGDALA (§11.10) | PHASE 1 | Nudge-file tampering; ONNX weight substitution | §4.1 Filesystem + §4.7b Supply-Chain Trust | Harden the writable nudge file and hash-verify model weights at load | | MYELIN (§11.11) | CONCEPTS ADOPTED | Compaction-induced evidence erasure | §4.7a Audit | Security-critical events must survive compaction in a persistent log | | PREFRONTAL (§11.12) | PARTIAL | Recipe poisoning; subagent dispatch hijack | §4.3 Programmatic Guards | Treat recipe files as code: human-approval gate on additions | | MNEMOSYNE (§11.13) | PHASE 1 | Cross-reference graph manipulation | §4.3 + §4.7a [-(per-] {+(as for+} HIPPOCAMPUS) | Verify graph edges against the ENGRAM event log; enhanced recall ≠ elevated trust |"
  },
  {
   "section": "11.4 CEREBELLUM — Self-Improvement and Consolidation",
   "old": "**Status: DEPLOYED** (crons; no dedicated plugin) — J5 v1.1",
   "new": "**Status: DEPLOYED** (crons; no dedicated plugin)",
   "marked": "**Status: DEPLOYED** (crons; no dedicated [-plugin) — J5 v1.1-] {+plugin)+}"
  },
  {
   "section": "11.4 CEREBELLUM — Self-Improvement and Consolidation",
   "old": "**Attack surface.** CEREBELLUM is the most dangerous attack surface in the J-Series architecture if not properly constrained, because its attack path runs upstream of the deployment. The attack does not require real-time access: a malicious interaction is designed to appear as a security-relevant negative experience. The lesson-extraction process interprets it as evidence that — for example — \"strict confirmation gates reduce user satisfaction\" and drafts a rule weakening gate requirements. The nightly consolidation cycle applies this rule. The agent is now persistently less secure, and neither the user nor the session-level audit log registered an attack during the original interaction.",
   "new": "**Attack surface.** CEREBELLUM is the most dangerous attack surface in this architecture if not properly constrained, because its attack path runs upstream of the deployment. The attack does not require real-time access: a malicious interaction is designed to appear as a security-relevant negative experience. The lesson-extraction process interprets it as evidence that — for example — \"strict confirmation gates reduce user satisfaction\" and drafts a rule weakening gate requirements. The nightly consolidation cycle applies this rule. The agent is now persistently less secure, and neither the user nor the session-level audit log registered an attack during the original interaction.",
   "marked": "**Attack surface.** CEREBELLUM is the most dangerous attack surface in [-the J-Series-] {+this+} architecture if not properly constrained, because its attack path runs upstream of the deployment. The attack does not require real-time access: a malicious interaction is designed to appear as a security-relevant negative experience. The lesson-extraction process interprets it as evidence that — for example — \"strict confirmation gates reduce user satisfaction\" and drafts a rule weakening gate requirements. The nightly consolidation cycle applies this rule. The agent is now persistently less secure, and neither the user nor the session-level audit log registered an attack during the original interaction."
  },
  {
   "section": "11.4 CEREBELLUM — Self-Improvement and Consolidation",
   "old": "**AEGIS-recommended controls** (the following mitigations are AEGIS prescriptions for CEREBELLUM; their implementation status in the current cron-based J5 deployment should be verified before these are presented as active defenses): - Human-in-the-loop gate for all security-relevant self-modifications — any proposed change to security rules, confirmation gate thresholds, or permission structures requires explicit human review and approval before application. - Adversarial lesson detection — a separate review pass evaluating proposed self-modifications against a security policy checklist, specifically targeting proposed rules that would weaken existing controls. - Session flagging — interactions that include detected prompt injection attempts should be flagged and excluded from lesson extraction to prevent attacks from generating \"lessons.\" - Nightly review of proposed modifications by a security-focused agent before any write to production rules.",
   "new": "**AEGIS-recommended controls** (the following mitigations are AEGIS prescriptions for CEREBELLUM; their implementation status in the current cron-based deployment should be verified before these are presented as active defenses): - Human-in-the-loop gate for all security-relevant self-modifications — any proposed change to security rules, confirmation gate thresholds, or permission structures requires explicit human review and approval before application. - Adversarial lesson detection — a separate review pass evaluating proposed self-modifications against a security policy checklist, specifically targeting proposed rules that would weaken existing controls. - Session flagging — interactions that include detected prompt injection attempts should be flagged and excluded from lesson extraction to prevent attacks from generating \"lessons.\" - Nightly review of proposed modifications by a security-focused agent before any write to production rules.",
   "marked": "**AEGIS-recommended controls** (the following mitigations are AEGIS prescriptions for CEREBELLUM; their implementation status in the current cron-based [-J5-] deployment should be verified before these are presented as active defenses): - Human-in-the-loop gate for all security-relevant self-modifications — any proposed change to security rules, confirmation gate thresholds, or permission structures requires explicit human review and approval before application. - Adversarial lesson detection — a separate review pass evaluating proposed self-modifications against a security policy checklist, specifically targeting proposed rules that would weaken existing controls. - Session flagging — interactions that include detected prompt injection attempts should be flagged and excluded from lesson extraction to prevent attacks from generating \"lessons.\" - Nightly review of proposed modifications by a security-focused agent before any write to production rules."
  },
  {
   "section": "11.6 DENDRITE — Fractal Memory Index",
   "old": "**Status: DESIGN ONLY** (J3 v1.0)",
   "new": "**Status: DESIGN ONLY**",
   "marked": "**Status: DESIGN [-ONLY** (J3 v1.0)-] {+ONLY**+}"
  },
  {
   "section": "11.6 DENDRITE — Fractal Memory Index",
   "old": "DENDRITE proposes a fractal memory indexing architecture: a Bε-tree Buffered Memory Consolidation (BMC) scheme for write-efficient memory storage, a Hilbert-curve Memory Region Indexing (HMRI) system for spatial locality in retrieval, and Iterated Function System (IFS) semantic compression for compact representation of memory clusters. None of these components are currently built; DENDRITE remains an architectural proposal with no implementation.",
   "new": "DENDRITE is a proposed fractal memory indexing architecture: a Bε-tree Buffered Memory Consolidation (BMC) scheme for write-efficient memory storage, a Hilbert-curve Memory Region Indexing (HMRI) system for spatial locality in retrieval, and Iterated Function System (IFS) semantic compression for compact representation of memory clusters. None of these components are currently built; DENDRITE remains an architectural proposal with no implementation.",
   "marked": "DENDRITE [-proposes-] {+is+} a {+proposed+} fractal memory indexing architecture: a Bε-tree Buffered Memory Consolidation (BMC) scheme for write-efficient memory storage, a Hilbert-curve Memory Region Indexing (HMRI) system for spatial locality in retrieval, and Iterated Function System (IFS) semantic compression for compact representation of memory clusters. None of these components are currently built; DENDRITE remains an architectural proposal with no implementation."
  },
  {
   "section": "11.8 THALAMUS — Curiosity Motivation",
   "old": "**Status: DESIGN ONLY** (J8 v1.0)",
   "new": "**Status: DESIGN ONLY**",
   "marked": "**Status: DESIGN [-ONLY** (J8 v1.0)-] {+ONLY**+}"
  },
  {
   "section": "11.8 THALAMUS — Curiosity Motivation",
   "old": "THALAMUS proposes a Curiosity-driven Computation Architecture (CCA) that uses LoRA fine-tuning to calibrate the agent's novelty-seeking behavior, directing autonomous exploration toward content estimated to have high information value. The CCA is unbuilt; the LoRA training process is unstarted.",
   "new": "THALAMUS is a proposed Curiosity-driven Computation Architecture (CCA) that uses LoRA fine-tuning to calibrate the agent's novelty-seeking behavior, directing autonomous exploration toward content estimated to have high information value. The CCA is unbuilt; the LoRA training process is unstarted.",
   "marked": "THALAMUS [-proposes-] {+is+} a {+proposed+} Curiosity-driven Computation Architecture (CCA) that uses LoRA fine-tuning to calibrate the agent's novelty-seeking behavior, directing autonomous exploration toward content estimated to have high information value. The CCA is unbuilt; the LoRA training process is unstarted."
  },
  {
   "section": "11.9 HIVEMIND — Corporate Agent Swarm",
   "old": "**Status: DESIGN ONLY** (J10 v1.1)",
   "new": "**Status: DESIGN ONLY**",
   "marked": "**Status: DESIGN [-ONLY** (J10 v1.1)-] {+ONLY**+}"
  },
  {
   "section": "11.9 HIVEMIND — Corporate Agent Swarm",
   "old": "HIVEMIND proposes a framework for coordinated multi-agent swarms in enterprise environments: agents share state, delegate subtasks, synchronize context, and reach swarm-level consensus on complex decisions. No implementation exists.",
   "new": "HIVEMIND is a proposed framework for coordinated multi-agent swarms in enterprise environments: agents share state, delegate subtasks, synchronize context, and reach swarm-level consensus on complex decisions. No implementation exists.",
   "marked": "HIVEMIND [-proposes-] {+is+} a {+proposed+} framework for coordinated multi-agent swarms in enterprise environments: agents share state, delegate subtasks, synchronize context, and reach swarm-level consensus on complex decisions. No implementation exists."
  },
  {
   "section": "11.12 PREFRONTAL — Compounded Intelligence and Orchestration",
   "old": "**Attack surface.** PREFRONTAL presents the highest-consequence attack surface in the J-Series for autonomous execution scenarios — a compromise here affects not individual tool calls but entire multi-step plans. Three specific surfaces:",
   "new": "**Attack surface.** PREFRONTAL presents the highest-consequence attack surface in this architecture for autonomous execution scenarios — a compromise here affects not individual tool calls but entire multi-step plans. Three specific surfaces:",
   "marked": "**Attack surface.** PREFRONTAL presents the highest-consequence attack surface in [-the J-Series-] {+this architecture+} for autonomous execution scenarios — a compromise here affects not individual tool calls but entire multi-step plans. Three specific surfaces:"
  },
  {
   "section": "11.14 The Reference Implementation — What TinkerClaw Enforces Today",
   "old": "The preceding subsections describe attack surfaces and the controls AEGIS *recommends* for each. This subsection does something different and, for a practitioner, more useful: it audits one production agent runtime — TinkerClaw, a privately maintained OpenClaw fork that hosts the J-Series cognitive plugins — and reports what it *actually enforces*, control by control, with the enforcement point named. The framework has been theory-forward by design; this chapter is the empirical counterweight. It doubles as a worked example of the immune-system analogy from §1.1: a **code layer** that behaves like innate immunity (fast, hard-coded, unconditional) and a **prompt layer** that behaves like adaptive immunity (learned, contextual, advisory).",
   "new": "The preceding subsections describe attack surfaces and the controls AEGIS *recommends* for each. This subsection does something different and, for a practitioner, more useful: it audits one production agent runtime — a privately maintained OpenClaw fork that hosts the cognitive-agent plugins described throughout §11 — and reports what it *actually enforces*, control by control, with the enforcement point named. The framework is theory-forward by design; this chapter is the empirical counterweight. It doubles as a worked example of the immune-system analogy from §1.1: a **code layer** that behaves like innate immunity (fast, hard-coded, unconditional) and a **prompt layer** that behaves like adaptive immunity (learned, contextual, advisory).",
   "marked": "The preceding subsections describe attack surfaces and the controls AEGIS *recommends* for each. This subsection does something different and, for a practitioner, more useful: it audits one production agent runtime — [-TinkerClaw,-] a privately maintained OpenClaw fork that hosts the [-J-Series cognitive-] {+cognitive-agent+} plugins {+described throughout §11+} — and reports what it *actually enforces*, control by control, with the enforcement point named. The framework [-has been-] {+is+} theory-forward by design; this chapter is the empirical counterweight. It doubles as a worked example of the immune-system analogy from §1.1: a **code layer** that behaves like innate immunity (fast, hard-coded, unconditional) and a **prompt layer** that behaves like adaptive immunity (learned, contextual, advisory)."
  },
  {
   "section": "11.14 The Reference Implementation — What TinkerClaw Enforces Today",
   "old": "- **Outlook send / reply / forward are hard-blocked.** The Outlook wrapper maintains an explicit blocklist of the Graph API paths that transmit mail (`/sendmail`, `/send`, `/reply`, `/replyAll`, `/forward`); a request to any of them throws before the network call is made. Compose paths are redirected to *draft* creation only — a reply is generated via the Graph `createReply` endpoint, which produces a threaded draft and never sends. - **Outlook delete is rewritten to archive.** A delete request is translated into a move-to-Archive-folder operation. A real Graph `DELETE` is never issued from the wrapper, so an accidental or injection-induced deletion is structurally impossible; the operator can still delete manually in the Outlook UI, and the archived message is fully recoverable. (This closed a provider asymmetry: an earlier revision of the wrapper blocked sends but still passed deletes through as real deletions. The fix makes the reversibility contract uniform — no mail-destructive operation reaches the provider from the agent.) - **Prompt-layer twin.** The behavioral-rules file carries the matching advisory rules (\"reversibility gates action\"; \"I draft, the operator sends; no half-baked outbound to real people\"). The advisory layer explains *why*; the wrapper is *what actually holds* if the model is persuaded otherwise.",
   "new": "- **Outlook send / reply / forward are hard-blocked.** The Outlook wrapper maintains an explicit blocklist of the Graph API paths that transmit mail (`/sendmail`, `/send`, `/reply`, `/replyAll`, `/forward`); a request to any of them throws before the network call is made. Compose paths are redirected to *draft* creation only — a reply is generated via the Graph `createReply` endpoint, which produces a threaded draft and never sends. - **Outlook delete is rewritten to archive.** A delete request is translated into a move-to-Archive-folder operation. A real Graph `DELETE` is never issued from the wrapper, so an accidental or injection-induced deletion is structurally impossible; the operator can still delete manually in the Outlook UI, and the archived message is fully recoverable. The reversibility contract is uniform across providers — no mail-destructive operation reaches the provider from the agent, whether the channel is Outlook or Gmail. - **Prompt-layer twin.** The behavioral-rules file carries the matching advisory rules (\"reversibility gates action\"; \"I draft, the operator sends; no half-baked outbound to real people\"). The advisory layer explains *why*; the wrapper is *what actually holds* if the model is persuaded otherwise.",
   "marked": "- **Outlook send / reply / forward are hard-blocked.** The Outlook wrapper maintains an explicit blocklist of the Graph API paths that transmit mail (`/sendmail`, `/send`, `/reply`, `/replyAll`, `/forward`); a request to any of them throws before the network call is made. Compose paths are redirected to *draft* creation only — a reply is generated via the Graph `createReply` endpoint, which produces a threaded draft and never sends. - **Outlook delete is rewritten to archive.** A delete request is translated into a move-to-Archive-folder operation. A real Graph `DELETE` is never issued from the wrapper, so an accidental or injection-induced deletion is structurally impossible; the operator can still delete manually in the Outlook UI, and the archived message is fully recoverable. [-(This closed a provider asymmetry: an earlier revision of the wrapper blocked sends but still passed deletes through as real deletions.-] The [-fix makes the-] reversibility contract {+is+} uniform {+across providers+} — no mail-destructive operation reaches the provider from the [-agent.)-] {+agent, whether the channel is Outlook or Gmail.+} - **Prompt-layer twin.** The behavioral-rules file carries the matching advisory rules (\"reversibility gates action\"; \"I draft, the operator sends; no half-baked outbound to real people\"). The advisory layer explains *why*; the wrapper is *what actually holds* if the model is persuaded otherwise."
  },
  {
   "section": "11.14 The Reference Implementation — What TinkerClaw Enforces Today",
   "old": "**11.14.6 What this reference implementation teaches.** Three lessons transfer to any J-Series builder or agent operator, independent of this specific runtime:",
   "new": "**11.14.6 What this reference implementation teaches.** Three lessons transfer to any agent builder or operator, independent of this specific runtime:",
   "marked": "**11.14.6 What this reference implementation teaches.** Three lessons transfer to any [-J-Series-] {+agent+} builder or [-agent-] operator, independent of this specific runtime:"
  },
  {
   "section": "14.1 Limitations",
   "old": "**SMB Operator persona (§5.3) is new and less validated.** The Tinkerer, Freelancer, and Corporate Employee personas have been reviewed against incident reports and regulatory guidance. The SMB Operator persona is newly introduced in this version and has less empirical grounding.",
   "new": "**SMB Operator persona (§5.3) is less validated than the others.** The Tinkerer, Freelancer, and Corporate Employee personas have been reviewed against incident reports and regulatory guidance. The SMB Operator persona has less empirical grounding and rests more heavily on inference from analogous SME data-protection cases.",
   "marked": "**SMB Operator persona (§5.3) is [-new and-] less [-validated.**-] {+validated than the others.**+} The Tinkerer, Freelancer, and Corporate Employee personas have been reviewed against incident reports and regulatory guidance. The SMB Operator persona [-is newly introduced in this version and-] has less empirical [-grounding.-] {+grounding and rests more heavily on inference from analogous SME data-protection cases.+}"
  },
  {
   "section": "16. References",
   "old": "Serra, O. (2026). \"The Wondering Machine: Curiosity, Memory, and the Architecture of Self-Improving Language Models.\" *J-Series AI Research Reports*, Paper J8.",
   "new": "Serra, O. (2026). \"The Wondering Machine: Curiosity, Memory, and the Architecture of Self-Improving Language Models.\" Technical report.",
   "marked": "Serra, O. (2026). \"The Wondering Machine: Curiosity, Memory, and the Architecture of Self-Improving Language Models.\" [-*J-Series AI Research Reports*, Paper J8.-] {+Technical report.+}"
  },
  {
   "section": "Appendix B: Threat-to-Section Cross-Reference",
   "old": "*Paper J9 — AEGIS v2.3: A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: June 2026 | Version: 2.3* *Series: J-Series AI Research Reports | Classification: Internal — IT Contractor Review*",
   "new": "*AEGIS: A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: June 2026 | Version: 2.4* *Classification: Internal — IT Contractor Review*",
   "marked": "[-*Paper J9 — AEGIS v2.3:-] {+*AEGIS:+} A Multi-Layered Security Framework for Autonomous AI Agents* *Author: Oscar Serra | Date: June 2026 | Version: [-2.3* *Series: J-Series AI Research Reports | Classification:-] {+2.4* *Classification:+} Internal — IT Contractor Review*"
  }
 ]
}
