code wiki / _hdl_build / nx_vroom_gitea_push.nx

nx_vroom_gitea_push.nx

buildroot/runtime/_hdl_build/nx_vroom_gitea_push.nx

5504 B94 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic vroom
docsdependenciesstructsconstsfunctions

about

nx_vroom_gitea_push.nx -- the FINAL deploy rung: commit JUST the /video/ camera-fix (the 2 Gitea-source files, NOT -A) + push to Gitea (192.168.8.227:3003, branch agents/invention-engine) via the team's git lane (operator 2026-06-23: "do it with the nishi team's capabilities ... so we don't crash with direct touches"). git's ATOMIC ref update -> the NAS checkout serves the new bytes; no hand-overwrite of a live file = the no-crash guarantee. Every failure mode is a safe no-op: hook-fail -> no commit; behind-origin -> push rejected; wrong served branch -> just not live (honest). Focused add (per CONTRIBUTING: never `git add -A`) so the uncommitted session organs are NOT swept in. After GREEN, nx_live_verify must find scaleX(-1) in the SERVED bytes before this is 'done'. BORROWED RUNG (inherited from nx_ark_push): /usr/bin/git binary, pending the sovereign pack/push lane. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_vroom_gitea_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 pw sys_write g_add sys_mmap pr_run sys_fork sys_openat_rd sys_dup3 sys_execve mk_env sys_mmap ↻ sys_exit sys_mmap ↻ sys_wait4 pn sys_write ↻ sys_mmap ↻ g_commit sys_mmap ↻ pr_run ↻ g_push sys_mmap ↻ pr_run ↻ sys_openat_append 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 F_IDX: *u8 = "nxc2/sites/nishifamily/video/index.html"
17const F_APP: *u8 = "nxc2/sites/nishifamily/video/app.js"
18const C_MSG: *u8 = "video: self-view camera-mirror fix (organ-emitted SSOT, publisher-verified)"
19const C_LOG: *u8 = "knowledge/status/vroom_gitea_push.log"
20const C_MODE_FILE: i64 = 420

functions

22func pw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=0 as u8 { n=n+1 } sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
23func pn(fd: i64, n: i64) -> i64 { if n==0 { sys_write(fd,"0" as *u8,1); return 0 } var m: i64=n; if m<0 { sys_write(fd,"-" as *u8,1); m=0-m } let d: *u8=sys_mmap(24); var k: i64=0; while m>0 { d[k]=(0x30+(m%10)) as u8; m=m/10; k=k+1 } var i: i64=k-1; while i>=0 { let o: *u8=sys_mmap(1); o[0]=d[i]; sys_write(fd,o,1); i=i-1 } return 0 }
called by 1: main calls 2: sys_writesys_mmap
27func mk_env() -> *i64
called by 1: pr_run calls 1: sys_mmap
37func pr_run(argv: *i64) -> i64
51func g_add() -> i64
called by 1: main calls 2: sys_mmappr_run
59func g_commit() -> i64
called by 1: main calls 2: sys_mmappr_run
67func g_push() -> i64
called by 1: main calls 2: sys_mmappr_run
75func main() -> i64