nx_deploy_leash_gate.nx
buildroot/runtime/nx_deploy_leash_gate.nx
about
nx_deploy_leash_gate.nx -- gate for deployments-on-a-leash (owner accountability, anti-walk-away).
T1 PURE verdict table: alive+fresh=HEALTHY · alive+stale-beat=ABANDONED (the walk-away case,
invisible to pid-checks) · dead pid=DEAD (trumps fresh beat).
T2 DEAD roundtrip: registered deployment with a dead pid -> status reports DEAD, no reclaim.
T3 ABANDONED+RECLAIM: LIVE pid (this gate) with a FORCED-ancient beat -> walk reclaims: its
declared stop-file is touched + watch mark RECLAIMED (reads as RED in nx_watch = loud).
T4 HEALTHY: live pid + fresh beat -> HEALTHY, stop-file NOT touched.
T5 empty registry -> clean walk, verdict 0.
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_deploy_leash.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 lz_reset() -> i64 |
| 17 | func main(argc: i64, argv: *i64) -> i64 |
| 79 | func sq_getpid_leash() -> i64 |