code wiki / (root) / nx_forge_loop_run.nx

nx_forge_loop_run.nx

buildroot/runtime/nx_forge_loop_run.nx

1535 B42 linesdepth 8pulls 13 transitivereach 0 importersview sourcekind tooltopic forge
docsdependenciesstructsconstsfunctions

about

nx_forge_loop_run.nx -- CLI for the A1 closed maker-checker loop (nx_forge_loop core). argv: <organ> <taskfile> <expectfile> <packfile> <port> <maxcycles> <maxnew> <chat> The task FILE carries the task instruction + the output-contract line (the measured L4 arm shape); the serve at 127.0.0.1:<port> is the maker (0.5B :8033 contract; 1.5B = its own seat). Exit 0 iff GREEN. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_forge_loop.nx nx_forge_loop_run.nx

imports: nx_forge_loop.nx

imported by: nobody (leaf or entry point)

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

main std_putln std_puts std_slen sys_write std_atoi flp_run std_slen ↻ fg_mkpath sys_openat_wr std_puts ↻ std_pdec sys_mmap std_itoa sys_mmap ↻ sys_write ↻ flp_cycle fm_compose_prompt sys_read flp_build_gen_body fm_build_gen_body fc_json_esc_bytes std_itoa ↻ std_itoa ↻ flp_splice_sampling std_itoa ↻ fm_post_gen sys_socket nx_http_client_sockaddr_ip nx_connect_bounded nx_fcntl sys_connect sys_mmap ↻ sys_poll nx_http_client_build_reque nx_dec_emit_u63 _drain sys_read ↻ fm_extract_text std_slen ↻

structs

none

consts

none

functions

8func main(argc: i64, argv: *i64) -> i64