Architecture decision records
The decisions of slotting-optimization, 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 | slotting-optimization as the owner of forward-pick slotting decisions | Accepted (2026-10-08) |
| 0002 | the SlotPlan aggregate, its invariants and the abc-velocity-v1 policy | Accepted (2026-10-08) |
| 0003 | event-fed local copies and the consumed contracts | Accepted (2026-10-08) |
| 0004 | CloudEvents envelope and type catalogue | Accepted (2026-10-08); per-key ordering amended by ADR 0008 |
| 0005 | MCP server adoption (read-only, unauthenticated, additive) | Accepted (2026-10-08) |
| 0006 | analytics read side: stream, projector and slot-plan funnel report | Accepted (2026-10-17) |
| 0007 | executing an approved slot plan (options, undecided) | Superseded by ADR 0010 (2026-10-14) |
| 0008 | outbox relay attempt cap | Accepted (2026-10-12) |
| 0009 | the W3C trace context crosses the outbox to Kafka | Accepted (2026-10-12) |
| 0010 | approved slot plans are executed as WES relocation work | Accepted (2026-10-14); RELOCATION_MODE default amended by ADR 0011 |
| 0011 | Postgres and Kafka are the only runtime | Accepted (2026-10-19); supersedes the in-memory / permissive / log-sink statements of ADR 0003, 0005, 0009 and 0010 |
| 0012 | Case-pick faces: CASE_PICK_ZONE_CODES zones, pickUnit CASE/EACH, casesCapacity from the case cube and weight, local pack-level copy | Accepted (2026-10-24); additive |
| 0013 | A2A inbound adapter (read-only, unauthenticated, additive): forward_slot_map and slot_plan_review over the same read use cases, cmd/a2a on :8093 | Accepted (2026-10-29) |
Where the code on develop has moved past an ADR's wording (for example
ADR 0001's "consumer built in the service phase" status column, now built),
the code is authoritative and the documentation pages describe the code.
| 0014 | Adopt the fleet REST API guideline: noun routes (approvals, rejections), every POST keyed, 409 idempotency-key-reused, Idempotency-Replayed, keyset sku-velocity | Accepted (2026-11-01); amends the REST surface of ADR 0001 and ADR 0011 |
| 0015 | Agent authority levels and complete MCP surface: every tool and both skills L1 (_meta com.warehouse/authority / tag authority:L1), stateless Streamable HTTP (2026-07-28 server/discover), one resource (warehouse://slotting-optimization/forward-slots/{siteId}) and one prompt (review_slot_plan) | Accepted (2026-11-02); additive, extends ADR 0005 and ADR 0013 |
| 0016 | Every problem type has a replay class (FINAL / OUTCOME / RETRYABLE) declared on its catalogue entry; a RETRYABLE refusal is not stored and its key is released | Accepted (2026-11-20); amends the idempotency statements of ADR 0014 |