Skip to main content

YD-0004: Physical facts win: arrival, docking and door release are recorded only by yard-management

Status​

Accepted (2026-11-05): decisions confirmed by the owner the same day; built in both services on develop (merged 2026-11-08); both are registered in warehouse-infra develop (apps.yaml entry, helm values, image pinned at v0.1.2), released at v0.1.2 and applied to the k3s cluster on 2026-11-10 (reduced footprint).

Decision​

RecordArrival, docking and door release are raised by yard-management and applied by dock-scheduling through the policies ArrivalFromGate, ActualDoorWins and CompleteOnDoorRelease. When the trailer docks at a door other than the booked one, the booking follows the trailer without the overlap refusal and any later appointment that now overlaps gets DockAppointmentAtRisk. Yard events are keyed by visit or trailer, so they can arrive in any order across partitions: OutOfOrderYardFacts defines the tolerant handling.

Consequences​

The calendar can briefly disagree with the yard; the yard is right.