Architecture Decisions

The project's decision records live under .planning/decisions/ in the repository. This page indexes the ones that change what a crate consumer or operator sees.

ADRTitleDecisionRecord
0033One cargo doc bar — ratified, measured, and its residuePrecedence order settles the zero-warning: cargo doc bar as already-ratified, not newly contested0033-cargo-doc-warning-bar.md
0037The agent route surface is /v1Agent API served under /v1; /health, /ready, /openapi.json, /docs stay unversioned0037-agent-route-surface-v1.md
0039HTTP-served agents carry no Garrison and no Arsenal — a permanent property of the topologyThe absence is a permanent topology property, not planned/forward scope0039-http-topology-no-garrison-no-arsenal.md
0042LLM-native tool calling deferred as a future capability, with a named trigger and ownerRecorded as future capability improvement, not built0042-llm-native-tool-calling-deferred.md
0047docs/src/appendix/design-and-architecture.md disposition — archived, Sentinel re-anchored, diagram clause withdrawnPage recorded historical, superseded by docs/src/architecture/0047-architecture-appendix-disposition.md
0048paladin-eval as a published composition crateClassified a composition crate; ADR-0031's default-build invariant does not apply0048-paladin-eval-composition-crate.md
0049Commissary design, rename rationale, and rejected namesRe-ported under the new vocabulary; the retired name and the rejected alternatives are recorded in the ADR itself0049-commissary-design-and-rename.md
0050Treasurer reserved for cross-run spend governanceRole and scope reserved for Milestone 14; built in v0.11.0 (Phases 38-43) -- see Treasurer0050-treasurer-reservation.md
0051Token-economy phases land as clean breaks inside the untagged v0.10.0X-03 superseded for Phases 31-33 only, on the operator's 2026-09-14 decision0051-token-economy-versioning-x03-supersession.md
0052Mid-run Treasurer enforcement attachment pointMetering at the pricing decorator on both run paths; halt at the engine's superstep boundary and the agent loop's token-budget cutoff0052-mid-run-treasurer-enforcement.md
0053Treasury ledger balance model -- append-only, derived on readImmutable reserve, settle and release rows; a balance is a sum derived on read, in integer nano-units of one currency0053-ledger-balance-model.md
0054Tenant identity is server-derived; run reads are tenant-scoped with an operator (Admin) bypassThe tenant comes only from operator configuration; a caller reads only its own tenant's runs, an Admin key reads across tenants0054-tenant-scoped-run-reads.md
0056Allowance admission model: tumbling UTC windows, check-only admission, every-limit composition, store-deduped noticesEpoch-aligned tumbling windows; admission checks every applicable ceiling and writes nothing; each warn notice is claimed once per window0056-allowance-admission-model.md
0057Mid-run halt contract: check-only boundary, typed halt cause, fork-as-resume, derived agent budgetA boundary check halts a run resumably with a typed cause; the agent loop gets a token budget derived from the remaining allowance0057-mid-run-halt-contract.md
0058Rate pacing (the Cadence): a gate-not-retry decorator, fleet pacing through Redis, a fail-open stampede lockAfter a provider 429 later calls wait out a gate; the 429 itself is surfaced unchanged; pacing state can be shared through Redis0058-rate-pacing-cadence.md
0059Legacy Battalion error, retry and timeout surfaces and the stringly PaladinError LLM variant leave the tree as a clean break in v0.11.0Superseded for Phase 44 only: the named legacy surfaces are removed outright, with no deprecation shim0059-legacy-clean-break-removal.md
0060The base-layer wrapper becomes Entity<T>, "node" is reserved for the graph, and the rename lands as a clean break in v0.11.0The wrapper is Entity<T> with payload field data; "node" now means only a WarGraph or Campaign vertex0060-base-entity-rename.md
0061Per-model parameter support -- refuse an explicit value the target cannot honour, omit an auto-selected one visiblyAn explicit sampling parameter a model cannot honour is refused at build time; a framework default it cannot honour is omitted with a warning0061-per-model-parameter-support-policy.md
0062Reasoning effort -- one provider-neutral setting, honoured exactly or refused before HTTPOne ReasoningEffort per request, agent and provider; honoured exactly, substituted only under an explicit fallback, or refused before any request is sent0062-reasoning-effort-fail-loud-policy.md