Skip to main content

Core Domain Chart

Following the ddd-crew Core Domain Charts. Part of the DDD artifact pack.

Classification: Generic subdomain — the same verdict as ADR 0001 and the Aggregates & Invariants page. A process-path catalogue is well understood and not a competitive differentiator; it is extracted because several contexts need the same definition and none of them is its natural owner.

Source: internal/domain/processpath/process_path.go, internal/domain/cptschedule/cpt_schedule.go, internal/application/usecases/*.go, docs/docs/adr/0001-process-path-management-bounded-context.md, docs/docs/adr/0010-fulfillment-capability-contract.md. Omits: sibling contexts (each owns its own chart) and any time dimension.

Why this position​

AxisPositionEvidence
Business differentiationLow (0.22)ADR 0001 classifies it Generic. It decides nothing about dispatch, routing or assignment; it declares what a path is. Competitive behaviour (pick/pack/SLAM execution, waveless release, the order promise) lives in its consumers.
Model complexityModerate (0.58)3 aggregate roots (ProcessPath, CPTSchedule, ProcessFlow), 2 child entities (Cutoff, Stage), 4 value types (Eligibility, which has no invariant of its own, plus the closed sets DestinationLocationRole, Weekday and ProcessType), 25 domain error sentinels (6 in processpath, 11 in cptschedule, 7 in processflow, 1 in shared) plus 1 cross-aggregate rule in a use case (ErrIneligiblePathId), 7 published event types, a two-state lifecycle on ProcessPath and on ProcessFlow. Infrastructure is heavier than the domain: transactional outbox, idempotency keys, optimistic concurrency, analytics projector (ADRs 0003, 0011, 0017, 0007).

The point sits right of centre because the CPT schedule (ADR 0010) and the fulfillment capability contract added real rules. It is still bottom-right — Generic — because none of that logic is a business differentiator.

Evolution​

Stage (Wardley)Applies?Note
GenesisNo
Custom-builtYes, todayBuilt in-house because the catalogue schema is fleet-specific (matchPrefix rule, capability vocabulary, CPT cutoffs).
ProductPlausible nextProcess-path / labour-path catalogues are standard features of commercial WMS/WES products.
CommodityDirection of travelA configuration catalogue tends towards commodity; the stable published language is what the fleet depends on.

Expected movement: right along the evolution axis (custom → product), not up the differentiation axis. If CPT feasibility logic ever moved here from order-management, the context would move up and would need re-classification by a new ADR.