ADR index
Every numbered record in this directory, one row each: the title is the record's
own heading and the status is the word on the line after its ## Status
heading. The longer status notes (what amends or supersedes what) are in
About ADRs, which also explains the format and how to propose a
new record.
| # | Title | Status |
|---|---|---|
| 0001 | Hexagonal (ports & adapters) architecture | Accepted |
| 0002 | HTTP consumer of inventory-storage and wes-work-planning, not shared code | Accepted |
| 0003 | Ship-complete by default and fail-closed allocation | Accepted |
| 0004 | The cancellation boundary is release | Accepted |
| 0005 | Choreographed release via Kafka, folded allocate-then-release, and pathId goes internal-only | Accepted |
| 0006 | Per-service analytical data product (the "report") | Accepted |
| 0007 | Adopt the fleet's micro-frontend console architecture (order-mgmt-mfe) | Accepted |
| 0008 | FulfillmentClass — a demand-shape classifier, not a process-path name | Accepted |
| 0009 | Standard metrics convention across the fleet | Accepted |
| 0010 | Model Context Protocol as an inbound adapter, not a new service | Accepted |
| 0011 | Adopt the fleet REST identity — static bearer keys with read/read-write scopes | Superseded |
| 0012 | Remove the REST/MCP bearer auth layer | Accepted |
| 0013 | Process-path selection as a real domain policy, validated against a live catalogue | Accepted |
| 0014 | The delivery promise is a CPT window derived from fulfillment capability, not a configured lead time | Accepted |
| 0015 | wes-work-planning's PathCapacityChanged is wired as the real PathCapacity adapter | Accepted |
| 0016 | Eligibility-driven process-path selection (ADR 0014 step B, routing only) | Accepted |
| 0017 | Per-shipment-group promising (ADR 0014 step B, the second half) | Accepted |
| 0018 | RepromiseOrder consumer and OrderRepromised — closing ADR 0014's feedback loop | Accepted |
| 0019 | Promise KPIs on the Order Funnel data product (ADR 0014 §6, order-management half) | Accepted |
| 0020 | Network-originated demand — release-on-allocation as an intake choice, deadline feasibility, and the Network promise basis | Accepted |
| 0021 | Multi-path attribute-driven routing (closes ADR-0013's original deferral) | Accepted |
| 0022 | Transactional outbox for order-management's dual-topic event publishing | Accepted |
| 0023 | Transactional Idempotency-Key middleware for POST /orders | Accepted |
| 0024 | Optimistic concurrency (version column) for the Order aggregate | Accepted |
| 0025 | Per-dependency circuit breakers, read-only retry, Kafka DLQ, and graceful shutdown hardening | Accepted |
| 0026 | Per-workload HorizontalPodAutoscaler and pgxpool MaxConns/statement_timeout tuning | Accepted |
| 0027 | Partition key (OrderId) on the integration publisher's Kafka messages | Accepted |
| 0028 | Send Idempotency-Key on POST /reservations, restoring the inventory-storage contract PR #98 changed | Accepted |
| 0029 | Run golang-migrate against a direct Postgres connection, not PgBouncer | Accepted |
| 0030 | CloudEvents 1.0 as the mandatory event envelope | Accepted |
| 0031 | Consume warehouse-planning's capacity plans into a local planned-capacity read model | Accepted |
| 0032 | Housekeeping sweeper for idempotency keys and published outbox rows | Accepted |
| 0033 | Boot-time first-dial retry, synchronous-writer BatchTimeout/acks, and DLQ topic-create retry | Accepted |
| 0034 | Raise OrderLineReleased and OrderReleased at the release transition | Accepted |
| 0035 | SiteSkuDemandChanged — an additive, PII-free site/SKU demand projection event | Accepted |
| 0036 | Product classification from a local copy of product-master events | Accepted |
| 0037 | Send the order line number (lineNo) on POST /reservations | Accepted |
| 0038 | The operator MFE sends an Idempotency-Key per order submission | Accepted |
| 0039 | The reports binary's routes are a contract: apis/openapi-reports.yaml | Accepted |
| 0040 | The outbox relay stops claiming a row after OUTBOX_MAX_ATTEMPTS failures | Accepted |
| 0041 | The W3C trace context crosses the outbox in outbox_events.headers (D27 reference) | Accepted |
| 0042 | Path selection considers only paths whose intake admits customer orders | Accepted |
| 0043 | Confirm an order-line release from WorkUnitCreated, and flag OrderReleaseUnconfirmed | Accepted |
| 0044 | An order may carry an optional, caller-assigned fulfillment site | Accepted |
| 0045 | A Kafka consumer that stops on its own takes the process down | Accepted |
| 0046 | A2A inbound adapter (third driving adapter, read-only) | Accepted |
| 0047 | An order is promised against its own fulfillment site | Accepted |
| 0048 | Adopt the fleet REST API guideline | Accepted |
| 0049 | Agent authority levels and complete MCP surface | Accepted |
| 0050 | OrderAllocated/OrderPartiallyAllocated carry the order's fulfillment site | Accepted |
| 0051 | Consume ShipmentConfirmed/PackageMissedLoad: the Order ships | Accepted |
| 0052 | Consume CapacityPlanSuperseded: a superseded plan stops constraining orders | Accepted |
| 0053 | Match planned capacity to an order's site by the plan's site_id | Accepted |
| 0054 | Every problem type has an idempotency replay class; a retryable refusal is not stored | Accepted |