code wiki / _hdl_build / nx_ownership_map.nx

nx_ownership_map.nx

buildroot/runtime/_hdl_build/nx_ownership_map.nx

5803 B114 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_ownership_map.nx -- the LIBRARIAN auto-maps every capability to its owning role by name pattern, and FLAGS orphans (caps no role claims) -- workstream-2 of the parallel run, fully team-doable (no authoring, so the team does it autonomously, not Claude). Keyword->role in priority order; an unmatched cap is an ORPHAN the Librarian surfaces for assignment. license_tier: ORIGINAL Composes nx_team_roster.

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_ownership_map.nx nx_parallel_runner.nx

imports: nx_syscalls.nx

imported by: nx_parallel_runner.nx

structs

none

consts

8const OM_CONDUCTOR: i64 = 1
9const OM_ENGINEER: i64 = 2
10const OM_BUILDER: i64 = 3
11const OM_DOCTOR: i64 = 4
12const OM_RESEARCHER:i64 = 5
13const OM_LIBRARIAN: i64 = 6
14const OM_REFEREE: i64 = 7
15const OM_PM: i64 = 8
16const OM_COUNCIL: i64 = 9
17const OM_HUB: i64 = 10
18const OM_ORPHAN: i64 = 0

functions

21func om_has(hay: *u8, ndl: *u8) -> i64
called by 1: om_role
36func om_role(name: *u8) -> i64
called by 2: om_count_orphansmain calls 1: om_has
95func om_role_name(r: i64) -> *u8
called by 1: main
110func om_count_orphans(names: *i64, n: i64) -> i64
called by 1: main calls 1: om_role