Skip to main content

Core Domain Chart

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

Built on develop (merged 2026-11-08) in IQVO/yard-management, released at v0.1.4 (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.4 commit 44d605e in warehouse-infra since 2026-11-18, checked 2026-12-02): yard-management switches on its API and relay (at the check the relay was 1/1 and the API 0/1 Pending on the NotReady agent node k3s-agent2); dock-scheduling runs its API only (it relays inline). The MCP server (25 tools on develop 3bcfc22, 21 in v0.1.4) 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 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). The yard-wide classification is on Subdomain Classification.

Derived from: model.yaml → contexts[yard-management].chart (complexity: 0.60, differentiation: 0.50, evolution: Custom-built), .aggregates[Trailer, YardMove, YardVisit, YardCheck, YardPolicy].

Omitted: the other context, dock-scheduling (its own chart: complexity 0.45, differentiation 0.40, Product). The three internal slices are this pack's reading of the model, not values from model.yaml.

The point sits on the chart's centre line. The model classifies the context Supporting with differentiation exactly 0.50 and complexity 0.60, which the quadrant renderer draws on the middle of the y axis and right of the middle of the x axis. The quadrant labels are a rendering convention; the classification comes from the model (gap YM-G25, accepted: the chart sits on the line by design).

Classification: Supporting​

The model classifies the context Supporting, business model Cost reducer (detention, demurrage, lost trailers, idle dock labour) and throughput enabler.

Differentiation is moderate (y = 0.50). Every site with trucks needs a yard record, and the rules that vary (seal policy, dwell thresholds, whether an appointment is required) differ per operator rather than per product. The platform does not win on them; see Benchmarks. It is higher than dock-scheduling (0.40), in this pack's reading, because the yard produces facts nobody else has (dwell, door occupancy, yard-truck productivity) and drives the dock-scheduling calendar with them (arrival, docking, door release).

Model complexity is high-moderate (x = 0.60). Five aggregates, the most stateful of the two yard contexts: Trailer (four states plus door work), YardMove (four states, a lease), YardVisit (three states), YardCheck and YardPolicy. Twenty-four commands, nine policies and twenty-five invariants, one of which spans two aggregates (a spot or door holds at most one trailer, under a per-location advisory lock and a partial unique index). The hard parts are concurrent and cross-aggregate: occupancy races, lease expiry, and events that arrive out of order across partitions at dock-scheduling.

Evolution​

PartEvolution stageWhy
Occupancy and moves (one place per trailer, claim-next with a lease)Custom-builtThe model's own invariant over trailers and moves; the pull-with-lease shape is copied from fulfillment-execution.
Gate, visits and seal checkCustom-builtSite-policy driven (appointment required or not, FLAG or REJECT). A kiosk or ANPR front-end is an adapter around it.
Yard checks and yard policyCustom-built → ProductAudit and per-site settings are common yard-system functions; a product could replace them if it published the same events.
Plumbing (outbox, inbox, CloudEvents)CommodityThe same building blocks as every context (see CloudEvents standard).

Movement to watch. If the platform competed on yard throughput itself (trailer prioritisation by shortage or cross-dock content, nearest-to-door spot selection, engineered move standards, autonomous yard trucks), the occupancy and moves slice would move right and up, towards Core. The model defers all of those (phase 2 or later; autonomous trucks are a reserved device-control seam, not a context). Today DirectOnCheckIn picks the first free spot by location code.