| English | 简体中文 |
A public worldview, concept system, article series, diagrams, evidence index, and whitepaper repository for governed persistent multi-agent runtime architecture.
Series: From Single-Agent OS to Constitutional Runtime: Why I Rebuilt My AI System
Repository role: worldview, concept vocabulary, technical whitepaper, public articles, diagrams, citation evidence, and publication packages.
Implementation status: this is not a public implementation-source repository.
Public boundary: concepts can be public; private source code, private prompts, internal logs, credentials, and operational traces are not published here.
Repository slug:
persistent--multi-agent--constitutional-runtime-kernel--mission-kernel
Long-running AI work cannot become reliable only by giving a single agent more memory, more tools, or a larger context window. It needs a governed runtime where mission ownership, authority relations, evidence gates, state transitions, audit receipts, and lawful closure become explicit runtime objects.
Constitutional Runtime is a governed runtime architecture for persistent multi-agent task execution. It separates capability from ownership, role from authority, memory from evidence, and local completion from lawful closure.
Its goal is not to create “more agents.” Its goal is to preserve, across long-running work:
who owns the mission
who may change it
who is only supporting
which memory is admissible evidence
which capability invocation is authorized
which state change is valid
which audit condition blocks progress
when a mission is lawfully closed
This repository develops and publishes:
constitutional_runtimeIt does not contain:
When this repository discusses implementation, it discusses public architecture, concepts, invariants, and research direction. It does not mirror the private source tree.
Capability is can.
Authority is may.
Memory is recall.
Evidence is admissibility.
Done is local completion.
Closure is lawful mission termination.
In this frame:
Constitutional Runtime is the surface of current truth and lawful transition. It separates:
canonical state
side evidence
projection
archive
readiness
closure
CR should prevent the system from continuing when it cannot prove where it currently stands.
Constitutional Kernel is the authority-law layer. It defines typed authority relations such as:
ownership
support
consult
audit
routing
escalation
threshold holding
state-change authority
closure authority
CK decides whether an actor may perform a state-changing action, whether a handoff actually transfers ownership, and whether a claimed authority is lawful.
Mission Kernel turns user intent into governed mission lifecycle objects. A minimal lifecycle can be expressed as:
raw_request
-> mission_envelope
-> authority_relation_check
-> routing_decision
-> participant selection
-> capability_binding
-> execution_receipt
-> evidence_admission
-> audit_receipt
-> state_delta_receipt
-> closure_receipt or honest_stop
MK preserves the difference between a conversation turn and a governed mission.
| Axis | Name | Runtime question |
|---|---|---|
| CR | Constitutional Runtime | What is the current lawful truth, and may the system move forward? |
| CK | Constitutional Kernel | Who has authority to do what? |
| MK | Mission Kernel | How does a request become a governed mission? |
| AG | Agent Dimension | Which runtime participants can carry typed roles? |
| CP | Capability / Ingress-Egress Plane | Which tools, channels, gateways, and providers may be used within scope? |
| SM | State / Memory / Evidence Plane | What is memory, what is evidence, and what is canonical state? |
| DG | Anti-Drift / Audit / Governance Plane | How are drift, audit failures, and honest-stop conditions detected and recorded? |
| EP | Engineering Process / Delivery Plane | How are work, evidence, return packages, and handoffs made reproducible? |
The three adjudicating spines are:
CR = current truth and lawful transition
CK = executable authority law
MK = governed mission lifecycle
The five supporting planes are:
AG = runtime participants
CP = bounded capabilities and ingress / egress
SM = memory, state, evidence, and receipts
DG = anti-drift, audit, honest stop, validation
EP = engineering delivery, handoff, return bundles
The basic unit of governance is not the agent. It is the mission.
Agent is not the unit of governance.
Mission is the unit of governance.
Agent is a runtime participant inside a governed mission.
This does not require the user interface to stop being conversational.
User-facing interface remains conversational.
Runtime-facing representation becomes mission-centered.
The system should compile natural-language input into a typed mission object before execution.
Chapter 1: Structural Instability in Agent OS
Subtitle: Why long-running AI work needs task ownership, authority, audit, and lawful closure
Date: 2026-05-14
Chapter 1 has two canonical language editions. In each edition, the PDF is the final authority for text and layout.
| Edition | Canonical PDF | Web Edition | Package |
|---|---|---|---|
| Chinese | chapter1.pdf | GitHub Pages Markdown | Publishing package |
| English | chapter1.pdf | GitHub Pages Markdown | Publishing package |
Chapter 1 frames structural instability through eight failure modes:
| Failure mode | Runtime interpretation |
|---|---|
| Task ownership drift | The system keeps running but no longer preserves who owns the mission. |
| Support becomes ownership | Support work quietly turns into direction control. |
| Memory becomes evidence | Recalled content is treated as admissible current evidence. |
| Persona becomes authority | Role language is mistaken for runtime power. |
| Delegation becomes authorization | Handoff is mistaken for permission transfer. |
| Global chat becomes context pollution | Multiple actors speak without preserved authority boundaries. |
| Tool calling becomes capability governance | Tool access is mistaken for scoped permission. |
| Done becomes closure | Local completion is mistaken for lawful mission termination. |
Chapter 2: The Problem Is Not Capability, But Organization Structure
Subtitle: Why long-running AI work needs mission ownership, authority relations, evidence gates, and lawful closure
Repository publication date: 2026-06-09
Chapter 2 v7.3 is currently published as a Chinese source package. The supplied Pandoc HTML is preserved, and the full body has been converted to repository-readable Markdown with embedded figures extracted into diagrams/.
| Edition | Source | Web Edition | Package |
|---|---|---|---|
| Chinese | chapter2.md / chapter2.html | GitHub Pages Markdown | Publishing package |
Recommended path:
This repository uses the same public-facing conventions readers expect from active open repositories:
Run the public readiness check before publishing or opening release-oriented pull requests:
make -f .internal/engineering/Makefile check
.
├── README.md
├── README.en.md
├── README.zh-CN.md
├── .github/
│ ├── workflows/
│ ├── ISSUE_TEMPLATE/
│ ├── pull_request_template.md
│ └── CODEOWNERS
├── chapter1/
│ ├── README.md
│ ├── README.zh-CN.md
│ ├── final-draft-v3/
│ │ ├── package-v3/
│ │ ├── package-v3-en/
│ │ ├── github-pages.md
│ │ └── en/
│ ├── references/
│ ├── en/
│ └── zh/
├── chapter2/
│ ├── README.md
│ ├── README.zh-CN.md
│ └── final-draft-v7.3/
│ └── package-v7.3/
└── .internal/
├── engineering/
├── repository/
├── unpublished/
└── local/
The root level is the public entry. .github/ contains active GitHub configuration. .internal/engineering/ contains engineering and publication automation. .internal/unpublished/ contains unpublished source material. .internal/repository/ contains governance, legal, and concept-support files. .internal/local/ is for ignored local cache only.
Allowed here:
Do not add:
This repository should not claim that a full runtime is already complete.
Careful public wording:
The project proposes and documents a governed runtime architecture for persistent multi-agent task execution.
It has a mature conceptual frame around CR, CK, and MK.
It treats authority relations, mission lifecycle, evidence admission, audit, and closure as explicit runtime objects.
Some source-side components may exist as scaffolds or executable research surfaces.
The system still requires controlled taskflow tests, schema hardening, runtime validation, and public evidence packaging before v1.0 claims.
Short version:
Not a finished v1.0 product.
Not a public source-code release.
Not a generic agent framework.
Not a roleplay/persona project.
A public architecture, article, and whitepaper repository for a governed persistent multi-agent runtime.
| Term | Meaning |
|---|---|
| Agent OS | A single-agent operating model where one assistant manages intent, planning, tools, execution, memory, and closure through a conversational loop. |
| Constitutional Runtime | A governed runtime layer that preserves current truth, evidence gates, authority boundaries, audit receipts, state transitions, and lawful closure. |
| Constitutional Kernel | The authority-law layer that decides who has authority to do what. |
| Mission Kernel | The lifecycle layer that turns requests into governed mission objects. |
| Mission | A task object with owner, authority, route, evidence, state-delta expectations, required receipts, and closure conditions. |
| Root Owner | The highest explicit human authority in the concept system. |
| Scoped Capability | A permission grant bounded by actor, mission, artifact, tool, action, environment, and time. |
| Evidence Gate | The process through which memory or produced information becomes admissible evidence for current mission judgment. |
| State Delta | A recorded and authorized change to canonical system state. |
| Audit Receipt | A record of review, validation, rejection, dissent, or acceptance. |
| Closure Receipt | A verifiable record that a mission has been lawfully closed. |
| Honest Stop | A lawful runtime outcome where the system refuses to continue because evidence, authority, state, or closure conditions are insufficient. |
Reuse terms are recorded in .internal/repository/legal/LICENSE.md. Until broader reuse rights are explicitly granted, treat this repository as public documentation and whitepaper draft material. When citing the project, cite the canonical Chapter 1 PDFs, the Chapter 1 GitHub Pages editions, or the Chapter 2 v7.3 package artifacts.