nx_acquire.nx
buildroot/runtime/nx_acquire.nx
about
nx_acquire.nx -- THE LIBRARIAN'S SHELF. Reads knowledge/acquire_sources.conf and answers, for every
external work we know of, the only question that matters: WHAT MAY WE DO WITH IT?
This is the organ that makes the other two live. nx_acquire_lib holds the DOOR (evidence gates
rights) and nx_licgate_lib holds the RIGHTS TABLE; until something drove them from real data they
were a correct decision nobody asked. A capability with no caller is an adoption gap, not a feature.
ONE RIGHTS TABLE. The licence columns come from knowledge/model_license.conf via lg_find_license --
the same table, the same encoding, the same fail-closed semantics the shippability verdict uses.
A second table keyed differently for "code" versus "models" is how two answers for one licence get
created, and the estate already measured FIVE non-communicating licence taxonomies.
FAIL-CLOSED AT EVERY UNKNOWN: a malformed evidence word, an unparseable row, or a licence id absent
from the rights table all degrade toward REVIEW and never toward permission. Silence is never
permission, and "I could not read the row" must never arrive in the same word as "you may".
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_licgate_lib.nxnx_acquire_lib.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
| 21 | const AQX_FCAP: i64 = 512 |
| 22 | const AQX_TAB: i64 = 9 |
| 23 | const AQX_NL: i64 = 10 |
| 24 | const AQX_HASH: i64 = 35 |
| 25 | const AQX_A: i64 = 65 |
| 26 | const AQX_L: i64 = 76 |
| 27 | const AQX_NUMCAP: i64 = 32 |
functions
| 29 | func aqx_puts(s: *u8) -> i64 { sys_write(1, s, lg_len(s)); return 0 } |
| 31 | func aqx_num(v: i64) -> i64 |
| 48 | func aqx_fieldz(buf: *u8, s: i64, e: i64, idx: i64, out: *u8, cap: i64) -> i64 |
| 66 | func aqx_pad(s: *u8, width: i64) -> i64 |
| 73 | func main(argc: i64, argv: *i64) -> i64 |