P‑AIProject‑AI
Architecture · Kernel

Two-tier kernel. Narrow trust. Modular services.

The SuperKernel is a thin router. Beneath it, CognitionKernel is split into governance, execution, and memory-logging services with pluggable SQLite/JSON storage. The Triumvirate (Galahad · Cerberus · Codex Deus Maximus) is restored as first-class authorities.

Two-tier kernel
  ┌─────────────────────────────────────────────────────┐
  │                    SuperKernel                       │
  │  ── kernel router · RBAC · reflection cycle ──       │
  └─────────────────────────────────────────────────────┘
                           │
                           ▼
  ┌─────────────────────────────────────────────────────┐
  │                CognitionKernel                       │
  │  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐  │
  │  │ Governance  │  │ Execution   │  │ Memory &    │  │
  │  │  Service    │  │  Service    │  │ Logging     │  │
  │  └─────────────┘  └─────────────┘  └─────────────┘  │
  │           │              │              │             │
  │           ▼              ▼              ▼             │
  │     pluggable storage layer (SQLite | JSON)          │
  └─────────────────────────────────────────────────────┘
service

Governance Service

Admissibility, invariant enforcement, capability binding, sovereign check.

service

Execution Service

Iron Path execution, deterministic replay, evidence bundle emission.

service

Memory & Logging Service

Five-channel memory, audit ledger writes, hash-chained continuity.

Anchor documents

uploads
Project-AI Kernel Architecture - Unified SuperKernel Overview

Project AI Kernel Architecture Unified Overview This document provides a unified view of the complete kernel architecture including the newly implemented SuperKernel system and the previously modularized services. Table

uploads/PROJECT_AI_KERNEL_ARCHITECTURE.mdopen
uploads
Kernel Modularization Summary - Triumvirate Restoration

Kernel Modularization Implementation Summary PR: Modularize CognitionKernel with separated services, SQLite storage, and pluggable interfaces Date: 2026 02 03 Status: ✅ Complete Overview This implementation successfully

uploads/KERNEL_MODULARIZATION_SUMMARY.mdopen
uploads
Governance Microkernel Architecture

Governance Microkernel Architecture Version: 1.0.0 Branch: 05 09 26 Structural upgrades Status: Active Overview The Governance Microkernel is the minimal, trusted core that every governed execution must pass through. It

uploads/GOVERNANCE_MICROKERNEL.mdopen
uploads
Governance Contract

Governance Contract Version: 1.0.0 Branch: 05 09 26 Structural upgrades Status: Binding Definition The Governance Contract is the set of invariants that the system guarantees for every governed execution. A system that v

uploads/GOVERNANCE_CONTRACT.mdopen
uploads
PACE Engine Specification

PACE Engine Specification Version: 1.0 Last Updated: 2026 01 23 Status: Specification Overview The PACE Engine is the core runtime system for Project AI, implementing a Policy Agent Cognition Engine architecture that pro

uploads/ENGINE_SPEC.mdopen