code wiki / _hdl_build / nx_feed.nx

nx_feed.nx

buildroot/runtime/_hdl_build/nx_feed.nx

9421 B210 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind tooltopic feed
docsdependenciesstructsconstsfunctions

about

nx_feed.nx -- F208: THE AUTONOMOUS BACKLOG FEEDER (2026-07-20). The "growing" in the growing-from-god-graph: turns MEASURED maturity gaps into PROPOSED backlog rows so the backlog grows from evidence, autonomously, with the PM triaging -- the rollup's own autonomy + maturity-measurement domains both name this organ as their next rung. COMPOSES, never re-derives: input = a captured nx_ecosystem_maturity_rollup output (the blessed gap deriver); coverage = the frontier seg-store; output = the feedq- plane, a DERIVED VIEW re-seeded per run (sts_seed whole-snapshot semantics = idempotent and SELF-CLEARING: when coverage lands, the proposal drops off the next run). It NEVER writes the frontier SSOT -- propose, don't pollute; promotion = PM copies a row. argv: <rollup-capture> <frontier-prefix> <feedq-prefix> Coverage rule (v1, honest): extract F-ids (F+digits, up to 4) from each domain's next-rung slug; covered iff EVERY extracted id exists in the frontier store (any status). No ids extractable -> always propose (PM dedups; over-proposal is cheap in a staging plane). Proposed row = frontier 9-col format so promotion is literally a row copy. Weight derived from the maturity gap: ordinal ranks TOY=1 FUNCTIONAL=2 PRODUCTION=3 EXCEED=4 S-CLASS=5, w = FEED_W_BASE + (bar - cur) (rank map is definitional ordinal data, commented not hidden). Report: NX-FEED domains=N parsed / covered=N / proposed=N + one PROPOSE line per row. exit 0 = ran (proposals are data, not failures); 2 = usage/inputs. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 5 imports · 0 importers

nx_seat_drive_lib.nx nx_store_seed_lib.nx nx_seg_store.nx nx_deploy_lib.nx nx_syscalls.nx nx_feed.nx

imports: nx_seat_drive_lib.nxnx_store_seed_lib.nxnx_seg_store.nxnx_deploy_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sd_w sys_write sys_exit sys_mmap dp_read sys_openat_rd sys_read sys_close sts_load ss_open_cached ssc_init sys_mmap ↻ ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_cat ↻ ss_loadfile sys_map_file ss_readall ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ssl_key_eq ss_r32 ↻

structs

none

consts

26const FD_CAP: i64 = 1048576
27const FD_MAXIDS: i64 = 4
28const FD_W_BASE: i64 = 4

functions

31func fd_rank(buf: *u8, s: i64, e: i64) -> i64
called by 1: main
43func fd_has_id(fbuf: *u8, fn: i64, idb: *u8, idn: i64) -> i64
called by 1: main
67func main(argc: i64, argv: *i64) -> i64