nx_jrnl_archive.nx
buildroot/runtime/nx_jrnl_archive.nx
about
nx_jrnl_archive.nx -- "archive it deliberately", as a verb (2026-08-23, lane L).
The sanctioned reset for an append-only status journal that reached its budget: hash-verified copy
to <dir>/archive/<name>.<epoch> (or a named dir), THEN reset the live file -- never the other way
round. All logic lives in nx_jrnl_archive_lib.nx (ja_archive) so the gate composes it in-process.
nx_jrnl_archive <journal> [archive_dir]
exit: 0 archived+reset | 1 empty (nothing to do) | 2 usage | 3 cannot read | 4 archive write failed
| 5 verify mismatch (live untouched) | 6 reset failed (archive verified, live untouched)
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_jrnl_archive_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
| none |
functions
| 12 | func main(argc: i64, argv: *i64) -> i64 |