Skip to main content

Core Domain Chart

Built, released at v0.1.3, applied to k3s (reduced footprint); MCP and A2A built, not deployed

Built on develop (merged 2026-11-08) in IQVO/dock-scheduling, released at v0.1.3 (first release v0.1.0 on 2026-11-09; applied to the k3s cluster on 2026-11-10 at v0.1.2 in a reduced footprint, and the image pinned to the v0.1.3 commit a1a029c in warehouse-infra since 2026-11-16, checked 2026-12-02): dock-scheduling runs its API only (it relays inline); yard-management runs its API and relay. The MCP server (18 tools on develop 096db0a, 14 in v0.1.3) is registered in warehouse-infra but switched off until the cluster has room; the A2A agent (two skills) is built on develop (2026-12-02), not released and not deployed (the chart carries it off by default and warehouse-infra has no a2a block); the analytics projectors, report services and sweeps are registered but switched off, so the KPI reports of yard-management ADR 0011 are released, not yet served. The page still derives from yard/model/model.yaml; where the as-built service differs, the model and this page say so (see the as-built notes).

Following the ddd-crew Core Domain Charts: business differentiation (y) against model complexity (x).

Derived from: model.yaml → contexts[dock-scheduling].chart (complexity: 0.45, differentiation: 0.40, evolution: Product), .aggregates[DockAppointment], .aggregates[DockCalendar], .policies[EtaRisk, NoShowSweep], .read_models[AdherenceReport].

Omitted: the other contexts (their points are on their own charts). The three internal slices are this pack's reading of the model, not values from model.yaml; all of them stay in quadrant 3.

Classification: Supporting​

The context point sits in quadrant 3 (Supporting): below and left of the centre. The model classifies it Supporting, business model Cost reducer (carrier wait, detention, idle dock labour) and revenue protector (on-time inbound).

Differentiation is moderate to low (y = 0.40). The model's roles are Specification (the door calendar), Gateway for carriers (Open Host Service) and Analysis (adherence). The calendar is needed by every site that has doors, and the fleet does not win by how it books a door. What it protects is a cost, carrier wait and idle dock labour, and the on-time arrival of inbound stock. The highest slice is the no-overlap door booking, because it is the one rule that two organisations (carriers and the site) both feel when it fails.

Model complexity is moderate (x = 0.45). Two aggregates (DockAppointment with five states and ten transitions, DockCalendar with a single state), sixteen invariants and ten policies. The hard parts are cross-cutting more than structural: one rule over a door's whole calendar under a per-door advisory lock, four checks against event-fed copies (doors, ASNs, cutoffs and the calendar itself), and physical facts that arrive out of order from yard-management. The adherence report is plain counting and plotted lowest.

Evolution​

The model sets the context's evolution stage to Product. The slices below are this pack's reading.

PartEvolution stage (reading)Why
No-overlap door booking and calendarProductThe model puts the context at this stage; a product could replace it if it published the same events and honoured the same invariants.
Applying yard facts (ArrivalFromGate, ActualDoorWins, OutOfOrderYardFacts)Custom-builtSpecific to the fleet's two-context split between the future and the present of a door.
ETA risk and no-show sweepCustom-builtSmall rules over the site's own tolerance and grace settings.
Plumbing (outbox, inbox, CloudEvents)CommodityThe same building blocks as every context (conventions.integration_rules).

Movement to watch. The model names a future context, transport-visibility, that would feed ReportEta with real-time ETAs. Nothing in the model makes ETA risk more than an advisory today (nothing reschedules automatically), so the slice stays Supporting; if an ETA feed started to drive rescheduling, the ETA slice would move up and right. The industry basis for these placements is on benchmarks.