Architecture decision records
The decisions of pick-face-replenishment, in the order they were taken. The
ADR bodies are immutable; a changed decision gets a new ADR that supersedes
the old one. The Status column is copied from each ADR's own ## Status
section.
| ADR | Title | Status |
|---|---|---|
| 0001 | pick-face-replenishment as the owner of forward pick-face replenishment | Accepted (2026-10-17) |
| 0002 | the ReplenishmentPolicy and ReplenishmentRequest aggregates, their invariants, and the detection policy ports | Accepted (2026-10-17) |
| 0003 | event-fed local copies and the consumed contracts | Accepted (2026-10-17) |
| 0004 | CloudEvents envelope and type catalogue | Accepted (2026-10-17) |
| 0005 | evaluation semantics and persistence | Accepted (2026-10-17) |
| 0006 | Postgres and Kafka are the only runtime | Accepted (2026-10-17) |
| 0007 | MCP server adoption (read-only, unauthenticated, additive) | Accepted (2026-10-18) |
| 0008 | Analytics read side: an analytics stream, a projector and a replenishment funnel report over a separate analytical database | Accepted (2026-10-18) |
| 0009 | Pack-derived replenishment multiple | Accepted (2026-11-14) |
| 0010 | A2A inbound adapter (read-only, unauthenticated, additive) | Accepted (2026-10-29) |
| 0011 | Adopt the fleet REST API guideline (noun routes, idempotent POST/PATCH with Idempotency-Replayed, 409 on key reuse, keyset paging) | Accepted (2026-10-31) |
| 0012 | Agent authority levels (every MCP tool L1, every A2A skill authority:L1) and the complete MCP surface (stateless handler, one policy resource, one operator-SOP prompt) | Accepted (2026-11-02) |
| 0013 | Adopt the fleet observability standard (OTLP telemetry.Setup in every binary, otelchi request metrics, trace-correlated logs, one Tier 2 counter, chart otel.*) | Accepted (2026-11-14) |
| 0014 | Every problem type has a replay class; a retryable refusal is not stored (FINAL stored and replayed, RETRYABLE released, OUTCOME impossible: a refusal rolls the whole unit of work back) | Accepted (2026-11-20). Supersedes one sentence of ADR 0011 item 2 and the "(2xx and 4xx only)" of ADR 0005's idempotency_keys row. |