code wiki / _hdl_build / nx_live_fetch_scale.nx
nx_live_fetch_scale.nx
buildroot/runtime/_hdl_build/nx_live_fetch_scale.nx
about
nx_live_fetch_scale.nx -- the team's LIVE-FETCH-AT-SCALE deep-research, the capability the Referee graded
as the gap (operator: "the nishi team should be doing more than just library it should be doing live fetch
too... so that our live fetch pulls into the library better and we synthesize the library better... build
that capability"). The loop: query -> fan-out -> LIVE FETCH each source (the team's HTTP/TLS client) ->
extract -> CATALOG to the Library (PERSIST -- the exceed over Claude's EPHEMERAL run) -> corroborate (>=2)
-> synthesize. Mechanized (LLM only the semantic core). Because it PERSISTS, the next research on the topic
is Library-covered -> the team COMPOUNDS where Claude restarts cold. license_tier: ORIGINAL Composes
nx_browse_text / nx_https_get (fetch) + nx_research_extract + nx_library_cache (Librarian) + nx_corroborate.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_live_fetch_scale_test.nx
structs
| none |
consts
| 32 | const LF_NSTAGES: i64 = 7 |
| 39 | const LF_DRY_TO_COMPLETE: i64 = 2 // K consecutive rounds with 0 new info = corpus COMPLETE (converged) |
functions
| 13 | func lf_fetched_ok(outcome: i64) -> i64 { if outcome == 2 { return 1 } return 0 } called by 1: lf_cataloged |
| 15 | func lf_cataloged(outcomes: *i64, n: i64) -> i64 |
| 21 | func lf_library_after(before: i64, cataloged: i64) -> i64 { return before + cataloged } called by 1: main |
| 25 | func lf_exceeds_on_persistence(team_persisted: i64, claude_persisted: i64) -> i64 called by 1: main |
| 29 | func lf_admit(n_confirming: i64) -> i64 { if n_confirming >= 2 { return 1 } return 0 } called by 1: main |
| 33 | func lf_stage_mechanized(stage: i64) -> i64 { if stage == 4 { return 0 } return 1 } |
| 34 | func lf_mechanized_permil() -> i64 { return 6 * 1000 / LF_NSTAGES } called by 1: main |
| 41 | func lf_round_dry(new_info: i64) -> i64 { if new_info == 0 { return 1 } return 0 } called by 1: lf_run_until_complete |
| 43 | func lf_corpus_complete(consecutive_dry: i64) -> i64 { if consecutive_dry >= LF_DRY_TO_COMPLETE { return 1 } return 0 } called by 1: lf_run_until_complete |
| 45 | func lf_is_stale(age_rounds: i64, ttl_rounds: i64) -> i64 { if age_rounds > ttl_rounds { return 1 } return 0 } called by 1: main |
| 47 | func lf_propose_assignment(topic_covered: i64) -> i64 { if topic_covered == 0 { return 1 } return 0 } called by 1: main |
| 49 | func lf_may_run_round(worker_budget: i64) -> i64 { if worker_budget > 0 { return 1 } return 0 } called by 1: main |
| 53 | func lf_run_until_complete(new_per_round: *i64, n_rounds: i64, max_rounds: i64, out_complete: *i64) -> i64 |