code wiki / (root) / nx_warden.nx

nx_warden.nx

buildroot/runtime/nx_warden.nx

2230 B42 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic warden
docsdependenciesstructsconstsfunctions

about

nx_warden.nx -- the Warden demo/cockpit. The reusable POLICY lives in nx_warden_lib.nx (one cardinal source); this just exercises + displays it. The Warden bounds autonomous action: before the Conductor/guardian may ACT (auto-heal, auto-commit), warden_authorize() must pass it against the cardinals. DENY-by-default; every decision audited. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_warden_lib.nx nx_warden.nx

imports: nx_warden_lib.nx

imported by: nobody (leaf or entry point)

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

main w_puts w_show warden_authorize warden_check w_is_build_artifact w_contains w_audit sys_openat_append w_wstr sys_write w_kind_name sys_close w_puts ↻

structs

none

consts

none

functions

10func w_puts(s: *u8) -> i64
called by 2: w_showmain
18func w_show(label: *u8, kind: i64, target: *u8, has_backup: i64, expect_allow: i64) -> i64
called by 1: main calls 2: warden_authorizew_puts
26func main() -> i64
calls 2: w_putsw_show