code wiki / (root) / nx_forge_os_readiness.nx

nx_forge_os_readiness.nx

buildroot/runtime/nx_forge_os_readiness.nx

5458 B137 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic forge
docsdependenciesstructsconstsfunctions

about

nx_forge_os_readiness.nx -- FORGE-ON-NISHIOS READINESS CENSUS (operator 2026-07-16: "get our nishi os ready for the nishi forge capabilities natively -- use compare/evaluate what we need, workflow to eat debt + build SOTA from the biggest rocks down"). Reads the rock registry from the SOVEREIGN STORE (knowledge/store/forge_os_rocks, no-TSV law), grades each capability rock GAP/PARTIAL/READY, computes an honest readiness score (GAP=0 PARTIAL=1 READY=2 over 2*N), and EMITS the big-rocks-first WORKFLOW (rank-ordered gaps = the queue to eat). Re-run as NishiOS matures; the number moves only when a rock's registry verdict flips (backed by real OS gates). usage: nx_forge_os_readiness exit 0 (measurement; the ranked workflow is the deliverable) license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_sov_ledger.nx nx_lib_std.nx nx_forge_os_readiness.nx

imports: nx_sov_ledger.nxnx_lib_std.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main for_run sov_get_copy sys_mmap ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_scan_seglist ss_len sys_mmap ↻ ss_cat ss_readall ss_r32 std_putln std_puts std_slen sys_write for_field for_weight std_streq std_puts ↻ std_streq ↻ std_pdec sys_mmap ↻ std_itoa sys_mmap ↻ sys_write ↻ std_puts ↻ std_pdec ↻ std_putln ↻

structs

none

consts

12const FOR_MAGIC_8192: i64 = 8192
13const FOR_MAGIC_8191: i64 = 8191
14const FOR_MAGIC_1024: i64 = 1024
16const FOR_STORE: *u8 = "knowledge/store/forge_os_rocks"

functions

19func for_field(val: *u8, k: i64, out: *u8) -> i64
called by 1: for_run
37func for_weight(v: *u8) -> i64
called by 1: for_run calls 1: std_streq
44func for_run() -> i64
130func main(argc: i64, argv: *i64) -> i64