code wiki / (root) / nx_pm_discover.nx

nx_pm_discover.nx

buildroot/runtime/nx_pm_discover.nx

1025 B25 linesdepth 11pulls 28 transitivereach 0 importersview sourcekind tooltopic pm
docsdependenciesstructsconstsfunctions

about

nx_pm_discover.nx -- the Nishi PM's project-discovery TOOL (standalone). Runs the live Gitea discovery + meta-project organization (reusing nx_wiki_projects_handle) and emits the rendered /wiki/projects page to stdout. Decoupled from the sites daemon (whose graph + the HTTP client hang the compiler), so it compiles fast like the probe. The daemon serves the emitted page from a file; this tool refreshes it (cron/gate/on-demand) -- sovereign auto-discovery, no curation. Status: V1. 2026-05-31.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_wiki_projects.nx nx_pm_discover.nx

imports: nx_syscalls.nxnx_wiki_projects.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_write ↻

structs

none

consts

13const K_MAGIC_262144: i64 = 262144

functions

15func main() -> i64