code wiki / _hdl_build / nx_ark_push.nx

nx_ark_push.nx

buildroot/runtime/_hdl_build/nx_ark_push.nx

4160 B112 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic ark
docsdependenciesstructsconstsfunctions

about

nx_ark_push.nx -- X-ARK-010: the ark leaves the laptop (crash lesson 2026-06-11: June layer sat unpushed locally; session died at 7:53PM). Each beat: git add -A (retry x3 -- live beats rotate status files mid-scan, the secret_audit.log stat race), git commit (nonzero rc = nothing-to-commit, logged FINE), git push (THE verdict: rc==0 = GREEN). Child stdout/stderr -> /dev/null (banners are not evidence; the log row is). BORROWED RUNG FLAGGED: /usr/bin/git binary (named replacement = sovereign pack/push lane on own torrent stack, X-REP ladder). Paths = consts v1 (house precedent nx_conductor C_ACTIVE; conf-ification rides X-PULSE-101). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_ark_push.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main ap_git_add sys_mmap ap_run sys_fork sys_openat_wr sys_dup3 sys_execve sys_mmap ↻ sys_exit sys_wait4 ap_git_commit sys_mmap ↻ ap_run ↻ ap_git_push sys_mmap ↻ ap_run ↻ sys_openat_append ap_w sys_write ap_wn sys_write ↻ sys_mmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_close sys_exit ↻

structs

none

consts

13const C_GIT: *u8 = "/usr/bin/git"
14const C_REPO: *u8 = "/mnt/c/Users/elder/nishi-core"
15const C_BRANCH: *u8 = "agents/invention-engine"
16const C_LOG: *u8 = "knowledge/status/ark_push.log"
17const C_MSG: *u8 = "ark beat: auto-push (X-ARK-010)"
18const C_MODE_FILE: i64 = 420

functions

20func ap_w(fd: i64, s: *u8) -> i64
called by 1: main calls 1: sys_write
27func ap_wn(fd: i64, n: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
39func ap_run(argv: *i64) -> i64
53func ap_git_add() -> i64
called by 1: main calls 2: sys_mmapap_run
64func ap_git_commit() -> i64
called by 1: main calls 2: sys_mmapap_run
77func ap_git_push() -> i64
called by 1: main calls 2: sys_mmapap_run
89func main() -> i64