V Vant Docs

NSC-9 Automation Reserved Barcode Specification

Status: Draft v0.1

Overview

This spec defines the “NSC-9” barcode format for marking virtual/automation entities in the global EPCIS/UPC system. NSC (Number System Character) digits 6-9 are reserved by GS1 for future use. We propose using “9” to signify automation/virtual systems.

Rationale

GS1 (Global Standards One) manages the global UPC/EAN system. Their reserved Number System Characters:

NSC Current Use Proposed Use
0 Standard retail -
1 Reserved -
2 Variable weight -
3 Pharmaceuticals -
4 Restricted -
5 Coupons -
6 Reserved Future use
7 Reserved Future use
8 Reserved Future use
9 Reserved Automation/Virtual <- PROPOSED

Using NSC “9” provides:

Format Specification

Basic Format

NSC-9: 9-FACILITY-SEQUENCE-CHECK
        │ └─ Check digit (0-9)
        └─ Internal sequence (0-99999)
└──────┬── Manufacturing/Facility code (10000-99999)
       └─ NSC digit (always "9")

Storage Key Format

When storing in quasicrystal:

data/{first2}/{FACILITY_SEQUENCE_CHECK}.json

Example: data/87/87962_49853_4.json

Barcode Generation

From any content (deterministic):

function generateAutomationBarcode(content) {
    const hash = crypto.createHash('sha256').update(content).digest('hex');
    const facility = 10000 + (parseInt(hash.slice(0,5), 16) % 90000);
    const sequence = parseInt(hash.slice(5,10), 16) % 100000;
    const checksum = parseInt(hash.slice(-1), 16) % 10;
    return `9-${facility}-${sequence}-${checksum}`;
}

Use Cases

Vant Memory System

Automation Agents

Virtual Inventory

Comparison

Aspect Traditional DB NSC-9 Quasicrystal
Lookup index Required Not needed
Scale limits Yes No (∞)
Self-authenticating No Yes
Distribution Centralized Distributed
Collision risk Birthday paradox None

Compatibility Notes

Industrial / MFG playbook seed (owner sidebank, 2026-10-16)

Owner direction: the ultimate proving ground for a memory system is industry itself - process/manufacturing/ERP/PLC. NSC-9 as the identity of a PART passing through manufacturing steps: one identifier riding the part’s router, generated per vant instance/brain instead of drawn from a shared UPC registry, with the scan fleets manufacturers already run as the reader layer. Record the seed; the build is a playbook candidate, not a phase trick.

Why the shape holds up (feasibility read):

Two corrections to the sidebank framing (recorded honestly):

  1. Address-space size. The 12-digit UPC-A frame has ~10⁹ routeable points (facility + sequence + check), not 10¹⁰. The 10-billion-class space is the quasicrystal LATTICE the NSC-9 address projects INTO - the barcode is the human/scanner doorway to that space, not the cell space itself. Lattice-scale identity arrives with a carrier that carries more bits (QR/NSC9-key form, or the planned extended frame).
  2. “Existing hardware reads it” splits at the backend. Symbology: yes, everywhere. System behavior: a RETAIL GTIN-validating backend rejects an NSC-9 code (an invalid UPC-A by design - never a real product), while an MES/ERP/WMS that ingests numeric serials as unit-tracked identity reads it through. Manufacturing lines do the latter; choose lanes accordingly.

The two-lane integration decision (what the playbook must close):

Carrier surface (built, pass 258): both lanes are LIVE in lib/carriers.js (the assimilator carrier pack, socket cr/1): nsc9.encode/decode (Lane B), nsc9.giai()/nsc9.fromGiai() (Lane A read-through), and nsc9.matches() - the self-authenticating hand that proves a scanned mark against the held router packet (lib/traveler.js). The pack also carries the continuity/backtracking walk (replay()): gaps and rewrites surface as the auditor’s backtrack map, never repaired. Honest absence: qr/png lanes are declared absent with named blockers until a symbology renderer joins the dependency contract; list() prints the roster without overstating.

PLC/ERP follow-on (not the near playbook): NSC-9 addresses as node keys over OPC-UA/industrial protocols, and EPCIS event streams as the ERP-side ingestion contract (the spec’s Future Considerations #3, now with a named lane). Structure it, gate it through sandbox/vaf like every other identity surface, and keep the honest-refusal law (a malformed NSC-9 address is a typed error, never a silent rehash).

The router object (owner ruling, 2026-10-16 - recorded in prd-automation.md)

The NSC-9 frame is the ADDRESSING and the schema; workflow assimilation rides it. What was missing from this playbook is the actual ROUTER OBJECT - the thing a manufacturing floor holds in its hand.

The answer: the horcrux. The boot-stone moves out of models/ and becomes the node-level router, the encrypted, self-contained, multimodal state packet that tiny PLCs and edge nodes INGEST, HOLD, and PASS ON without spending any resources:

Full product requirements, honest truth-states, and the phase gates (P0 record-only -> P1 schema -> P2 sim PoC -> P3 pilot-line) live in labs/prd-automation.md - this section is the seed it begins with. NOTHING IS BUILT YET per the owner’s ruling; the red team’s “destroy vant first, then make it real” order stands.

Future Considerations

  1. Registration with GS1 for formal namespace
  2. Sub-divisions (e.g., 90-94 for different automation types)
  3. Integration with EPCIS (Electronic Product Code Information Services)
  4. The industrial playbook (the two-lane decision + the router object + a real pilot line, owner sidebank 2026-10-16 - see the seed section above; the router object is recorded there and seeded as prd-automation.md)

Authors

References