code wiki / (root) / nx_task_gate.nx

nx_task_gate.nx

buildroot/runtime/nx_task_gate.nx

2502 B41 linesdepth 7pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic task
docsdependenciesstructsconstsfunctions

about

nx_task_gate.nx -- proves MCP Tasks parity on real seg_store (test prefix): dispatch a task, POLL it through pending -> running -> done, retrieve the RESULT, and confirm the payload survives the transitions (additive history). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_task.nx nx_gate.nx nx_task_gate.nx

imports: nx_task.nxnx_gate.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write task_dispatch_pfx tr_cat tr_tab reg_put reg_put_x sts_lock sts_mm sys_mmap sts_werr sys_exit ss_cat sys_openat_append sts_werr ↻ sys_flock reg_key reg_cat ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_scan_seglist reg_strlen reg_id_present sts_unlock sys_flock ↻ sys_close ss_next_segid sys_mmap ↻ ss_cat ↻ ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ↻ ss_segid_ok

structs

none

consts

none

functions

7func streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8) { if a[i]!=b[i] { return 0 } i=i+1 } if b[i]!=(0 as u8) { return 0 } return 1 }
called by 1: main
9func main() -> i64