Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


type: architecture status: accepted last-reviewed: 2026-07-19 relates-to:

  • docs/book/src/foundations/fnd-002-documentation-standards.md

Architecture Decision Records

Architecture Decision Records (ADRs) are the durable record of architecture choices that constrain future ZeroClaw work. They are shorter than RFCs: each one records the context, decision, consequences, and the sources that justify the decision.

Accepted ADRs are immutable. If the architecture changes, write a new ADR and mark the old one as superseded rather than rewriting history.

Current ADRs

ADRStatusDecision
ADR-001acceptedZeroClaw’s runtime and first-party crates are implemented in Rust.
ADR-002acceptedFirst-party extension surfaces use explicit trait contracts.
ADR-003superseded by ADR-009WASM plugins initially used Extism as the execution bridge.
ADR-004acceptedTool-held shared state follows daemon-owned identity, handle ownership, isolation, and reload rules.
ADR-005acceptedMemory storage uses a backend-neutral contract with SQLite as the default.
ADR-006proposedRuntime plugins are the target for optional channels, with explicit capability-based native exceptions during migration.
ADR-007proposedThe gateway becomes a separate optional process over a supported local IPC contract.
ADR-008acceptedGoal mode uses the durable task control plane and canonical usage ledger.
ADR-009acceptedWIT components and direct wasmtime replace the Extism plugin bridge.
ADR-010proposedSession history, curated memory, and enrichment have separate authority boundaries.
ADR-011acceptedConfigured agents have explicit runtime boundaries under one daemon.
ADR-012proposedLive config application uses canonical generations and target-specific results.

ADR-006 and ADR-007 are implementation-gated roadmap decisions from FND-002. Their target directions are recorded, but they remain proposed until the acceptance boundaries in each record ship.

ADR-010 remains proposed until the acceptance gates in the record are met.

ADR-012 remains proposed until canonical config publication, generation-scoped results, and the bounded security and channel live-apply consumers meet the acceptance gates in the record.