Ocean Container Free-Time Expiry, Tiered Demurrage & Drayage Dispatch HITL
Tracks discharged ocean containers approaching terminal Last Free Day (LFD), calculates escalating daily demurrage and chassis detention penalties, and gates priority drayage carrier dispatch on HITL.
Governed Workflow Steps (4)
- 1. Ingest Terminal Discharge
Ingest Terminal Discharge Timestamps, Customs Hold Status & LFD Rules: consume [containerManifest] via ingest.port_container_lfd_ingestor to emit [lfdQueue]. Verify invariant: lfdQueue.containers >= 1.
- 2. Compute Tier-1/2/3 Demurrage
Compute Tier-1/2/3 Demurrage Escalation vs Weekend Off-Dock Drayage Cost: consume [lfdQueue] via vault.vault-supplychain-incoterms-demurrage-detention-risk to emit [projectedDemurrageCents, drayagePullCostCents, netPenaltyAvoidedCents]. Verify invariant: netPenaltyAvoidedCents > 0.
- 3. Approval Gate: Human Review
Pause for explicit human review and signed approval token before executing external write "Approval-Gated Drayage Carrier Tender & Terminal Gate Appointment Book" (webhook.tms_drayage_dispatch_webhook).
- 4. Approval-Gated Drayage Carrier · [Airlock Approval Required]
Approval-Gated Drayage Carrier Tender & Terminal Gate Appointment Book: consume [lfdQueue, drayagePullCostCents] via webhook.tms_drayage_dispatch_webhook to emit [drayageTenderId]. Verify invariant: approvalTokenVerified === true.