Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-seed-challenge/blob/main/README.md # omega-seed-challenge aien-dev/omega-seed-challenge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-seed-challenge / README.md` 102 lines · 5970 bytes Raw Blame History Rendered 1 # The Omega seed-chain bootstrap challenge 2 3 Rebuild the Omega compiler from 408 hand-written bytes on your own machine, and check that every rung 4 comes out byte for byte the same as the published values. On a DGX Spark the rung chain took 323 ms 5 (`chain_ms 323` in the [recorded log](results/drakestapleton-spark-gb10-`20261027`.log)). 6 7 ``` 8 seed0.hex --load0.sh (POSIX printf)--> seed0 (408 B) --> hex1 (776 B) --> asm2 (2,464 B) 9 --> om4 (14,224 B) --> omc --> omc --> omc (325,524 B, all three identical) 10 ``` 11 12 No C compiler, assembler or linker writes a byte of this chain. Each rung is a program written by the 13 rung below it, starting from 408 bytes you can read word by word in `seed/rung0/seed0.hex`. 14 The checker and the source live in [omega-mv](https://interplane.io/drakestapleton/omega-mv) 15 (`seed/challenge/`). This repository holds the result checker and the results recorded so far. Omega's 16 home is . The old github.com/aien-dev addresses, with their public runner 17 history and issue form, are gone. 18 19 ## Run it 20 21 You need AArch64 Linux: a Raspberry Pi 4/5 on a 64-bit OS, an Ampere or Graviton machine, an arm64 Linux 22 VM on Apple silicon, or a DGX Spark. You also need `git`, `sh`, `awk`, `sed`, `tar` and coreutils. You 23 don't need root or a compiler, and nothing is downloaded after the clone. 24 25 ```sh 26 git clone https://interplane.io/drakestapleton/omega-mv.git 27 cd omega-mv 28 sh seed/challenge/run.sh --expect seed/challenge/expected-v1.txt 29 ``` 30 31 With the version 1 table named above, the last line is `CHALLENGE PASS pin=`369dbc96`… omc=`2c824805`…` 32 (exit 0) or `CHALLENGE FAIL` (exit 1). Without `--expect`, run.sh checks the newer version 2 table 33 (`seed/challenge/expected.txt`, pin `c945f974`), whose values differ from the ones below. 34 On any other architecture it prints `CHALLENGE NOT_RUN` (exit 3). The seed programs are AArch64 Linux 35 ELF files, and the script never emulates them. The hash log is `build/seed/challenge/challenge.log`. 36 The script builds from `git archive` of the pin into `build/`, and it never rewrites a tracked file. 37 38 ## The published values 39 40 These come from omega-mv source commit ``369dbc96daa1684db2d7c2c7085bbf16b3fd77ee``. Each value is the 41 sha256 of the file committed at that pin, read with `git show : | sha256sum` before anything 42 was rebuilt. 43 44 | Rung | Written by | Bytes | sha256 | 45 |---|---|---:|---| 46 | seed0 | `load0.sh` from `seed0.hex` | 408 | ``aca00cf3677236809f0f223437398c6bb429e4c65f13d58762bcf96d13799474`` | 47 | hex1 | seed0 from `hex1.hex` | 776 | ``920e1756aec399c7c74f5cedd1676abb91b844ea75448e14aa50dcb0bbc7ba5d`` | 48 | asm2 | hex1 from `asm2.hex1` | 2,464 | ``6988abe072fac3cdef2240d5ad13a3ecd8fb576fa09112d344b9e7c2315969c4`` | 49 | om4 | asm2 from `table.s2 table3.s2 table4.s2 om4.s` | 14,224 | ``d0da40e45f1fcc45d9a39c9c52c9d745b545e076970729e51c12d76ef519efab`` | 50 | omc, stages 1-3 | om4, then omc itself, from `seed/omc/omc.om` | 325,524 | ``2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`` | 51 52 The full version 1 table, including the nine input files, is `seed/challenge/expected-v1.txt` in omega-mv. 53 54 ## The negative controls 55 56 Three negative controls were run on a public GitHub runner, which no longer exists; nothing runs them now. 57 Each had to fail: 58 59 1. A tampered rung: one word of `hex1.hex` is changed (the ELF ABI-version byte, which Linux ignores). 60 hex1 still runs, but its hash no longer matches, and the run ends `CHALLENGE FAIL`. 61 2. A wrong published value: one digit of the omc hash is changed, and all three omc stages FAIL. 62 3. A forged log: one hash in a passing log is changed, and `check-result.sh` refuses it. 63 64 You can repeat the third yourself: change one hash in a copy of a passing log and run the check below. 65 66 ## Check a result 67 68 `sh check-result.sh /seed/challenge/expected-v1.txt ` checks a log against the 69 table. Interplane has no form for posting a result yet. 70 Failed runs are worth keeping too: a machine where a rung comes out different 71 is the most interesting result this challenge can produce. 72 73 ## What a pass shows, and what it does not 74 75 - A pass shows that your machine, starting from 408 readable bytes, produced the same compiler binary 76 that is committed in omega-mv, and that the compiler reproduces itself (stage1 = stage2 = stage3). 77 - It is a fixed-output match. It is not general self-hosting, and it is not diverse double compilation: 78 each rung is built by the rung before it, so there is only one path. It also does not show that omc 79 compiles every program correctly. 80 - `check-result.sh` checks that a log is complete and that its hashes are the published ones. A log is 81 text, so the check cannot prove that the run happened. The run that counts is the one on your machine. 82 - The pin is fixed. omega-mv `main` keeps changing `seed/omc/omc.om`, so a new pin needs a new table, 83 read from the committed files in the same way. 84 - The scripts here and in omega-mv `seed/challenge/` are POSIX `sh` host glue. They run the seed 85 programs and compare hashes with coreutils `sha256sum`. They are deliberately not written in `.om`, 86 because a checker compiled by the chain it checks would be circular. 87 88 ## License 89 90 Apache-2.0, the same as omega-mv. See [LICENSE](LICENSE) and [NOTICE](NOTICE). 91 92 ## Human-Directed Agentic Engineering 93 94 Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, 95 architecture, constraints, acceptance criteria, and stopping points; agents implement, 96 execute checks, diagnose failures, and revise within those boundaries. Human review 97 retains responsibility for claims, acceptance, and release decisions. 98 99 For the documented method and a systems-software case study, see Gregory M. Kurtzer, 100 [*Ginux: Building an Independent Kernel That Runs Linux Userspace through 101 Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.`23682548`). 102 This citation describes the development method, not runtime autonomy or an endorsement.