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/sovereign-intelligence/blob/main/gpu/cuda-crack/PROVENANCE.md # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. 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 `sovereign-intelligence / gpu / cuda-crack / PROVENANCE.md` 38 lines · 4512 bytes Raw Blame History Rendered 1 # gpu/cuda-crack/: provenance 2 3 cuda-crack is the published method, sm_121 encoding tables and chip receipts behind "I broke CUDA". This directory is the project imported verbatim, plus the files listed under "Added here". 4 5 | Field | Value | 6 |---|---| 7 | Project | cuda-crack | 8 | Radicle ID | `rad:z631r2JJiVT8it4tST7RK24hpowi` | 9 | Commit | ``7e3c9a731d8607ceb60b5a257c8c3652becd544f`` (2026-11-07T05:01:21-06:00, "replicate.sh --agent --yes: exact allow-list instead of token deny-list; ...") | 10 | Fetched | 2026-11-07, `git clone --depth 1 https://rosa.radicle.network/z631r2JJiVT8it4tST7RK24hpowi.git`; the head matched the seed's advertised `refs/heads/main` and `stack/STACK.tsv` | 11 | Imported | 2026-11-07, `git archive HEAD \| tar -x -C gpu/cuda-crack`: all 169 tracked files, byte-identical (checked file by file with `cmp`), executable bits kept. Nothing was left out; the largest file is 167,751 bytes | 12 | Licence | Apache License 2.0, [`LICENSE`](LICENSE) | 13 14 `SHA256SUMS` lists the sha256 of the 169 imported files, in `LC_ALL=C` path order; `build.sh` step 8 checks it, and `receipts/SHA256SUMS` (148 receipts), on every build. 15 16 ## Added here 17 18 - `PROVENANCE.md` and `SHA256SUMS`. 19 - `check/mutate.om`: the four planted bugs of `check/check.sh`, in seeded Omega (below). 20 - `check/mutate-tests/*.txt`: four edge-case tables for it: two NOP records, tabs and a missing final newline, a mask bit already clear (the result goes below zero), a width-0 record with an empty line and a short F record. 21 22 ## What `build.sh` step 8 runs, on AArch64 and native x86-64 23 24 1. `gen/bw_enc_sm121.om` + `gen/isa.om`, built by the seed-born omc and omc-x86, regenerate the 471 forms of `isa/sm121-forms.txt` byte for byte. That file was made with omega-mv omc ``3ad9f10f`…`. Its four header lines name that compiler and are not regenerated; everything after them is. 25 2. `check/reencode.om` checks the tables' D records against their F records. It then rebuilds the 70 kernels that ran on the GB10 (13,520 instructions) from the tables alone, and their sha256 must equal the chip receipt `receipts/cudapp/evidence/CUDAPP-OM-ENCODER/chip-20261027T080240Z/kernels-om.sha256`. 26 3. `check/mutate.om` must produce exactly what `check/check.sh`'s own awk, od and printf one-liners produce (copied verbatim into `build.sh` as `ccmut`). It is checked on the table, the four edge cases and all 70 kernels, and it must refuse an empty kernel. 27 4. The four planted bugs must be caught as `check/CHECK.txt` records them: a flipped fixed bit leaves 540 instructions unmatched and 67 kernels wrong; a corrupted instruction matches no form (exit 4); a field width off by one and a field mask missing one bit are refused (exit 7). 28 29 Running the kernels on the GB10 needs the chip; the build prints it as NOT_RUN. See `REPRODUCE.md`. 30 31 ## The shell, and what replaces it 32 33 | Script | Lines | Status | 34 |---|---:|---| 35 | `check/check.sh` | 83 | Its first-party logic, the four planted bugs, is now Omega: `check/mutate.om`, with the differential above on every build. Its checks run in `build.sh` step 8 on both targets. The script stays because it is the published method: `AGENT-PROMPT.md`, `REPRODUCE.md`, `replicate.sh` and `check/CHECK.txt` cite it. What stays shell is orchestration: compiling, running `reencode` once per kernel, `sha256sum`. Omega successor: one Omega driver using the host words `fork`, `execprog`, `waitpid` and `pipefds`, and an Omega SHA-256. omega-bridge has one (`tests/native/v2/sha256-om2.om`, FIPS 180-4, function mode) that has not moved into this repository yet. | 36 | `gen/run.sh` | 24 | Its check runs in `build.sh` step 8 (point 1). The script stays for the same reason. It pins omc ``3ad9f10f`…`, so it refuses this repository's compilers; the build checks the generated body instead. Omega successor: the same driver, writing the four header lines itself. | 37 | `replicate.sh` | 708 | Stays for now. It clones from Radicle seeds over HTTPS, runs other projects' builds, and embeds a Python agent loop that talks HTTP and JSON to a local model. The Omega pieces that loop needs already exist in omega-mv but have not moved into this repository: `seed/json/` (an RFC 8259 reader and writer) and `seed/net/` (an HTTP/1.1 client and server, and HTTPS through its om/tls TLS 1.3 client). Rewriting the loop in Omega waits for them; the git clones and the other projects' builds need the process driver above. | 38 | `tests/agent-gate.sh` | 125 | Stays with `replicate.sh`: it tests the Python command gate embedded there. |