code wiki / (root) / nx_accommodate_gate.nx

nx_accommodate_gate.nx

buildroot/runtime/nx_accommodate_gate.nx

4173 B75 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_accommodate_gate.nx -- R2 GATE: proves the accommodation engine adapts the SAME 5-step climb-out plan to the person so the disability disappears. The headline: ADHD profile -> ONE next step surfaced (not a wall of 5 = no overwhelm); default profile -> all 5. Low-energy scales with the day. Plus next-step selection, UI flags, and the survey-answers -> accommodation-flags composition. Exits 0 iff ALL pass. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_accommodate.nx nx_accommodate_gate.nx

imports: nx_syscalls.nxnx_accommodate.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap ac_load_budget g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ chk g_puts ↻ g_putn ↻ seti ac_next_step ac_wants_reminder ac_wants_plain ac_wants_large ac_flag_if

structs

none

consts

none

functions

9func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: chkmain calls 1: sys_write
10func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
19func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
24func seti(a: *i64, i: i64, v: i64) -> i64 { a[i] = v; return 0 }
called by 1: main
26func main() -> i64