code wiki / _hdl_build / nx_work_predict.nx

nx_work_predict.nx

buildroot/runtime/_hdl_build/nx_work_predict.nx

2972 B62 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind orphan librarytopic work
docsdependenciesstructsconstsfunctions

about

nx_work_predict.nx -- FUTURE-axis runner: read capability_ladder.tsv and print the ADJACENT-POSSIBLE frontier (probable-next work: prerequisites DONE, node not yet built), ranked by layer (nearest the hardware root first = the genuine growth front). Prints + writes a durable report for the planning surface. Grounded entirely in the ladder data -- no model prose. Sovereign. nx_work_predict [ladder.tsv] license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_work_predict_lib.nx nx_work_predict.nx

imports: nx_syscalls.nxnx_work_predict_lib.nx

imported by: nobody (leaf or entry point)

structs

none

consts

10const WPR_LADDER: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/knowledge/registry/capability_ladder.tsv"
11const WPR_REPORT: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/worklog/predict_next.txt"
12const WPR_BUFCAP: i64 = 4194304 // 4MB: ladder is ~40KB, ample headroom
13const WPR_OUTCAP: i64 = 1048576

functions

15func wpp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
16func wpn(v: i64) -> i64
25func wpr_read(path: *u8, buf: *u8, cap: i64) -> i64
34func wpr_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
36func main(argc: i64, argv: *i64) -> i64