Smart-Yard and Port Operations

by Nick Clark | Published April 25, 2026 | PDF

Container handling, rail-yard switching, port custody transfer, and intermodal handoff sit inside one of the most heavily regulated multi-authority operating environments in the U.S. economy. AAR Manual M-1003, FRA Parts 218/220/240, ISO 18185 e-seal protocols, AAR Interchange Rules, the USDOT FAST Act, MTSA and CFATS for high-hazard cargo, IIJA Section 22425, CTPAT, and the IMO ISPS Code each impose duty-of-custody, train-make-up, brake-test, hours-of-service, and security obligations that today are reconciled across siloed terminal operating systems (TOS), railroad yard-management systems (YMS — OOCL, CSX, BNSF, NS variants), and bilateral EDI links. The AQ spatial-mesh and matched-pair settlement primitives provide the architectural substrate that this regulatory perimeter has been moving toward for thirty years without ever reaching, because the per-pair integration economics never closed.


Regulatory Framework

The smart-yard and port domain is governed by an interlocking lattice of federal, international, and industry-association regimes. AAR Manual M-1003 establishes the quality-management baseline for railroad mechanical components, including the certification and traceability required for interchange-grade equipment. FRA 49 CFR Part 218 governs railroad operating practices including blue-flag protection, switching, and shoving movements; Part 220 governs railroad communications including the radio and event-recorder regime; Part 240 governs locomotive engineer qualification and certification. AAR Interchange Rules (the Field Manual and Office Manual of the Interchange Rules) govern car repair billing, defect-card responsibility, and inter-railroad custody transfer.

On the intermodal and port side, ISO 18185 specifies the freight container e-seal standard — the radio-frequency electronic seal regime used to detect tampering in international container movements. The USDOT FAST Act (Fixing America's Surface Transportation Act, 2015) and the IIJA's Section 22425 establish federal expectations for intermodal data sharing and port-of-entry coordination. MTSA (Maritime Transportation Security Act) and CFATS (Chemical Facility Anti-Terrorism Standards) impose Tier-stratified security obligations on high-hazard facilities. CTPAT (Customs Trade Partnership Against Terrorism) and the IMO ISPS Code govern security-credentialed supply-chain participation. Each regime has its own credentialing authority, its own audit basis, and its own duty-of-care perimeter; none was designed to compose with the others.

Architectural Requirement

A modern container moving from a vessel berth at the Port of Long Beach to a CSX intermodal yard in Atlanta crosses, at minimum, the custody perimeters of: the vessel master, the marine terminal operator, U.S. Customs and Border Protection, the port authority, the drayage operator, the originating Class I railroad, one or more interchange railroads, the destination terminal, and the consignee's drayage carrier. Each handoff is a credentialed event under a different regulatory regime. ISO 18185 e-seal status must be carried as an evidence object across every transfer; AAR Interchange Rules defect responsibility must attach at the moment custody legally shifts; MTSA chain-of-custody must be preserved for hazmat; CTPAT membership status must be reconcilable across any node touching the shipment.

The architectural requirement is therefore not a shared database. It is a primitive that allows credentialed observations from heterogeneous authorities to compose into a single auditable lineage without forcing any authority to surrender its sovereignty over its own credentialing. The AQ spatial-mesh provides the geometry — yard cells, berth slots, track segments, gate-house lanes — within which observations are anchored. Matched-pair settlement provides the bilateral atomic-commit primitive that turns each custody handoff into a tolling-grade event with mutually-attested evidence. N-party coordination provides the multi-party ceremony for events like a customs hold release where three or more authorities must concur. Governed marketplaces provide the capacity-allocation layer for berth windows, crane slots, drayage chassis, and reefer plug positions.

Why Procedural Compliance Fails

Procedural compliance — the current state of the art — fails the smart-yard domain in three structural ways. First, EDI-based bilateral integration produces O(n^2) integration cost as the participant count grows. A terminal that needs to exchange 315/322/350/404/417 messages with thirty steamship lines, six Class I railroads, two hundred drayage carriers, and U.S. Customs has hundreds of bilateral pipes to maintain, each with its own version drift, mapping table, and outage profile. The cost does not amortize, because the per-pair semantic reconciliation never stops needing human attention.

Second, the audit basis collapses across boundaries. When CBP issues a hold and the container is already on a rail car that is already in interchange between NS and CSX, the question of "where was this container, in whose custody, under what seal-state, at what timestamp" must be answered by reconciling the TOS log, the YMS log, the e-seal reader log, the locomotive event recorder, and the gate OCR system — five logs from four authorities with three different clocks. Procedural compliance documents the obligation but provides no architectural primitive to satisfy it. The result is that real audits routinely take weeks and routinely terminate in unresolved discrepancy.

Third, capacity-allocation markets do not exist at the layer they need to exist. Berth windows are negotiated bilaterally; crane slots are scheduled by terminal operations without visibility into downstream rail capacity; drayage chassis pools are managed by intermodal equipment providers (IEPs) without composable interface to terminal yard plans. The result is the chronic dwell-time and chassis-shortage pattern that the FMC and STB have documented in successive supply-chain reports. Procedural compliance does not produce markets; only architectural primitives do.

What AQ Primitive Provides

The AQ spatial-mesh anchors every operational object — container, chassis, locomotive, well car, reefer plug, berth, gate lane — in a credentialed geometry that all participating authorities can reference without owning. Matched-pair settlement provides the atomic two-party custody-transfer primitive: when a drayage tractor pulls a chassis from a yard slot, the terminal operator and the motor carrier produce a mutually-signed event that attaches the ISO 18185 seal-state, the CTPAT credential of both parties, the AAR Interchange defect-responsibility cut-line, and the MTSA chain-of-custody segment in a single atomic commit. Neither party can rewrite the event unilaterally; both parties hold the same evidence object.

N-party coordination extends the same primitive to ceremonies that require three or more authorities. A CBP exam release with rail-pre-pull involves CBP, the terminal operator, and the railroad simultaneously; an MTSA Tier-II hazmat transfer involves the shipper, the terminal, the carrier, and the Coast Guard COTP. The n-party primitive produces an event where every participating authority's credential is bound to the outcome and the event cannot complete unless all required authorities concur. Governed marketplaces ride on top: berth windows, crane slots, drayage windows, and reefer plug capacity become tradeable instruments inside a market whose clearing rules are themselves credentialed by the relevant authority (port, terminal, IEP).

The marker-track primitive provides in-yard navigation for autonomous and semi-autonomous yard equipment — hostlers, ship-to-shore cranes, ASCs, autonomous straddle carriers — without requiring a centralized fleet-management overlord. Each piece of equipment reads marker geometry from the spatial-mesh, contributes its observations back, and operates inside the same credentialed substrate that the custody-transfer events run on. The yard becomes one coherent operating environment instead of a stack of vendor silos that happen to share a fence-line.

Compliance Mapping

AAR M-1003 quality-management traceability maps onto matched-pair settlement events that carry component-level certification credentials through every interchange. FRA Part 218 blue-flag and switching protections map onto spatial-mesh cells whose state is written by credentialed yardmaster and mechanical-department observations; the audit trail is structurally complete because the cells themselves carry the lineage. FRA Part 220 communications and event-recorder obligations compose with locomotive-side observations contributed into the mesh as credentialed events. FRA Part 240 engineer-certification status is a credential carried on the operator side of every train-handling matched pair.

ISO 18185 e-seal events are credentialed observations contributed by reader infrastructure at gates, ship-side, and rail-side; the seal state attaches to the container's lineage and travels with it across every custody transfer. AAR Interchange Rules defect cards become matched-pair settlement events between connecting carriers, with the cut-line of responsibility encoded in the event itself rather than reconstructed after the fact from car-mark history. USDOT FAST Act and IIJA Section 22425 data-sharing obligations are satisfied structurally by the federation primitive itself — the data is shareable because it lives in a credentialed substrate, not because anyone built another bilateral pipe. MTSA, CFATS, CTPAT, and IMO ISPS credentials are all carried as authority-attested attributes on the parties to each n-party ceremony, with the event refusing to complete unless required credentials are present and current.

Adoption Pathway

Adoption does not require a flag-day cutover. The adoption pathway begins at a single high-volume custody perimeter — a marine-terminal gate, a Class I intermodal ramp, an IEP chassis pool — where the matched-pair settlement primitive replaces the existing bilateral EDI pipe with a credentialed event substrate. The TOS or YMS continues to operate as the system of record on its own side; the matched-pair primitive sits at the perimeter and produces the cross-authority evidence object. Once two or three perimeters at a single facility are running on the primitive, the n-party ceremonies (CBP holds, hazmat transfers, defect-card events) become reachable without further integration cost because the underlying substrate is already in place.

The second adoption stage is intra-corridor. A single terminal operating with the primitive at its perimeter can extend the lineage to its connecting Class I railroad, then to the railroad's interchange partners, then to the destination terminals. Each extension is incremental, and each extension produces compounding audit-and-market value because the lineage gets longer and the marketplaces get deeper without anyone having to renegotiate the underlying primitive. The Class I railroads have spent two decades on TSO and PTC integration efforts whose composability has been limited by the absence of exactly this credentialed-perimeter primitive; the primitive does not displace those investments but unlocks the cross-railroad value they were unable to realize on their own.

The third stage is regulator integration: CBP, the FRA, the FMC, the Coast Guard COTPs, and state-level port authorities consume the credentialed substrate directly rather than receiving reports compiled from siloed logs after the fact. CBP gains the structural ability to issue and release holds against credentialed evidence rather than against EDI snapshots that lag the physical reality by hours. The FRA gains the structural ability to verify Part 218 blue-flag, Part 220 communications, and Part 240 engineer-certification compliance against an evidence substrate whose lineage cannot be retroactively rewritten. The FMC gains structural visibility into demurrage and detention disputes whose facts are currently reconstructed from contested logs. The Coast Guard COTPs gain MTSA chain-of-custody evidence that satisfies the regulation's intent rather than its paperwork shadow. State-level port authorities gain the ability to operate berth and inland-port marketplaces whose clearing rules are credentialed by the authority itself. The patent positions the AQ primitive precisely at the layer where the smart-yard and port domain has been trying to federate for a generation, and provides the architectural mechanism by which that federation finally composes into a coherent operating environment that satisfies the regulatory perimeter without being captured by any single regulator's silo.

Nick Clark Invented by Nick Clark Founding Investors:
Anonymous, Devin Wilkie
72 28 14 36 01