code wiki / _hdl_build / nx_lane_attest.nx
nx_lane_attest.nx
buildroot/runtime/_hdl_build/nx_lane_attest.nx
about
nx_lane_attest.nx -- LANE-CLOSURE ATTESTOR (operator 2026-07-20: "this needs evidence and a
feedback loop keeping it honest"). Replaces the trusting substring-count lane gate: a seat-lane
closure is attested ONLY if the evidence ledger is COMPLETE (every manifest episode has a row --
silent drops refused), FRESH (every row ts within maxage of now -- a stale ledger from an old
run can NEVER pass), and OVER THRESHOLD (>= min property-verified greens). All parameters are
config DATA. exit 0 = attested; 1 = refused (any tooth); 2 = config.
argv: <attestconf> conf keys: ledger= manifest= min= maxage=
KNOWN LIMIT (filed, not hidden): greens are still only as good as the ledger row -- the loop
reverts fixes post-judge, so post-hoc re-judging needs the patch-persistence rung (debt filed).
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_seat_drive_lib.nxnx_deploy_lib.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 15 | const LA_CAP: i64 = 1048576 |
| 16 | const LA_CONF_CAP: i64 = 65536 |
functions
| 18 | func la_atoi(s: *u8) -> i64 called by 1: main |
| 30 | func la_ts_all(buf: *u8, n: i64, vals: *i64, cap: i64) -> i64 called by 1: main |
| 61 | func main(argc: i64, argv: *i64) -> i64 |