interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / tools / manifests / unwritten_trap.chiprun

39 lines · 2653 bytes Raw Blame History
1# Manifest for tools/chip_run.sh: the GB10 unwritten-output trap (C3b).
2# Sourced as shell by chip_run.sh, which provides $HERE (omega root) and $PHYSICS.
3# Forge queue only. Verdict semantics follow tests/test_omega_unwritten_trap_gb10.c:
4# line 182 prints "OMEGA_UNWRITTEN_TRAP: <hits>/<runs>" on a completed run
5# line 185 returns 1 if hits or device errors, else 0
6# lines 87,104,110,113,123 print "OMEGA_UNWRITTEN_TRAP: NOT_RUN..." and return 2
7# Hit lines (OMEGA_UNWRITTEN_HIT, line 170) and DEVERR lines (line 153) are not verdict lines.
8GATE=unwritten_trap
9OWNER=unwritten_trap
10TEST_SOURCE="tests/test_omega_unwritten_trap_gb10.c"
11SOURCES="src/omega_unwritten_trap.c src/omega_numeric_divsqrt_gb10.c src/omega_numeric_transc.c src/omega_numeric.c src/omega_numeric_provenance.c src/omega_blackwell_encoder.c src/omega_blackwell_codegen.c src/omega_blackwell_matmul.c src/omega_blackwell_qmd.c src/omega_om_units.c"
12EXTRA_BUILD_SOURCES="$PHYSICS/nvrm/nvrm.c $PHYSICS/m16/m16_native.c"
13# Same default as the old script.
14RUN_ARGS="--chip --repeats 3000"
15# Every line starting with the trap tag is a verdict candidate (this includes NOT_RUN lines);
16# only "<0>/<runs>" passes, so "N/M" with N>0 and "NOT_RUN" both fail.
17VERDICT_RE='^OMEGA_UNWRITTEN_TRAP: '
18PASS_LINE='^OMEGA_UNWRITTEN_TRAP: 0/[0-9]+$'
19# Evidence receipts go outside both candidate trees; convention is ~/workspace/evidence-out/<GATE>.
20EVIDENCE_DIR="$HOME/workspace/evidence-out/OMEGA-UNWRITTEN-TRAP"
21# Old script exit codes kept: 2 = refused / NOT_RUN, with its refusal text line.
22REFUSE_EXIT=2
23REFUSE_VERDICT_LINE="OMEGA_UNWRITTEN_TRAP: NOT_RUN"
24# Old script took only the GPU lock (blocking). It never raised the quiet flag, and the
25# forge queue already serialises runs, so keep that.
26RAISE_QUIET=0
27TAKE_GPU_LOCK=1
28# DECISION (explicit): refuse on a dirty omega tree. The old script had no check; the trap
29# script is run from the forge queue on a clean checkout, so this costs nothing there and
30# makes the receipt's omega_commit trustworthy.
31REFUSE_DIRTY_OMEGA=1
32# REQUIRE_ALL_PASS stays 0 (the default, set here so it is explicit). The harness prints exactly
33# one OMEGA_UNWRITTEN_TRAP line per run, so "last matching line must pass" and "every matching
34# line must pass" are the same test; keeping 0 means a future extra tagged line (for example a
35# NOT_RUN note before a completed line) is judged by the last line, as the old script did.
36REQUIRE_ALL_PASS=0
37# Old script exit codes passed straight through: 0 clean, 1 hits or device error, 2 NOT_RUN
38# printed by the harness (tests/test_omega_unwritten_trap_gb10.c lines 87,104,110,113,123).
39CHILD_EXIT_PASSTHROUGH=1