Skip to main content

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.

ADRTitleStatus
0001pick-face-replenishment as the owner of forward pick-face replenishmentAccepted (2026-10-17)
0002the ReplenishmentPolicy and ReplenishmentRequest aggregates, their invariants, and the detection policy portsAccepted (2026-10-17)
0003event-fed local copies and the consumed contractsAccepted (2026-10-17)
0004CloudEvents envelope and type catalogueAccepted (2026-10-17)
0005evaluation semantics and persistenceAccepted (2026-10-17)
0006Postgres and Kafka are the only runtimeAccepted (2026-10-17)
0007MCP server adoption (read-only, unauthenticated, additive)Accepted (2026-10-18)
0008Analytics read side: an analytics stream, a projector and a replenishment funnel report over a separate analytical databaseAccepted (2026-10-18)
0009Pack-derived replenishment multipleAccepted (2026-11-14)
0010A2A inbound adapter (read-only, unauthenticated, additive)Accepted (2026-10-29)
0011Adopt the fleet REST API guideline (noun routes, idempotent POST/PATCH with Idempotency-Replayed, 409 on key reuse, keyset paging)Accepted (2026-10-31)
0012Agent 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)
0013Adopt 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)
0014Every 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.