nx_email_tool_register.nx
buildroot/runtime/nx_email_tool_register.nx
about
nx_email_tool_register.nx -- register the EMAIL PROVISIONING PLANE into the sovereign tool registry
(operator 2026-07-09: "get all of this working and on our mcp api type stuff so we can deploy new emails
easily on these domains and allow the admin of those sites to do the same"). The registry IS what
nishifamily.com/api/tools + /mcp tools/list serve, so registration = DISCOVERABILITY. Mirrors
nx_compare_tool_register: DISCOVERY here; execution stays fail-closed in tool_allowlist.conf rows
(domain-PINNED args = the per-site-admin delegation boundary) + per-admin capability tokens.
Writes the CWD registry (knowledge/toolreg-); run ON THE NAS (CWD nishihost) to flip the live surface.
Idempotent (reg_put additive). Verifies by READBACK, not claim. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_tool_registry.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
| 11 | func er_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 12 | func er_putn(v: i64) -> i64 called by 1: er_reg1 |
| 23 | func er_reg1(name: *u8, desc: *u8, invoke: *u8, status: *u8) -> i64 |
| 34 | func main() -> i64 |