AI Initiative logoAI Initiative
Reading room / Conduir

Conduir — Master Architecture (Compiled)

The overarching architecture connects governance, organs, capability boundaries, lifecycle and implementation reading paths.

Compiled architecture
This is the retained source text, not a new validation of its claims. Numerical results and comparative claims require the accompanying source review before public reuse.

Read the connected case study or article →

Not explicitly attributed in document header · 2026-05-16

Provenance, authorship and editorial notes

Conduir — Master Architecture (Compiled)

Id

conduir-master

Project

Conduir

Source path

conduir-evolution/00-CONDUIR-MASTER-ARCHITECTURE.md

Source host

local

Source sha256

25b02da5f3e2d7bb3a41642eb519927bb48e93a4ac875bae407370249f788ddc

Repo root

conduir-evolution

Repo head

61278260a6a877769ef025356ecc5feb1d53f1b4

Date

2026-05-16

Author

Not explicitly attributed in document header

Document status

Compiled architecture

Source status statement

Compiled baseline. Merges five independent syntheses:

Summary

The overarching architecture connects governance, organs, capability boundaries, lifecycle and implementation reading paths.

Topics
  • AI Learning
  • AI Workflow
  • Orchestration
  • Conduir
  • Compiled architecture
Related ids
  • conduir-living-vision
  • conduir-phased-vision
  • conduir-anatomy
  • conduir-contracts
  • conduir-constitution
  • conduir-evolution-morality
Evidence concerns
  • Capability state is date- and artifact-dependent; narrative and architecture are not deployment receipts.
  • Private source selection. Source inspection only; no fresh build, deployment or effectiveness certification.
Copy scope

Full original document, byte-identical

Copy status

copied-private-review

Format

markdown

Bytes

70337

Word count

9990

Headings
  • Conduir — Master Architecture (Compiled)
  • PART 0 — Design Rationale (the *why* of this structure)
  • 0.1 Vocabulary Decision — the spine
  • 0.2 What this document is NOT
  • 0.3 Source-alignment discipline
  • 0.4 Standing risks of any synthesis like this
  • PART 0.5 — The Golden Rules (Operational Charter)
  • 0.5.1 The Three Inviolable Membranes
  • 0.5.2 The Sequencing Mandate (re-stated as a rule)
  • 0.5.3 Coding Standards (P0-enforceable)
  • 0.5.4 Vitality — How We Measure (not up/down, 0–100)
  • 0.5.5 The Six Non-Negotiables (one-line each)
  • 0.5.6 If You Are About To…
  • 0.5.7 The One-Sentence Summary of the Charter
  • PART 1 — Foundation
  • 1.1 Architecture Thesis (one paragraph)
  • 1.2 Non-Negotiable Architecture Principles
  • 1.3 What Conduir Is — and Is Not
  • PART 2 — The Top-Level Architecture
  • 2.1 System Context (C4 Level 1)
  • 2.2 The Six-Layer Spine
  • 2.3 Engineering Container View (C4 Level 2)
  • 2.4 The Stakeholder Rendering (anatomy view)
  • 2.5 Trust Zones, Security & Privacy
  • PART 3 — The Capability Map, Substrate, Contracts, Cross-Walk
  • 3.1 The Capability Map (CAP-1 .. CAP-13)
  • 3.2 The Contract Backbone (Pillar 0)
  • 3.3 The Three Loops (the dynamic view)
  • 3.3.1 Loop A — Mission Execution (M1–M2 backbone)
  • 3.3.2 Loop B — Learning, Personalisation, Twin (M3–M5 arc)
  • 3.3.3 Loop C — Governed Change (M6–M8 arc)
  • 3.4 Substrate Sequencing — The Critical Path
  • 3.5 Latency Budgets, Failure Modes, Observability
  • 3.5.1 Latency budgets (steady-state, from `ENGINEERING-VIEW.md §4`)
  • 3.5.2 Failure modes & degradation
  • 3.5.3 Observability commitments (CAP-11, Phase-1 non-optional)
  • 3.6 The Vocabulary Cross-Walk (keystone table)
  • PART 4 — Execution Plan
  • 4.1 Delivery Rules (non-negotiable for executors)
  • 4.2 Workstreams
  • 4.3 Phase Plan (P0 → P8)
  • **Phase P0 — Architecture Baseline & Work Intake**
  • **Phase P1 — S0 Substrate: Identity + Signal**
  • **Phase P2 — S1 Substrate: Isolation + Trust**
  • **Phase P3 — Learning Loop & Preferred Path**
  • **Phase P4 — User Memory & Digital Twin**
  • **Phase P5 — Governed Self-Improvement**
  • **Phase P6 — Side-Lane Exploration & Graduation**
  • **Phase P7 — Governance Control Plane**
  • **Phase P8 — Productisation, Metrics, Claim Reconciliation**
  • 4.4 First 10 Task Slices (immediate executable backlog)
  • 4.5 Acceptance Gates per Capability
  • 4.6 Operating Cadence
  • 4.7 Immediate Next Step
  • PART 5 — Milestone Progression
  • PART 6 — Operations: KPIs, Risks, Open Decisions
  • 6.1 KPI Baseline (replaces alive / partial / dead)
  • 6.2 Risk Register
  • 6.3 Open Architectural Decisions (ADRs to write)
  • PART 7 — End-State Architecture: Architecture Definition of Done
  • PART 8 — Maintenance & Cross-Reference Index
  • 8.1 Maintenance Contract
  • 8.2 What This Doc Supersedes / Defers To
  • 8.3 Conduir-evolution finalised corpus (this workspace)
  • 8.4 Living-system source of truth (`maestro-platform/docs/living-system/`)
Sensitive content review
Automated secret patterns
Email occurrences

0

Customer record terms
Limitation

Pattern scan plus editorial review; not a guarantee of no personal or proprietary material. Private copies retain source code examples, internal locations and attributions.

Attribution note

Source document attribution is preserved. Repository ownership or an agent role is not automatically authorship.

Date basis

Document header or dated filename; source may contain later updates

Source pin note

SHA-256 binds exact copied working-file bytes; repo_head is repository context, not proof that every byte is committed at that head.

Publication recommendation

Private technical reading candidate; editorial selection and claim review required before public use

Conduir — Master Architecture (Compiled)

Date: 2026-05-16
Status: Compiled baseline. Merges five independent syntheses:

Source corpus: maestro-platform/docs/living-system/ (snapshot 2026-05-14; timeline rework 2026-05-12).

Authority order (when docs disagree):
1. living-system/08-CONTRACT-SPECS.md (wire-level truth)
2. living-system/09-FINAL-C3-ARCHITECTURE-DESIGN.md (current C3 baseline)
3. This document (top-level architectural synthesis + delivery plan + Golden Rules)
4. SOLUTION-CAPABILITY-CONTRACTS.md (capability-domain contracts; SOL-0..SOL-12)
5. ANATOMICAL-SYSTEM-SPEC.md (organ membranes, lifecycle, mission walk-through)
6. ENGINEERING-VIEW.md (engineering containers), ARCHITECTURE.md (stakeholder anatomy)
7. living-system/CAPABILITY-INVENTORY-2026-05-14.md (capability rows of record)

Vision-side authority (separate column, since vision and execution can legitimately diverge):

1. VISION-TOP-DOWN-MAPPING.md (vision functions VF-1..VF-16 — what should exist)
2. LIVING-HUMAN-AI-VISION.md (body-system mapping — the metaphor and orphan-organ accounting)
3. AI-EVOLUTION-MORALITY-MORTALITY.md (long-horizon: AI sexual reproduction, conscience, five-scale mortality — agent · mission-team · tenant-relationship · instance · species)
4. This document (compiled view — wins on disputed fact; vision docs win on disputed framing or what should exist)

When the execution stack and the vision stack disagree on what is true today, the execution stack wins. When they disagree on what the platform should become, the vision stack wins. The two are reconciled quarterly through the cross-walk in §3.6.

Audience reading paths (one-stop entry point — pick yours):

AudienceRead
Exec / boardPart 1 + Part 2.1 + Part 7
New engineerPart 2 + Part 3 + Part 5
ArchitectAll (especially Part 0 for the why)
Security / SREPart 2.5 + Part 6
Delivery / PMPart 4 + Part 5
Auditor / compliancePart 1.2 + Part 2.5 + Part 7
An agent or engineer mid-taskPart 0.5 — Golden Rules first (the operational charter). This is the in-flight quick-reference; everything else is reference material.

PART 0 — Design Rationale (the why of this structure)

Distilled from _CLAUDE_2.md. This section records why the document is shaped this way so the choices don't quietly drift.

0.1 Vocabulary Decision — the spine

The corpus speaks five dialects: capabilities (CAP-N), suites (S0–S12), milestones (M1–M8), mini-caps (L2.x), handshakes (Hx/Bx/Gx/Nx). Forcing every reader to translate is the largest hidden cost in the existing docs.

Decision: substrate-first six-layer spine (Substrate · Identity & Privacy · Memory · Cognition · Governance · Surfaces), with explicit cross-walk to every other dialect (Part 3.6 below).

Why: it forces substrate primacy into the shape of the document, not just the prose — matching the lesson from CRITICAL-REVIEW.md and the recurring audit-cycle pattern of surface-first / substrate-back-fill.

0.2 What this document is NOT

Bounded scope keeps it useful:

This is the architectural skeleton + delivery plan; every other doc hangs from it.

0.3 Source-alignment discipline

Every structural claim in this document cites one of:

Where the corpus is silent or contradictory, the document flags OPEN: rather than papering over.

0.4 Standing risks of any synthesis like this

RiskMitigation embedded in this doc
Yet-another-dialectThe six-layer spine retires the anatomy planes as primary; anatomy is kept as the stakeholder rendering of the same layers in Part 2.1
Authority confusion (three "top-level" docs)Authority order pinned in the front matter
Cross-walk drift the moment a CAP shifts suitesQuarterly refresh tied to CAPABILITY-PHASE-SUMMARY (Part 8)
Critical-review erasureEvery design principle footnotes the relevant CRITICAL-REVIEW.md finding

PART 0.5 — The Golden Rules (Operational Charter)

Distilled from GEMINI.md. This Part is the in-flight quick-reference for any agent or engineer mid-task. It is the constitution: short, memorisable, P0-enforceable. The remaining Parts of this document are the reference material that explains why these rules hold. If you only read one Part of this document while writing code, read this one.

0.5.1 The Three Inviolable Membranes

Each membrane below is a contract. Violations are P0 incidents.

MembraneRuleThe line worth memorising
Identity (SUB-9.2 — ActorContext)Every cross-service call, every DB query, every event emission must carry ActorContext (tenant + user + agent identity). Anonymous execution is forbidden."No call without a caller."
Signal (SUB-9.3 — OutcomeEvent)Every mission step must emit a canonically typed OutcomeEvent to NATS."If it didn't signal, it didn't happen."
Isolation (SUB-9.4 — Tenant RLS)All database access must be scoped via Row-Level Security. Application-layer filtering alone is forbidden."RLS is defence in depth, not paranoia."

0.5.2 The Sequencing Mandate (re-stated as a rule)

The substrate seams close in this order. No deviation.

1. Phase S0 — SUB-9.2 (ActorContext) and SUB-9.3 (OutcomeEvent) land together.
2. Phase S1 — SUB-9.4 (Tenant RLS) and SUB-9.6 (JWT) begin only after S0 is closed.
3. Phase S2 — SUB-9.14 (Path-maturity) begins only after S0 and S1 are closed.

Do not build surface features (higher CAPs) on partial substrate. If you cannot point to closed seams, you cannot claim the feature is complete.

0.5.3 Coding Standards (P0-enforceable)

DomainRule
ContractsAll cross-service contracts live in shared/contracts/ as JSON Schema Draft-07. Hand-mirroring is forbidden (CON-3331). Use codegen.
VersioningSchema evolution is additive only. Breaking changes require a new major version + migration window.
DataflowInter-container communication uses exactly one of: (a) BFF (external ingress boundary) — the BFF is the boundary between outside-the-mesh callers (web frontend, mission UI, third-party adapters, MCP) and the service mesh; (b) direct service-to-service HTTP (internal synchronous, command-shaped) — peer services may call each other directly via their <PEER>_URL, authenticated with HMAC per contracts/MODULAR-DEPLOYMENT-CONTRACT.v0.md §3.0 / §3.6 (CON-3417); (c) NATS (asynchronous, event-shaped) — fire-and-forget fan-out on canonical subjects; (d) shared storage where a peer IS the storage layer (e.g. cortex-memory), accessed via its HTTP API not direct DB. Direct service-to-service HTTP that bypasses HMAC auth, or "fire-and-forget" HTTP that should have been a NATS event, are both prohibited. Updated 2026-05-19 PM-13 to reflect the charter-evolved topology codified in MDC §3.0; the prior wording was strict-BFF-only and would have forced internal sync traffic through the BFF as a transit hub, defeating the peer-config substitutability model.
ObservabilityStructured JSON logging (structlog) required. Every log must carry trace_id, mission_id, tenant_id, actor_id. String-concatenation logs are prohibited.
Fail modeMissing actor / tenant / consent / JWT / governance / schema → reject or quarantine. Never infer a permissive fallback.
Forbidden mutationAI must never mutate governance, audit, or identity machinery. The Tier-Forbidden floor is constitutional.

0.5.4 Vitality — How We Measure (not up/down, 0–100)

RuleDetail
Every plane has four metrics: Throughput, Quality, Cost, LatencyA plane missing any of the four is unmonitored — treat as a P1.
Targets are committed (1.2× baseline) and aspirational (2× baseline)See METRICS-BASELINE.md for the table.
Latency ceilings are hardDB query < 200 ms P99 · Event publish < 100 ms P99 · JWT validate < 30 ms P99 · RAG recall < 500 ms P99 · etc. Breach → page-alert.
Self-cert vs. auditor delta is a meta-metricDrift between team self-assessment and independent audit forecasts process bypass.

0.5.5 The Six Non-Negotiables (one-line each)

When you are about to take an action and you are not sure, run it through these:

1. CAP-9 is the floor, not a peer — substrate primacy is not optional.
2. Identity on every action — ActorContext is mandatory.
3. Canonical signal — OutcomeEvent is the single learning bus.
4. Tier-Forbidden floor is constitutional — never AI-mutated.
5. Codegen-only contracts — no hand-mirrors.
6. AUTONOMY by default (amended 2026-06-17 — see CONDUIR-CONSTITUTION.md §I.6.6; was "HITL by default, autonomy by opt-in"). The org acts/decides by default, escalating only on critical-under-doubt or regulatory/compliance; production + governance/charter mutation stay approval-gated until a signed GatePolicy delegates them; even auto-approve tiers respect Tier-Forbidden.
7. Strict Substrate Purity (The SOL-0 Test) — Product logic (personas, routing strategies) is forbidden from the substrate. If it fails the "neutral carrier" test, it belongs in lib/ or services/.

0.5.6 If You Are About To…

If you are about to…First check…
…add a new service or endpointDoes it propagate ActorContext? Does it emit OutcomeEvent at each step? Does its DB access run under RLS?
…change a shared type or contractIs the change additive? Is the new version codegenned, not hand-mirrored? Is there a migration window?
…claim a capability is deliveredAre S0 + (S1 if relevant) closed for it? Is there proof — tests, replay, audit evidence? Is the marketing claim aligned?
…skip a hook, gate, or audit cycleStop. Process bypass is a -5 audit penalty for a reason. Find the root cause.
…mutate governance, audit, or identity machinery from code that an AI might runStop. This is the Tier-Forbidden floor. Zone 4 / break-glass only.
…add a fallback for a missing actor / tenant / consent / JWTStop. Fail closed, never permissive.

0.5.7 The One-Sentence Summary of the Charter

Every action carries identity, every step emits canonical signal, every change has a rollback, every mutation respects the Tier-Forbidden floor — and the substrate seams close in order S0 → S1 → S2 before any higher claim is honest.

If you can hold that sentence in your head while writing code, you will not violate the architecture.


PART 1 — Foundation

1.1 Architecture Thesis (one paragraph)

Conduir is a multi-tenant, multi-agent, governed learning platform. A substrate floor (identity, privacy, governance, event fabric, storage, compute) carries a multi-LLM cognition layer (Symposium, Gateway, dynamic teams), fed by per-agent and per-user memory (AgentDNA, DecisionMemory, Digital Twin), sensing via narrow typed channels (Mission UI, MCP, code-ops), signalling over an event fabric (NATS + canonical contracts), protected by an immune system of AuthN/Z + RLS + PrivacyScope, regulated by an autonomic watchdog (regression_watcher + auto-revert + path-maturity), and acting through API/MCP/EvolutionApplier muscles. The system improves task-over-task within governed-autonomy boundaries the operator controls; the Tier-Forbidden floor (governance, audit, identity) is permanently off-limits to AI mutation. Until the five substrate seams close in the order S0 → S1 → S2, every higher capability is anatomically present but not yet alive.

The highest-level shape:

governed execution
  → canonical evidence
    → scoped memory and learning
      → explainable adaptation
        → bounded self-improvement
          → audited governance

1.2 Non-Negotiable Architecture Principles

Inherited from 09-FINAL-C3-ARCHITECTURE-DESIGN.md §2, reaffirmed here and load-bearing for every later section.

#PrincipleDesign consequenceOriginating critique
1CAP-9 is the floor, not a peerIdentity, tenant isolation, contracts, audit, secrets, event fabric, and runtime primitives are treated as substrate under every capabilityCRITICAL-REVIEW.md §2
2Substrate-first — no higher capability claimed before its seams closeM3 "learning visible" cannot ship before S0 (SUB-9.2 + 9.3) closesCRITICAL-REVIEW.md §3, SUBSTRATE-SEQUENCING.md
3Identity on every action — ActorContext is non-optionalNo service-to-service call without ActorContext; RLS scopes by it09-FINAL-C3 §8.1
4Canonical signal — OutcomeEvent is the single learning busNo bespoke per-service event shapes; quarantine invalid eventsarchitectural-shifts-2026-05-14
5Touchable milestones — architecture serves user-felt momentsSubstrate exists to enable, not to be a milestone in itself09-FINAL-C3 §2.1
6Three lanes, one system — Surface · Substrate · RuntimeLanes own delivery; architecture is one organism09-FINAL-C3 §2.3
7Governed autonomy, not open autonomy — Tier-Forbidden floorAI never mutates governance, audit, identityNON-GOALS.md §1.9
8Fail safe before fail openMissing actor / tenant / consent / JWT / schema → reject or quarantine09-FINAL-C3 §2.5
9Codegen-only contracts — no hand-mirrorsshared/contracts/ is single source; FE/BE/Python types generatedNON-GOALS.md §1.11 (CON-3331)
10Trace + replay is Phase-1, not optionalEvery mission replayable on a snapshot of system state at its timearchitectural-shifts-2026-05-14
11AUTONOMY by default (amended 2026-06-17 → CONDUIR-CONSTITUTION.md §I.6.6)Org acts by default; production + governance mutation approval-gated until signed GatePolicy; auto-approve tiers bounded by Tier-ForbiddenCONDUIR-CONSTITUTION.md §I.6.6; NON-GOALS.md §1.3, §4
12Multi-tenant by isolation, not by hopeRLS at the row layer is defense-in-depth, never app-onlyENGINEERING-VIEW.md §10
13Evidence-based learningRoute choice, twin inference, agent maturity must cite recorded outcomes, not hidden model intuition00-EXECUTIVE-ONE-PAGER.md §3.4

1.3 What Conduir Is — and Is Not

Is:

Is not (see NON-GOALS.md for the full list):


PART 2 — The Top-Level Architecture

2.1 System Context (C4 Level 1)

flowchart LR
    User[Users · delivery teams]
    Admin[Org board · platform admins]
    Auditor[Auditor · compliance reviewer]
    Conduir[Conduir Platform]
    LLM[LLM Providers<br/>Anthropic · OpenAI · etc.]
    Tools[External Tools<br/>GitHub · Jira · Slack · Confluence · IDEs · Figma · MCP]
    Manthan[Manthan exploration<br/>side-lane partner — M7]
    IdP[Identity Provider<br/>SSO · OIDC]
    Data[Customer Data Sources<br/>codebases · DBs · docs · artifacts]

    User --> Conduir
    Admin --> Conduir
    Auditor --> Conduir
    Conduir --> LLM
    Conduir <--> Tools
    Conduir <--> Manthan
    Conduir <--> IdP
    Conduir <--> Data

Boundary rules.

2.2 The Six-Layer Spine

The primary structural vocabulary. Every other dialect (capabilities, suites, planes, milestones, mini-caps, handshakes) cross-walks to this in §3.6.

╔═══════════════════════════════════════════════════════════════════╗
║  LAYER 6 — SURFACES & INTEGRATION                                  ║
║    Mission UI · Code-ops · MCP · external adapters · BFF           ║
║    CAP-13 snap-in plane · CAP-8 Living Blueprint (deferred)        ║
╠═══════════════════════════════════════════════════════════════════╣
║  LAYER 5 — GOVERNANCE & EVOLUTION                                  ║
║    Tier-Forbidden floor · MoveProposal · RollbackRecord ·          ║
║    EvolutionApplier · SideLaneEnvelope · GovernanceState · Audit   ║
║    CAP-5 · CAP-6                                                   ║
╠═══════════════════════════════════════════════════════════════════╣
║  LAYER 4 — COGNITION                                               ║
║    Symposium · LLM Gateway · dynamic team · A2A · quorum · debate  ║
║    Epic-Graph · Tool-Bridge · CAP-1                                ║
╠═══════════════════════════════════════════════════════════════════╣
║  LAYER 3 — MEMORY                                                  ║
║    DecisionMemory · AgentDNA (CAP-2) · Digital Twin (CAP-7) ·      ║
║    PrivacyScope · path-maturity (CAP-4 via SUB-9.14)               ║
╠═══════════════════════════════════════════════════════════════════╣
║  LAYER 2 — IDENTITY, PRIVACY & TENANCY                             ║
║    OIDC · JWT (SUB-9.6) · ActorContext (SUB-9.2) ·                 ║
║    Tenant RLS (SUB-9.4) · ConsentAxes (5)                          ║
╠═══════════════════════════════════════════════════════════════════╣
║  LAYER 1 — SUBSTRATE FLOOR (CAP-9)                                 ║
║    Mission lifecycle · OutcomeEvent (SUB-9.3) · NATS · Postgres ·  ║
║    Vector memory · Object storage · Vault · audit chain · replay   ║
╚═══════════════════════════════════════════════════════════════════╝

Reading rule. Higher layers bias lower layers — Governance sets the priority register, Cognition deliberates within those priorities, Memory feeds context, Identity gates every hop, Substrate carries the structure. Substrate is a backplane, not a "tenth plane at the bottom" — all layers touch it.

Per layer, the contract is the membrane; the components below are what live in the layer; the substrate seam is the dependency.

LayerPurposeMembrane contract(s)Substrate seam(s)"Alive when…" metric
1 — SubstrateCarry identity, events, stateOutcomeEvent, NATS subjectsSUB-9.3OutcomeEvent emission ≥1 per mission step
2 — Identity & PrivacyKnow who, scope to themActorContext, PrivacyScope, JWTSUB-9.2, SUB-9.4, SUB-9.6ActorContext coverage > 99%; RLS share > 99%
3 — MemoryRemember per-agent and per-userDecisionMemory, TwinProfile/TwinAttribute, AgentDNASUB-9.14 (path-maturity)Recall hit rate > 75%; Twin staleness < 7 d
4 — CognitionMulti-LLM deliberation & actionSymposium / Gateway internals, tool-call schema(S0 closed)Quorum convergence first round > 70%
5 — Governance & EvolutionTier policy, propose / apply / rollbackMoveProposal, RollbackRecord, SideLaneEnvelope, ObjectiveScore, GovernanceState(depends on S0 + S1 + S2)Apply / rollback pairs with audit; protected-paths breach attempts = 0
6 — Surfaces & IntegrationUser-facing + external toolsREST / SSE, MCP, adapter contracts(depends on every lower layer)MCP tool failure rate < 1%

2.3 Engineering Container View (C4 Level 2)

flowchart TB
    subgraph Z1["Zone 1 — DMZ"]
        WEB[Web UI<br/>Next.js]
        BFF[API / BFF<br/>Node · port 44100]
    end
    subgraph Z2["Zone 2 — Application Services"]
        SYM[Symposium<br/>Python · port 48010]
        GATE[LLM Gateway<br/>Python · port 48003]
        EG[Epic-Graph<br/>Python · port 49805]
        TB[Tool-Bridge<br/>Python · port 48060]
        LEARN[Nous · OutcomeRouter ·<br/>RegressionWatcher · Manthan]
    end
    subgraph Z3["Zone 3 — Data Plane"]
        PG[(PostgreSQL<br/>Prisma · RLS)]
        REDIS[(Redis<br/>cache)]
        NATS[(NATS<br/>event bus)]
        S3[(Object Storage<br/>replay tapes)]
        VEC[(Vector Memory<br/>DecisionMemory · Twin · DNA)]
    end
    subgraph Z4["Zone 4 — Substrate & Privileged"]
        VAULT[(Vault<br/>secrets · JWT)]
        GOV[Governance YAMLs<br/>Tier-Forbidden floor]
        AUDIT[Audit log<br/>immutable]
    end

    WEB --> BFF
    BFF --> SYM
    BFF --> GATE
    BFF --> PG
    BFF --> REDIS
    SYM --> GATE
    SYM --> EG
    SYM --> TB
    SYM --> NATS
    SYM --> PG
    SYM --> VEC
    LEARN --> NATS
    LEARN --> PG
    LEARN --> VEC
    LEARN --> GOV
    GATE --> VAULT
    BFF --> VAULT
    SYM --> AUDIT
    LEARN --> AUDIT
    BFF --> IdP[(Identity Provider<br/>OIDC)]:::ext
    GATE --> LLM[(LLM Providers)]:::ext
    TB --> EXT[(External Tools)]:::ext

    classDef ext fill:#eee,stroke:#666,color:#000
ContainerLaneRoleScaling
Web UISurfaceMission, twin, swarm canvas, inbox, governance UIHorizontal stateless
API / BFFSurfaceTenant-aware aggregation, AuthN, request shaping, SSEHorizontal; sticky for SSE
SymposiumRuntimeAgent registry, quorum, and protocol policy; decentralized handoff supportHorizontal per-mission
Modularity GuardianSubstrateReal-time modularity monitoring, boundary breach detection, and cert-fabric automationHorizontal (Planned)
LLM GatewaySubstrateProvider-agnostic routing, budgets, ActorContext propagation, retryProvider-rate-bound
Epic-GraphRuntimeCode intelligence, graph / topology / simulation primitivesHorizontal
Tool-BridgeRuntimeCLI / tool adapter executionHorizontal
Nous + OutcomeRouter + RegressionWatcherRuntimeLearning aggregation, side-lane federation, path-maturity, auto-revertVertical DB-heavy
ManthanRuntimeSide-lane exploration, budgeted experimentation (M7)Budget-capped
PostgreSQLSubstrateMission lifecycle, decisions, audit, twin / ticket stateMulti-AZ + RLS
Vector MemorySubstrateDecisionMemory, AgentDNA, Twin attributesMulti-AZ
NATSSubstrateOutcomeEvent transport, federation subjects≥3 nodes cross-AZ
VaultSubstrateSecrets, JWT signing keys, provider credsCloud-managed
Governance files + Audit logSubstrateDirection / current / tiers, immutable auditZone 4 only

Dataflow rule. All inter-container communication goes through (a) the BFF (request-shaped), (b) NATS (event-shaped), or (c) shared storage. No direct service-to-service HTTP outside this pattern.

2.4 The Stakeholder Rendering (anatomy view)

Same six layers, retold for pitch / sales / board. (Source: ARCHITECTURE.md; this is not a separate design — it is a different audience rendering of Part 2.2.)

Six-layer spineAnatomical analogue
Layer 6 — Surfaces & IntegrationSenses (eyes, ears, skin, proprioception)
Layer 5 — Governance & EvolutionEndocrine (hormones, priority tuning) + Autonomic (homeostasis, auto-revert)
Layer 4 — CognitionCerebral cortex (multi-LLM senate)¹
Layer 3 — MemoryHippocampus + Limbic²
Layer 2 — Identity, Privacy & TenancyImmune system (self vs. non-self)
Layer 1 — SubstrateSkeleton + Spine + Circulation (event fabric)³

¹ Critical-review caveat: "senate" cognition is fictional — Conduir's multi-LLM is a committee with committee pathologies (deadlock, conformity, hidden hierarchy). Mitigated by quorum, debate, peer-review, escalation.
² RAG is not a hippocampus — it's fixed-embedding retrieval. The metaphor flatters the mechanism.
³ Nervous + Circulatory collapse into one event fabric in engineering vocabulary (NATS + Postgres + object storage). Splitting them was biological accuracy at design clarity's expense.

2.5 Trust Zones, Security & Privacy

ZONE 0 — UNTRUSTED EXTERNAL     internet · browsers · LLM providers · tools
ZONE 1 — DMZ                    BFF · Web UI · AuthN · tenant resolve · WAF
ZONE 2 — APPLICATION            Symposium · Gateway · Nous · Manthan · Tools
ZONE 3 — DATA PLANE             Postgres · Memory · NATS · Object Storage
ZONE 4 — SUBSTRATE & PRIVILEGED Vault · IAM · audit log · governance config
                                (Tier-Forbidden floor — never AI-mutated)

Hop controls (each hop adds AuthN + AuthZ + audit + rate limits):

From → ToAuthNAuthZAuditRate
0 → 1Customer SSO (OIDC)Tenant + user roleRequest logWAF + RL
1 → 2mTLS + ActorContext headerTenant context + capability checkOutcomeEvent emitInternal RL
2 → 3DB credentials + session roleRLS policiesDB audit logConnection pool
2 → 4Vault token, short-livedBreak-glass onlyImmutable auditStrictly limited

Privacy primitives:

Threat model summary:


PART 3 — The Capability Map, Substrate, Contracts, Cross-Walk

3.1 The Capability Map (CAP-1 .. CAP-13)

              ┌────────────────────────────────────────────┐
              │  PRODUCT CAPABILITIES (CAP-1 .. CAP-8)     │
              └────────────────────────────────────────────┘
                                 │
                                 ▼
            ┌──────────────────────────────────────────────┐
            │  CROSS-CUTTING (CAP-10 economics, CAP-11     │
            │  observability, CAP-12 compliance, CAP-13    │
            │  integration) — wrap every CAP-1..8          │
            └──────────────────────────────────────────────┘
                                 │
                                 ▼
            ╔══════════════════════════════════════════════╗
            ║  CAP-9 SUBSTRATE FLOOR — not a peer          ║
            ║  Identity · Privacy · Governance · Audit ·   ║
            ║  Event fabric · Storage · Compute · Runtime  ║
            ╚══════════════════════════════════════════════╝
GroupCapabilitiesToday (2026-05-16)
Product (CAP-1..8)Team protocols · Per-Agent memory · Reuse marketplace · Preferred-path · Self-evolution · Constant exploration · Per-User twin · Blueprint simMix of PARTIAL, GAP, DEAD-WIRE, DEFERRED
Cross-cutting (CAP-10..13)Economics · Observability/SRE · Data governance/compliance · External integrationMostly GAP / PARTIAL
Substrate floor (CAP-9)Identity · Event · RLS · JWT · Path-maturity · Mission lifecycle · Trace · Replay · Snap-in adapters5 critical seams open — see §3.4

CAP-2 vs CAP-7 boundary (CAPABILITIES.md §3): the subject of the memory is the dividing line. CAP-2 stores memory about agents (track record, AgentDNA); CAP-7 stores memory about users (Digital Twin, editable, forget-able). Both share substrate (OutcomeEvent + ActorContext); the subject distinguishes them.

3.2 The Contract Backbone (Pillar 0)

The architecture only works if shared contracts remain canonical across all containers. Contracts ratchet forward milestone by milestone; no breaking change without a versioned migration window (see ENGINEERING-VIEW.md §8).

MilestoneContract introduced / hardenedArchitectural effect
M1ActorContext v0, OutcomeEvent v0Identity and canonical runtime evidence flow start
M2OutcomeEvent v1, SwarmHandoffEdgeCollaboration visible and attributable
M3DecisionMemory v0Shared learning ledger
M4ActorContext v1, ObjectiveScore stubPer-user correction + durable preference application
M5PrivacyScope v0, TwinProfile/TwinAttributePersonalisation and consent first-class
M6MoveProposal v0, RollbackRecord v0Governed self-improvement with reversibility
M7ObjectiveScore v1, SideLaneEnvelope v0Main-lane / side-lane outcomes separated; Manthan bridge typed
M8GovernanceState v0Direction / current / tier state explicit, hot-reloadable, operator-editable

Non-negotiable contract consumers:

ContractMust be consumed by
ActorContextBFF, Gateway, Symposium, outcome emitters, audit, RLS
OutcomeEventRuntime emitters, NATS, OutcomeRouter, DecisionMemory, audit
DecisionMemoryRecommendation loop, path maturity, learning feed, twin, side lane
PrivacyScopeMemory writers, twin, recommendation, forget cascade
TwinProfile / TwinAttributeTwin API, recommendation, consent UI
MoveProposal / RollbackRecordImprovements inbox, side lane, governance, EvolutionApplier
ObjectiveScoreSide lane, regression, path maturity, governance review
SideLaneEnvelopeFederation router, Manthan bridge, ObjectiveScore consumers
GovernanceStateRuntime policy, side lane, mutation gates, audit, UI

Contract rules:
1. All cross-service contracts live in shared/contracts/ and codegen FE / BE / Python types — no hand-mirrors (CON-3331).
2. Schemas are JSON Schema Draft-07 with Pydantic and TypeScript types generated.
3. Versioning is additive — a new field is always optional in v_{n+1}; breaking changes require a v_{n+1} schema and a migration window.
4. Identity flows on every hop — no service-to-service call without ActorContext.

3.3 The Three Loops (the dynamic view)

The platform is best understood as three loops, not one feature tree. Each loop sits on the substrate floor and emits canonical OutcomeEvents.

3.3.1 Loop A — Mission Execution (M1–M2 backbone)

sequenceDiagram
    participant U as User
    participant W as Web UI
    participant A as API/BFF
    participant S as Symposium
    participant G as LLM Gateway
    participant T as Tools/MCP
    participant E as Event Bus
    participant N as Nous/OutcomeRouter
    participant M as DecisionMemory
    participant P as PathMaturity/Twin

    U->>W: Start mission / give instruction
    W->>A: Authenticated request
    A->>A: Resolve tenant + ActorContext
    A->>S: Dispatch mission with ActorContext
    S->>G: Model calls through gateway
    S->>T: Tool calls through adapters
    G-->>S: Model result
    T-->>S: Tool result
    S->>E: Emit OutcomeEvent with ActorContext
    E->>N: Route and validate event
    N->>M: Write decision and outcome memory
    N->>P: Update path maturity and twin signals
    P-->>S: Preferred route / personalization signal
    S-->>A: Runtime result and trace
    A-->>W: SSE / response / replay

The reflex arc: PERCEIVE → DELIBERATE → DECIDE → ACTUATE → OBSERVE → EMIT → AGGREGATE → STRENGTHEN.

3.3.2 Loop B — Learning, Personalisation, Twin (M3–M5 arc)

flowchart LR
    OE[OutcomeEvent] --> NATS
    NATS --> OR[OutcomeRouter]
    OR --> OS[ObjectiveScore]
    OR --> DM[DecisionMemory]
    DM --> Pref[Preference Learner]
    Pref --> Twin[Twin Aggregator · APIs]
    DM --> Rec[Recommendation · Explanation]
    Twin --> Rec

The learning system is a federation, not one model: canonical capture → score → memory → preference → twin → recommendation/explanation.

3.3.3 Loop C — Governed Change (M6–M8 arc)

flowchart LR
    Detect[Runtime detector<br/>learning or regression signal]
    Propose[MoveProposal]
    Review[Improvement inbox<br/>human or policy review]
    Side[Side-lane experiment<br/>budgeted isolation]
    Score[ObjectiveScore]
    Apply[EvolutionApplier<br/>dry-run apply rollback]
    Watch[RegressionWatcher]
    Audit[Audit chain]
    Rollback[RollbackRecord]
    Gov[GovernanceState<br/>tiers budgets protected paths]

    Detect --> Propose
    Propose --> Review
    Review --> Side
    Side --> Score
    Score --> Propose
    Review --> Apply
    Gov --> Review
    Gov --> Side
    Gov --> Apply
    Apply --> Watch
    Apply --> Audit
    Watch --> Rollback
    Rollback --> Audit
    Watch -->|regression| Apply

Loop-C rules:

M6 / M7 / M8 are one continuous loop: propose → isolate → govern → audit → rollback. Side-lane winners graduate by emitting a MoveProposal, not by bypassing M6 governance.

3.4 Substrate Sequencing — The Critical Path

(Authoritative source: SUBSTRATE-SEQUENCING.md.)

Five substrate seams were previously listed in parallel; they are not the same kind of work, and they have a real dependency order.

flowchart TD
    S0a[SUB-9.2<br/>ActorContext]:::p
    S0b[SUB-9.3<br/>OutcomeEvent]:::p
    S1a[SUB-9.4<br/>Tenant RLS]:::i
    S1b[SUB-9.6<br/>JWT resolution]:::i
    S2[SUB-9.14<br/>Path-maturity]:::d

    S0a --> S1a
    S0a --> S1b
    S0a --> S2
    S0b --> S2
    S0b -. signal carries .-> S0a

    classDef p fill:#ffe4c4,stroke:#a16207,color:#000
    classDef i fill:#ffd6d6,stroke:#b91c1c,color:#000
    classDef d fill:#d6e8ff,stroke:#1f6feb,color:#000
PhaseSeamsWhyBlast radius if delayed
S0 — Identity + SignalSUB-9.2 + SUB-9.3 (close together, NOT serial)The signal carries the identityCAP-2, CAP-4, CAP-5, CAP-7, CAP-9.14 stay partially theoretical
S1 — Isolation + TrustSUB-9.4 + SUB-9.6 (parallel after S0)Both require ActorContext for per-actor scoping"Multi-Tenant Isolation" marketing claim carries legal/contract risk
S2 — AggregationSUB-9.14 (after S0 + S1)Reads the canonical event streamCAP-4 stays GAP; M3 "Learning becomes visible" cannot ship honestly
The one paragraph that matters. Until SUB-9.2 + SUB-9.3 close, every higher capability operates on partial data. Audit cycles will keep catching the gap. Marketing claims will keep outrunning reality. Close S0. Then S1. Then S2. Do not try all three at once. Do not ship higher-CAP surfaces against partial substrate.

3.5 Latency Budgets, Failure Modes, Observability

3.5.1 Latency budgets (steady-state, from ENGINEERING-VIEW.md §4)

HopP50P99Hard ceiling
BFF auth + tenant resolve30 ms100 ms—
Symposium dispatch100 ms500 ms—
First LLM token (streamed)800 ms3 sprovider
First tool action2 s10 smission-dependent
Full mission complete30 s5 mincomplexity tier
RAG recall100 ms500 ms2 s
DecisionMemory write50 ms200 ms1 s
OutcomeEvent publish10 ms100 ms500 ms
DB query20 ms200 ms2 s
JWT validate5 ms30 ms100 ms

If a plane consistently breaches its hard ceiling, it page-alerts. Budget breaches without alerts mean the observability plane (CAP-11) is failing.

3.5.2 Failure modes & degradation

FailureDegradation
BFFMulti-AZ; circuit-break to read-only
SymposiumNew missions queued with capacity bound; reject overflow with retry-after
LLM GatewayPer-provider failover; cached responses where safe
Memory StoreEmpty recall; mission quality flagged in OutcomeEvent; alert
Event BusLocal buffer with at-least-once redelivery on recovery
Mission DBRead-replica failover; writes paused
NousLast-known routing weights served; alert
ManthanExploration paused; main lane unaffected
RLS misconfiguredP0 SECURITY INCIDENT — isolate, audit review, customer notification

3.5.3 Observability commitments (CAP-11, Phase-1 non-optional)

3.6 The Vocabulary Cross-Walk (keystone table)

Every dialect, one row per capability. This table earns the document its keep — it eliminates "which doc is right?" forever.

CAPNameSix-layer spineVF (vision)SOL (execution)Suite (S)MilestoneL2 mini-capAnatomy organSubstrate seam dep
CAP-1Multi-LLM team protocolsLayer 4 — CognitionVF-3 Team CognitionSOL-2 Collaborative ExecutionS2 / S3M1–M2L2.1, L2.2Cortex(S0)
CAP-2Per-agent / entity memoryLayer 3 — MemoryVF-6 Memory (agent subject)SOL-4 MemoryS4 / S6M1–M3L2.5HippocampusSUB-9.2, 9.3
CAP-3Reuse marketplaceLayer 6 — SurfacesVF-8 ReuseSOL-6 Reuse LibraryS11Post-M8L2.11Liver (protein-synthesis lobe) + Marrow(depends on CAP-2)
CAP-4Preferred-path orchestrationLayer 3 + Layer 4VF-7 Preferred PathSOL-5 Preferred PathS4M3–M5L2.4, L2.7, L2.8Subcortex (biased by Endocrine)SUB-9.14 (blocker), 9.2, 9.3
CAP-5Bounded self-evolutionLayer 5VF-10 Governed EvolutionSOL-7 Governed Self-EvolutionS9M6L2.9Reproductive + Musclesdepends on S0 + S1
CAP-6Constant explorationLayer 5VF-9 Safe ExplorationSOL-8 ExplorationS10M7L2.10Reproductive (side-lane)depends on S0
CAP-7Per-user memory & twinLayer 3VF-6 Memory (user subject)SOL-4 MemoryS5 / S6M5L2.6Hippocampus + LimbicSUB-9.4 (for safe scoping)
CAP-8Blueprint sim & ideationLayer 6 (deferred)VF-13 Self-Model(no SOL — proposed)S12Phase 3 / Post-M8L2.12Proprioception(deferred)
CAP-9SUBSTRATE FLOORLayer 1 + Layer 2VF-5 (S0=signal) + VF-11 (constitution) + VF-12 (immune)SOL-0 Substrate + SOL-9 GovernanceS0 / S1All phases—Skeleton + Spine + Heart + Immune + Endocrineitself (S0 → S1 → S2)
CAP-10Economics / cost(cross-cutting)(cross-cutting in VTDM §8.4)SOL-11 Economics / ObservabilityS7All phasesL2.7Metabolism (heat)depends on S0 (cost in events)
CAP-11Observability / SRE(cross-cutting)(cross-cutting in VTDM §8.4)SOL-11 Economics / ObservabilityS0 / S7All phases—Vital signs + Lymphatic (drift)depends on S0 (trace + replay)
CAP-12Data governance / complianceLayer 2 + Layer 5VF-12 Protection / LifecycleSOL-12 Data Lifecycle & ComplianceS1 / S8All phases—Kidneys + Immune memorydepends on S0, S1
CAP-13External integrationLayer 6VF-4 Action (external limb)SOL-10 External IntegrationS11 / adapter planeAll phases—Senses (sensors) + Muscles (adapters)depends on S0 (adapter events)
—(new) ConscienceCross-cutting + Layer 5VF-14 Conscience(no SOL — proposed)(no suite)Post-M8 / long-horizon—Consciencedepends on VF-5 + VF-11
—(new) Mortality / SuccessionCross-cuttingVF-15 Mortality(no SOL — proposed)(no suite)Mid-horizon—Lifecycle awarenessdepends on VF-6 + VF-11
—(new) Species ReproductionLong-horizonVF-16 Species Reproduction(no SOL — long-horizon)(no suite)3–5+ years—Reproductive (cross-instance)depends on VF-10 stable
Suite (S) numbers map to 07-C3-COMPONENT-DESIGN.md; L2.x mini-caps to LEVEL-L2-EXECUTION-ORCHESTRATION-2026-05-13.md; anatomy organs to ANATOMICAL-SYSTEM-SPEC.md; substrate seams to SUBSTRATE-SEQUENCING.md; VF-N to VISION-TOP-DOWN-MAPPING.md; SOL-N to SOLUTION-CAPABILITY-CONTRACTS.md.

How to use this table.


PART 4 — Execution Plan

Distilled from plan_GPT.md. This is the substrate-first delivery plan that turns the design above into an executable platform. Optimised for GPT/Codex-assisted implementation and review, but the workstreams, phases, and gates apply to any executor.

4.1 Delivery Rules (non-negotiable for executors)

RuleMeaning
Start from contractsBefore changing a feature, locate its canonical contract in shared/contracts/ or 08-CONTRACT-SPECS.md.
Close seams, not filesWork items framed around cross-service or intra-service seams, especially Class-A substrate-critical seams.
Preserve existing workRepo may be dirty. Do not revert unrelated edits.
Add proof artifactsEvery implementation task leaves tests, command output, screenshots, replay evidence, or audit evidence.
Prefer narrow slicesA slice closes one verifiable behavior, not partially touches many services.
Fail closedMissing actor / tenant / consent / JWT / governance / schema → reject or quarantine.
Avoid hand mirrorsGenerated or shared contract types replace duplicated hand-written shapes.
Keep claims honestUpdate status docs only when proof exists. Do not promote PARTIAL → DELIVERED based on scaffolding.

4.2 Workstreams

WorkstreamOwnsPrimary docs
WS-A: Substrate contractsActorContext, OutcomeEvent, schemas, fixtures, codegen08-CONTRACT-SPECS.md, SUBSTRATE-SEQUENCING.md
WS-B: Identity, tenant, secretsRLS, JWT, Vault, tenant-safe repositoriesENGINEERING-VIEW.md, HANDSHAKE-INDEX H8 / H12
WS-C: Event fabric and learningNATS subjects, OutcomeRouter, DecisionMemory, path-maturityHANDSHAKE-INDEX H2 / H3, CAPABILITIES.md
WS-D: User memory and twinPrivacyScope, TwinProfile, consent, edit, forget, exportCAPABILITIES.md CAP-7, 06-WORKFLOWS.md W5
WS-E: Governed self-improvementMoveProposal, RollbackRecord, EvolutionApplier, audit, kill switchCAP-5 inventory rows, ENGINEERING-VIEW.md
WS-F: Side-lane explorationSideLaneEnvelope, ObjectiveScore, Manthan bridge, graduationM7 design docs, CAP-6 inventory rows
WS-G: Observability and economicsTraces, replay, metrics, cost attribution, dashboardsMETRICS-BASELINE.md, CAP-10 / CAP-11
WS-H: Documentation and claimsCapability status, marketing reconciliation, roadmap honestyMARKETING-RECONCILIATION.md, CRITICAL-REVIEW.md

4.3 Phase Plan (P0 → P8)

Phase P0 — Architecture Baseline & Work Intake

Goal: Make work executable by agents without losing the architecture thread.

Deliverables:

Exit: every immediate task maps to a seam, contract, capability, and proof artifact. No task described only as "improve X" without testable behavior.

Phase P1 — S0 Substrate: Identity + Signal

Goal: Close SUB-9.2 + SUB-9.3 together.

Scope: ActorContext propagated BFF → Gateway → Symposium → Tool-Bridge → Nous → audit; canonical OutcomeEvent emitted at every mission-step boundary, carrying actor, tenant, trace, route, status, cost, latency, evidence refs, PrivacyScope; producers on canonical NATS subjects; consumers validate with shared schemas and quarantine invalid events.

Seam targets: B5 (actor propagation chain) · G2 / G3 / G16 (gateway actor + learning emit) · H2 (exec → memory audit) · N1 (OutcomeRouter pipeline) · S9 (Symposium learning registry emit).

Proof: contract parity tests (TS + Python) · BFF → Symposium → Gateway integration test carrying same ActorContext · NATS consumer test accepting valid events, quarantining malformed · metric: ActorContext coverage > 99%, OutcomeEvent emission ≥ 1 per mission step.

Exit gate: No higher learning / twin / self-improvement feature can be called complete until this phase is green.

Phase P2 — S1 Substrate: Isolation + Trust

Goal: Close SUB-9.4 + SUB-9.6 after S0 is stable.

Scope: Tenant RLS enforced on tenant-sensitive Postgres tables; Prisma repos run under tenant context or scoped query contracts; cross-tenant reads fail in tests and production; JWT secret resolution centralised through Vault (or decided secret manager); rotation runbook and coverage exist.

Seam targets: H8 (governance + system-properties cross-cut) · H12 / G15 (gateway / Express JWT shared secret) · B2 (route → service → repo tenant plumbing) · B4 (privacy guard chain).

Proof: cross-tenant test harness for all affected repo paths · JWT rotation test with old + new keys · negative tests for missing tenant / invalid ActorContext · security note documenting fail-closed behaviour.

Exit gate: CAP-7 twin and CAP-4 personalisation cannot ship to users until tenant isolation is proven.

Phase P3 — Learning Loop & Preferred Path

Goal: Turn canonical events into route learning.

Scope: OutcomeRouter subscribes to canonical outcome subjects · DecisionMemory write path records scoped outcomes · path-maturity aggregation reads OutcomeEvent + DecisionMemory · route choice consumes path maturity before selecting agent / model / tool / protocol · why-this-route rationale available to UI and audit / replay.

Seam targets: H3 (memory → decision read-back) · N3 (bandit strategy) · N4 (route-choice contract) · B3 (preference consult) · W3 (recommendation with explanation).

Proof: fixture event updates DecisionMemory + changes a subsequent routing score · route decision returns rationale with evidence refs · replay demonstrates event → memory → route chain · metrics: DecisionMemory write rate, recall hit rate, route-rationale coverage.

Exit gate: CAP-4 remains GAP / PARTIAL until route choice demonstrably changes from scoped prior evidence.

Phase P4 — User Memory & Digital Twin

Goal: Make per-user memory inspectable, editable, consented, forgettable.

Scope: PrivacyScope enforced on memory writes + reads · TwinProfile / TwinAttribute APIs use canonical contracts · user can view / edit / export / forget twin data · forget cascades through twin / memory / eligible traces while preserving audit policy · twin signals influence route choice through P3.

Seam targets: W5 (twin audit / edit / forget) · CAP-7 H2 closure · B4 (privacy guard chain) · N6 (twin pipeline).

Proof: twin API contract tests · consent-axis tests for allowed + blocked memory reuse · forget cascade test with before / after evidence · UI / API proof for inspect / edit / export / delete.

Exit gate: CAP-7 cannot be claimed delivered until interaction → memory → twin → route influence is closed.

Phase P5 — Governed Self-Improvement

Goal: Replace status-flip self-improvement with real, audited apply + rollback.

Scope: MoveProposal + RollbackRecord canonical and schema-validated · EvolutionApplier supports dry-run, apply, rollback, idempotency, audit emission · protected paths and Tier-Forbidden floor enforced before side effects · kill switch blocks all mutation entrypoints · RegressionWatcher consumes real RegressionSignal producers.

Seam targets: H5 (L4 mutation loop e2e) · B8 (improvements inbox → applier) · N5 (regression-watcher signal chain) · M2 (mutator dispatch) · SUB-5.13 (EvolutionApplier) · SUB-5.14 (platform kill switch) · SUB-5.15 (replayable rollback proof) · SUB-5.17 (EvolutionGovernanceEvent) · SUB-5.19 (authoritative four-tier resolver).

Proof: dry-run proof for a proposal · apply proof showing real file / config / doc change · rollback proof showing byte-identical pre-state or equivalent invariant · audit chain entries for submit / approve / apply / rollback / kill-switch · regression signal triggers rollback in a controlled test.

Exit gate: CAP-5 remains DEAD-WIRE until apply applies and rollback rolls back.

Phase P6 — Side-Lane Exploration & Graduation

Goal: Run isolated experiments without contaminating main-lane learning.

Scope: SideLaneEnvelope wraps OutcomeEvent without changing inner contract · exploration budget enforced from GovernanceState · Manthan bridge emits typed side-lane outcomes · side-lane bandit state isolated from main-lane state · winning experiments graduate by creating MoveProposal records.

Seam targets: H6 (side-lane invocation) · N7 (federation router → publisher) · CAP-6 ObjectiveScore + SideLaneEnvelope rows · MoveProposal v1 experiment-graduation bridge.

Proof: side-lane event routed separately from main lane · budget exhaustion blocks additional exploration · winning side-lane outcome creates MoveProposal · main-lane route weights unchanged until governance approval.

Exit gate: CAP-6 remains CONTRACT-ONLY until a production caller + consumer exist.

Phase P7 — Governance Control Plane

Goal: Make governance state operator-editable without code changes.

Scope: GovernanceState composes direction, current state, tiers, protected paths, exploration budget · governance loader validates + hot-reloads state · runtime consumers invalidate caches on governance update events · governance UI supports direction / current / tier / budget / audit views · RBAC limits edits to platform admins, org board, named owners.

Proof: invalid governance file fails closed · valid edit hot-reloads + changes runtime behaviour · unauthorised edit rejected · audit log records who changed what + what version became active.

Exit gate: Phase 3 cannot be claimed honest until governance controls are runtime-active.

Phase P8 — Productisation, Metrics, Claim Reconciliation

Goal: Tie architecture to measurable business + operational claims.

Scope: per-plane vitality metrics from METRICS-BASELINE.md · cost attribution by tenant / mission class / model / route · dashboards for trace coverage, event drop rate, RLS coverage, memory write rate, route-rationale coverage, rollback proof · update MARKETING-RECONCILIATION.md when claims become supported · keep CAP status current only after independent proof.

Proof: dashboard / metric export per active plane · self-cert vs auditor delta reported per compliance cycle · marketing claims table maps each claim to a metric or removes the claim.

4.4 First 10 Task Slices (immediate executable backlog)

Execute in order unless a dependency changes.

#SliceExpected output
1Inventory current ActorContext implementations + propagation gapsGap report: file paths, callers, missing hops, tests to add
2Inventory current OutcomeEvent producers, subjects, consumersSubject map, schema drift list, dead-wire emitters
3Create or normalise shared ActorContext + OutcomeEvent fixturesShared examples + parity tests
4Wire BFF dispatch path to carry ActorContext through mission executionPassing integration test for BFF → Symposium
5Wire Gateway learning event connection in lifecycleGateway emits canonical event in test / runtime path
6Normalise Symposium outcome emission to canonical contractDuplicate event shapes removed or wrapped
7Bring Nous OutcomeRouter subscriber online on canonical subjectsValid event writes, invalid event quarantines
8Add cross-tenant read harness for hottest repository pathsFailing-before / passing-after proof
9Draft JWT resolution ADR: Vault vs KMSDecision-ready ADR with migration + rotation plan
10Implement route-rationale contract stub behind current route choiceRoute choice returns evidence-ready rationale even before full path-maturity

4.5 Acceptance Gates per Capability

CapabilityMinimum honest gate
CAP-1 Team protocolsProtocol execution emits canonical, attributable OutcomeEvents
CAP-2 Entity / agent memoryEvents link to canonical entity IDs and are retrievable by entity with tenant scope
CAP-3 Reuse marketplaceReusePullEvent exists; promotion / demotion uses evidence, not manual status
CAP-4 Preferred pathRoute choice demonstrably changes based on scoped historical outcomes + returns rationale
CAP-5 Self-evolutionApply + rollback perform real side effects with proof + audit
CAP-6 ExplorationSide-lane caller, consumer, budget, graduation path are live
CAP-7 Digital twinUser can inspect / edit / export / forget + see route influence from twin data
CAP-8 Blueprint simWorkflow sim or side-lane what-if has typed behaviour profile + measured comparison
CAP-9 SubstrateS0 + S1 closed; S2 live for path-maturity
CAP-10 EconomicsMission + model cost attribution per tenant + route
CAP-11 Observability100% mission trace coverage + replay for canonical events
CAP-12 ComplianceRLS, consent, audit immutability, deletion / export paths tested
CAP-13 IntegrationExternal adapters use typed contracts, health checks, drift detection

4.6 Operating Cadence

CadenceActivityOutput
DailySlice executionPR or patch + proof artifact
Twice weeklySeam reviewUpdated seam status + blockers
WeeklyMetrics + capability honesty reviewVitality deltas, self-cert vs audit delta
Bi-weeklyArchitecture decision reviewADRs for open decisions
MonthlyExec / product claim reviewUpdated roadmap + marketing reconciliation
QuarterlyFull corpus refresh aligned to CAPABILITY-PHASE-SUMMARYCross-walk table refresh, KPI target revision

4.7 Immediate Next Step

Start Phase P1 with two read-only inventory tasks (slices #1 + #2 above):

1. Map every current ActorContext implementation and propagation hop.
2. Map every current OutcomeEvent producer, NATS subject, consumer, and schema variant.

Do not begin path-maturity, twin influence, or self-improvement-apply work until this map exists. Those systems depend on scoped canonical evidence.


PART 5 — Milestone Progression

MilestoneUser-felt capabilityMain architectural additionLane(s)State (2026-05-13)
M1Trace + replayCanonical runtime event envelope startB + CShipped
M2Visible collaborationSwarm / handoff attribution substrateA + CMostly shipped
M3Learning feedOutcomeRouter + DecisionMemory visibleCPartly shipped
M4Durable correctionPer-user identity + tenant safety as runtime boundariesB + CIn progress
M5Digital twinTwin aggregation, PrivacyScope, editable personalisationA + B + CLane epics done, audited
M6Governed self-improvementProposal / rollback domain, regression watcher, TierResolverA + B + CActive
M7Safe explorationSideLaneEnvelope, federation router, budget, Manthan bridgeB + CPlanned, contracts frozen
M8Governance without codeGovernanceState, hot-reload, RBAC, audit UIA + B + CPlanned, YAMLs frozen

Stance: treat M1–M5 as the fixed base, M6 as the active extension, M7 + M8 as bounded additions — not redesigns.


PART 6 — Operations: KPIs, Risks, Open Decisions

6.1 KPI Baseline (replaces alive / partial / dead)

(See METRICS-BASELINE.md for the full per-plane tables.)

Every plane has a throughput, quality, cost, and latency metric. A plane without all four is unmonitored. Anchor targets:

6.2 Risk Register

From CRITICAL-REVIEW.md + MARKETING-RECONCILIATION.md + plan_GPT.md §7:

RiskClassMitigation owner / approach
Surface-first delivery repeatsBEnforce S0 / S1 gates before status upgrades
Marketing claims 6–12 months ahead of reality (SOC 2, Multi-Tenant Isolation, Self-Learning)L / CMarketing + Legal + Eng (MARKETING-RECONCILIATION.md)
Contract drift across TS / PythonCShared schemas, codegen, fixtures, parity tests
Tenant leakageL (P0)RLS harness, fail-closed middleware, negative tests
Self-improvement remains status-onlyC + RPrioritise EvolutionApplier + rollback proof
Event bus dead wires persistRCanonical subject map + consumer lifecycle tests
Metrics become vanity metricsSPair throughput with quality, cost, latency
Marketing outruns engineeringL + RMarketing claim table tied to proof artifacts
Audit cycles keep catching surface-first / substrate-back-fill shortcutsBEng leads — fix the incentive (this is the recurring 2026-04 → 2026-05 pattern)
No explicit architecture-integrity ownerSPlatform leadership — assign
Pricing / packaging not in any docSPM + Exec
Defensible moat vs LangChain / Cursor / Devin / OpenAI AssistantsBStrategy — moat is governance + memory + self-evolution if it ships before commoditisation
Vocabulary fragmentation (Phase / M / CON-XXXX)NCross-walk table (§3.6) is the standing answer
No falsifiability protocolSOpen — add OPEN: markers; corpus contradictions enter via CRITICAL-REVIEW cadence

6.3 Open Architectural Decisions (ADRs to write)

DecisionCurrent stanceTrigger to decide
Vault vs cloud KMS for long-term secret managementVault incumbent; KMS lower ops costBefore hardening SUB-9.6
NATS vs Kafka beyond M8 scaleNATS current + fast; Kafka stronger orderingReplay-ordering load becomes dominant
One memory store vs domain-specific (DecisionMemory ↔ AgentDNA ↔ Twin)Currently mixed; prefer one contract + domain-specific indexesBefore splitting services
EvolutionApplier trust zoneLikely needs Zone 2.5 (stricter audit)M6 hardening pass
Replay retentionValuable but expensive; needs retention classes by tenant + data typeStorage budget review
Multi-region trigger criteriaSingle region (eu-west-2) until customer with $X ARR requires itCustomer demand signal
Org-level twinDeferred — do not build until per-user twin + consent provenPer-user CAP-7 stable
Full CAP-3 marketplacePost-M8 product surfaceCore loops hold + ≥ N blocks, ≥ M pulls/week
Full CAP-8 blueprint simulationShould not outrun OutcomeEvent + BehaviorProfile + side-lane evidenceM7 evidence base accrues

PART 7 — End-State Architecture: Architecture Definition of Done

By the end of M8, the architecture is real, not aspirational, when:

1. A user can run work and inspect execution
2. The platform records outcomes canonically (ActorContext + OutcomeEvent everywhere)
3. A mission can be replayed from canonical events with identity and tenant scope intact
4. A routing decision can explain which evidence changed the choice
5. A twin field can be traced back to source events and forgotten by policy
6. The platform can propose bounded improvements with rollback (dry-run, approved, applied, rolled back, audited)
7. A side-lane experiment cannot contaminate main-lane learning until it graduates through governance
8. A cross-tenant read fails in tests and production, not just by convention
9. Governance state can be edited without code changes
10. The Tier-Forbidden floor remains immutable
11. Every marketing claim about learning, isolation, governance, self-improvement maps to a measured platform signal

This is the correct M8 definition of bounded Level-3 autonomy for this platform.

Until then, Conduir has meaningful substrate and a strong design, but not yet the full self-evolving platform promise.


PART 8 — Maintenance & Cross-Reference Index

8.1 Maintenance Contract

8.2 What This Doc Supersedes / Defers To

This docSupersedesDefers to
Top-level architecture + delivery plan + charterthe five separate drafts (_CLAUDE_2.md, TOP-LEVEL-ARCHITECTURE-DESIGN.md, TOP-LEVEL-DESIGN.md, plan_GPT.md, GEMINI.md)08-CONTRACT-SPECS.md for wire-level truth; 09-FINAL-C3-ARCHITECTURE-DESIGN.md for current C3 baseline; capability inventory for sub-cap detail
Architectural spine (six layers)the un-ordered listing in CAPABILITY-INVENTORY-2026-05-14.md §5.1source inventory for sub-cap detail
Cross-walk table (§3.6)every doc-local translation tablesource dialect docs for each column
Operational charter (Part 0.5)the standalone GEMINI.md charter (kept for in-repo agent context)this doc for the why behind each rule

8.3 Conduir-evolution finalised corpus (this workspace)

DocPurpose
00-CONDUIR-MASTER-ARCHITECTURE.md (this doc)Single compiled top-level architecture + delivery plan
ARCHITECTURE.md (ARCHITECTURE.md)Stakeholder anatomical view
ENGINEERING-VIEW.md (ENGINEERING-VIEW.md)Engineering counterpart (containers, contracts, zones, latency, failure)
CAPABILITIES.md (CAPABILITIES.md)Finalised capability inventory (CAP-9 floor, CAP-10..CAP-13 added)
SUBSTRATE-SEQUENCING.md (SUBSTRATE-SEQUENCING.md)Critical path S0 → S1 → S2
NON-GOALS.md (NON-GOALS.md)Explicit refusals
MARKETING-RECONCILIATION.md (MARKETING-RECONCILIATION.md)Gap table + interim language
METRICS-BASELINE.md (METRICS-BASELINE.md)Per-plane KPIs
CRITICAL-REVIEW.md (CRITICAL-REVIEW.md)2026-05-16 critical review
TOP-LEVEL-DESIGN.md · TOP-LEVEL-ARCHITECTURE-DESIGN.md · _CLAUDE_2.md · plan_GPT.md · GEMINI.mdSource drafts merged into this document — retained for provenance
LIVING-HUMAN-AI-VISION.mdVision counterpart — every human body system mapped to AI equivalent, with critical treatment of liver, excretory, reproductive, lymphatic

8.4 Living-system source of truth (maestro-platform/docs/living-system/)

DocPurpose
00-EXECUTIVE-ONE-PAGER.md1-page exec framing
01-VISION-MISSION.mdVision + mission
01.5-CAPABILITIES.mdEight product capabilities, narrative
02-ROADMAP.mdMilestone roadmap
03-WAVES.mdLane ownership + weekly slices
04-COMPONENTS-STATUS.mdCurrent container status + handshakes
06-WORKFLOWS.mdWorkflow-by-workflow evolution
07-C3-COMPONENT-DESIGN.mdSuite-level implementation control plane
08-CONTRACT-SPECS.mdCanonical wire-level contracts
09-FINAL-C3-ARCHITECTURE-DESIGN.mdCurrent C3 baseline
10-C3-C4-CAPABILITY-DRILLDOWN.mdC3 → C4 capability mapping
11-L2-EXECUTION-ORCHESTRATION-MINI-CAPABILITIES.mdL2 execution detail
CAPABILITY-INVENTORY-2026-05-14.mdCapability rows of record
CAPABILITY-PHASE-SUMMARY-2026-05-14.mdWhat lands when
HANDSHAKE-INDEX-2026-05-13.md~85 service handshakes catalogue
TIMELINE-REWORK-2026-05-12.mdCurrent delivery reality vs. original calendar
LEVEL-L2-EXECUTION-ORCHESTRATION-2026-05-13.mdL2 orchestration design
AGENT-MATURITY-MODEL-2026-05-14.mdAutonomy L1–L5 × trust tier 0–3
tickets/CLEAN-ROOM-HARVEST-M6.md / -M7.md / -M8.mdPlanning baselines

End of compiled master architecture. When this document supersedes its four source drafts, retain the drafts for provenance — they are part of the audit trail of how the architecture was reached.

Continue exploring