Back to Ruflo

ADR-G016: Agentic Container System Integration

v3/@claude-flow/guidance/docs/adrs/ADR-G016-agentic-container-integration.md

3.6.303.1 KB
Original Source

ADR-G016: Agentic Container System Integration

Status: Accepted Date: 2026-02-01 Author: Guidance Control Plane Team

Context

The Agentic Container System Specification (v0.1) defines a comprehensive runtime model for autonomous AI agents including execution lanes, agent cell manifests, tool gateways, memory planes, supply chain integrity, and observability. The Guidance Control Plane must serve as the governance backbone for this specification.

Decision

Map each specification section to a control plane component:

Specification Coverage

Spec SectionControl Plane ComponentStatus
Runtime Lanes (WASM/Sandboxed/Native)ManifestValidator.selectLane()Implemented
Agent Cell ManifestManifestValidator.validate()Implemented
Tool Gateway APIDeterministicToolGatewayImplemented
Memory PlaneMemoryWriteGate + CoherenceSchedulerImplemented
Supply Chain IntegrityArtifactLedger + ProofChainImplemented
ObservabilityPersistentLedger + RunLedgerImplemented
Identity & SecretsCapabilityAlgebra + EnforcementGates (secret gate)Implemented
Cost AccountingEconomicGovernorImplemented
Failure ModesCoherenceScheduler (privilege degradation)Implemented
EvolutionEvolutionPipelineImplemented

Agent Cell Axiom

Every agent cell in the system must satisfy five axioms:

#AxiomEnforcement Point
1Declare intent before actingManifestValidator (admission)
2Request capability, never assume itCapabilityAlgebra (grant/check)
3Justify every write with evidenceMemoryWriteGate (evidence check)
4Accept decay as natural, not failureCoherenceScheduler (privilege levels)
5Emit proof for every decisionProofChain (hash-chained envelopes)

Acceptance Test

The Memory Clerk conformance test (ConformanceRunner + MemoryClerkCell) validates all five axioms in a single deterministic test run. This is the canonical acceptance test for the entire system.

Performance Targets

MetricTargetCurrent
Manifest validation< 5ms< 1ms
Gate evaluation< 1ms< 0.5ms
Proof append< 2ms< 1ms
Memory write check< 3ms< 1ms
Coherence computation< 1ms< 0.5ms
Full conformance test< 100ms~50ms

Consequences

  • The Guidance Control Plane provides complete governance for the Agentic Container Specification
  • All specification requirements are covered by implemented, tested components
  • The Memory Clerk acceptance test provides a single pass/fail gate for system integrity
  • Performance targets are met with margin
  • The system is ready for integration with the broader Claude Flow V3 runtime

Alternatives Considered

  • Separate governance layer: Would duplicate logic and create consistency issues
  • External policy engine: Adds latency and operational complexity; can be layered on top later
  • Per-specification libraries: Fragmented, harder to reason about holistically