code wiki / _hdl_build / nx_ingest_governed.nx
nx_ingest_governed.nx
buildroot/runtime/_hdl_build/nx_ingest_governed.nx
about
nx_ingest_governed.nx -- a loop-produced capability does NOT get auto-inserted into the ecosystem/
language (operator: "i dont want just automatic insertion... i want it to go through the council
processes and get documented and get the rigor of the engineer and all that"). A candidate must pass
the SAME governance any capability does, with RACI separation of duties (the organ that AUTHORS never
verifies or admits its own work):
1. ENGINEER -- rigor: compile -> link -> run -> clean exit, classified (no silent miscompile passes).
2. COUNCIL -- admit: only an Engineer-PASS that is ADDITIVE and authored-by-someone-else (no self-admit).
3. SCRIBE -- document: a catalog + doc entry must exist before it is admitted to the registry.
4. INGEST -- only when all three hold; else HELD with a routable reason (-> Doctor / -> document / -> reject).
license_tier: ORIGINAL Composes the existing organs (nx_engineer_gate_runner, nx_warden, nx_crew_scribe).
dependencies 1 imports · 3 importers
imports: nx_syscalls.nx
imported by: nx_cap_register.nxnx_ingest_governed_test.nxnx_spec_ingest.nx
structs
| none |
consts
| 15 | const IG_ENG_PASS: i64 = 1 |
| 16 | const IG_ENG_COMPILE_FAIL: i64 = 2 |
| 17 | const IG_ENG_LINK_FAIL: i64 = 3 |
| 18 | const IG_ENG_CRASH: i64 = 4 // ran but died on a signal (the miscompile/segfault class) |
| 19 | const IG_ENG_FAIL: i64 = 5 // ran, exited non-zero |
| 30 | const IG_ADMIT: i64 = 1 |
| 31 | const IG_REJECT: i64 = 0 |
| 47 | const IG_INGEST: i64 = 1 |
| 48 | const IG_HELD: i64 = 0 |
| 50 | const IG_REASON_OK: i64 = 0 |
| 51 | const IG_REASON_ENGINEER: i64 = 1 // -> route to Doctor to heal, then re-verify |
| 52 | const IG_REASON_COUNCIL: i64 = 2 // -> rejected (non-additive / self-admit / unverified) |
| 53 | const IG_REASON_UNDOC: i64 = 3 // -> route to Scribe/Librarian to document, then re-submit |
functions
| 21 | func ig_engineer(compiled: i64, linked: i64, ran_no_signal: i64, exit_ok: i64) -> i64 |
| 33 | func ig_council(eng_verdict: i64, additive_only: i64, author_id: i64, admitter_id: i64) -> i64 |
| 41 | func ig_documented(catalog_entry: i64, doc_entry: i64) -> i64 |
| 55 | func ig_decision(eng_verdict: i64, council: i64, documented: i64) -> i64 |
| 63 | func ig_held_reason(eng_verdict: i64, council: i64, documented: i64) -> i64 |