code wiki / (root) / nx_compliance_verdict.nx

nx_compliance_verdict.nx

buildroot/runtime/nx_compliance_verdict.nx

3324 B69 linesdepth 0pulls 0 transitivereach 0 importersview sourcekind orphan library
docsdependenciesstructsconstsfunctions

about

nx_compliance_verdict.nx -- sealed regulatory-compliance verdict. license_tier: PUBLIC_NISHI_SUBSTRATE genealogy_id: federal_seed_act_1939 + state_seed_law_50_state_matrix + usda_aphis_phyto_2024 + nishi_pillar_2_state_law_2026 The verdict every shippable order receives from nx_state_seed_law_router.nx (and similar regulatory routers -- sales tax, AML, phyto, etc.). Per Pillar 2: substrate-level enforcement that no order progresses past PENDING_COMPLIANCE without router approval. Per Cardinal 13 (additive-only), the ComplianceTrace is permanent; per Cardinal 20 (fail fast), startup verifies the router data is current. ===== The verdicts ===============================================

dependencies 0 imports · 0 importers

imports: none

imported by: nobody (leaf or entry point)

structs

none

consts

18const NX_COMP_OK: i64 = 1 // ship as-is
19const NX_COMP_LABEL_REQUIRED: i64 = 2 // Federal Seed Act label triggered
20const NX_COMP_REGISTRATION_REQUIRED: i64 = 3 // state requires registered seller
21const NX_COMP_RESTRICTED_SPECIES: i64 = 4 // species disallowed at destination (noxious weed, invasive quarantine)
22const NX_COMP_PHYTO_REQUIRED: i64 = 5 // USDA-APHIS phytocertificate required
23const NX_COMP_AGE_VERIFICATION: i64 = 6 // 18+ verification required (some species/states)
24const NX_COMP_BLOCKED: i64 = 7 // cannot legally ship
25const NX_COMP_UNKNOWN_JURISDICTION: i64 = 8 // router has no data for ship-to (fail-safe BLOCK)
60const NX_COMP_DRIFT_CURRENT: i64 = 1 // data <30 days old
61const NX_COMP_DRIFT_STALE_30D: i64 = 2 // 30-90 days old
62const NX_COMP_DRIFT_STALE_90D: i64 = 3 // >90 days old (escalate to attorney review)

functions

27func nx_comp_verdict_name(v: i64) -> *u8
40func nx_comp_can_ship(v: i64) -> i64
48func nx_comp_requires_action(v: i64) -> i64
64func nx_comp_drift_name(v: i64) -> *u8