Home/Docs/Architecture Decision Records

Architecture Decision Records (ADR) IndexπŸ”—

This directory records the accepted architecture decisions that govern the current ContextUnity system.

Current decision summaryπŸ”—

Configuration and ownershipπŸ”—

ADR-0002 defines configuration authority from deployment through project, graph, and node scope. Brain owns durable memory and evidence records; Router owns graph execution.

Compilation and retrievalπŸ”—

Wiki-first compilation and graph-first retrieval work together under ADR-0010 and ADR-0011 when Router's default-off graph-first gate is enabled.

Evidence, execution seams, and model architectureπŸ”—

ADR-0014 separates Execution Trace, UniversalDebugBus, technical telemetry, and domain evidence. ADR-0015 records a design-only general-purpose external object protection boundary; it does not describe the separate trace-artifact archive or a general-purpose upload or download path. ADR-0016 separates bounded Router graph-run control from durable workflow state. ADR-0017 defines authentication postures, signed project binding, service-to-Shield caller token propagation, and domain authority boundaries. ADR-0018 separates execution evidence from policy-admitted memory formation. ADR-0019 codifies the Router model hierarchy, providers, and capability-based tool dispatch. ADR-0020 establishes the embedded SDK runtime, single-worker election, and host framework contract boundaries. ADR-0021 establishes the v1alpha10 manifest schema, first-class standalone tools (router.tools), and the ExecuteTool direct execution seam. ADR-0022 codifies unified modality-agnostic model pools, dynamic execution strategies (fallback, first_win, parallel), 3-level budget hierarchy, and the decomposition of ModelInvocationGateway. ADR-0023 establishes the unified authoritative model catalog as SSOT, four-tier LLM capability hierarchy with frontier isolation, execution service tiers (Fast mode multipliers), manifest pool modality typing (type: llm | classifier | embedding), native embeddings, and zero-cost local execution.

Accepted decision recordsπŸ”—