Skip to main content

Architecture Decision Records

Every ADR lives in its owning context's own repository and is published on that context's own docs site. This page is only an index. Copying ADR content here would create a second source of truth that drifts, which is what Overview says this site avoids.

Ten contexts keep their ADRs under docs/docs/adr/ (order-management, inventory-storage, wes-work-planning, fulfillment-execution, workforce-management, facility-layout, process-path-management, labor-performance, warehouse-ops-agent, network-inventory-planning). The other ten (network-fulfillment, warehouse-planning, product-master, returns-processing, exception-management, inbound-receiving, slotting-optimization, pick-face-replenishment, task-interleaving, outbound-shipping) keep them under docs/adr/. The counts below cover numbered ADR files on each repository's develop branch, re-read on 2026-12-03 against origin/develop (every row). warehouse-ops-agent has two files numbered 0027, which is why its file count (36) is one more than its highest number (0035).

ContextADRsNewest ADRsADR directory
order-management57 (0001–0057)0057 The outbox relay emits the producer span · 0056 The projector dials only configured brokers · 0055 Postgres and Kafka are the only runtimedocs/docs/adr
inventory-storage54 (0001–0054)0054 Tote containers, stock per container and container-aware allocation · 0053 Every problem type has a replay class; a retryable refusal is not stored · 0052 Held stock and dispositiondocs/docs/adr
wes-work-planning50 (0001–0050)0050 Every problem type has a replay class; a retryable refusal is not stored · 0049 The charge forecast and the shift plan move to warehouse-planning · 0048 Released work carries its site; pick plans carry a forward pick facedocs/docs/adr
fulfillment-execution66 (0001–0066)0066 Every problem type has a replay class; a retryable refusal is not stored · 0065 The order's site travels from WorkReleased to PackageManifested · 0064 The per-stop work clockdocs/docs/adr
workforce-management44 (0001–0044)0044 Every problem type has an idempotency replay class; a RETRYABLE refusal is not stored · 0043 Propose heads from warehouse-planning's published labour plan · 0042 The Idempotency-Key schema states the wire value; the middleware enforces the key exactlydocs/docs/adr
facility-layout48 (0001–0048)0048 The AutomatedStorage location type · 0047 Exactly one concurrent creation of the same code wins; the loser gets the duplicate refusal · 0046 Every problem type has an idempotency replay class; a retryable refusal is not storeddocs/docs/adr
process-path-management44 (0001–0044)0044 The deployment converges the declared catalogue: a hook Job runs the seed, the operator script stays · 0043 Every problem type has a replay class; a retryable refusal is not stored · 0042 Process flows: the ordered stages work passes throughdocs/docs/adr
labor-performance39 (0001–0039)0039 Every problem type has an idempotency replay class; a retryable refusal is not stored · 0038 Labor standards on the integration topic, with an optional site scope · 0037 Adopt the fleet REST API guidelinedocs/docs/adr
warehouse-ops-agent36 (0001–0035)0035 Yard and dock slice (act slice #3) · 0034 WES-edge watch: pick-face-replenishment and task-interleaving consumed in the daily brief · 0033 Every act problem type has a replay classdocs/docs/adr
network-fulfillment37 (0001–0037)0037 Retry, under the same Idempotency-Key, the refusals the callees release (replay class RETRYABLE) · 0036 A purchase order is read by its number: GET /purchase-orders/{poNumber} · 0035 A site map turns the network's site into the warehouse site on the held orderdocs/adr
warehouse-planning26 (0001–0026)0026 Idempotency replay classes: every problem type is FINAL, OUTCOME or RETRYABLE · 0025 Process flows come from process-path-management · 0024 Forecast demand and what-if capacity plan scenariosdocs/adr
product-master15 (0001–0015)0015 Every problem type has a replay class; a RETRYABLE refusal is not stored · 0014 Agent authority levels and complete MCP surface · 0013 Adopt the fleet REST API guidelinedocs/adr
network-inventory-planning24 (0001–0024)0024 Every problem type has a replay class · 0023 A transfer cancelled after allocation holds no reservation · 0022 Cancel-after-allocation — the transfer saga's compensation legdocs/docs/adr
returns-processing13 (0001–0013)0013 retry, under the same Idempotency-Key, the refusals the network releases (replay class RETRYABLE) · 0012 The network return-advices poller (the first vendor-connectivity seam) · 0011 Adopt the fleet observability standarddocs/adr
exception-management15 (0001–0015)0015 every problem type has a replay class; a retryable refusal is not stored · 0014 adopt the fleet observability standard · 0013 the analytics read sidedocs/adr
inbound-receiving28 (0001–0028)0028 Consumer groups wait for their topics before joining · 0027 Idempotency replay classes — a retryable refusal is not stored · 0026 Receiving tolerance policy — auto-accept within band, override with reason, hard stop (IF-8)docs/adr
slotting-optimization16 (0001–0016)0016 Every problem type has a replay class · 0015 Agent authority levels and complete MCP surface · 0014 Adopt the fleet REST API guidelinedocs/adr
pick-face-replenishment15 (0001–0015)0015 the DEMAND_COVER policy kind — days of cover from order-management's site/SKU demand · 0014 Every problem type has a replay class; a retryable refusal is not stored · 0013 Adopt the fleet observability standarddocs/adr
task-interleaving14 (0001–0014)0014 Adopt the fleet observability standard · 0013 Every problem type has a replay class; a retryable refusal is not stored · 0012 PICK is a first-class interleaving candidatedocs/adr
outbound-shipping14 (0001–0014)0014 Load audit and closure checklist: two read tools over the local copies · 0013 Agent surfaces: MCP read parity and a read-only A2A agent · 0012 Every problem type has a replay class; a retryable refusal is not storeddocs/adr

0002-mcp-and-analytics-data-product.md is network-fulfillment's ADR 0002.

Cross-cutting decisions worth reading first​

Several fleet-wide conventions are recorded once per context, each as that context's own ADR. The ADR numbers below come from each repository's ADR titles on develop.

  • CloudEvents 1.0 as the mandatory event envelope. Every context that uses Kafka records this decision: order-management 0030, inventory-storage 0024, wes-work-planning 0027 (supersedes 0021), fulfillment-execution 0032 (supersedes 0027), workforce-management 0026, facility-layout 0024, process-path-management 0016, labor-performance 0021, network-fulfillment 0008, warehouse-planning 0006, product-master 0004 and network-inventory-planning 0004. warehouse-ops-agent uses no Kafka. The Event Standard page has the fleet-level text, the subdomain table and the cross-service type catalogue.
  • Transactional outbox. Every context that publishes events commits them in the same database transaction as the aggregate change, and a relay sends them to Kafka afterwards. The decision records are process-path-management 0003, wes-work-planning 0014, labor-performance 0010, workforce-management 0016, inventory-storage 0017, facility-layout 0018, fulfillment-execution 0020, order-management 0022, network-fulfillment 0003, warehouse-planning 0007 and network-inventory-planning 0003 (with the relay). The Context Map shows how each context integrates.
  • Hexagonal ports and adapters. order-management, inventory-storage, wes-work-planning, fulfillment-execution, workforce-management, facility-layout and labor-performance record it as their ADR 0001. In the other thirteen contexts (process-path-management, warehouse-ops-agent, network-fulfillment, warehouse-planning, product-master, network-inventory-planning, returns-processing, exception-management, inbound-receiving, slotting-optimization, pick-face-replenishment, task-interleaving, outbound-shipping), ADR 0001 records the context's founding decision instead.
  • RFC 7807 Problem Details. This is the shared HTTP error convention, recorded by inventory-storage 0005, wes-work-planning 0005, fulfillment-execution 0005, workforce-management 0005, facility-layout 0004, process-path-management 0020 and labor-performance 0025.
  • Micro-frontend console architecture. warehouse-ops-agent ADR 0002 establishes the Module Federation console pattern with a thin BFF. Adoption ADRs: order-management 0007, inventory-storage 0012, workforce-management 0011, facility-layout 0011, fulfillment-execution 0013, process-path-management 0022, labor-performance 0024 and network-fulfillment 0010 and network-inventory-planning 0010 (the nip_mfe remote).
  • MCP and A2A as inbound adapters. Nineteen of the twenty contexts expose an MCP server next to REST, over the same use cases, each from its own cmd/mcp: order-management 0010, inventory-storage 0008, wes-work-planning 0008, fulfillment-execution 0008, workforce-management 0008, facility-layout 0007, process-path-management 0006, labor-performance 0009, network-fulfillment 0002, warehouse-planning 0008, product-master 0005, network-inventory-planning 0008, returns-processing 0010, exception-management 0009, inbound-receiving 0005, slotting-optimization 0005, pick-face-replenishment 0007, task-interleaving 0007 and outbound-shipping 0013. The same nineteen ship an A2A agent, each from its own cmd/a2a: order-management 0046, inventory-storage 0048, wes-work-planning 0046, fulfillment-execution 0059, workforce-management 0039, facility-layout 0043, process-path-management 0039, labor-performance 0036, network-fulfillment 0030, warehouse-planning 0018, product-master 0012, network-inventory-planning 0020, returns-processing 0008, exception-management 0007, inbound-receiving 0016, slotting-optimization 0013, pick-face-replenishment 0010, task-interleaving 0009 and outbound-shipping 0013; in outbound-shipping the one ADR 0013 records both surfaces. A2A is delegation only, by fleet decision: a skill never proxies another context's data, and facts still travel as CloudEvents on Kafka. Every MCP tool and A2A skill declares an authority level under the Agentic Standard v2 (L1 inform, L2 recommend, L3 act on approval, L4 act within an envelope granted by an ADR), and ten contexts record their levels in an ADR of their own: order-management 0049, workforce-management 0041, process-path-management 0041, product-master 0014, returns-processing 0010, exception-management 0009, inbound-receiving 0018, slotting-optimization 0015, pick-face-replenishment 0012 and task-interleaving 0011. See the Agentic Standard, the Agent Catalogue and the A2A Agents pages. Eight contexts document their tool surface and review gate in docs/docs/mcp/governance-charter.md, and warehouse-planning documents its 11 tools in .claude/rules/mcp.md. warehouse-ops-agent is the one context with neither binary: it hosts its own read-only MCP server inside cmd/agent (15 tools, all carrying ReadOnlyHint), is a Customer of several of the other contexts' MCP surfaces, including warehouse-planning's (its ADR 0013, read tools only) and product-master's (its ADR 0020), and is an A2A client (internal/adapters/outbound/a2a), not an A2A agent. See its API surface.
  • REST and MCP identity: adopted, then removed. Static bearer keys with read and read-write scopes were decided fleet-wide in warehouse-ops-agent ADR 0005 (2026-09-07). They were removed fleet-wide in warehouse-ops-agent ADR 0006 (2026-09-09), with one removal ADR per context, for example order-management 0012, inventory-storage 0015, wes-work-planning 0016, fulfillment-execution 0022, workforce-management 0018, facility-layout 0015, process-path-management 0005 and labor-performance 0012. Every REST and MCP endpoint in the fleet is unauthenticated by deliberate decision. This is a study project, not a production system. Bringing auth back would need an explicit new decision from the project owner.