nx_entity_pin_gate.nx
buildroot/runtime/nx_entity_pin_gate.nx
about
nx_entity_pin_gate.nx -- the entity pin projection is proven on fixture dossiers (S11, 2026-09-17).
Teeth: a resolved dossier becomes one row with every field; a second projection of the same key REPLACES the row
(never a duplicate); another entity's row survives; a missing dossier and an unresolved one are counted and change
nothing (neg-controls); a differently spaced and cased name normalises onto the same key. Counts are printed as
values. Fixture prefix /tmp/nx_entity_pin_gate- (never the production knowledge/status/).
expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_entity_pin_lib.nxnx_gate_verdict.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
| 11 | const PG_PREFIX: *u8 = "/tmp/nx_entity_pin_gate-" |
| 12 | const PG_TSV: *u8 = "/tmp/nx_entity_pin_gate-entitypin.tsv" |
| 13 | const PG_DOSSIER_A: *u8 = "/tmp/nx_entity_pin_gate-dossier-zq-name.txt" |
| 14 | const PG_DOSSIER_B: *u8 = "/tmp/nx_entity_pin_gate-dossier-other-one.txt" |
| 15 | const PG_DOSSIER_G: *u8 = "/tmp/nx_entity_pin_gate-dossier-ghost.txt" |
| 16 | const PG_DOSSIER_N: *u8 = "/tmp/nx_entity_pin_gate-dossier-nobody-here.txt" |
| 17 | const PG_FILE_MODE: i64 = 420 |
| 18 | const PG_CID_A: i64 = 853 |
| 19 | const PG_CID_A2: i64 = 854 |
| 20 | const PG_CID_B: i64 = 900 |
| 21 | const PG_AUTH_A: i64 = 1051 |
| 22 | const PG_ONE: i64 = 1 |
| 23 | const PG_TWO: i64 = 2 |
| 24 | const PG_ZERO: i64 = 0 |
functions
| 26 | func pg_write(path: *u8, s: *u8) -> i64 |
| 36 | func pg_unlink(path: *u8) -> i64 { return sys_unlinkat(path) } |
| 37 | func pg_count(buf: *u8, n: i64, needle: *u8) -> i64 |
| 50 | func pg_table_count(needle: *u8) -> i64 |
| 58 | func pg_project1(name: *u8, counts: *i64) -> i64 |
| 64 | func main(argc: i64, argv: *i64) -> i64 |