code wiki / _hdl_build / nx_research_extract_sovereign_test.nx

nx_research_extract_sovereign_test.nx

buildroot/runtime/_hdl_build/nx_research_extract_sovereign_test.nx

3433 B77 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic research
docsdependenciesstructsconstsfunctions

about

nx_research_extract_sovereign_test.nx -- the SOVEREIGN half of the B3 research loop, now fed by the TEAM's OWN fetch (no Playwright). Reads the sovereign-fetched raw HTTP response knowledge/fetched/wiki_web_dev_sovereign.raw (from nx_research_fetch_wiki) strips the HTTP headers (\r\n\r\n boundary), renders HTML->text with the team's nx_html_to_text, saves the rendered text to knowledge/fetched/wiki_web_dev_sovereign.txt (apples-to-apples with the Playwright benchmark's wiki_web_dev.txt), then drives the team's deterministic ce_extract over it. Division (unchanged): FETCH = sovereign (was the Playwright benchmark); RENDER + EXTRACT = sovereign Nishi; only the qualitative prose->feature semantic residual is the LLM/Nishi-AI seat. Lives in _hdl_build/ so the import search reaches BOTH nx_claim_extract (here) and nx_html_to_text (../). expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_claim_extract.nx nx_html_to_text.nx nx_research_extract_sovereign_

imports: nx_syscalls.nxnx_claim_extract.nxnx_html_to_text.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap ce_read_file sys_openat_rd sys_read sys_close rr_puts sys_write sys_exit nx_html_to_text nx_html_to_text_x h2t_state_new sys_mmap ↻ sys_mmap ↻ h2t_scan_tag h2t_skip_to_gt h2t_scan_name h2t_is_name h2t_is_block_tag h2t_name_eq_lit h2t_lc h2t_lc ↻ h2t_is_suppress_tag h2t_name_eq_lit ↻ h2t_emit_newline h2t_name_eq_lit ↻ h2t_emit_raw h2t_find_href h2t_lc ↻ h2t_is_name ↻ h2t_decode_entity h2t_decode_numeric h2t_is_name ↻ nx_html_entity_lookup h2t_emit_codepoint h2t_emit_text_byte h2t_is_ws h2t_emit_text_byte ↻ sys_munmap sys_openat_wr

structs

none

consts

none

functions

26func rr_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: main calls 1: sys_write
27func rr_putn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
36func main() -> i64