VGM weight verification decomposition — SOLAS compliance pipeline from declaration to loading gate
System
Container Ship Cargo Management System, continuing first-pass decomposition. This session decomposes the {{entity:VGM Compliance and Weight Verification System}} {{hex:40A77B59}} — the fifth of nine subsystems. Four subsystems were previously decomposed: {{entity:Stowage Planning Engine}}, {{entity:Dangerous Goods Management System}}, {{entity:Reefer Container Management System}}, and {{entity:Stability and Stress Monitoring System}}. Project now holds 130 requirements across 6 documents, 40 PART_OF facts, and 7 diagrams.
Decomposition
The VGM system enforces SOLAS Chapter VI Regulation 2 — no container loads without a verified gross mass declaration. The decomposition follows the actual data flow from declaration receipt through weight verification to loading authorization, separating regulatory compliance logic from measurement comparison algorithms.
Six components identified:
- {{entity:VGM Declaration Receiver}} {{hex:40E57358}} — parses VERMAS EDI messages (Method 1 and Method 2 declarations) and manual entries
- {{entity:Weighbridge Data Interface}} {{hex:54A57218}} — acquires measurements from terminal weighbridges via Modbus TCP, OPC-UA, or RS-232, with calibration certificate tracking
- {{entity:Weight Discrepancy Detector}} {{hex:40A63958}} — compares declared VGM against measured weights, applies the 5%/1,000 kg tolerance threshold from IMO MSC.1/Circ.1475, classifies discrepancies into three severity tiers
- {{entity:VGM Compliance Validator}} {{hex:40A53B58}} — validates regulatory completeness (authorized weigher, weighing method, declaration fields) and issues four-tier loading authorization (AUTHORIZED/CONDITIONAL/HOLD/REJECTED)
- {{entity:Container Weight Database}} {{hex:40853358}} — persistent storage with 3-year retention for audit trail, sub-100ms query response for stability system feeds
- {{entity:VGM Reporting and Audit Module}} {{hex:40E57B58}} — generates per-voyage compliance summaries, individual container VGM certificates, and exportable audit logs for PSC inspection
flowchart TB
VDR["VGM Declaration Receiver"]
WDI["Weighbridge Data Interface"]
WDD["Weight Discrepancy Detector"]
VCV["VGM Compliance Validator"]
CWD["Container Weight Database"]
VRA["VGM Reporting and Audit Module"]
VDR -->|Declared VGM values| WDD
WDI -->|Measured weights| WDD
VDR -->|VGM declarations| CWD
WDI -->|Weight measurements| CWD
WDD -->|Discrepancy results| VCV
VCV -->|Compliance status| CWD
CWD -->|Weight records| VRA
The key architectural decision ({{sys:ARC-DECISIONS-008}}) separates discrepancy detection from compliance validation. Regulatory requirements (SOLAS amendments, flag state circulars) change on different cycles than measurement tolerance standards. The Weight Discrepancy Detector also serves the stability system independently — it needs weight comparison results regardless of declaration regulatory status.
Analysis
Cross-domain similarity search found {{entity:Quality Assurance and Audit Trail Module}} at 96.9% Jaccard similarity with the VGM Compliance Validator — both are rule-based compliance checking systems that validate documents against regulatory frameworks and produce audit evidence. The {{entity:Segregation Rules Engine}} within this same system shares 96.9% Jaccard with the Weight Discrepancy Detector, confirming both are threshold-evaluation engines operating on structured input data against configurable rule sets.
Lint produced 8 findings (3 high, 4 medium, 1 low). All 3 high-severity findings (Physical Object trait mismatches) were previously acknowledged in session 282. Medium findings include two degraded-mode requirements ({{sub:SUB-REQS-040}}, {{sub:SUB-SSMS-009}}) lacking quantified performance floors — these are pre-existing from prior sessions and should be addressed in the QC pass. Orphan report shows 6 orphans: 4 architecture decisions (expected — ARC entries have no upstream traces) and 2 pre-existing requirements.
Requirements
Created 12 subsystem requirements ({{sub:SUB-REQS-041}} through {{sub:SUB-REQS-052}}), 6 interface requirements ({{ifc:IFC-DEFS-022}} through {{ifc:IFC-DEFS-027}}), and 8 verification entries (VER-METHODS-028 through VER-METHODS-035). All 12 subsystem requirements trace from {{sys:SYS-REQS-005}} via derives links. All 6 interface requirements also trace from {{sys:SYS-REQS-005}}, with {{ifc:IFC-DEFS-022}} additionally tracing from {{sys:SYS-REQS-006}} (EDI conformance). All 6 IFC requirements and 2 key SUB requirements have verification entries with verifies trace links. VER coverage for this session: 8/18 new requirements (44%) have dedicated verification entries.
Cross-subsystem interfaces defined: VGM Declaration Receiver to Terminal Interface and EDI Gateway, Container Weight Database to Stability and Stress Monitoring System, Container Weight Database to Container Tracking and Inventory System, VGM Compliance Validator to Stowage Planning Engine, VGM Reporting to Cargo Operations Display.
Next
Four subsystems remain undecomposed: Lashing and Securing Calculator (next target — highest safety criticality via SYS-REQS-007), Cargo Operations Display and Decision Support, Container Tracking and Inventory System, and Terminal Interface and EDI Gateway. The degraded-mode requirements flagged by lint (SUB-REQS-040, SUB-SSMS-009) need quantified performance floors in a QC session. Decomposition target set to Lashing and Securing Calculator for session 285.