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/babel/blob/main/ZERO-LEGACY.md # babel aien-dev/babel 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 `babel / ZERO-LEGACY.md` 50 lines · 4509 bytes Raw Blame History Rendered 1 # Zero-legacy rows and proposed exceptions 2 3 Status: **PROPOSED, not reviewed.** These rows are bound to [#3](https://github.com/aien-dev/babel/issues/3) under the inventory authority [aien-architecture-mv #300](https://github.com/aien-dev/aien-architecture-mv/issues/300). 4 5 The scanner is `tools/zero-legacy/closure.om` from aien-architecture-mv main ``12e8c7de``, built with the pinned seed omc (sha256 ``734f0a39`…6b61`, its `omega.pin`). Run at babel main ``156360f``, `closure .` reports 15 outstanding rows and 0 unknown rows. `bind.om` from `feat/300-m0-ledger` ``cd4b3dff`` puts every row under #3. 6 7 A manifest cannot clear any of them. `data demo/` or `data README.md` turns those rows into `FORGED`, because the scanner refuses a data claim over a file it classified as source or hidden. That is by design. Each row below is therefore either a reviewed exception or a migration target. Versions are the sha256 prefix of the file at ``156360f`` and the last commit that touched it. 8 9 ## Translator inputs: exception by design, no Omega successor 10 11 | Row | Category | Version | Purpose | 12 | --- | --- | --- | --- | 13 | `examples/sample/src/hash.c` | C_H | ``4c827730`` `3d13ecf` | sample C input that babel translates | 14 | `examples/sample/src/mix.c` | C_H | ``6307fb1e`` `3d13ecf` | sample C input with S1 and non-S1 functions | 15 | `examples/sample/tools/report.py` | PYTHON | ``3251dbf1`` `3d13ecf` | sample Python input, reported MISSING_IMPLEMENTATION | 16 17 - Babel translates C and Python into Omega, so its sample input has to be C and Python. The files are not part of babel. 18 - The only time they are compiled is in `tests/run.sh`: `cc` builds the original C as the differential oracle. 19 - Omega replacement plan: none. Replacing them with `.om` would remove what the tests exercise. If they move, they move to a fixture directory that the scanner skips, under a reviewed `skip` line. 20 21 ## Text that quotes C: not code, flagged by the content heuristic 22 23 The scanner's HIDDEN rule matches a C include directive (`#` + `include`) or a Rust-style main function header (`fn main` + `(`) in the first 4096 bytes of any file. These files match only because they quote that text. This record spells both markers in split form, so it does not become a HIDDEN row itself. 24 25 | Row | Version | What it quotes | 26 | --- | --- | --- | 27 | `demo/c.txt` `demo/cpp.txt` `demo/go.txt` `demo/python.txt` `demo/rust.txt` `demo/zig.txt` | ``3bf3ed5d`` ``4ea4beeb`` ``114eeba4`` ``40bba857`` ``62b0e52a`` ``ba41e026``, all `3d13ecf` | recorded babel transcripts; the ABSORBED reason quotes the `stdint.h` include line | 28 | `README.md` | ``454cb194`` `156360f` | the verdict table quotes the `stdint.h` include line | 29 | `src/20-split.om` | ``7f8ad437`` `3d13ecf` | `text` constants holding the S1 header line and reason strings | 30 | `src/30-pipe.om` | ``adc9d5b7`` `3d13ecf` | the header that babel adds to every C unit | 31 | `src/40-gen.om` | ``aa458b9b`` `3d13ecf` | target-language driver templates that babel emits: a Rust main function, a C driver including `stdio.h` | 32 33 - The three `src/*.om` files are the native Omega implementation of babel; nothing replaces them. 34 - Omega replacement plan: none needed. Once reviewed, these rows need a recorded review decision; the scanner has no per-file reviewed state today. 35 36 ## Host sequencers: migration targets 37 38 | Row | Category | Version | Purpose | Host tools observed | 39 | --- | --- | --- | --- | --- | 40 | `build.sh` | SHELL | ``2acb1d9b`` `512e3ef` | extracts the pinned omc and `sha256-om2.om` from omega-mv with `git show`, checks them with `sha256sum -c`, drops `export` with `sed`, then compiles `build/babel.om` | dash, git 2.43.0, sed | 41 | `tests/run.sh` | FOREIGN | ``e019d8fd`` `dd79838` | end-to-end checks: lint, usage exits, six targets, `cmp`, JSON parse, the `fold` negative control | dash, awk, cmp, `python3 -m json.tool` (Python 3.12.3), cc, target toolchains | 42 43 Omega replacement plan: 44 45 - `build.sh`: an `.om` builder. It needs `execprog` and `waitpid` to run git and omc. The scanner reports an `.om` file containing `execprog` as WRAPPER, outstanding until reviewed. The `sed` step disappears once the pinned omc accepts `export fn` beside a main function. It refuses that today with error 9, as the `build.sh` comment records. 46 - `tests/run.sh`: 47 - The JSON check can move to an `.om` checker instead of Python. That leaves SHELL, not FOREIGN. 48 - The rest needs the same process words for `cc`, `rustc`, `go` and `zig`, so it moves after `build.sh`. 49 50 Nothing here is migrated yet. NOT_RUN: `.om` builder, `.om` test driver.