nx_substrate_review.nx
buildroot/runtime/nx_substrate_review.nx
about
nx_substrate_review.nx -- read-only review of the proposal queue.
Reads specs/proposed_changes.jsonl via sys_read; counts proposals
by (kind, status); prints a human-readable summary. Never edits
the file, never approves anything -- approval is human-only per
proposal workflow.
Per user directive (use our write/read): pure NishiLang sys_read
+ sys_write; no shell tools.
Usage:
compile + run -> stdout summary
To approve a proposal: edit specs/proposed_changes.jsonl by hand
(change "status":"pending" -> "status":"approved" on the chosen line).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_runtime.nxnx_tier.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| 48 | struct ReviewCounts |
consts
| 26 | const STDOUT: i64 = 1 |
functions
| 29 | func has_substr(line: *u8, line_len: nx_size, needle: *u8) -> nx_int |
| 69 | func review_one(line: *u8, line_len: nx_size, c: *ReviewCounts) -> i64 |
| 114 | func print_row(label: *u8, p: nx_int, a: nx_int, r: nx_int) -> i64 |
| 127 | func main() -> i64 |