Conduir - Solution-Level Capability Contracts
Date: 2026-05-16
Status: Draft solution architecture contract baseline
Purpose: Define major capability/function boundaries so each solution area can be built and validated independently while still composing into the full Conduir ecosystem.
This is the layer above ANATOMICAL-SYSTEM-SPEC.md.
ANATOMICAL-SYSTEM-SPEC.mddefines organ/component membranes.- This document defines major capability/function boundaries.
CAPABILITIES.mddefines capability inventory and status.SUBSTRATE-SEQUENCING.mddefines the critical substrate closure order.- Wire-level truth remains
maestro-platform/docs/living-system/08-CONTRACT-SPECS.md.
1. Design Stance
At solution level, Conduir is not a list of services. It is a set of major functions that exchange explicit business and technical contracts:
Mission Experience
-> Collaborative Execution
-> Canonical Evidence
-> Memory and Twin
-> Preferred Path
-> Governed Improvement
-> Safe Exploration
-> Governance, Compliance, Economics, ObservabilityThe key question at this level is:
Can a whole capability work in isolation, publish its contract, and then plug into the rest of the ecosystem without hidden coupling?
If the answer is no, the boundary is not mature enough.
2. Solution Capability Map
| ID | Major capability/function | Body equivalent | Capability rows | Primary owner | Current status |
|---|---|---|---|---|---|
| SOL-0 | Substrate and trust foundation | Skeleton + immune base | CAP-9, CAP-11, CAP-12 | Platform/Security/SRE | Partial, substrate-critical seams open |
| SOL-1 | Mission experience and intake | Skin + mouth + senses | CAP-1 surface, CAP-13 intake, CAP-17 IntentContract (VF-1 primary; PATH-2 mint CON-4608) | Surface/Platform | Partial |
| SOL-2 | Collaborative execution and cognition | Cortex + spinal command | CAP-1 | Cognition | Partial |
| SOL-3 | Canonical evidence and learning bus | Cardiovascular + spinal cord | CAP-2/CAP-4/CAP-9 substrate | Platform/Learning | Partial, H2/H3 gaps |
| SOL-4 | Entity, agent, and user memory | Hippocampus | CAP-2, CAP-7 | Memory platform | Partial/gap |
| SOL-5 | Preferred-path orchestration | Basal ganglia + muscle memory | CAP-4, SUB-9.14 | Learning/Routing | Gap |
| SOL-6 | Reuse and strategic asset library | Liver protein synthesis + marrow library | CAP-3 | Templates/Knowledge | Partial - durable backend spine, product views/UI open |
| SOL-7 | Governed self-evolution | Reproductive + muscles | CAP-5 | Evolution/Governance | Dead-wire |
| SOL-8 | Exploration and simulation | Reproductive side-lane + proprioception | CAP-6, CAP-8 | Exploration/Blueprint | Contract-only/deferred |
| SOL-9 | Governance control plane | Endocrine | CAP-5, CAP-9, CAP-12 | Governance platform | Partial |
| SOL-10 | External integration fabric | Skin sensors + muscles | CAP-13 | Integration/Gateway | Gap/partial |
| SOL-11 | Economics and observability | Metabolism + vital signs | CAP-10, CAP-11 | FinOps/SRE | Partial/gap |
| SOL-12 | Data lifecycle and compliance | Kidneys + audit immune memory | CAP-12, CAP-7 | Compliance/Data | Partial/orphan |
Important framing: SOL-0 is the floor. SOL-9, SOL-11, and SOL-12 are cross-cutting control functions. SOL-1 through SOL-8 are the user-visible/product-learning functions.
3. Solution-Level Anatomy
flowchart TB
SOL0["SOL-0 Substrate and Trust Foundation<br/>identity, tenant, event fabric, storage, audit"]
SOL1["SOL-1 Mission Experience and Intake<br/>user/API/MCP entry"]
SOL2["SOL-2 Collaborative Execution<br/>Symposium, team protocols, LLM/tool planning"]
SOL3["SOL-3 Canonical Evidence<br/>OutcomeEvent, trace, replay, learning bus"]
SOL4["SOL-4 Memory and Twin<br/>agent/entity memory, user twin"]
SOL5["SOL-5 Preferred Path<br/>route maturity, rationale, personalization"]
SOL6["SOL-6 Reuse Library<br/>blocks, templates, provenance"]
SOL7["SOL-7 Governed Self-Evolution<br/>proposal, apply, rollback"]
SOL8["SOL-8 Exploration and Simulation<br/>side-lanes, what-if, blueprint"]
SOL9["SOL-9 Governance Control<br/>tiers, budgets, kill switch, policy"]
SOL10["SOL-10 External Integration<br/>adapters, MCP, provider/tool boundaries"]
SOL11["SOL-11 Economics and Observability<br/>costs, SLOs, vitality"]
SOL12["SOL-12 Data Lifecycle and Compliance<br/>retention, forget, lineage"]
SOL1 --> SOL2
SOL2 --> SOL3
SOL3 --> SOL4
SOL4 --> SOL5
SOL5 --> SOL2
SOL2 --> SOL6
SOL6 --> SOL2
SOL3 --> SOL7
SOL8 --> SOL7
SOL7 --> SOL2
SOL9 -. governs .-> SOL1
SOL9 -. governs .-> SOL2
SOL9 -. governs .-> SOL5
SOL9 -. governs .-> SOL7
SOL9 -. governs .-> SOL8
SOL10 --> SOL1
SOL10 --> SOL2
SOL10 --> SOL7
SOL11 -. observes .-> SOL1
SOL11 -. observes .-> SOL2
SOL11 -. observes .-> SOL3
SOL11 -. observes .-> SOL7
SOL12 -. constrains .-> SOL3
SOL12 -. constrains .-> SOL4
SOL12 -. constrains .-> SOL6
SOL0 === SOL1
SOL0 === SOL2
SOL0 === SOL3
SOL0 === SOL4
SOL0 === SOL5
SOL0 === SOL6
SOL0 === SOL7
SOL0 === SOL8
SOL0 === SOL9
SOL0 === SOL10
SOL0 === SOL11
SOL0 === SOL124. Capability Boundary Standard
Every major capability must publish a solution contract with this shape:
| Field | Meaning |
|---|---|
| Capability ID | Stable solution-level ID, e.g. SOL-5 |
| Owns | Decisions, data, and behavior that belong exclusively to this capability |
| Does not own | Explicit boundaries to avoid hidden coupling |
| Consumes | Contracts required from upstream capabilities |
| Produces | Contracts emitted to downstream capabilities |
| Governing policy | GovernanceState, PrivacyScope, budget, tier, or retention policy that constrains it |
| Data authority | The source of truth this capability may read/write |
| Side effects | Side effects it is allowed to perform |
| Failure contract | What happens when the capability is unavailable or returns invalid output |
| Readiness gate | What proves it can run in isolation |
| Ecosystem gate | What proves it composes with the rest of the platform |
Rule: a capability is not solution-ready until its produced contracts can be consumed by the next capability without translation, hand-patching, or undocumented assumptions.
5. Capability Contracts
5.0 — Ownership of the Constitutional Surface (disambiguation note)
The "Tier-Forbidden floor" and "protected paths" are referenced across SOL-0, SOL-7, and SOL-9. To eliminate ambiguity:
| Aspect | Owner | Reason |
|---|---|---|
| Enforcement of the Tier-Forbidden floor — refusing any mutation that crosses it | SOL-0 | The substrate is what physically refuses the write; this is constitutional code, not policy text |
| Authoring the protected-paths list — declaring what is on the floor | SOL-9 | Humans (org-board) edit governance YAML; SOL-0 reads + enforces |
| Respecting the floor — never proposing mutation across it | SOL-7 (and every actuating SOL) | Consumes the boundary; never tries to violate; AuthZ check before any apply |
So: SOL-9 declares, SOL-0 enforces, SOL-7 honours. Three roles, one floor.
SOL-0 - Substrate and Trust Foundation
| Field | Contract |
|---|---|
| Owns | ActorContext, tenant context, RLS, JWT/secret resolution, canonical event fabric, audit chain, trace/replay substrate, storage primitives, Tier-Forbidden floor enforcement (refusing constitutional mutations) |
| Does not own | Product-specific learning logic, agent routing policy, UI workflows, authoring of the protected-paths list (that lives in SOL-9) |
| Consumes | GovernanceState (which contains the protected-paths list), retention policy, deployment config |
| Produces | ActorContext, OutcomeEvent transport, trace_id, audit append API, RLS enforcement, replay substrate, constitutional-mutation rejection events |
| Governing policy | Floor enforcement responsibilities, security policy, retention policy |
| Data authority | Postgres/RLS, NATS, Vault, audit store, object storage |
| Side effects | Reject/quarantine invalid calls, enforce RLS, rotate secrets, append audit, reject any write that crosses the protected-paths list (regardless of caller authority claim) |
| Failure contract | Fail closed; substrate failure blocks higher capability claims |
| Readiness gate | S0 closed: ActorContext + OutcomeEvent; S1 closed: RLS + JWT |
| Ecosystem gate | One mission crosses all core services with same ActorContext and replayable OutcomeEvents |
Hard boundary: no higher capability may create its own identity, event, audit, or tenant-isolation mechanism. The Tier-Forbidden floor is enforced here, never delegated.
SOL-1 - Mission Experience and Intake
| Field | Contract |
|---|---|
| Owns | User mission entry, mission lifecycle surface, intake validation UX, trace/replay presentation, HITL interaction |
| Does not own | Agent reasoning, route selection, memory writes, provider calls |
| Consumes | ActorContext, GovernanceState for allowed actions, adapter availability from SOL-10 |
| Produces | MissionRequest, IngestedRequest, MissionLifecycleEvent, HITL approval/rejection events |
| Governing policy | AuthN/Z, tenant role, rate limits, mission size limits |
| Data authority | Mission lifecycle rows, UI state, SSE stream state |
| Side effects | Create mission, submit user approval, display results |
| Failure contract | Invalid intake rejects before execution; HITL timeout follows governance policy |
| Readiness gate | Can accept a mission fixture, validate identity, create mission state, emit intake event |
| Ecosystem gate | Mission flows into SOL-2 and returns trace/replay without direct coupling to execution internals |
Boundary rule: SOL-1 presents and validates. It does not decide the execution route or write learning memory.
SOL-2 - Collaborative Execution and Cognition
| Field | Contract |
|---|---|
| Owns | Team assembly, protocol execution, planning, deliberation, agent handoffs, tool/model selection request |
| Does not own | Canonical memory storage, governance policy authoring, long-term route scoring, raw provider integrations |
| Consumes | NormalisedMission, RouteRationale, MemoryRecallResult, GovernanceState, LLMResponse, ToolResult |
| Produces | CognitionPlan, ProtocolEvent, ToolInvocation, LLMRequest, OutcomeEvent for cognition steps |
| Governing policy | Autonomy level, trust tier, HITL requirement, budget envelope |
| Data authority | Mission execution state, short-lived agent session state |
| Side effects | Calls SOL-10 adapters via ToolInvocation; requests LLM calls through Gateway |
| Failure contract | Deadlock/low confidence escalates to HITL or fallback route with explicit rationale |
| Readiness gate | Can execute a mission against mocked memory, route, LLM, and tools using only contracts |
| Ecosystem gate | Emits canonical evidence that SOL-3 can consume and SOL-4/SOL-5 can learn from |
Boundary rule: SOL-2 is the brain for a mission, not the memory, not the policy source, and not the tool itself.
SOL-3 - Canonical Evidence and Learning Bus
| Field | Contract |
|---|---|
| Owns | OutcomeEvent acceptance, validation, routing, quarantine, replay stream, learning event federation |
| Does not own | The business meaning of memory, twin inference, route policy, or improvement apply |
| Consumes | OutcomeEvent, trace_id, ActorContext, service health signals |
| Produces | Validated event stream, quarantined-event records, replay index, learning-write commands |
| Governing policy | Schema version policy, privacy policy, retention class, audit policy |
| Data authority | NATS subject catalogue, event quarantine, replay index |
| Side effects | Quarantine malformed events; route valid events to memory, audit, metrics, drift surveillance |
| Failure contract | Invalid event never reaches memory; consumer down means local buffering or DLQ |
| Readiness gate | Accepts canonical event fixtures and rejects drift fixtures |
| Ecosystem gate | A downstream SOL-4 memory write and SOL-11 metric can be produced from the same event |
Boundary rule: every learning claim begins here. If SOL-3 did not validate it, no downstream capability should treat it as evidence.
SOL-4 - Entity, Agent, and User Memory
| Field | Contract |
|---|---|
| Owns | DecisionMemory, AgentDNA, per-entity memory, user twin attributes, consented recall |
| Does not own | Route selection algorithm, raw event transport, user-facing mission UI |
| Consumes | Validated OutcomeEvents, DecisionMemoryWrite, TwinAttributeCandidate, PrivacyScope, ForgetEvent |
| Produces | MemoryRecallResult, TwinProfile, TwinAttribute, AgentProfile, MemoryLineage |
| Governing policy | PrivacyScope, tenant RLS, retention and forget policy |
| Data authority | Memory store, vector indexes, twin store, AgentDNA lineage store |
| Side effects | Write/update memory records, update twin fields, erase eligible records |
| Failure contract | Recall returns empty/degraded with explicit signal; write failure flags mission evidence |
| Readiness gate | Can prove CAP-2 vs CAP-7 subject separation with fixtures |
| Ecosystem gate | SOL-5 can consume recall/twin outputs to change route rationale without cross-tenant leak |
Hard boundary: user twin data must not be written into agent memory; agent learning must not become user preference without consent.
SOL-5 - Preferred-Path Orchestration
| Field | Contract |
|---|---|
| Owns | Path maturity, route scoring, rationale generation, fallback route policy, personalization application |
| Does not own | Mission execution, memory storage, agent internals, governance policy values |
| Consumes | MemoryRecallResult, TwinProfile, historical OutcomeEvents, budget envelope, GovernanceState |
| Produces | RouteRationale, RouteDecision, PathMaturityScore, route alternatives |
| Governing policy | Exploration budget, cost budget, autonomy level, trust tier |
| Data authority | Path-maturity tables/indexes and route-score cache |
| Side effects | Updates route scores from evidence; returns preferred route to SOL-2 |
| Failure contract | If unavailable, SOL-2 uses explicit safe default and emits fallback evidence |
| Readiness gate | Given fixtures, route score changes after positive/negative outcome evidence |
| Ecosystem gate | A user correction in SOL-1/SOL-4 changes a later SOL-2 route with explainable rationale |
Boundary rule: SOL-5 recommends. SOL-2 executes. SOL-9 governs allowable autonomy.
SOL-6 - Reuse and Strategic Asset Library
| Field | Contract |
|---|---|
| Owns | Reusable blocks, templates, scaffolds, agent configurations, provenance, promotion/demotion lifecycle |
| Does not own | Mission-specific execution, raw memory storage, autonomous apply |
| Consumes | ArtifactCandidate, ReusePullEvent, TemplateEfficacyEvent, OutcomeEvent evidence |
| Produces | ReusableAsset, AssetProvenance, PromotionDecision, RetirementDecision, ReusePullEvent, ReuseMissEvent |
| Governing policy | Promotion thresholds, tenant visibility, licensing/compliance rules |
| Data authority | Canonical asset/version catalogue, exact promotion bindings, version-scoped grants, operational provenance projections |
| Side effects | Activate only approval-bound catalogue versions; serve permitted asset snapshots to SOL-2; emit advisory retirement signals |
| Failure contract | If library unavailable, SOL-2 executes from scratch and emits reuse-miss evidence |
| Readiness gate | Pull, provenance, and efficacy events exist for one block type |
| Ecosystem gate | SOL-2 can pull a block and SOL-3/SOL-4 can record whether it worked |
Boundary rule: SOL-6 supplies reusable starting points. Catalogue activation applies an explicit,
asset/version-bound approval whose product evidence and independent approver are attested by the
product adapter and revalidated by the canonical service; it does not silently mutate mission
execution or merge production code. Retirement remains advisory until the external lifecycle
authority applies it.
SOL-7 - Governed Self-Evolution
| Field | Contract |
|---|---|
| Owns | MoveProposal lifecycle, approval state, EvolutionApplier handoff, RollbackRecord, mutation audit |
| Does not own | Governance policy authoring, side-lane experiment execution, ordinary mission execution |
| Consumes | MoveProposal, ObjectiveScore, RegressionSignal, GovernanceState, RollbackRecord |
| Produces | EvolutionGovernanceEvent, MoveAppliedEvent, MoveRolledBackEvent, updated proposal status |
| Governing policy | Tier resolver, protected paths, HITL approval, kill switch |
| Data authority | Proposal DB, rollback records, evolution audit chain |
| Side effects | Dry-run, apply, rollback approved bounded changes |
| Failure contract | No rollback proof means no apply; protected path means reject; regression means rollback/pause |
| Readiness gate | Apply and rollback work against a harmless fixture with byte-identical proof |
| Ecosystem gate | A SOL-8 experiment or SOL-5 learning gap can become an approved, applied, audited change |
Hard boundary: SOL-7 may never mutate identity, audit, governance, or tenant isolation machinery through AI-driven apply.
SOL-8 - Exploration and Simulation
| Field | Contract |
|---|---|
| Owns | Side-lane experiments, experiment isolation, ObjectiveScore comparison, simulation/blueprint proposals |
| Does not own | Production route state, governance approval, final apply |
| Consumes | ExperimentRequest, SideLaneEnvelope, historical replay/evidence, GovernanceState budget |
| Produces | ExperimentResult, ObjectiveScore, SideLaneOutcome, ExperimentGraduationProposal |
| Governing policy | Exploration budget, tenant consent, isolation policy |
| Data authority | Side-lane state, experiment run records, simulation snapshots |
| Side effects | Run isolated alternatives; never contaminate main-lane state before graduation |
| Failure contract | Budget exhausted pauses experiments; unsafe experiment quarantined; no direct production mutation |
| Readiness gate | One experiment runs side-lane and produces ObjectiveScore without changing main route weights |
| Ecosystem gate | Winning experiment creates a MoveProposal for SOL-7 instead of bypassing governance |
Boundary rule: SOL-8 explores. SOL-7 graduates. SOL-9 governs. Main-lane state is protected until approval.
SOL-9 - Governance Control Plane
| Field | Contract |
|---|---|
| Owns | Direction, current state, tiers, authoring of the protected-paths list (enforcement is SOL-0's), autonomy policy, budgets, kill switch |
| Does not own | Business execution, memory contents, side-lane implementation, enforcement of the floor at runtime (SOL-0 does this) |
| Consumes | Human governance edits, audit evidence, drift signals, compliance constraints |
| Produces | GovernanceState (carries protected-paths list), GovernanceUpdate, KillSignal, PolicyDecision |
| Governing policy | Zone 4 access, RBAC, dual-control, immutable audit |
| Data authority | Governance config store, governance audit chain |
| Side effects | Change runtime policy, pause mutation, adjust budgets, alter approval requirements |
| Failure contract | Invalid governance state rejected; last-known-good remains active; unauthorized edit is P0 |
| Readiness gate | Valid and invalid policy fixtures alter or fail runtime behavior predictably |
| Ecosystem gate | A governance change propagates to SOL-2/SOL-5/SOL-7/SOL-8 without code deploy |
Hard boundary: governance can bias all capabilities, but only humans in authorized roles can mutate governance state. The floor is declared here; enforced by SOL-0; honoured by every actuating SOL.
SOL-10 - External Integration Fabric
| Field | Contract |
|---|---|
| Owns | Adapter contracts, tool/provider health, MCP/tool invocation normalization, external system drift detection |
| Does not own | Mission planning, tenant policy, memory semantics |
| Consumes | ToolInvocation, LLMRequest, adapter config, GovernanceState allow-list |
| Produces | ToolResult, LLMResponse, AdapterHealth, NormalisedToolOutput |
| Governing policy | Adapter allow-list, credential scope, provider privacy policy, budget |
| Data authority | Adapter registry, health state, credential references |
| Side effects | Calls external APIs/tools/providers |
| Failure contract | Adapter outage returns explicit failure; unsafe output routes to SOL-3/SOL-12/SOL-4 only after sanitization |
| Readiness gate | Adapter fixture can run in dry-run and produce canonical result |
| Ecosystem gate | SOL-2 can swap adapters without changing its own planning contract |
Boundary rule: external systems are plug-ins, not trusted organs. All outputs must be normalized and sanitized.
SOL-11 - Economics and Observability
| Field | Contract |
|---|---|
| Owns | Cost attribution, SLOs, metrics, traces, vitality dashboards, alert routing |
| Does not own | Product decisions or governance policy values |
| Consumes | OutcomeEvents, traces, provider costs, tool costs, DB/event metrics, audit outcomes |
| Produces | CostRecord, VitalityMetric, SLOEvent, Alert, TraceReplayIndex |
| Governing policy | FinOps budgets, SLO/error budgets, incident policy |
| Data authority | Metrics store, trace store, cost ledger |
| Side effects | Alert, page, budget warning, report, dashboard update |
| Failure contract | Missing metric means capability is unmonitored and cannot be claimed mature |
| Readiness gate | Every active SOL capability has throughput, quality, cost, and latency metrics |
| Ecosystem gate | Capability status and marketing claims can cite live metrics/proof |
Boundary rule: SOL-11 observes and accounts; it does not paper over missing evidence with status claims.
SOL-12 - Data Lifecycle and Compliance
| Field | Contract |
|---|---|
| Owns | Retention policy, deletion/export workflow, lineage, legal hold, data class controls, audit immutability policy |
| Does not own | Mission execution, route selection, LLM provider operations |
| Consumes | PrivacyScope, TwinAttribute, DecisionMemoryWrite, audit events, retention policy |
| Produces | RetentionAction, ForgetEvent, EliminationProof, ExportPackage, LineageRecord |
| Governing policy | GDPR Article 15/17, SOC 2 controls, retention class, legal hold |
| Data authority | Retention catalogue, deletion queue, lineage store, export packages |
| Side effects | Delete eligible data, export user data, archive/cold-store traces, preserve audit |
| Failure contract | Partial deletion is retried and paged; audit is never deleted, only policy-marked |
| Readiness gate | One user export and one forget cascade work across twin and memory fixtures |
| Ecosystem gate | SOL-4 and SOL-3 honor deletion/retention without breaking replay and audit obligations |
Boundary rule: data may be useful, but not all useful data may be retained.
6. Solution Boundary Catalogue
These are the major capability-to-capability handshakes. Component contracts may sit underneath them, but these are the solution contracts PMs, architects, and engineering leads should track.
| ID | From | To | Business contract | Technical contract | Gate |
|---|---|---|---|---|---|
| SB-01 | SOL-1 Mission Experience | SOL-2 Execution | A valid mission is ready to execute | NormalisedMission, ActorContext | Raw input never reaches execution |
| SB-02 | SOL-2 Execution | SOL-3 Evidence | Every mission step becomes evidence | OutcomeEvent | >= 1 event per mission step |
| SB-03 | SOL-3 Evidence | SOL-4 Memory | Validated evidence becomes scoped memory | DecisionMemoryWrite, TwinAttributeCandidate | Invalid event cannot write memory |
| SB-04 | SOL-4 Memory | SOL-5 Preferred Path | Historical memory influences future route | MemoryRecallResult, TwinProfile | Tenant/user scoped recall |
| SB-05 | SOL-5 Preferred Path | SOL-2 Execution | Route recommendation is explainable | RouteRationale | Evidence refs required |
| SB-06 | SOL-2 Execution | SOL-6 Reuse Library | Useful artifacts become candidates | ArtifactCandidate, TemplateEfficacyEvent | Provenance required |
| SB-07 | SOL-6 Reuse Library | SOL-2 Execution | Proven blocks can be pulled into work | ReusableBlock, TemplateSpec | Pull emits ReusePullEvent |
| SB-08 | SOL-3 Evidence | SOL-7 Self-Evolution | Repeated evidence can propose improvement | MoveProposalCandidate | Proposal cites outcome evidence |
| SB-09 | SOL-8 Exploration | SOL-7 Self-Evolution | Experiment winners seek graduation | ObjectiveScore, ExperimentGraduationProposal | No direct production mutation |
| SB-10 | SOL-7 Self-Evolution | SOL-2/SOL-6/SOL-5 | Approved improvement changes behavior | MoveAppliedEvent, RollbackRecord | Rollback proof before apply |
| SB-11 | SOL-9 Governance | All SOLs | Policy biases or blocks behavior | GovernanceState, PolicyDecision, KillSignal | Last-known-good on invalid policy |
| SB-12 | SOL-10 Integration | SOL-2 Execution | External tools/providers are available through typed adapters | ToolResult, LLMResponse, AdapterHealth | Adapter output normalized |
| SB-13 | SOL-11 Observability | All SOLs | Capability health is measurable | VitalityMetric, CostRecord, SLOEvent | Four-metric coverage |
| SB-14 | SOL-12 Compliance | SOL-3/SOL-4/SOL-6 | Data is retained, exported, or deleted by policy | RetentionAction, ForgetEvent, EliminationProof | Deletion proof and audit preservation |
| SB-15 | SOL-0 Substrate | All SOLs | Trust foundation is enforced | ActorContext, RLS, JWT, audit, replay | Fail closed |
7. Solution-Level Execution Flows
7.1 Mission-To-Learning Flow
SOL-1 Mission Experience
emits NormalisedMission
-> SOL-2 Collaborative Execution
emits OutcomeEvents
-> SOL-3 Canonical Evidence
writes DecisionMemory/Twin candidates
-> SOL-4 Memory
returns recall/twin context
-> SOL-5 Preferred Path
returns RouteRationale to SOL-2Success condition: the second similar mission chooses or explains a better route because of evidence from the first mission.
7.2 Reuse Flow
SOL-2 Execution produces useful artifact
-> SOL-3 Evidence validates outcome
-> SOL-6 Reuse Library records ArtifactCandidate
-> promotion policy evaluates ReusePullEvent + efficacy
-> SOL-2 later pulls ReusableBlockSuccess condition: a block can be promoted, pulled, cited, and demoted from evidence.
7.3 Governed Self-Evolution Flow
SOL-3 Evidence or SOL-8 Exploration detects improvement
-> SOL-7 creates MoveProposal
-> SOL-9 Governance approves/rejects by tier
-> SOL-7 EvolutionApplier dry-runs and writes RollbackRecord
-> apply
-> SOL-11 observes
-> regression signal rolls back if neededSuccess condition: apply applies, rollback rolls back, and audit can prove both.
7.4 Exploration Flow
SOL-9 sets exploration budget
-> SOL-8 runs isolated side-lane
-> SOL-3 validates side-lane OutcomeEvents separately
-> SOL-8 scores ObjectiveScore
-> winner becomes MoveProposal through SOL-7Success condition: side-lane evidence cannot alter main-lane route state until governance graduation.
7.5 Data Lifecycle Flow
SOL-12 receives retention/export/delete trigger
-> checks PrivacyScope, legal hold, audit policy
-> issues ForgetEvent or RetentionAction
-> SOL-4 deletes/exports memory and twin records
-> SOL-3/SOL-11 preserve audit/replay policy
-> SOL-12 emits EliminationProofSuccess condition: user data can be exported or forgotten without deleting immutable audit.
7.6 Conscience Reflection Flow (mid-horizon)
SOL-3 emits EvidenceEvent stream
-> Conscience module (cross-cutting; proposed owner)
reads stream + GovernancePolicy + audit chain
-> evaluates "did we act consistently with stated values?"
-> emits ConscienceReflection { judgement, rationale, recommendation }
-> route to:
- SOL-9 (governance update proposal) if policy gap
- SOL-7 (MoveProposal for behaviour change) if pattern change needed
- SOL-12 (data-lifecycle adjustment) if retention/forget gap
- SOL-11 (vitality alert) if drift trending wrong
-> if MoralInjury detected (system was forced to violate values):
- emit MoralInjuryRecord -> Z4 audit chain (indefinite)Success condition: the system surfaces questionable patterns before the next external audit cycle catches them. Maps to VF-14 in VISION-TOP-DOWN-MAPPING.md.
7.7 Sunset / Instance Mortality Flow (mid-horizon)
Health signals -> SOL-11 trend analysis (vitality, incident rate, debt)
-> threshold-crossing or scheduled lifecycle review
-> SOL-9 evaluates SunsetVerdict candidate
-> org-board signs SunsetVerdict
-> SOL-0 + SOL-1 enter draining mode (no new missions)
-> SOL-7 + SOL-5 + SOL-4 export inheritance payload
-> successor instance imports (see 7.8)
-> in-flight missions complete or migrate
-> SOL-12 runs final retention cycle
-> SOL-0 seals audit chain
-> decommissionSuccess condition: an unhealthy instance is retired gracefully (drained, succession run, audit preserved) without firefighting. Maps to VF-15.
7.8 Cross-Instance Succession Flow (long-horizon)
Parent instance (sunsetting)
-> exports inheritance payload:
- AgentDNA (generalised, anonymised)
- DecisionMemory (per-tenant scoped)
- Routing-pattern templates (anonymised)
- Immune memory (attack signatures)
- GovernanceState (signed version)
- Audit-chain seal
- Replay-tape index
-> Successor instance imports under:
- constitutional-ancestor-hash match (required)
- cryptographic signing per artefact
- tenant-consent verification (per-twin)
-> Succession handshake: 8 steps (see ANATOMICAL-SYSTEM-SPEC.md §10.2)
-> Parent ceases ops only after successor vitality > 70Success condition: lineage continues, audit + replay survive, no tenant-data leak across instances. Maps to VF-15 + (when present) VF-16. The two-parent variant (AI-EVOLUTION-MORALITY-MORTALITY.md Part 1) builds on this single-parent foundation.
8. Solution-Level Acceptance Gates
| Gate | Description |
|---|---|
| G1 - Ownership | Every SOL capability has a named owner and clear "does not own" list |
| G2 - Input contract | Every SOL capability can run from canonical input fixtures |
| G3 - Output contract | Every SOL capability emits canonical output fixtures |
| G4 - Substrate compliance | Every SOL capability carries ActorContext, tenant scope, trace, and audit where required |
| G5 - Failure behavior | Every SOL capability documents reject/quarantine/degrade/rollback behavior |
| G6 - Isolation test | Capability can run with mocked neighbors using only published contracts |
| G7 - Pairwise ecosystem test | Capability can compose with immediate upstream/downstream capability |
| G8 - Mission-thread test | Capability participates in a full mission replay path |
| G9 - Metrics | Capability exposes throughput, quality, cost, and latency metrics |
| G10 - Claim gate | Capability status can only upgrade when proof artifacts exist |
Minimum solution-ready standard: G1-G7.
Minimum product-claim standard: G1-G10.
9. Capability Isolation Test Harness
Each major function should have a contract fixture pack:
fixtures/
sol-1-mission-experience/
valid_mission_request.json
invalid_missing_actor.json
oversized_payload.json
sol-2-execution/
normalised_mission.json
route_rationale.json
memory_recall_result.json
sol-3-evidence/
outcome_event.success.json
outcome_event.failure.json
outcome_event.invalid_schema.json
...For each SOL capability, require:
| Test | Requirement |
|---|---|
| Isolated happy path | Run capability from valid fixtures with all neighbors mocked |
| Isolated failure path | Invalid fixture fails closed |
| Contract emission | Produced fixture validates against schema |
| Pairwise upstream | Upstream produced output is accepted without manual translation |
| Pairwise downstream | Downstream accepts this capability's output without manual translation |
| Tenant negative | Tenant A fixture cannot access tenant B data |
| Replay proof | Produced events are enough to reconstruct the capability's decision |
10. Priority Order
This is the solution-level order. It mirrors the substrate sequencing but lifts it to capability readiness.
| Priority | Capability boundary | Why first |
|---|---|---|
| P0 | SOL-0 -> all: ActorContext and OutcomeEvent | Everything else needs identity and signal |
| P1 | SOL-0/SOL-12: RLS, JWT, PrivacyScope, retention | Memory and twin are unsafe without isolation |
| P2 | SOL-2 -> SOL-3 -> SOL-4 | Execution must become evidence and memory |
| P3 | SOL-4 -> SOL-5 -> SOL-2 | Learning becomes visible through preferred path |
| P4 | SOL-12 -> SOL-4 | Twin and memory need export/forget |
| P5 | SOL-7 + SOL-9 | Self-evolution must stop being status-only |
| P6 | SOL-8 -> SOL-7 | Exploration must graduate through governance |
| P7 | SOL-6 | Reuse library becomes valuable once evidence is reliable |
| P8 | SOL-11 across all | Metrics mature from proof artifacts into dashboards |
11. Open Solution Decisions
| Decision | Why it matters |
|---|---|
| Should liver functions become one named SOL capability? | Sanitization, cache, adapter normalization, and factory behavior are currently cross-cutting and orphaned. |
| Should data lifecycle be a first-class SOL capability rather than CAP-12 subdomain? | Retention, forget, quota, and cold archive are load-bearing at scale. |
| Should SOL-6 reuse library remain post-M8 or receive substrate-only work now? | Reuse evidence contracts can be added now even if marketplace UI waits. |
| Should SOL-8 blueprint simulation be separated from side-lane exploration? | CAP-6 and CAP-8 overlap but have different maturity and user promises. |
What is the authoritative route contract: RouteRationale or a richer RouteDecision? | Preferred-path orchestration needs a stable output before UI and learning can depend on it. |
Which capability owns ObjectiveScore? | It is used by exploration, self-evolution, route maturity, and regression review. |
12. Cross-Walk Pointer
For the full dialect cross-walk (SOL ↔ CAP ↔ VF ↔ Six-layer spine ↔ suite ↔ milestone ↔ anatomy organ ↔ substrate seam), see 00-CONDUIR-MASTER-ARCHITECTURE.md §3.6. That table is the canonical translation surface; do not maintain a local copy here.
For the vision counterpart of each SOL (VF-1..VF-16), see VISION-TOP-DOWN-MAPPING.md (VISION-TOP-DOWN-MAPPING.md) §4B (alias table) — every SOL maps to one or more VFs, and three VFs (VF-13 Self-Model, VF-14 Conscience, VF-15 Mortality) have no current SOL and are flagged for promotion.
13. Maintenance Contract
| Field | Value |
|---|---|
| Refresh trigger | A SOL gains an owner; a SOL changes status; a new boundary (SB-NN) is added; an orphan organ is promoted to first-class SOL; the four cross-cutting capability owners change; constitutional surface ownership shifts |
| Cadence | Quarterly minimum (aligned with CAPABILITY-PHASE-SUMMARY); ad-hoc on material change |
| Owner | Architecture working group + capability leads |
| Authority | When this doc disagrees with 08-CONTRACT-SPECS.md (wire-level) or 00-CONDUIR-MASTER-ARCHITECTURE.md (compiled) on fact, source wins. When it disagrees on capability scope or ownership, this doc is canonical. |
| Position in stack | Between 00-CONDUIR-MASTER-ARCHITECTURE.md (compiled architecture) and ANATOMICAL-SYSTEM-SPEC.md (organ membranes). See master arch front matter for full authority order. |
| Drift detection | If a SOL's "Produces" contract is not present in 08-CONTRACT-SPECS.md, that is the canonical "stale doc" signal — fix this one. |
14. Bottom Line
At component level, the question is "does this membrane validate?"
At solution level, the question is "does this capability publish a stable business contract that neighboring capabilities can trust?"
The load-bearing solution contracts are:
1. SOL-1 -> SOL-2: valid mission to execution
2. SOL-2 -> SOL-3: execution to canonical evidence
3. SOL-3 -> SOL-4: evidence to scoped memory
4. SOL-4 -> SOL-5: memory to preferred route
5. SOL-5 -> SOL-2: route rationale back to execution
6. SOL-8 -> SOL-7 -> SOL-9: exploration to governed improvement
7. SOL-12 -> SOL-4/SOL-3: lifecycle policy over all data
8. SOL-0 -> all: substrate identity, signal, isolation, audit (and Tier-Forbidden floor enforcement)
If these contracts hold, individual capabilities can be developed independently and still join the organism. If they do not, isolated components will demo well and fail when assembled.