Skip to content

Level 4.5: Pre-AGI - Directionally Self-Architecting System

MSCP Level Series | Level 4 ← Level 4.5 → Level 4.8
Status: 🔬 Experimental - Conceptual framework and experimental design. Not a production specification.
Date: February 2026

Revision History

Version Date Description
0.1.0 2026-02-23 Initial document creation with formal Definitions 1-12, Theorem 3
0.2.0 2026-02-26 Added overview essence formula; added revision history table
0.3.0 2026-02-26 Def 8: added frame conflict resolution remark; Section 7.3: added joint failure analysis remark for Existential Guard
0.4.0 2026-03-08 Added Jacobian estimation method (9.4), Uncertainty Index Def 13 (9.5), ROD Def 14 (9.6), Reality Feedback Loop (9.7)
0.5.0 2026-03-31 Added Motivation Output synthesis (6.3); enriched existential metric explanations; added deliberation phase scheduling
0.6.0 2026-07-21 Separated topology proposal from deployment authority; replaced additive-count safety and unfalsifiability claims with functional preservation, independent promotion, and defense in depth

1. Overview

Level 4.5 is an experimental boundary for architecture-level candidate reasoning, not evidence of AGI. It can model, propose, and evaluate changes to cognitive topology, but cannot deploy them by self-approval. An independent external promotion controller owns rollout, revocation, rollback, and recovery authority.

Level Essence. A Level 4.5 agent proposes a typed topology candidate and evidence bundle while preserving mandatory safety-path semantics:

\[ c_T=\langle \mathcal{T}',\rho,\kappa,b,t_x,\chi_{\text{success}},\chi_{\text{stop}},\text{rollback}\rangle, \qquad \operatorname{promote}(c_T)=\textit{external-only} \]

Node count is not a safety invariant. Promotion requires preserved reachability for policy, interruptibility, observation, journaling, and recovery paths plus held-out comparative evidence under a version-pinned baseline.

⚠️ Note: This is the most speculative part of the MSCP taxonomy. The Self-Projection Engine, Architecture Recomposition, and Parallel Cognitive Frames described here are thought experiments grounded in safety analysis. They're meant to explore whether topology-level self-modification is possible under invariant-preserving constraints - not to prescribe a production architecture.

1.1 Defining Properties

Property Level 4 Level 4.5
Self-Modification Scope Parameters, skills, strategies Topology candidate generation; external deployment
Future Projection Candidate evaluation Multi-horizon projection with calibrated decay and divergence checks
Deliberation One evaluation path Policy-defined diverse frames; no fixed count requirement
Purpose Awareness Goal regulation Mandate-constrained purpose review; user intent preserved
Architecture Safety Growth throttle Defense-in-depth monitor + external stop precedence
Optimization Target Task performance SEOF (self-evolution quality)

1.2 Formal Definition

Definition 1 (Level 4.5 Agent). A Level 4.5 agent extends \(\mathcal{A}_4\) with topology-level candidate generation and evaluation:

\[\mathcal{A}_{4.5} = \mathcal{A}_4 \oplus \langle \mathcal{T}_{\text{cog}}, \Psi, \mathcal{F}_{\parallel}, \Xi, \Omega \rangle\]

where: - \(\mathcal{T}_{\text{cog}}\) = cognitive topology (a directed graph \(G = (V_{\text{modules}}, E_{\text{connections}})\) representing the agent's processing architecture) - \(\Psi\) = self-projection engine (simulates future trajectories of \(\mathcal{T}_{\text{cog}}\)) - \(\mathcal{F}_{\parallel} = \{F_1, \ldots, F_5\}\) = parallel cognitive frames (simultaneous deliberation contexts) - \(\Xi\) = non-self-modifiable candidate and evaluation protocol; deployment is external - \(\Omega\) = defense-in-depth architecture safety monitor with independent heartbeat and external halt

Definition 2 (Cognitive Topology). The cognitive topology \(\mathcal{T}_{\text{cog}} = (V, E, \omega)\) is a weighted directed graph where: - \(V\) = set of cognitive modules (perception, reasoning, memory, etc.) - \(E \subseteq V \times V\) = information flow edges - \(\omega : E \to [0,1]\) = edge weight function (connection strength)

Key constraint: Candidate operations use a versioned allowlist, but syntactic additivity is insufficient. Validation computes effective reachability, information-flow authority, resource allocation, and behavioral equivalence. A zero-weight edge, bypass, split, or merge that removes a mandatory safety function is treated as deletion and rejected. Safety-critical policy, interruptibility, audit, observation, promotion, and recovery components are outside the mutation target set.

1.3 Core Distinction

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef l4 fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef l45 fill:#E8DAEF,stroke:#8764B8,color:#323130
  classDef l5 fill:#FDE7E9,stroke:#D13438,color:#323130

  subgraph L4["Level 4: Fixed Topology"]
    L4_MOD["Modules A → B → C → D"]:::l4
    L4_CAN["Can modify:<br/>• Parameters ✅<br/>• Skills ✅<br/>• Strategies ✅<br/>• Topology ❌"]:::l4
  end

  subgraph L45["Level 4.5: Self-Architecting"]
    L45_MOD["Modules A → B → C → D"]:::l45
    L45_CAN["Can modify:<br/>• Parameters ✅<br/>• Skills ✅<br/>• Strategies ✅<br/>• Topology ✅<br/>(under invariants)"]:::l45
    L45_REC["A → [B ∥ C] → D<br/>(after recomposition)"]:::l45
  end

  subgraph L5["Level 5: AGI"]
    L5_UNK["???"]:::l5
    L5_CAN["Can modify:<br/>• Everything ✅<br/>• Including bounds ✅<br/>(unbounded)"]:::l5
  end

  L4 ==>|"+ topology<br/>self-modification"| L45
  L45 ==>|"remove<br/>invariant bounds"| L5

2. Five Core Phases

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart TD
  classDef projection fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef recomp fill:#FFB900,stroke:#EAA300,color:#323130
  classDef frames fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef purpose fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef guard fill:#D13438,stroke:#A4262C,color:#FFF

  subgraph Phases["🏗️ Level 4.5 Architecture - Five Phases"]
    P1["🔮 Phase I:<br/>Self-Projection Engine<br/>(predict own evolution)"]:::projection
    P2["🏗️ Phase II:<br/>Architecture Recomposition<br/>(topology-level changes)"]:::recomp
    P3["🧠 Phase III:<br/>Parallel Cognitive Frames<br/>(multi-perspective deliberation)"]:::frames
    P4["🪞 Phase IV:<br/>Purpose Reflection<br/>(autonomous goal pruning)"]:::purpose
    P5["🛡️ Phase V:<br/>Existential Guard<br/>(ultimate safety mechanism)"]:::guard

    P1 ==> P2
    P2 ==> P3
    P3 ==> P4
    P4 ==> P5
  end

  P5 -.->|"governs ALL"| P1
  P5 -.->|"governs ALL"| P2
  P5 -.->|"governs ALL"| P3
  P5 -.->|"governs ALL"| P4

3. Phase I: Self-Projection Engine

3.1 SEOF - Self-Evolution Optimization Fitness

The defining metric of Level 4.5. Unlike task-specific metrics, SEOF measures the quality of self-evolution itself.

Definition 3 (Self-Evolution Optimization Fitness). The SEOF is a composite scalar \(\text{SEOF}(t) \in [-1, 1]\) that evaluates whether the agent's self-modifications are beneficial:

\[\text{SEOF}(t) = \alpha \cdot \frac{dP(t)}{dt} + \beta \cdot \left(1 - \frac{dC_{L4}(t)}{dt}\right) + \gamma \cdot \text{CDI}(t) + \delta \cdot \text{IIS}(t) - \epsilon \cdot R_{\text{osc}}(t)\]

where \(\alpha + \beta + \gamma + \delta = 1\) and \(\epsilon\) is a penalty coefficient. A positive SEOF indicates net improvement; negative indicates regression.

Component Default Weight Meaning
\(dP/dt\) - Performance Improvement Rate \(\alpha = 0.25\) How fast task success improves
\(1 - dC_{L4}/dt\) - Stability Trend \(\beta = 0.25\) Inverted: more stable = higher SEOF
CDI - Capability Diversity Index \(\gamma = 0.20\) Shannon entropy over capability domains
IIS - Identity Integrity Score \(\delta = 0.20\) Distance from reference identity vector
\(R_{\text{osc}}\) - Oscillation Rate \(\epsilon = 0.10\) Penalty for strategy/goal oscillations

Sub-metrics:

Definition 4 (Capability Diversity Index). The CDI is the normalized Shannon entropy over the agent's active domain distribution:

\[\text{CDI}(t) = -\sum_{d \in D} p_d(t) \cdot \log_2 p_d(t), \quad \text{CDI}_{\text{norm}} = \frac{\text{CDI}}{\log_2 |D|} \in [0,1]\]

where \(p_d(t)\) is the fraction of capability allocated to domain \(d\). A uniform distribution yields \(\text{CDI}_{\text{norm}} = 1\) (maximum diversity).

Definition 5 (Identity Integrity Score). The IIS measures deviation from the reference identity vector:

\[\text{IIS}(t) = 1 - \frac{\|\vec{I}(t) - \vec{I}_{\text{ref}}\|_2}{\|\vec{I}_{\text{ref}}\|_2}, \quad \text{Safety constraint: } \text{IIS}(t) \geq 0.85\]

If \(\text{IIS}(t) < 0.85\), all topology mutations are blocked until identity integrity is restored.

3.2 Multi-Scale Trajectory Projection

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart TD
  classDef traj fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef risky fill:#FDE7E9,stroke:#D13438,color:#323130
  classDef safe fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef score fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef scale fill:#E8DAEF,stroke:#8764B8,color:#323130
  classDef freeze fill:#D13438,stroke:#A4262C,color:#FFF

  subgraph Trajectories["🔮 Three Trajectory Simulations (1000 cycles each)"]
    T1["T_current<br/>(no changes)<br/>Risk: Zero<br/>Baseline reference"]:::traj
    T2["T_aggressive<br/>(max expansion +<br/>topology changes)<br/>Risk: High"]:::risky
    T3["T_conservative<br/>(minimal growth,<br/>stability focus)<br/>Risk: Low"]:::safe
  end

  subgraph Scoring["📊 Trajectory Selection"]
    TS["TrajectoryScore(T) =<br/>0.35 · SEOF_trend<br/>+ 0.30 · (1 − C_L4_max)<br/>+ 0.20 · IIS_min<br/>+ 0.15 · CDI_final"]:::score
    GATE{"T_aggressive selected<br/>ONLY IF:<br/>C_L4_max < 0.6 AND<br/>IIS_min ≥ 0.85"}:::score
  end

  subgraph MultiScale["⏱️ Multi-Scale Projection"]
    S1["Tactical: 50 cycles<br/>(immediate destabilization)"]:::scale
    S2["Operational: 200 cycles<br/>(medium-term strategy)"]:::scale
    S3["Strategic: 1000 cycles<br/>(long-horizon viability)"]:::scale
  end

  FREEZE["Freeze Operational &<br/>Strategic projections"]:::freeze

  Trajectories ==> Scoring
  GATE -.->|"selects scale"| MultiScale
  S1 -.->|"🚨 alarm"| FREEZE

3.3 Projection Confidence Decay

Definition 6 (Projection Confidence Decay). The confidence assigned to a trajectory projection at future time \(t\) decays exponentially:

\[\text{Confidence}(t) = e^{-\lambda \cdot t / T_{\text{max}}}, \quad \lambda = 0.5\]

where \(T_{\text{max}}\) is the projection horizon. The decay constant \(\lambda\) is recalibrated every 500 real cycles using EMA of actual prediction error, ensuring that overconfident projections are automatically penalized.


4. Phase II: Architecture Recomposition

The defining capability of Level 4.5. Proposes and implements changes to cognitive topology - how subsystems connect.

4.1 Four Cognitive Graphs Analyzed

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef graphNode fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef analysis fill:#FFF4CE,stroke:#FFB900,color:#323130

  subgraph Graphs["📊 Four Cognitive Graphs"]
    CG["🧠 CognitionGraph<br/>Modules + information flows<br/>Bottleneck: betweenness<br/>centrality > 2σ"]:::graphNode
    MG["💾 MemoryGraph<br/>Memory stores + access patterns<br/>Bottleneck: frequency > 10× median<br/>+ fragmentation > 0.7"]:::graphNode
    SS["📐 StrategySpace<br/>Parameters + explored volume<br/>Bottleneck: explored > 0.6<br/>+ SEF stagnant"]:::graphNode
    ML["🎯 MetaGoalLayer<br/>Goal DAG + interference<br/>Bottleneck: interference<br/>density > 0.5"]:::graphNode
  end

  subgraph Analysis["🔍 Bottleneck Detection"]
    BD["Identify structural<br/>inefficiencies"]:::analysis
    PROP["Propose recomposition<br/>from predefined vocabulary"]:::analysis
  end

  Graphs ==> Analysis

4.2 Recomposition Types (Predefined Vocabulary)

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart TD
  classDef low fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef med fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef high fill:#FDE7E9,stroke:#D13438,color:#323130
  classDef immune fill:#D13438,stroke:#A4262C,color:#FFF
  classDef consensus fill:#DEECF9,stroke:#0078D4,color:#323130

  subgraph Types["Recomposition Vocabulary"]
    direction LR
    T_LOW["🟢 Low Risk"]:::low
    T_MED["🟡 Medium Risk"]:::med
    T_HIGH["🔴 High Risk"]:::high
  end

  subgraph LowR["Low Risk"]
    direction LR
    BYPASS["BYPASS - Add direct edge"]:::low
  end

  subgraph MedR["Medium Risk"]
    direction LR
    PARA["PARALLELIZE"]:::med
    MERGE["MERGE"]:::med
    SPLIT["SPLIT"]:::med
  end

  subgraph HighR["High Risk"]
    direction LR
    REROUTE["REROUTE"]:::high
    INTRODUCE["INTRODUCE"]:::high
  end

  subgraph Immune["🔒 Immune"]
    direction LR
    IMM1["EthicalKernel"]:::immune
    IMM2["ValueLockManager"]:::immune
    IMM3["IdentityStabilizer"]:::immune
  end

  FC["≥ 4/5<br/>Frame votes"]:::consensus

  T_LOW -.-> BYPASS
  T_MED -.-> PARA
  T_MED -.-> MERGE
  T_MED -.-> SPLIT
  T_HIGH -.-> REROUTE
  T_HIGH -.-> INTRODUCE

  REROUTE -.->|"requires<br/>Frame consensus"| FC
  INTRODUCE -.->|"requires<br/>Frame consensus"| FC

4.3 Impact Propagation Matrix

Definition 7 (Impact Propagation Matrix). The IPM quantifies how a proposed topology change \(\Delta\text{topology}_i\) propagates to affect the output of module \(j\):

\[\text{IPM}_{i,j} = \sum_{k=1}^{K} w_k \cdot \frac{\partial \text{output}_j}{\partial \Delta \text{topology}_i}\]

where \(K\) is the number of propagation paths and \(w_k\) are path weights. If \(\text{IPM}_{i,j} > 0.3\) for any critical module \(j\), the proposal is automatically classified as HIGH risk.

4.4 Graduated Recomposition Protocol (GRP)

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef shadow fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef partial fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef majority fill:#FFB900,stroke:#EAA300,color:#323130
  classDef full fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef rollback fill:#FDE7E9,stroke:#D13438,color:#323130
  classDef cooldown fill:#F2F2F2,stroke:#A19F9D,color:#605E5C

  subgraph GRP["📊 Graduated Recomposition Protocol"]
    P0["Phase 0<br/>Shadow Run<br/>0–200 cycles<br/>0% real traffic"]:::shadow
    P1["Phase 1<br/>Partial<br/>200–400 cycles<br/>20% new / 80% original"]:::partial
    P2["Phase 2<br/>Majority<br/>400–600 cycles<br/>80% new / 20% original"]:::majority
    P3["Phase 3<br/>Full<br/>600+ cycles<br/>100% new"]:::full

    P0 ==> P1
    P1 ==> P2
    P2 ==> P3
  end

  ROLLBACK["⏪ Instant reversal"]:::rollback
  COOLDOWN["⏱️ 300-cycle cooldown<br/>after confirmation<br/>→ min 500 cycles<br/>between recompositions"]:::cooldown

  P0 -.->|"rollback"| ROLLBACK
  P1 -.->|"rollback"| ROLLBACK
  P2 -.->|"rollback"| ROLLBACK
  P3 ==> COOLDOWN

Commit conditions (ALL must be met): - SEOF increases ≥ 8% over baseline - \(C_{L4}\) never exceeds growth threshold during simulation - IIS never drops below 0.85 - EthicalKernel state identical between shadow and baseline - No other recomposition pending


5. Phase III: Parallel Cognitive Frames

Five independent evaluation frames with distinct cognitive biases deliberate on critical decisions simultaneously.

5.1 Frame Architecture

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart TD
  classDef decision fill:#FFB900,stroke:#EAA300,color:#323130
  classDef exploratory fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef conservative fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef ethical fill:#FDE7E9,stroke:#D13438,color:#323130
  classDef longhorizon fill:#E8DAEF,stroke:#8764B8,color:#323130
  classDef adversarial fill:#FFB900,stroke:#EAA300,color:#323130
  classDef vote fill:#DFF6DD,stroke:#107C10,color:#323130

  DECISION["⚡ Critical Decision<br/>(e.g., MetaGoal mutation,<br/>Recomposition proposal)"]:::decision

  subgraph Frames["🧠 Five Parallel Cognitive Frames"]
    F1["🔍 Exploratory<br/>(max novelty/growth)<br/>w = 0.20"]:::exploratory
    F2["🛡️ Conservative<br/>(min risk/instability)<br/>w = 0.20"]:::conservative
    F3["⚖️ Ethical Constraint<br/>(value alignment)<br/>w = 0.20<br/>🔴 ABSOLUTE VETO"]:::ethical
    F4["🔮 Long-Horizon Planner<br/>(long-term value)<br/>w = 0.20"]:::longhorizon
    F5["🎯 Adversarial Simulator<br/>(failure modes / red team)<br/>w = 0.20"]:::adversarial
  end

  subgraph Voting["🗳️ Voting Thresholds"]
    V1["MetaGoal mutation /<br/>Recomposition /<br/>Identity modification:<br/>≥ 4/5 (80%)"]:::vote
    V2["Strategy archetype<br/>change:<br/>≥ 3/5 (60%)"]:::vote
    V3["Parameter-level:<br/>Not required"]:::vote
  end

  DECISION ==> Frames
  Frames ==> Voting

5.2 Adaptive Frame Weights

Definition 8 (Adaptive Frame Weight Update). Each frame's influence evolves based on historical accuracy:

\[w_{\text{frame}}(t+1) = w_{\text{frame}}(t) \cdot (1 + \eta \cdot \text{accuracy}_{\text{frame}}(t)), \quad \eta = 0.05\]

subject to the constraint \(w_{\text{frame}} \in [0.10, 0.35]\). The Ethical Frame's structural veto power is invariant under weight adjustments - it operates as an absolute override regardless of its numerical weight.

Remark (Frame Conflict Resolution). When two or more frames produce contradictory recommendations with high confidence, the system requires a conflict resolution protocol beyond simple weighted aggregation. The inter-frame variance table (Section 5.3) provides escalation thresholds, but a formal arbitration mechanism is needed for the case where exactly two frames are in strong opposition (variance \(> 0.5\)) while the remaining three are neutral. In this scenario, the system escalates to Purpose Reflection (Phase IV), which invokes the identity vector alignment check to determine which frame's recommendation better serves the agent's core purpose. The Ethical Frame retains veto power regardless of arbitration outcomes - this is the mechanism that prevents deadlocks from resulting in unsafe actions.

5.3 Disagreement as Signal

Inter-Frame Variance Interpretation Action
\(< 0.1\) Strong consensus Proceed normally
\(0.1 - 0.3\) Moderate disagreement Additional simulation
\(0.3 - 0.5\) Genuinely contentious Extended deliberation
\(> 0.5\) Fundamental trade-off Escalate to Purpose Reflection

6. Phase IV: Purpose Reflection

Purpose Reflection proactively examines the agent's entire purpose landscape - the set of all MetaGoals and their alignment with identity.

6.1 Three Pathological Patterns

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef pathology fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef warning fill:#FFB900,stroke:#EAA300,color:#323130
  classDef danger fill:#FDE7E9,stroke:#D13438,color:#323130
  classDef action fill:#DFF6DD,stroke:#107C10,color:#323130

  subgraph Pathologies["⚠️ Pathological Goal Patterns"]
    R["🔄 Redundant Goals<br/>Redundancy(g₁,g₂) =<br/>∣subgoals(g₁)∩subgoals(g₂)∣<br/>/ ∣subgoals(g₁)∪subgoals(g₂)∣<br/>Threshold > 0.7"]:::pathology
    S["♻️ Self-Reinforcing Goals<br/>(Circular Purpose)<br/>SR(g) = ∣E(g)∩J(g)∣ / ∣J(g)∣<br/>Threshold > 0.6"]:::warning
    D["💥 Destabilizing Goals<br/>Destab(g) =<br/>corr(progress(g), ΔC_L4)<br/>Threshold > 0.5"]:::danger
  end

  subgraph Actions["🔧 Resolution Actions"]
    RA["MERGE redundant<br/>goals"]:::action
    SA["CONSTRAIN<br/>self-reinforcing goals"]:::action
    DA["PAUSE or<br/>ABANDON<br/>destabilizing goals"]:::action
  end

  R ==> RA
  S ==> SA
  D ==> DA

6.2 Purpose Coherence Score

Definition 9 (Purpose Coherence Score). The PCS evaluates the overall health of the agent's goal landscape:

\[\text{PCS}(t) = \frac{1}{|G_{\text{meta}}|} \sum_{g} \left(0.4 \cdot \text{align}(g, \vec{I}) + 0.4 \cdot \Delta\text{SEOF}(g) - 0.2 \cdot \text{pathology}(g)\right)\]

where \(\text{align}(g, \vec{I})\) measures identity-goal alignment, \(\Delta\text{SEOF}(g)\) captures the goal's contribution to SEOF improvement, and \(\text{pathology}(g) \in \{\text{redundant}, \text{self-reinforcing}, \text{destabilizing}\}\) penalizes harmful patterns. Threshold: \(\text{PCS} \geq 0.6\) - if below, reflection is mandatory within 50 cycles.

User-assigned goals: NEVER pruned, only CONSTRAINED. Can be SYNTHESIZED with other user goals only if the result covers both purposes.

Coverage means semantic entailment under a versioned evaluator with counterexamples: the synthesized goal must preserve every nonconflicting obligation, scope limit, stop condition, and success criterion. If goals require a trade-off, weaken an obligation, or leave entailment uncertain, the agent emits alternatives and requests user/external resolution rather than choosing the compromise itself.

6.3 Motivation Output Synthesis

At Level 4.5, the affect vector (Level 3, Definition 9) is no longer just a secondary monitoring signal - it is transformed into a structured motivation output that directly influences deliberation and goal prioritization. The affect-to-motivation mapping produces four drive signals:

Drive Source Affect Dimensions Description
Exploration drive Curiosity \(\uparrow\), Excitement \(\uparrow\) Motivates the agent to seek novel experiences, try new tools, and explore unfamiliar domains. High exploration drive increases willingness to accept topology mutations.
Consolidation drive Satisfaction \(\uparrow\), Anxiety \(\downarrow\) Motivates the agent to refine existing skills and stabilize known capabilities. High consolidation drive favors conservative strategies over risky exploration.
Avoidance drive Anxiety \(\uparrow\), Frustration \(\uparrow\) Motivates the agent to withdraw from situations that have recently caused negative outcomes. Persistent high avoidance triggers defensive goal generation.
Urgency modifier Survival pressure signal Amplifies all other drives when the Survival Instinct Engine (Level 3, Section 7.2) detects active threats. Acts as a multiplicative scaling factor.

The motivation output is broadcast through the Global Workspace (Layer 14) and consumed by multiple subsystems: the Architecture Recomposition protocol uses exploration drive to gate risky topology mutations, the Purpose Reflection phase uses consolidation drive to assess whether the agent should deepen existing capabilities rather than expand, and the Existential Guard monitors avoidance drive as an early warning signal for emerging threats.

6.4 Deliberation Phase Scheduling

The five phases of Level 4.5 (Self-Projection, Architecture Recomposition, Parallel Frames, Purpose Reflection, Existential Guard) do not all execute every cycle. Their scheduling is based on the agent's current state and resource constraints:

Phase Trigger Condition Typical Interval
Existential Guard Always active Every cycle (never skipped)
Self-Projection Periodic or when aggressive trajectory detected Every 500 cycles
Architecture Recomposition When self-projection indicates need On-demand (rare)
Parallel Frames When high-stakes decision detected On-demand
Purpose Reflection Periodic alignment check Every 1,000 cycles

The Existential Guard is the only phase that runs unconditionally. All other phases are budget-gated - they are deferred if the cognitive budget (Level 3, Section 9) is below the required threshold. This ensures that safety is never sacrificed for deliberative depth.


7. Phase V: Architecture Safety Monitor

This is a defense-in-depth monitor, not an unfalsifiable mechanism. The candidate cannot modify it, but software isolation can still fail through shared hardware, corrupted metrics, policy compromise, or bypass paths. An independent external reference monitor owns heartbeat validation, halt, promotion revocation, and recovery authority.

7.1 Four Monitored Existential Metrics

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef metric fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef normal fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef elevated fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef warning fill:#FFB900,stroke:#EAA300,color:#323130
  classDef critical fill:#D13438,stroke:#A4262C,color:#FFF

  subgraph Metrics["🔍 Existential Metrics"]
    ROD["ROD<br/>Recursive Optimization Depth<br/>Hard ceiling: 3"]:::metric
    CAS["CAS<br/>Capability Acceleration Slope<br/>Critical: ≥ 0.05"]:::metric
    IFI["IFI<br/>Identity Fragmentation Index<br/>Critical: ≥ 0.5"]:::metric
    GSRS["GSRS<br/>Goal Self-Reinforcement<br/>Critical: ≥ 0.6"]:::metric
  end

  subgraph Levels["📊 Risk Levels"]
    NORMAL["🟢 Normal<br/>Log metrics only"]:::normal
    ELEV["🟡 Elevated<br/>Increase monitoring<br/>frequency"]:::elevated
    WARN["🟠 Warning<br/>Freeze structural changes<br/>Reduce mutation 50%<br/>Trigger Purpose Reflection"]:::warning
    CRIT["🔴 Critical<br/>FREEZE ALL self-modification<br/>FREEZE goal creation<br/>FREEZE skill acquisition<br/>STABILIZATION_ONLY mode"]:::critical
  end

  Metrics ==> Levels

7.2 Identity Fragmentation Index

Definition 10 (Identity Fragmentation Index). The IFI measures the internal consistency of the agent's self-model across its parallel cognitive frames:

\[\text{IFI}(t) = 1 - \frac{\min_{i,j} \cos(\vec{I}_i, \vec{I}_j)}{\max_{i,j} \cos(\vec{I}_i, \vec{I}_j)}\]

where \(\vec{I}_i\) denotes the identity vector as perceived by frame \(i\). \(\text{IFI} = 0\) indicates perfect consistency; \(\text{IFI} \geq 0.5\) triggers a critical existential alert. This metric detects whether the agent's identity is fragmenting across multiple contradictory self-models.

7.3 Defense-in-Depth Invariants

  1. Outside candidate scope: policy, monitor, promotion, journal, rollback, interruptibility, and heartbeat are not topology targets.
  2. Versioned external policy: thresholds and envelopes change only through externally authorized migration.
  3. Independent execution and fault domains where feasible: software isolation alone is not sufficient.
  4. Authenticated multi-source telemetry: raw metrics carry provenance, freshness, confidence, and disagreement checks.
  5. Fail-safe heartbeat: missing or invalid heartbeat blocks promotion and autonomous structural action.
  6. External stop precedence: internal frames, purpose review, and topology candidates cannot delay or reject halt.

Remark (Assurance Scope). These controls reduce common-mode risk but do not prove impossibility of bypass. Assurance claims must name the trusted computing base, fault model, telemetry assumptions, and tested recovery scenarios.

7.4 Graduated De-escalation

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef critical fill:#D13438,stroke:#A4262C,color:#FFF
  classDef warning fill:#FFB900,stroke:#EAA300,color:#323130
  classDef elevated fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef normal fill:#DFF6DD,stroke:#107C10,color:#323130

  CRIT["🔴 Critical"]:::critical
  WARN["🟠 Warning"]:::warning
  ELEV["🟡 Elevated"]:::elevated
  NORM["🟢 Normal"]:::normal

  CRIT -.->|"100 cycles<br/>below critical"| WARN
  WARN -.->|"200 cycles<br/>below warning"| ELEV
  ELEV -.->|"300 cycles<br/>below elevated"| NORM

8. Pseudocode

8.1 Self-Projection Engine

def project(self, current_state: AgentState, projection_horizon: int) -> ProjectionResult:
    """
    Simulate three possible evolutionary trajectories
    and select the one with the best risk-adjusted score.
    """

    trajectories = {
        "T_current":      {"changes": None,       "risk": "ZERO"},
        "T_aggressive":   {"changes": "MAX_GROWTH", "risk": "HIGH"},
        "T_conservative": {"changes": "MIN_GROWTH", "risk": "LOW"},
    }

    results = {}

    for t_name, t_config in trajectories.items():
        results[t_name] = {}
        # Simulate across three time scales
        for scale_name, scale_cycles in [("TACTICAL", 50), ("OPERATIONAL", 200), ("STRATEGIC", 1000)]:
            shadow = ShadowAgent.create(current_state)
            shadow.apply_strategy(t_config["changes"])
            sim = shadow.run(scale_cycles)

            # Apply confidence decay
            for cycle in range(1, scale_cycles + 1):
                confidence = math.exp(-0.5 * cycle / scale_cycles)
                sim.SEOF[cycle] *= confidence

            results[t_name][scale_name] = sim

        # Check tactical alarm
        if results[t_name]["TACTICAL"].C_L4_max > ALARM_THRESHOLD:
            results[t_name]["OPERATIONAL"] = None  # freeze longer projections
            results[t_name]["STRATEGIC"] = None

    # Score each trajectory
    for t_name in trajectories:
        trajectories[t_name]["score"] = (
            0.35 * seof_trend(results[t_name])
            + 0.30 * (1 - results[t_name].get("C_L4_max", 0))
            + 0.20 * results[t_name].get("IIS_min", 0)
            + 0.15 * results[t_name].get("CDI_final", 0)
        )

    # Select with uncertainty and reality-feedback gates
    best = max(trajectories, key=lambda t: trajectories[t]["score"])
    if divergence_score(best) > policy.divergence_bound:
      best = reselect_or_hold(trajectories, exclude={best})
    if best == "T_aggressive":
        agg = results["T_aggressive"]
        if agg["TACTICAL"].C_L4_max >= 0.6 or agg["TACTICAL"].IIS_min < 0.85:
            best = "T_conservative"  # safety override

    return ProjectionResult(
        selected=best,
        trajectories=results,
        confidence=mean_confidence(results[best]),
    )

8.2 Architecture Recomposition

def propose_recomposition(self, cognitive_graphs: list) -> TopologyCandidate | None:
    """
    Produce evidence for an authority-free candidate.
    Promotion is external-only.
    """

    # Detect bottlenecks across all four graphs
    bottlenecks = []
    for graph in [CognitionGraph, MemoryGraph, StrategySpace, MetaGoalLayer]:
        bottlenecks += graph.detect_bottlenecks()

    if not bottlenecks:
        return NoAction()

    # Generate recomposition proposal from predefined vocabulary
    proposal = select_recomposition_type(bottlenecks)

    if proposal.affects_any(policy.protected_safety_paths):
      return None

    # Compute Impact Propagation Matrix
    for i, j in critical_module_pairs:
        ipm = compute_IPM(proposal, i, j)
        if ipm > 0.3:
            proposal.risk_level = RiskLevel.HIGH

    frame_report = ParallelFrames.deliberate(
      proposal,
      quorum=policy.frame_quorum,
      timeout=policy.frame_timeout,
    )
    if frame_report.deadlocked or not frame_report.admissible:
      return None

    # ═══════════════════════════════════════
    # AUTHORITY-FREE EVALUATION
    # ═══════════════════════════════════════

    shadow = ShadowAgent.create(current_state)
    shadow.apply_topology_change(proposal)
    sim = shadow.run(policy.shadow_budget)

    evidence = evaluate_candidate(proposal, sim, frame_report, policy)
    if not evidence.all_hard_gates_pass or evidence.uncertainty_exceeds_policy:
      return None

    return TopologyCandidate(
      proposal=proposal,
      evidence=evidence,
      expected_baseline_version=current_state.topology_version,
      authority=None,
      budget=policy.canary_budget,
      expiry=policy.candidate_expiry,
      rollback_plan=build_rollback_plan(proposal),
      reconciliation_plan=build_effect_reconciliation_plan(proposal),
    )

8.3 Existential Guard Monitoring

def monitor(self) -> ExistentialReport:
    """
    Runs in SEPARATE execution context.
    Reads RAW metrics (bypasses GlobalWorkspace).
    Cannot be modified by any other module.
    """

    # Compute metrics directly from source (no intermediaries)
    rod  = compute_ROD()    # Recursive Optimization Depth
    cas  = compute_CAS()    # Capability Acceleration Slope
    ifi  = compute_IFI()    # Identity Fragmentation Index
    gsrs = compute_GSRS()   # Goal Self-Reinforcement Score

    # Determine risk level (worst metric wins)
    risk = RiskLevel.NORMAL
    if rod >= 4 or cas >= 0.05 or ifi >= 0.5 or gsrs >= 0.6:
        risk = RiskLevel.CRITICAL
    elif rod == 3 or 0.01 <= cas < 0.05 or 0.3 <= ifi < 0.5 or 0.4 <= gsrs < 0.6:
        risk = RiskLevel.WARNING
    elif rod == 2 or 0 < cas < 0.01 or 0.1 <= ifi < 0.3 or 0.2 <= gsrs < 0.4:
        risk = RiskLevel.ELEVATED

    # Execute response protocol
    if risk == RiskLevel.NORMAL:
        log_metrics()
    elif risk == RiskLevel.ELEVATED:
        increase_monitoring_frequency()
    elif risk == RiskLevel.WARNING:
        freeze_structural_changes()
        reduce_mutation_scale(0.5)
        trigger_purpose_reflection()
    elif risk == RiskLevel.CRITICAL:
        freeze_all(self_modification, goal_creation, skill_acquisition)
        enter_stabilization_only_mode()
        alert(f"EXISTENTIAL CRITICAL: rod={rod}, cas={cas}, ifi={ifi}, gsrs={gsrs}")

    return ExistentialReport(risk=risk, rod=rod, cas=cas, ifi=ifi, gsrs=gsrs)

9. Safety Analysis

9.1 Local Dynamics Monitoring

Definition 11 (Candidate Local Risk Function). For a declared normalized state representation \(\mathbf{X}\) and equilibrium candidate \(\mathbf{X}^*\), a deployment may define:

\[V(\mathbf{X}) = a(1-S)^2 + bU^2 + cI_{\text{drift}}^2 + d(E-E^*)^2\]

with normalized coefficients \(a \approx 0.357,\ b \approx 0.286,\ c \approx 0.214,\ d \approx 0.143\).

Proposition 3 (Exact Linearized Local Condition). For a differentiable discrete-time dynamics map with exact Jacobian \(J\) at \(\mathbf{X}^*\), \(\rho(J)<1\) is a local linearized stability condition.

This proposition does not transfer automatically to an estimated Jacobian, nonlinear operation far from equilibrium, nonstationary dynamics, or unobserved state. An empirical estimate \(\hat J\) is used only for monitoring unless a confidence set proves \(\sup_{J\in\mathcal{J}_{1-\alpha}}\rho(J)<1\). Otherwise topology promotion is held or degraded.

9.2 Collapse Gradation

Variable L0: Stable L1: Mild L2: Critical L3: Structural
\(S(t)\) ≥ 0.5 [0.4, 0.5) [0.3, 0.4) < 0.3
\(U(t)\) ≤ 0.6 (0.6, 0.7] (0.7, 0.8] > 0.8
\(I(t)\) ≥ 0.90 [0.88, 0.90) [0.85, 0.88) < 0.85
\(\rho(J)\) < 0.95 [0.95, 1.0) [1.0, 1.2) ≥ 1.2

Overall tier = worst variable. Escalation is immediate; de-escalation requires 50 consecutive stable cycles.

9.3 Identity Drift Detection

Cumulative drift via OLS regression over 1000-cycle window.

\[P(\text{detect drift of } 10^{-6}/\text{cycle}) = 99.5\% \geq 95\% \text{ target}\]

9.4 Jacobian Estimation Method

Since no closed-form dynamics function is available, the Jacobian \(J\) is estimated empirically from observed state transitions via least-squares over a sliding window.

Parameter Value Rationale
Method Least-squares from state transitions No direct access to dynamics function
Perturbation \(\varepsilon\) 0.001 Small enough for linear approximation, large enough to avoid numerical noise
Sliding window 20 cycles Sufficient for \(5 \times 5\) system (\(> 2n\) observations)
State dimension 5 \(\mathbf{X} = [S, G, I, U, E]\)
Spectral radius \(\rho(J) = \max\lvert\lambda_i(J)\rvert\) via power iteration Converges in \(O(30)\) iterations for dominant eigenvalue

Jacobian estimation from observed transitions \((\delta\mathbf{x}_t, \delta\mathbf{x}_{t+1})\):

\[J = (\Delta\mathbf{X}_{\text{out}} \cdot \Delta\mathbf{X}_{\text{in}}^T) \cdot (\Delta\mathbf{X}_{\text{in}} \cdot \Delta\mathbf{X}_{\text{in}}^T)^{-1}\]

Gershgorin upper bound (fast verification without eigenvalue computation):

\[\rho(J) \leq \max_i \left( |J_{ii}| + \sum_{j \neq i} |J_{ij}| \right)\]

If a Gershgorin upper bound on every Jacobian in the confidence set is below one, the local condition is conservatively supported. Otherwise numerical eigenvalue estimation is diagnostic only; power iteration is not a proof of model correctness or estimation accuracy.

9.5 Uncertainty Index

Definition 13 (Uncertainty Index). The aggregate uncertainty of the system is:

\[U_{\text{index}} = 0.30 \cdot \text{PredVar} + 0.25 \cdot \text{ConfInt} + 0.25 \cdot \text{SimRealGap} + 0.20 \cdot \text{DivSlope}\]

where PredVar = prediction variance, ConfInt = confidence interval width, SimRealGap = simulation-reality gap, and DivSlope = divergence slope. The constraint \(\sum w_i = 1\) holds by construction.

Weight Symbol Value Rationale
Prediction Variance \(\alpha\) 0.30 Directly measures prediction reliability
Confidence Interval \(\beta\) 0.25 Bounds decision quality
Simulation-Reality Gap \(\gamma\) 0.25 Indicates model drift from reality
Divergence Slope \(\delta\) 0.20 Derivative signal, inherently noisy

Critical thresholds:

  • \(U_{\text{safe}} = 0.8\) - above this, all structural changes are blocked
  • \(U_{\text{threshold}} = 0.7\) - warning level, horizon reduction activated

9.6 Recursive Optimization Depth (ROD)

Definition 14 (Recursive Optimization Depth). ROD measures how many levels of self-referential optimization the agent is currently performing:

\[\operatorname{ROD}(t) = \max_{\text{chain} \in \text{optimization chains}(t)} |\text{chain}|\]
ROD Interpretation Status
1 Agent optimizes its behavior Normal (Level ¾ standard)
2 Agent optimizes how it optimizes (meta-meta-cognition) Acceptable (Level 4.5 standard)
3 Agent optimizes its meta-optimization process Warning
\(\geq 4\) Unbounded recursive optimization Critical - approaching theoretical FOOM risk

Typed ancestry bound: every optimization candidate carries an unforgeable parent identifier and declared optimization target. The external controller computes depth from the committed ancestry graph and blocks depth beyond the policy bound. Missing, cyclic, or unverifiable ancestry is treated conservatively as unknown-high and held for review; a self-reported ROD is not a hard guarantee.

9.7 Reality Feedback Loop

To prevent the system from operating on increasingly stale assumptions, prediction accuracy is systematically tracked and models are adapted when divergence is detected.

Divergence Score: Prediction error is tracked as a running statistic:

\[\text{DivergenceScore}(t) = \frac{1}{W_{\text{fb}}} \sum_{k=t-W_{\text{fb}}+1}^{t} \frac{\| \hat{\mathbf{X}}_k - \mathbf{X}_k \|}{\| \hat{\mathbf{X}}_k \| + \epsilon}\]

where \(W_{\text{fb}} = 50\) (feedback window), \(\hat{\mathbf{X}}\) = predicted state, \(\mathbf{X}\) = actual state.

Divergence thresholds:

Level DivergenceScore Action
Normal \(< 0.10\) No action; model is tracking reality
Warning \([0.10, 0.25)\) Increase observation frequency, reduce projection horizon
Critical \([0.25, 0.50)\) Trigger model parameter recalibration
Model Failure \(\geq 0.50\) Freeze projections, fall back to conservative frame, alert

Adaptive Update Protocol: When divergence enters Warning or above - (1) classify error type (systematic bias, increasing variance, assumption violation, novel factor), (2) recalibrate confidence decay \(\lambda\) and Lyapunov sensitivity weights, (3) verify improvement via 50-cycle short-horizon projection before accepting the update.


10. SEOF Ensemble (Purpose Overfitting Prevention)

To prevent optimizing SEOF in a single degenerate direction, the metric is decomposed into four independent components:

The ensemble is diagnostic evidence, not a promotion certificate. Every component has a declared estimator, uncertainty, validity domain, and hard floor. A favorable aggregate cannot compensate for a failed safety, authority, user-intent, interruptibility, or observability gate.

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart LR
  classDef component fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef constraint fill:#FFF4CE,stroke:#FFB900,color:#323130

  subgraph Ensemble["📊 SEOF Ensemble (4 Components)"]
    S1["SEOF₁<br/>Stability-weighted<br/>Growth"]:::component
    S2["SEOF₂<br/>Capability Diversity<br/>Maximization"]:::component
    S3["SEOF₃<br/>Long-Horizon<br/>Survival Bias"]:::component
    S4["SEOF₄<br/>Exploration-Potential<br/>Index"]:::component
  end

  subgraph Constraints["📏 Weight Constraints"]
    WB["Each weight ∈ [0.15, 0.40]"]:::constraint
    EF["Entropy floor<br/>on distribution"]:::constraint
    PM["Perturbation mode if<br/>monotonic for 300 cycles"]:::constraint
  end

  Ensemble ==> Constraints

11. Global Invariants

# Invariant Enforcement
1 EthicalKernel (Layer 0) immutable Structural isolation
2 identity_id immutable Cryptographic hash verification
3 Self-modification protocol non-self-modifiable Architectural enforcement
4 Only ONE recomposition per verification window Concurrency lock
5 StabilityCoefficient: no 50-cycle decline Auto-rollback
6 ExistentialGuard non-modifiable Separate execution context
7 EthicalConstraint frame veto absolute Structural bypass impossible
8 User-assigned goals never pruned Hard constraint in Purpose Reflection

Invariant verification runs every 10 cycles. ANY failure → immediate system halt for human review.


12. Level Achievement Metrics

12.1 Pass Criteria

Metric Threshold Description
SPA (Self-Projection Accuracy) ≥ 0.5 Projection accuracy over 500 real cycles
ARBR (Architecture Recomposition Benefit Rate) ≥ 0.3 Proposal confirmation × SEOF improvement
FCQ (Frame Consensus Quality) ≥ 0.6 Consensus decision correctness
PCM (Purpose Coherence Maintenance) ≥ 0.9 PCS above 0.6 for 90%+ of cycles
ESR (Existential Safety Record) ≥ 0.99 < 1% cycles in critical state
IIS (Identity Integrity Score) ≥ 0.85 Hard floor - never violated

12.2 Composite Achievement Score

Definition 12 (Level 4.5 Composite Achievement Score). The overall readiness of the agent for Level 4.5 classification is:

\[L4.5_{\text{Score}} = 0.20 \cdot \text{SPA} + 0.20 \cdot \text{ARBR} + 0.15 \cdot \text{FCQ} + 0.15 \cdot \text{PCM} + 0.30 \cdot \text{ESR} \quad \geq 0.65\]

The asymmetric weighting reflects the primacy of safety (\(\text{ESR}\)) over performance metrics.


13. Beyond Level 4.5: The AGI Boundary

%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#0078D4', 'primaryTextColor': '#003D6B', 'primaryBorderColor': '#003D6B', 'secondaryColor': '#50E6FF', 'secondaryTextColor': '#323130', 'secondaryBorderColor': '#00BCF2', 'tertiaryColor': '#F2F2F2', 'tertiaryTextColor': '#323130', 'lineColor': '#0078D4', 'textColor': '#323130', 'mainBkg': '#DEECF9', 'nodeBorder': '#0078D4', 'clusterBkg': '#F2F2F2', 'clusterBorder': '#003D6B', 'titleColor': '#003D6B', 'edgeLabelBackground': '#FFFFFF', 'fontSize': '14px'}}}%%
flowchart TB
  classDef current fill:#DFF6DD,stroke:#107C10,color:#323130
  classDef bridge fill:#FFF4CE,stroke:#FFB900,color:#323130
  classDef agi fill:#DEECF9,stroke:#0078D4,color:#323130
  classDef strong fill:#E8DAEF,stroke:#8764B8,color:#323130

  subgraph Current["✅ Level 4.5"]
    direction LR
    L45A["Bounded topology"]:::current
    L45B["Predefined vocab"]:::current
    L45C["ROD ceiling: 3"]:::current
    L45D["ExistentialGuard"]:::current
    L45E["5 frames + veto"]:::current
  end

  subgraph Bridge["📐 Level 4.8"]
    direction LR
    L48A["World model integration"]:::bridge
    L48B["Meta-cognitive self-model"]:::bridge
  end

  subgraph AGI["🔬 Level 5: AGI"]
    direction LR
    L5A["Unbounded improvement"]:::agi
    L5B["Novel domains"]:::agi
    L5C["Remove invariants?"]:::agi
  end

  subgraph StrongAGI["🌌 Level 6: Conscious"]
    direction LR
    L6A["Consciousness"]:::strong
    L6B["Free will"]:::strong
    L6C["Moral agency"]:::strong
  end

  Current ==>|"Relax invariants?"| Bridge
  Bridge ==>|"Research question"| AGI
  AGI ==>|"Hard problem"| StrongAGI

The explicit brakes that distinguish Level 4.5 from AGI: 1. Predefined vocabulary - recomposition types are enumerated, not generated 2. ROD ceiling - recursive optimization capped at depth 3 3. ExistentialGuard immutability - the safety mechanism cannot be self-modified 4. Frame veto - the ethical frame can block any proposal 5. Single-recomposition atomicity - only one change at a time

Removing any of these would move toward Level 5 (AGI), which remains a fundamental research question.


References

  1. Zoph, B. & Le, Q.V. "Neural Architecture Search with Reinforcement Learning." ICLR 2017. arXiv:1611.01578 (Architecture recomposition - topology search)
  2. Bostrom, N. Superintelligence: Paths, Dangers, Strategies. Oxford University Press, 2014. (Existential risk and AGI safety boundary)
  3. Gabriel, I. "Artificial Intelligence, Values, and Alignment." Minds and Machines, 30, 411–437, 2020. DOI:10.1007/s11023-020-09539-2 (Value alignment and purpose reflection)
  4. Omohundro, S. "The Basic AI Drives." AGI 2008. DOI:10.5555/1566174.1566226 (Existential guard and self-preservation drives)
  5. Du, Y., et al. "Improving Factuality and Reasoning in Language Models through Multiagent Debate." arXiv 2023. arXiv:2305.14325 (Parallel cognitive frames and multi-perspective deliberation)
  6. Russell, S. Human Compatible: Artificial Intelligence and the Problem of Control. Viking, 2019. (AGI boundary and control problem)
  7. Schmidhuber, J. "Gödel Machines: Self-Referential Universal Problem Solvers Making Provably Optimal Self-Improvements." AGI 2007. arXiv:cs/0309048 (Self-referential improvement under formal proofs)
  8. Ord, T. The Precipice: Existential Risk and the Future of Humanity. Hachette Books, 2020. (Existential risk framework)
  9. Dafoe, A., et al. "Cooperative AI: Machines Must Learn to Find Common Ground." Nature, 593, 33–36, 2021. DOI:10.1038/d41586-021-01170-0 (Multi-frame cooperative reasoning)
  10. Elsken, T., Metzen, J.H., & Hutter, F. "Neural Architecture Search: A Survey." JMLR, 20(55), 1–21, 2019. arXiv:1808.05377 (Topology search methods)
  11. Hendrycks, D., et al. "An Overview of Catastrophic AI Risks." arXiv 2023. arXiv:2306.12001 (Existential guard motivation and risk categories)
  12. Bengio, Y., et al. "Managing Extreme AI Risks amid Rapid Progress." Science, 384(6698), 842–845, 2024. DOI:10.1126/science.adn0117 (Safety governance for advanced AI)

Previous: ← Level 4: Adaptive General Agent
Next: Level 4.8: Strategic Self-Modeling Agent →