code wiki / _hdl_build / nx_work_retro.nx
nx_work_retro.nx
buildroot/runtime/_hdl_build/nx_work_retro.nx
about
nx_work_retro.nx -- PAST-axis runner: sweep the active organ dir and report any RECENT .nx that is
unaccounted-for in the durable record (no memory doc + no worklog mention) = candidate uncaptured
work. Unlike the silent capture organs this one PRINTS (it is an analysis tool the operator/PM runs
on demand) AND writes a durable report so the planning surface can read it.
nx_work_retro [sweepdir] [window_sec]
defaults: sweepdir = runtime/_hdl_build, window = 7 days. Sovereign. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_work_retro_lib.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
| 9 | const WRR_MAGIC_262144: i64 = 262144 |
| 11 | const WRR_SWEEPDIR: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/runtime/_hdl_build" |
| 12 | const WRR_MEMDIR: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory" |
| 13 | const WRR_WORKLOG: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/worklog/worklog.tsv" |
| 14 | const WRR_REPORT: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/worklog/retro_flagged.txt" |
| 15 | const WRR_WINDOW: i64 = 604800 // 7 days |
functions
| 17 | func wrp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 18 | func wrn(v: i64) -> i64 |
| 27 | func wrr_atoi(s: *u8) -> i64 called by 1: main |
| 32 | func wrr_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 34 | func main(argc: i64, argv: *i64) -> i64 |