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 / evidence / prefetch-640 / reproduce.md

50 lines · 2358 bytes Raw Blame History Rendered
1# Host reproduction
2
3Run from this repository root on Linux AArch64. `OMC` below names the qualified
4compiler whose SHA256 is recorded in `receipt.json`. Check that digest before
5building. `OUT` must name a fresh directory. These are developer orchestration
6commands; the classifier and fixture generation are native handwritten Omega.
7No command below executes a GPU test.
8
9```sh
10mkdir "$OUT" &&
11quiet-build sh -c '"$OMC" < native/prefetch/classify.om > "$OUT/classify"' &&
12quiet-build sh -c '"$OMC" < native/prefetch/review-fixtures.om > "$OUT/fixtures"' &&
13quiet-build sh -c '"$OMC" < native/prefetch/review-nested.om > "$OUT/nested"' &&
14chmod 700 "$OUT/classify" "$OUT/fixtures" "$OUT/nested"
15```
16
17Export `OMC` and `OUT` for the build commands. Only execute outputs if every
18build exits zero; compare the classifier digest to `native/prefetch/classify.sha256`.
19For mode0 (argmax mismatch), generate a complete log and receipt:
20
21```sh
22quiet-build "$OUT/fixtures" 0 L > "$OUT/0.log"
23quiet-build "$OUT/fixtures" 0 J > "$OUT/0.json"
24quiet-build "$OUT/classify" 1 "$OUT/0.log" "$OUT/0.json"
25```
26
27Expect `PREFETCH_CONTROL: CAUGHT`, exit0. Fixture mode1 is logits-only,
28mode2 both mismatches, mode3 complete pass (supply observed child exit0,
29expect UNCAUGHT/exit1). The other modes and observed exits are recorded in
30`results.txt`. For modesL..X, use the selected mode's generated log with the
31normal mode0 receipt, except Q uses mode1 receipt, preserving tok_same.
32Their expected return is65 except P/Q, which correspond to numerical checks.
33Each classifier invocation must be a fresh process.
34
35Generate a contradictory nested flag without damaging JSON syntax:
36
37```sh
38quiet-build "$OUT/nested" 0 < "$OUT/0.json" > "$OUT/bad.json"
39quiet-build "$OUT/classify" 1 "$OUT/0.log" "$OUT/bad.json"
40```
41
42Expect INVALID/exit65. Native nested modes0..9 cover all cases in
43`nested-results.txt`; all must return65. Generation itself must exit zero.
44The final independent review covers53 invocations and an independent
45byte-identical classifier build. `initial-finding.txt` documents the prior
46version's real defect and is superseded by `review.txt`.
47
48The shell admission cases in `parent-checks.txt` deliberately fail before
49the script reaches any device command. Do not run the full GPU script merely
50to reproduce host qualification. Hardware experiment remains NOT_RUN.