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 / seed / qualification / security673 / repairs / README.md

82 lines · 4899 bytes Raw Blame History Rendered
1# Native authority repair controls
2
3This supplements #685–#688; it does not qualify production concurrent effects.
4`native.json` records the editing-host native run and exact compiler/source/binary
5hashes. The original cleanup compile error is retained as INVALID, not a mutant.
6The corrected cleanup fixture checks the identical result, trace and descriptor
7assertions through a register-bounded helper.
8
9Use an otherwise clean disposable Linux AArch64 checkout of this branch. Rebuild
10with the existing `sh seed/omega-from-seed.sh`; require the compiler SHA-256 that
11the seed pins on this branch, currently
12`7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de`.
13The original replay used the older reconstructed compiler
14`66b4cf34e5cd2c8ff003bd142e7309f52178b66c2380f78ac313b6eb8b67471b`; never repin a
15consumer to that old compiler: omnet's self-exec descriptor protocol requires its
16own newer compiler.
17
18`replay-7a8b84fc.json` records the 2026-10-31 replay with the current compiler
19after merging #688 at 101823e5: every gate, mutant and mutator source and
20executable SHA-256, exit and stdout equals `native.json`. The pre-`cbadcase`
21cleanup gate from 08bd7aa7 still fails with `omc: line 274: error 12`, so the
22register-bounded helper remains required. The mutator also refused, exit 93 with
23no output, an unexpected gate, an already-mutated cleanup gate and an
24already-mutated dispatch-order gate, and an unknown mode with exit 90. The full
25coordinator `gate669.om` was run separately at that head: exit 0, `GATE669 PASS`.
26
27For each row, compile the gate using `seed/out/omc`, require compiler exit 0,
28mark the resulting executable, and run it in a separate empty working directory.
29These shell commands are interactive reproduction instructions, not a new runner:
30
31```sh
32mkdir -p build/repair-replay/order
33seed/out/omc < seed/authority/dispatch-order-gate.om > build/repair-replay/order-gate
34chmod +x build/repair-replay/order-gate
35(cd build/repair-replay/order && ../order-gate)
36```
37
38| Gate | Positive assertion | Mutation mode | Negative assertion |
39|---|---|---|---|
40| dispatch-order | 3 checks, fails=0 | 0 | acquired-record refusal (also read/acquisition error cleanup) |
41| store-exact | 4 checks, fails=0 | 1 | trailing-record refusal |
42| lock | 8 checks, fails=0 | 2 | missing/directory unlink error accumulated by the gate |
43| store-cleanup | 18 cases, fails=0 | 3 | `cbadcase`: result, ordered effects and descriptor identity |
44
45Build `mutate.om` with the same compiler. It reads a gate from stdin, writes its
46mutant to stdout, and takes the table's mode as its sole argument. It requires
47one exact source match (four in mode 3), refusing an unexpected source with 93
48before emitting any bytes. Argument/input/output errors are 90/91/92/94.
49
50```sh
51seed/out/omc < seed/qualification/security673/repairs/mutate.om > build/repair-replay/mutate
52chmod +x build/repair-replay/mutate
53build/repair-replay/mutate 0 < seed/authority/dispatch-order-gate.om > build/repair-replay/order-mutant.om
54seed/out/omc < build/repair-replay/order-mutant.om > build/repair-replay/order-mutant
55chmod +x build/repair-replay/order-mutant
56mkdir -p build/repair-replay/order-negative
57(cd build/repair-replay/order-negative && ../order-mutant)
58```
59
60Require each preceding command to succeed before executing its output. Each
61negative executable must finish normally with exit 1 from its intended assertion.
62A signal, timeout, malformed executable or compiler failure is INVALID. Lock and
63cleanup failures have no stdout; inspect their explicit aggregate-assertion
64return sites, not merely any nonzero exit. Store-exact mode 1 deliberately does
65not remove the generation probe, so it proves only record-probe sensitivity.
66
67Dispatch-order uses an acquisition schedule double; cleanup uses handwritten
68write-side effect doubles. Exact-input and lock gates exercise real filesystem
69operations in disposable directories. None qualifies arbitrary filesystem
70interference, production revocation fencing, stale-pid ABA safety, power loss or
71aggregate durable accounting. Replay the full existing coordinator separately;
72its status is not inferred from these four fixtures.
73
74`clean-replay.json` records the independent clean-checkout replay of these four
75fixtures and four compiled controls. `regression-replay.json` additionally records
76unchanged action219, delegate74, reuse74, store77 and dispatch37 checks passing.
77The store fixture requires a pre-existing `build/` parent in its working directory;
78the first isolated invocation omitted it and failed70 checks. That invocation is
79retained, followed by the corrected setup with the identical executable. Dispatch
80also needs `seed/authority/effect-ok` built from its existing source inside the
81working directory. No compiler or production-source change was needed for these
82additional regressions. This still does not substitute for the full coordinator.