code wiki / _hdl_build / nx_ciq_field_maintenance.nx
nx_ciq_field_maintenance.nx
buildroot/runtime/_hdl_build/nx_ciq_field_maintenance.nx
about
nx_ciq_field_maintenance.nx -- CIQ field INGEST for the MAINTENANCE PLATFORM
market (author-by-organ). Writes the entity x capability matrix into the
SOVEREIGN seg_store as content-addressed canonical records (prefix
knowledge/store/ciq-, key "ciq:maintenance:cap:<name>"), and APPENDS
"maintenance" to the markets registry so the existing analyst scores it with
ZERO engine change. Mirrors nx_ciq_field_connect.
Market frame: independent maintenance MONITORING + FIXING + REPLACING across
cars/house/plumbing/hvac/tools/appliances, DIYer -> enterprise. Every player
covers only a SLICE -> the fragmentation IS the opportunity.
Entities (6): nishi ; sense (whole-home energy) ; augury (industrial
machine-health / predictive) ; fixd (consumer OBD-II) ; servicetitan
(field-service dispatch / enterprise) ; ifixit (DIY repair knowledge).
cell grammar: <level>[!<evidence>] level in {0,1,2,U}; level 2 (FULL)
REQUIRES !<evidence> (the analyst LIAR-KILLS otherwise). nishi 2 = a real
gated organ; incumbent 2 = !public (publicly-established product fact).
nishi 1 = designed/seed-but-not-wired (HONEST, no overclaim); 0 = absent.
license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_canon_cid.nxnx_seg_store.nxnx_uxf_decode.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
| 25 | const FC_MAGIC_2048: i64 = 2048 |
| 26 | const FC_MAGIC_8192: i64 = 8192 |
| 27 | const FC_MAGIC_1024: i64 = 1024 |
| 29 | const FC_STORE: *u8 = "knowledge/store/ciq-" |
functions
| 31 | func fc_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 32 | func fc_streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 } called by 1: main |
| 33 | func fc_copy(src: *u8, dst: *u8) -> i64 { var i: i64=0; while src[i]!=(0 as u8){ dst[i]=src[i]; i=i+1 } dst[i]=0 as u8; return i } called by 1: main |
| 34 | func fc_contains(hay: *u8, needle: *u8) -> i64 called by 1: main |
| 53 | func fc_row(w: *i64, caps: *u8, coff: *i64, nm: *u8, axs: *u8, wts: *u8, cells: *u8) -> i64 |
| 75 | func main() -> i64 |