code wiki / _hdl_build / nx_ownership_map.nx
nx_ownership_map.nx
buildroot/runtime/_hdl_build/nx_ownership_map.nx
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
imports: nx_syscalls.nx
imported by: nx_parallel_runner.nx
structs
| none |
consts
| 8 | const OM_CONDUCTOR: i64 = 1 |
| 9 | const OM_ENGINEER: i64 = 2 |
| 10 | const OM_BUILDER: i64 = 3 |
| 11 | const OM_DOCTOR: i64 = 4 |
| 12 | const OM_RESEARCHER:i64 = 5 |
| 13 | const OM_LIBRARIAN: i64 = 6 |
| 14 | const OM_REFEREE: i64 = 7 |
| 15 | const OM_PM: i64 = 8 |
| 16 | const OM_COUNCIL: i64 = 9 |
| 17 | const OM_HUB: i64 = 10 |
| 18 | const OM_ORPHAN: i64 = 0 |
functions
| 21 | func om_has(hay: *u8, ndl: *u8) -> i64 called by 1: om_role |
| 36 | func om_role(name: *u8) -> i64 |
| 95 | func om_role_name(r: i64) -> *u8 called by 1: main |
| 110 | func om_count_orphans(names: *i64, n: i64) -> i64 |