nx_nishios_mode.nx
buildroot/runtime/nx_nishios_mode.nx
about
nx_nishios_mode.nx -- NishiOS DEV/USER MODE: Claude is OPTIONAL, the sovereign ecosystem stands alone.
Operator architecture: the OS boots into USER MODE (pure Nishi ecosystem, NO Claude) or DEV MODE
(Nishi + an OPTIONAL Claude assist channel = the file-protocol nx_claude_bridge, for live-testing
improvements as we work). The non-negotiable property: Claude must be PURELY ADDITIVE -- every
sovereign capability works IDENTICALLY with or without Claude, and USER MODE has ZERO Claude
dependency. This gate proves it with a capability census across both modes.
KAT: user mode runs the full sovereign ecosystem with Claude OFF (0 caps require Claude); the sovereign
capability set is IDENTICAL in user and dev mode (Claude gates nothing); dev mode merely ADDS the
Claude channel; default boot mode = USER (sovereign-first, Claude opt-in). A NEG CONTROL proves the
gate would FAIL if any sovereign cap secretly required Claude.
No hw writes (Rule 26). expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.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
| 15 | func md_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 20 | func md_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 24 | func avail(req_claude: *u8, n: i64, claude_on: i64) -> i64 called by 1: main |
| 31 | func main() -> i64 |