Ecosystem integration
How exception-management plugs into the warehouse-systems fleet. The one rule that shapes all of it: it never calls a sibling context over REST or MCP — facts in on Kafka, lifecycle out on Kafka, reads over its own REST/MCP surfaces.
Upstream (facts consumed)
Every producer owns its topic and its AsyncAPI; this context verifies the types against the
producers' origin/develop before consuming (the pinned table is the
event catalogue). Notable mechanics:
- Promoted types:
PackageDiverted,WeightDiscrepancyDetected(fulfillment-execution, PR #234) andDiscrepancyDetected,ItemUnlocated(inventory-storage, PR #239) were promoted to the integration topics for this context. - Re-firing sources:
TaskCPTMissedre-fires on every sweep tick by design — the dedup key makes it one case with a growingoccurrence_count, and the re-fire keepslast_seen_atfresh, which the auto-resolve window uses. - Held stock (ADR 0012): inventory-storage's
StockHeldopens exactly one case per held unit id (the sku/quantity/hold reason/receipt refs freeze on it);StockDispositionedandStockReleasedauto-resolve it — aREWORKdisposition keeps the unit held, so the case stays open and the arrival counts as an occurrence. Read under the inventory topic's SECOND consumer group (HELD_STOCK_EXCEPTIONS_CONSUMER_GROUP), pinned to inventory-storage ADR 0052. - Roadmap sources: workforce-management
PathUnderstaffedand network-inventory-planningTransferStuckDetectedsit on analytics topics today; consumption starts when the producers promote them.
Downstream (lifecycle published)
warehouse.exception-management.events carries the case lifecycle
(catalogue). No consumer of this topic is evidenced today (the analytics
projector reads the separate warehouse.exception-management.analytics topic, see
Observability), but the contract is stable and
versioned: a TeamPerformance-style context or a warehouse console queue view can subscribe
without this service changing.
Agent ecosystem
The read-only MCP tools exist for warehouse-ops-agent, whose design keeps it
zero-write: it reads the SLA report and the queues, and an operator (through the console) or a
policy (auto-resolve) does the writing. The agent-side wiring is roadmap.
Fleet documentation
warehouse-docs carries the cross-context narrative (the context map and the
Core Domain Chart mirror it); this site is the per-context
authority. The fleet plan lives in .hermes/plans/ of the warehouse-systems checkout.