Subdomain classification
network-fulfillment is a Supporting subdomain, in the wes tier.
- Classification source: ADR 0001 (Decision: "a Supporting Subdomain"), this
repo's Core Domain Chart and
Bounded Context Canvas, and the fleet table in
warehouse-docs(docs/strategic-design/subdomain-classification.mdonmain), which files it as Supporting. - Tier source:
Subdomain = "wes"ininternal/adapters/kafka/cloudevents/cloudevents.go, so every event type it publishes startscom.warehouse.wes.network-fulfillment.. The tier (wms/wes) is a grouping of the event namespace, not the Core/Supporting/Generic verdict.
Why Supportingโ
Not Core. The business needs this context to sell the building's capability through an external retail network, but the knowledge that decides what can be sold belongs to other contexts:
- Deadline feasibility is asked of
order-management(ports.FulfillmentPlanner.RaiseHeldOrder) and never recomputed here (ADR 0001 ยง7). No use case ininternal/application/usecasesdoes arithmetic on cutoffs, capacities or cycle times except the capability offer, which sums figures other contexts publish. - Cutoffs and cycle times come from
process-path-management, path capacity fromwes-work-planning, usable stock frominventory-storage. - The acknowledgement protocol (one answer, in full, within 24 h) is the network's rule set, and the context conforms to it.
- The one new idea,
CapabilityOffer(advertisemin(physicalAvailable, throughputFeasible)instead of raw stock), is always on, single-site and sent to the network only in live mode, by a separate worker (FeedInventory, ADR 0027 part 2), so it does not differentiate anything today.
Not Generic. It cannot be bought off the shelf: the Anti-Corruption Layer dictionary, the held-order / answer / reconcile sequence with order-management (whose ADR 0020 was written for this Customer), and the 24 h acknowledgement clock with its sweep and overdue rejection are specific to this fleet.
Where it could move. The Core Domain Chart notes that if a live network
adapter ships and the throughput-constrained offer is actually submitted,
CapabilityOffer could become Decisive (short-term Core). That would need a
new ADR; nothing in the code puts it there now.
Neighboursโ
Copied from the fleet table in warehouse-docs
(docs/strategic-design/subdomain-classification.md, origin/main, read
2026-10-09). Only contexts this one has an edge with are listed; see
ecosystem/integration.md for the edges.
| Context | Classification (fleet table) | Tier | Relationship to network-fulfillment |
|---|---|---|---|
order-management | Generic/Supporting | wes | We are its Customer: held orders, feasibility, release and cancel over REST |
inventory-storage | Core | wms | Usable quantity over REST for capability offers (always on) |
process-path-management | Generic | wes | Path cycle times and the CPT schedule over Kafka (always on) |
wes-work-planning | Core | wes | Remaining path capacity over Kafka (always on) |
fulfillment-execution | Core | wes | No edge: PackageManifested is not consumed (ADR 0014) |
outbound-shipping | Supporting | wms | Shipment confirmation: a Kafka consumer of its ShipmentConfirmed event confirms the network orders on the load (ADR 0014 addendum); the REST route is the operator fallback |
inbound-receiving | Supporting | wms | The inbound loop registers an ASN there over REST and reads its receipt events over Kafka (live mode, ADR 0028) |
product-master | Supporting | wms | The inbound loop resolves each GTIN to a SKU over REST (live mode, ADR 0028) |
The outbound-shipping, inbound-receiving and product-master rows were
added on 2026-11-13 from the same fleet table (warehouse-docs, origin/main).
The counterpart network (played by retail-network, ADR 0009) is outside
the fleet's fifteen contexts and has no row in that table.