code wiki / (root) / nx_project_tool_register.nx

nx_project_tool_register.nx

buildroot/runtime/nx_project_tool_register.nx

4473 B46 linesdepth 7pulls 9 transitivereach 0 importersview sourcekind tooltopic project
docsdependenciesstructsconstsfunctions

about

nx_project_tool_register.nx -- register NISHI PROJECT into the sovereign tool registry (operator 2026-07-09: "get beyond microsoft project and leantime ... work with my team and contractors ... getting it into our mcp apis"). The registry IS what nishifamily.com/api/tools + /mcp tools/list serve, so registration = DISCOVERABILITY. Mirrors nx_compare_tool_register: DISCOVERY here; the native /mcp tools/call execution row (tool_allowlist.conf) + cap mint stay the separate fail-closed step. Writes the CWD registry (knowledge/toolreg-); flipping the LIVE NAS registry = run this on the NAS (CWD nishihost). Idempotent. Verifies by READBACK, not claim. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_tool_registry.nx nx_project_tool_register.nx

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

main pr_puts pr_reg1 tool_register tool_register_pfx tr_cat tr_tab reg_put reg_put_x sts_lock reg_key ss_get reg_strlen reg_id_present sts_unlock ss_next_segid ss_begin_cap ss_add ss_commit ss_commit_deferred tool_get tool_get_pfx reg_get reg_key ↻ ss_get ↻ pr_puts ↻ pr_putn pr_putn ↻

structs

none

consts

none

functions

10func pr_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: pr_reg1main
11func pr_putn(v: i64) -> i64
called by 2: pr_reg1main
22func pr_reg1(name: *u8, desc: *u8, invoke: *u8, status: *u8) -> i64
33func main() -> i64