code wiki / (root) / nx_accept_release_binding.nx

nx_accept_release_binding.nx

buildroot/runtime/nx_accept_release_binding.nx

4120 B88 linesdepth 5pulls 5 transitivereach 2 importersview sourcekind librarytopic accept
docsdependenciesstructsconstsfunctions

about

Candidate additive acceptance binding for nx_accept owner; legacy subject records unchanged. This predicate verifies evidence identity, not evaluator authority. The workflow must authorize the evidence producer and retain stage-specific policy/test receipts. No implicit promotion. Wire schema (exactly seven TSV fields, one terminal LF): acceptance-release/v1 SUBJECT CANDIDATE_SHA256 STAGE VERDICT POLICY_SHA256 EVIDENCE_REF EVIDENCE_REF identifies the detailed test bundle; its contents are validated by the workflow. Expected receipt SHA256 binds every byte, including the evidence reference.

dependencies 1 imports · 1 importers

nx_sha256.nx nx_accept_release_binding.nx nx_accept.nx

imports: nx_sha256.nx

imported by: nx_accept.nx

structs

none

consts

10const ARB_ACCEPTED: i64 = 0
11const ARB_INCOMPLETE: i64 = 1
12const ARB_REJECTED: i64 = 2
13const ARB_INVALID: i64 = 3
14const ARB_IDENTITY: i64 = 4
15const ARB_IO: i64 = 5
16const ARB_FIELDS: i64 = 7
17const ARB_SPAN_WORDS: i64 = 2
18const ARB_WORD_BYTES: i64 = 8
19const ARB_HASH_HEX: i64 = SHA256_DIGEST_BYTES*2

functions

21func arb_len(s: *u8) -> i64
24func arb_eq(a:*u8,an:i64,b:*u8,bn:i64)->i64
27func arb_hex_ok(s:*u8,n:i64)->i64
called by 1: arb_receipt
31func arb_stage(s:*u8,n:i64)->i64
called by 1: arb_receipt calls 1: arb_eq
36func arb_field_eq(b:*u8,fields:*i64,field:i64,s:*u8)->i64
called by 1: arb_check_fields calls 2: arb_eqarb_len
39func arb_parse(b:*u8,n:i64,fields:*i64)->i64
called by 1: arb_check_fields
53func arb_check_fields(subject:*u8,candidate:*u8,stage:*u8,policy:*u8,b:*u8,n:i64,fields:*i64)->i64
called by 1: arb_receipt calls 2: arb_parsearb_field_eq
65func arb_receipt(subject:*u8,candidate:*u8,stage:*u8,policy:*u8,receipt_sha:*u8,b:*u8,n:i64)->i64