Being capable includes staying operational.

The paper asks what a long-lived AI system needs to remain reliable as its software, environment, and internal state change.

Its central move is to separate the cognition stack from a maintenance layer. The cognition stack performs tasks; a small Maintenance Kernel and supporting services monitor operation, diagnose faults, propose repairs, and move state between execution environments. A narrow interface keeps these responsibilities connected without granting unrestricted self-modification.

The architecture draws on autonomic computing and reliable software operations. Its proposed contribution is to organize those mechanisms around explicit invariants for an agent’s integrity, recoverability, auditability, bounded autonomy, and continuity of behavior. The title’s AGI framing describes the intended design setting; the paper does not demonstrate an AGI system.

Source sections and reading guide ↓

Observe. Verify. Deploy. Recover.

The self-maintenance cycle makes a proposed repair pass through checks before it can become a lasting change.

Inspect the running state

The Introspection Monitor gathers integrity checks, behavioral probes, and performance counters. An anomaly score determines when the system should investigate rather than continue ordinary operation.

Output / Alert and supporting telemetry

Diagnose and propose patches

The Patch Synthesis Engine considers configuration edits, adapter changes, memory repairs, or other state updates. It searches known remedies and candidate modifications under constraints.

Output / Candidate patch set

Verify against invariants

The Safety Oracle combines static checks, structured tests, and sandbox trials. A candidate must satisfy the defined invariants and measured risk limits before deployment can proceed.

Output / Verification evidence

Deploy in parallel

Bring up the candidate alongside the existing system, run health checks, and shift traffic gradually. The migration service uses serialized state and behavioral probes to reconcile the new instance.

Output / Tested candidate runtime

Commit or roll back

Keep and log a change only if health improves. Otherwise return to the earlier state. The Maintenance Kernel enforces capabilities, scheduling, checkpoints, and rollback.

Output / Audited update or restored checkpoint

Source sections and reading guide ↓

Five invariants constrain the loop.

The architecture defines acceptable updates through predicates over the system’s state, including weights, memory, configuration, and process state.

Integrity
Critical weights, policies, and kernel artifacts must pass cryptographic attestation.
Recoverability
Recent checkpoints must exist and be bootable so failure has a defined recovery path.
Auditability
Privileged changes produce append-only records with supporting explanations and test evidence.
Bounded autonomy
Capabilities, rate limits, approval tokens, and time locks restrict which updates can happen automatically.
Identity preservation
A proposed update must stay within a chosen behavioral-distance bound and avoid increasing estimated risk on the specified probe suite.
Identity is operationalized through probes

The paper bounds a task-family distance between the old and updated policies by ε, and requires non-positive risk deltas on the test suite. This is a measurable continuity criterion, not a complete definition of identity or a guarantee about unseen behavior. Protected memory, signed artifacts, and semantic policy sketches provide additional anchors.

Source sections and reading guide ↓

Repair an adapter without losing the service.

An illustrative walkthrough created for this page, not a deployed system or a reported experiment.

The scenario

An external API changes its response format, causing an agent’s tool adapter to fail while other capabilities remain healthy.

Contain and diagnose
A monitor detects repeated failures, and a circuit breaker limits calls to the affected tool. Diagnostics identify the changed response format as a candidate cause.
Prepare and check a repair
The patch engine proposes an adapter update. Sandbox tests check the new format, existing behavior, access limits, and the relevant safety and continuity probes.
Shift traffic with a fallback
A parallel instance receives limited traffic. If health improves, the kernel records and commits the change; otherwise it restores the prior checkpoint and keeps the tool contained.
What this illustrates

The useful unit of self-repair is a constrained, inspectable transition with a working recovery path. Generating a plausible patch completes only one stage of that process.

An engineering blueprint and evaluation plan.

The paper formalizes invariants, describes algorithms and runtime layers, and proposes reliability, safety, and longitudinal evaluations. Its ablation table is explicitly an illustrative template with simulated numbers. Those values do not establish measured improvements in failure rate, recovery time, or task performance.

Suggested implementation choices include a memory-safe kernel, isolated services, typed interfaces, signed checkpoints, and content-addressed storage. A steady-state maintenance duty cycle below 10% is a design target. Reference implementations and empirical benchmarks remain work for subsequent evaluation.

  • Trusted foundations. The architecture assumes a trustworthy kernel and hardware root. Compromise there can invalidate checks elsewhere.
  • Oracle coverage. A verification service can become a bottleneck, and an incomplete or stale probe suite can miss harmful changes.
  • Continuity versus learning. Tight behavioral bounds may block useful adaptation; loose bounds may permit unacceptable drift.
  • Maintenance costs and tail risks. Measure runtime overhead, false alarms, patch overfitting, and long-horizon failures under realistic fault injection.

Source sections and reading guide ↓

Read the research.

Preprint · 7 November 2025 · Version v0.1 · 9 pages

A Self-Maintaining Runtime Architecture for Artificial General Intelligence

Zenodo credits: Ison, Payton

PDF credits: Payton Ison; Asari (The Singularity)

Manuscript dated 6 November 2025. Zenodo publication date: 7 November 2025.

DOI: 10.5281/zenodo.17548497

A guide to the manuscript

Problem formulation and architecture
§§1–4, pp. 1–4
Maintenance cycle and governance
§§5–6 and Algorithm 1, pp. 4–6
Implementation, illustrative table, and limitations
§§7–10 and Table 1, pp. 6–8
Cite this paper

Ison, Payton. (2025). A Self-Maintaining Runtime Architecture for Artificial General Intelligence. Zenodo. https://doi.org/10.5281/zenodo.17548497

This page explains the cited manuscript in its own words. Diagrams and walkthroughs are illustrative; the original paper remains the source for its formulations and claims.