nx_competitive_intel.nx
buildroot/runtime/nx_competitive_intel.nx
about
nx_competitive_intel.nx -- continuous competitive-intelligence ledger.
Cardinal: feedback-always-racing-out-compete-by-default.
The substrate's standing job: track every named incumbent on every
competition track + record honest delta-to-incumbent so the roadmap
is driven by real position, not aspiration.
Per-record schema (64 bytes / 8 i64):
[0] incumbent_tag (FNV-1a hash of incumbent name)
[1] track_tag (which competition axis)
[2] their_version_hash (snapshot of public version surveyed)
[3] their_strength_q10 (substrate's read of their position, 0..1024)
[4] our_gap_q10 (substrate position vs theirs)
[5] our_plan_sessions (sized arc to close gap)
[6] last_surveyed_iso (epoch-day since 2026-01-01)
[7] next_survey_due_iso (epoch-day; default last + 90)
dependencies 1 imports · 0 importers
imports: 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
| 20 | const NX_MAGIC_1024: i64 = 1024 |
| 27 | const NX_CINT_REC_SIZE: i64 = 64 |
| 28 | const NX_CINT_CHUNK_BYTES: i64 = 32768 |
functions
| 30 | func nx_cint_init() -> i64 |
| 42 | func nx_cint_enable() -> i64 { NX_CINT_ACTIVE = 1; return 0 } called by 1: main |
| 43 | func nx_cint_disable() -> i64 { NX_CINT_ACTIVE = 0; return 0 } called by 1: main |
| 44 | func nx_cint_is_active() -> i64 { return NX_CINT_ACTIVE } |
| 49 | func nx_cint_record(incumbent_tag: i64, track_tag: i64, |
| 73 | func nx_cint_set_next_due(slot: i64, due_day: i64) -> i64 |
| 85 | func nx_cint_lookup(incumbent_tag: i64, track_tag: i64) -> i64 |
| 100 | func nx_cint_field(slot: i64, field: i64) -> i64 |
| 112 | func nx_cint_due_for_survey(now_day: i64) -> i64 |
| 127 | func nx_cint_largest_gap() -> i64 |
| 145 | func nx_cint_n_records() -> i64 |
| 153 | func main() -> i64 |