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 std_puts ↻ std_pdec sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ std_itoa sys_mmap ↻ sys_write ↻ flp_cycle fm_compose_prompt flp_build_gen_body fm_build_gen_body fc_json_esc_bytes std_itoa ↻ std_itoa ↻ flp_splice_sampling std_itoa ↻ fm_post_gen nx_connect_bounded

structs

none

consts

none

functions

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