nx_statuscensus.nx
buildroot/runtime/nx_statuscensus.nx
about
nx_statuscensus.nx -- TS11 (/compare/trafficsafety): STATUS ANALYTICS + THE NON-EMPTY-200 SLA GAUGE, the PROGRAM.
Runs the ONE classifier in nx_statuscensus_lib.nx over the live journals (the edge's sites_telemetry.log tail
window and the tools API's actlog.jrnl), truncate-writes the LEVEL to knowledge/status/statuscensus.status
(canonical verdict= LAST line) and appends one row per run to knowledge/status/statuscensus.log (the
TRAJECTORY). Bars come from knowledge/statuscensus.conf (window_bytes= sla_permil_min= min_rows=); an absent
conf announces src=default. Exit 0 GREEN / 1 RED / 3 UNOBSERVED. The gate nx_statuscensus_gate drives the same
lib over planted fixtures, so it cannot disagree with this program on a bucket.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 1 imports · 0 importers
imports: nx_statuscensus_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
| 11 | const SC_TEL_PATH: *u8 = "sites_telemetry.log" |
| 12 | const SC_ACT_PATH: *u8 = "knowledge/status/actlog.jrnl" |
| 13 | const SC_STATUS_PATH: *u8 = "knowledge/status/statuscensus.status" |
| 14 | const SC_STATUS_TMP: *u8 = "knowledge/status/statuscensus.status.tmp" |
| 15 | const SC_LOG_PATH: *u8 = "knowledge/status/statuscensus.log" |
functions
| 17 | func main() -> i64 |