nx_sites_intel.nx
buildroot/runtime/bin/nx_sites_intel.nx
about
nx_sites_intel.nx -- the IMPROVE layer of the self-improving sites
system. A sovereign, operator-run analyzer that reads the additive
telemetry log (the SENSE layer's append-only output) and emits a
structured intelligence report.
It UNDERSTANDS the additive history: connection volume, success vs
failure (by verdict), LAN/internet access mix, per-vhost mix, and the
TLS handshake latency distribution (min/avg/max + a histogram). This
is the quantified S-class scorecard -- re-run it as the log grows to
track improvement over time (the additive log is the training data).
PRIVACY (no-tracking cardinal): the telemetry log it reads contains
NO PII -- only a coarse LAN/internet bit, timings, byte counts, and
outcome codes. No IPs, no UA/Referer, no cross-session correlation.
Usage: nx_sites_intel.elf (reads the hardcoded telemetry path)
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 22 | const NX_INTEL_LOG_PATH: *u8 = "/volume1/homes/elderwesto/nishihost/sites_telemetry.log" as *u8 |
functions
| 24 | func ai_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 { n = n + 1 } return n } called by 1: ai_puts |
| 25 | func ai_puts(s: *u8) -> i64 { sys_write(1, s, ai_slen(s)); return 0 } |
| 27 | func ai_putdec(v: i64) -> i64 |
| 47 | func ai_kv(label: *u8, v: i64) -> i64 { ai_puts(label); ai_putdec(v); ai_puts("\n" as *u8); return 0 } |
| 51 | func ai_find(buf: *u8, ls: i64, le: i64, key: *u8, klen: i64) -> i64 called by 1: main |
| 67 | func ai_pint(buf: *u8, pos: i64, le: i64) -> i64 called by 1: main |
| 84 | func main() -> i64 |