code wiki / _hdl_build / nx_adnet_opsbeat.nx

nx_adnet_opsbeat.nx

buildroot/runtime/_hdl_build/nx_adnet_opsbeat.nx

3021 B62 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind tooltopic adnet
docsdependenciesstructsconstsfunctions

about

nx_adnet_opsbeat.nx -- RUNNER for the operator view. Makes nx_adnet_ops REACHABLE. A gated organ with no way to invoke it is, by this ecosystem's own law, still the baseline. The registered-organ path is already proven (POST /api/tools/register then POST /api/organ_run), so this is deliberately a plain organ rather than a new mgmt route: routes are instantly callable but every new one widens the control plane, and this needs no authority beyond reading four files. no argv -> read the live confs and print the report (exit 0 always; a findings list is not a failure) fixtures -> nx_adnet_opsbeat fixtures <inv> <rates> <camps> <apps> (testable; reads only) EXIT CODE IS DELIBERATELY 0 EVEN WITH FINDINGS. This is a report, not a gate. If it exited non-zero on "there is work to do" it would go red permanently the first day someone is busy, and a permanently red signal is a signal nobody reads. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_adnet_ops.nx nx_adnet_opsbeat.nx

imports: nx_syscalls.nxnx_adnet_ops.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main aob_run sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close aop_report sys_mmap ↻ ad_eol aslot_field_b ad_tab aslot_id_ok ainv_rate sys_mmap ↻ ad_eol ↻ aslot_field_b ↻ ainv_num camp_row_budget sys_mmap ↻ aslot_field_b ↻ camp_num camp_row_spent sys_mmap ↻ aslot_field_b ↻ camp_num ↻ aop_rows ad_eol ↻ aop_catd sys_mmap ↻ aob_puts sys_write sys_write ↻

structs

none

consts

17const AOB_INV: *u8 = "/volume1/homes/elderwesto/nishihost/sites/nishifamily/synth/adnet_inventory.txt" as *u8
18const AOB_RATES: *u8 = "/volume1/homes/elderwesto/nishihost/knowledge/status/adnet_rates.conf" as *u8
19const AOB_CAMPS: *u8 = "/volume1/homes/elderwesto/nishihost/knowledge/status/adnet_campaigns.conf" as *u8
20const AOB_APPS: *u8 = "/volume1/homes/elderwesto/nishihost/knowledge/status/adnet_applications.log" as *u8
21const AOB_CAP: i64 = 262144

functions

23func aob_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: aob_run calls 1: sys_write
25func aob_run(pi: *u8, pr: *u8, pc: *u8, pa: *u8) -> i64
53func main(argc: i64, argv: *i64) -> i64
calls 1: aob_run