code wiki / _hdl_build / nx_meal_effort_gate.nx

nx_meal_effort_gate.nx

buildroot/runtime/_hdl_build/nx_meal_effort_gate.nx

9130 B162 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind gate/prooftopic meal
docsdependenciesstructsconstsfunctions

about

nx_meal_effort_gate.nx -- proves the opportunity-cost engine on per-run /tmp fixtures. The cell that matters is T6: the SAME dish, the SAME prices, the SAME alternatives -- and the recommendation FLIPS from "buy it pre-prepped" to "cook it" purely because the cook got better with a knife. If that cell ever goes vacuous, skill has stopped being a term in the arithmetic and the coach is decoration. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_meal_effort.nx nx_gate_verdict.nx nx_meal_effort_gate.nx

imports: nx_syscalls.nxnx_meal_effort.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr 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 ↻ gv_head gv_puts sys_write ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_mmap ↻ as_append fd_apnum sys_mmap ↻ ef_add_skill sys_mmap ↻ ef_skill_key as_append ↻ as_append ↻ mp_put mp_len fd_streq_store sys_mmap ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻

structs

none

consts

11const EG_PFX: i64 = 200
12const EG_FLD: i64 = 1024
13const EG_RATE: i64 = 2500 // $25.00/hour, in cents
14const EG_SCRATCH_MONEY: i64 = 1977

functions

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