From 2ac4a66df4a36915e0a10231f3815c86f122e8a7 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 18 Oct 2026 19:58:07 -0500 Subject: [PATCH 1/2] docs: README files match main on 2026-10-19 Root README.md: - Status date moved to 2026-10-19. - Removed "CI runs the host suites on ubuntu-24.04-arm" and "CI definitions in .github/workflows/ list the suites that run on every push". #564 (merged 2026-10-18) deleted the hosted test workflows; only aien-verification.yml and evidence-immutable.yml remain (checked with ls .github/workflows). - New "How pull requests are tested" section: Spark judge (ADR 0033), the 60 gate manifests in tests/gates/ (ls | wc -l), the three always-run gates in .aien/always, where bundles are published, docs/PIPELINE.md. - Sibling links moved from aien-spark/ to aien-dev/-mv (checked each with git ls-remote); added aien-sovereign-core-mv, aien-protocols-mv, benchmarks-mv, aien-receipts and Aienix. - R15/R16 status now matches aien-architecture CAND-3.gates.md section 8 (R16 G1 to G8 PASS, R15 CONDITIONAL PASS, full QUALIFIED not asserted); CAND-4 records no new R15/R16 run (grep of CAND-4.gates.md). - Added OSC-4 (design only, #472), GPU engine, Omegese and OSH status lines, and the known open problems #523, #524, #526, #527 (read from GitHub). - Build commands: added test-omegese and the verdict lines each target printed on a fresh clone of a8ffd2b9 on the Spark. - Added a License section (AGPL-3.0, from LICENSE) and a layout list that names the lock files. Nested READMEs: - docs/physics0/README.md said ladder, score and controls "do not exist here" and "no learner exists, PD0_CONTROLS_PASS was not produced". All of them exist on main (src/physics0/*, evidence/physics0/verify/ PD0_CONTROLS_PASS-965edfbf35e9.txt). Spec link now aien-dev/physics-mv. - tests/osh/vectors/README.md pointed at ../OSH_PLATFORM_ABI.md and ../tools/make-vectors.sh, which do not exist in this repo (they are in aien-protocols-mv specs/osh-platform/). It said no implementation ran the vectors, but test_osh_lex/parse/expand read expected.txt. Said 52 bash vectors; bash_vectors.tsv and bash_verified.log have 60. Codes 236, 246, 247 and 249 are now in the ABI draft. - bench/prime_race/README.md: the benchmarks contract exists now; linked it. - tools/physics0/pd1-convert/README.md: aien-spark -> aien-dev/physics-mv. - doctrine/README.md: em dash removed from the title only. evidence/**/README.md files were not edited (evidence is immutable). Reuses the still-correct parts of #532 (docs/readme-refresh-2026-10-18). Co-authored-by: Drake Stapleton --- README.md | 73 +++++++++++++++++++++++----- bench/prime_race/README.md | 2 +- docs/physics0/README.md | 6 +-- doctrine/README.md | 2 +- tests/osh/vectors/README.md | 10 ++-- tools/physics0/pd1-convert/README.md | 2 +- 6 files changed, 71 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 87f91fbf1..b5315bb65 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # OMEGA -Omega is the reaction runtime and the compiler for Omega Systems Core, written in C. It defines what computation means without committing that meaning to one machine representation: every program has a content-addressed semantic identity, and realizations (CPU, GB10 GPU) are derived from it and verified against it. +Omega is the reaction runtime and the compiler for Omega Systems Core, written in C. It also carries AIEN's own GPU engine for the NVIDIA GB10 chip in the DGX Spark. Omega defines what computation means without tying that meaning to one machine representation: every program has a content-addressed semantic identity (a name computed from its exact bytes), and realizations (CPU, GB10 GPU) are derived from it and checked against it. + +**Status 2026-10-19: research-grade, pre-alpha.** Some results are proven on the real GB10 chip, and each of those names its receipt below. Everything else runs on a host computer only or is not qualified, and is labelled that way. ```text SILICON -> ATLAS -> PHYSICS/FORGE -> OMEGA -> AIEN (full picture: aien-architecture) @@ -8,16 +10,38 @@ SILICON -> ATLAS -> PHYSICS/FORGE -> OMEGA -> AIEN (full picture: aien-ar Omega was decided by Drake on 2026-09-29 to be both the reaction runtime and the compiler for Omega Systems Core ([decision record](docs/adr/OMEGA-SYSTEMS-CORE-0000.md), frozen). This retires the earlier "not a compiler" wording. +## Where Omega fits in AIEN + +[Aienix](https://github.com/aien-dev/aienix) is the core tree of AIEN and is still in its planning stage; it lists Omega as the language, semantic substrate and GPU engine. Start there for how the pieces fit together. The sibling repositories: + +- [aienos-mv](https://github.com/aien-dev/aienos-mv): the kernel Omega is meant to run on. Omega pins it in `aienos.lock`. ARGUS-0/1 (a defensive plane) is implemented there (`native/argus`, pinned by `argus.lock`); Omega only carries the opt-in `RX_ARGUS` hooks (`src/runtime/rx_argus.c`) and receipts in `evidence/ARGUS/`. +- [physics-mv](https://github.com/aien-dev/physics-mv): FORGE machine realization and the GB10 native path. Omega links it at the commit in `physics.lock`. +- [aien-architecture-mv](https://github.com/aien-dev/aien-architecture-mv): owns status, sequencing and the decision records (ADRs). +- [aien-sovereign-core-mv](https://github.com/aien-dev/aien-sovereign-core-mv): the Rust host runtime that links Omega's GPU engine, and the `aien-test` Spark judge that tests every pull request here. +- [aien-protocols-mv](https://github.com/aien-dev/aien-protocols-mv): specifications Omega implements, for example the OSH shell ABI. +- [benchmarks-mv](https://github.com/aien-dev/benchmarks-mv): measurement harnesses, including the Prime Drag Race contract that `bench/prime_race/` builds on. +- [aien-receipts](https://github.com/aien-dev/aien-receipts): the signed test bundles the Spark judge publishes for each Omega commit. + ## Current state Research-grade and pre-alpha. Plainly: -- **Omega Systems Core compiler:** OSC-0 is frozen as a design. OSC-1 and OSC-2 are implemented with host receipts and are NOT QUALIFIED. OSC-3 is in progress ([OSC-3-DESIGN](docs/osc/OSC-3-DESIGN.md)). It is not self-hosting and there is no general Omega compiler yet; the old Milestone 6 "self-host" result was a fixed-output self-copy check, not compilation ([note](docs/osc/OSC-1-SELF-HOST-STATEMENT.md)). -- **Reaction runtime:** the R1 to R16 qualification ladder passed on builds that predate the composition modules (omega#126), a historical result. Requalification at `3108fc2` recorded R15 FAIL (14 of 16 gates: G1, G15) and R16 FAIL (`evidence/REQUAL-3108fc2/`); the R16 receipt `22d7a79a` at `850fc54` is invalid as a current claim because its script was later found defective; none of R1 to R16 is requalified on the current candidate, and the ladder rerun is in progress. The R16 loop-site inventory was reconciled on the candidate tree (502 sites, 0 unclassified, 0 stale, PR #279); that is the inventory gate only, not R16. The current living build is IMPLEMENTED / NOT QUALIFIED until re-qualified. Composition, Capability Graph, Skill Router, J-Space and Cortex run on the host; the Fabric interface is a host-only loopback with no network; none of this is on silicon as a qualified system. +- **Omega Systems Core compiler:** OSC-0 is frozen as a design. OSC-1 and OSC-2 are implemented with host receipts and are NOT QUALIFIED. OSC-3 is in progress ([OSC-3-DESIGN](docs/osc/OSC-3-DESIGN.md)). OSC-4 (floating point, slices, calls into C, system calls) is a design only, not yet implemented ([OSC-4-DESIGN](docs/osc/OSC-4-DESIGN.md), merged in #472). It is not self-hosting and there is no general Omega compiler yet; the old Milestone 6 "self-host" result was a fixed-output self-copy check, not compilation ([note](docs/osc/OSC-1-SELF-HOST-STATEMENT.md)). +- **Reaction runtime:** on the frozen candidate CAND-3 (omega `f816473`), R16 passed all eight gates G1 to G8 (receipt `evidence/R16/9dfb29957368bcc0acd8ac600f55efdd4ec31221d44ea4e52fbcf987b3cc4adc.json`, merged in #319) and R15 passed on the GB10 as a CONDITIONAL PASS, because Secure Boot was off for that run (declared exception 0002). The verdict of record is [CAND-3.gates.md section 8](https://github.com/aien-dev/aien-architecture-mv/blob/main/qualification/candidates/CAND-3.gates.md) in aien-architecture: full-candidate QUALIFIED is not asserted. The later candidate CAND-4 (omega `c0369e6`) records build reproducibility, not a new R15 or R16 run. Earlier history stays on file: requalification at `3108fc2` recorded R15 FAIL and R16 FAIL (`evidence/REQUAL-3108fc2/`), and the older R16 receipt `22d7a79a` is invalid as a current claim. Changes merged after the candidate freezes are not covered. The current living build is IMPLEMENTED / NOT QUALIFIED until re-qualified. Composition, Capability Graph, Skill Router, J-Space and Cortex run on the host; the Fabric interface is a host-only loopback with no network; none of this is on silicon as a qualified system. - **Numerics (E1):** closed 2026-10-02 on the GB10 chip campaign (Gate 5 26/26 with 47 parity lines, reductions SUM/MAX/MIN/MEAN, nine transcendental ops over all 2^32 inputs each, 148 load/store kernels), consolidated receipt `evidence/E1-CLOSURE/e7851c69d34ac777a9436af16d0bdd5d69264c8528c62d562b600f5d89153061.json`; exclusions (natural-base EXP/LOG have no GB10 kernel) are listed in [E1_GAP_TABLE](docs/numeric/E1_GAP_TABLE.md). +- **GPU engine:** Omega drives the GB10 directly with its own code generator and launcher (`src/omega_blackwell_codegen*.c`, `src/omega_gpu_*.c`), with no CUDA toolkit. Matrix multiply, attention and ternary kernels have chip evidence folders under `evidence/` that name the exact commit and keep the raw logs, for example `evidence/WIDEPF-460-CHIP-7e041401/`, `evidence/MM-STAGES-a5a077d8/` and `evidence/TERN-T0-KT1-18185404-20261016T0151Z/`. These are engineering measurements, not a qualified serving product. Kernel work for the Qwen3.8-27B model is in open pull requests and is not on main. +- **Omegese:** a program language designed for an AI writer, so a model can write Omega programs without bookkeeping. v1, phase 1 done, phase 2 started ([OMEGESE.md](docs/one_layer/OMEGESE.md), `make test-omegese`). Host only. +- **OSH:** an Omega-native shell (lexer, parser and expander in Omega, with C references), host only. Its conformance vectors are in [tests/osh/vectors](tests/osh/vectors/README.md). - **Hardware:** results on the DGX Spark GB10 are tied to the exact commit in each receipt. Host and emulator passes are never reported as hardware qualification. -The live status is owned by [aien-architecture](https://github.com/aien-spark/aien-architecture): [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-spark/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md) and [doctrine/ROADMAP.md](https://github.com/aien-spark/aien-architecture/blob/main/doctrine/ROADMAP.md). This file does not restate numbers that drift. Historical milestone receipts (for example Milestone 4, `OMEGA_SEMANTICS`, 12 of 12 gates) stay in `evidence/` unchanged as history. +Known problems on main, tracked as open issues (state read from GitHub on 2026-10-19): + +- [#523](https://github.com/aien-dev/omega-mv/issues/523): the chip gates M19 and COMPOSITION-GATE-GPU fail on every omega head since 2026-10-15. +- [#526](https://github.com/aien-dev/omega-mv/issues/526): the M19 clean-clone step is refused by the Spark judge sandbox, so M19 fails before it reaches the chip. +- [#527](https://github.com/aien-dev/omega-mv/issues/527): R13-TESTBUILD-SILICON fails intermittently. +- [#524](https://github.com/aien-dev/omega-mv/issues/524): almost any `src/` change selects about 56 of the 60 gates, including the chip gates. + +The live status is owned by [aien-architecture](https://github.com/aien-dev/aien-architecture-mv): [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-dev/aien-architecture-mv/blob/main/CURRENT_EXECUTION_PLAN.md) and [doctrine/ROADMAP.md](https://github.com/aien-dev/aien-architecture-mv/blob/main/doctrine/ROADMAP.md). This file does not restate numbers that drift. Historical milestone receipts (for example Milestone 4, `OMEGA_SEMANTICS`, 12 of 12 gates) stay in `evidence/` unchanged as history. ## Core ideas @@ -25,36 +49,59 @@ The live status is owned by [aien-architecture](https://github.com/aien-spark/ai - **Meaning is permanent; representation is disposable.** Equivalent programs collapse to one `SEMANTIC_ID` (SHA-256 of the canonical encoding); different programs get different ones. - **Pure computation is separate from effects**, and effects need capability-bounded, receipt-producing transactions. -## How this fits with the other repositories +## Other work in this repository -[aienos](https://github.com/aien-spark/aienos) is the kernel Omega is meant to run on. [physics](https://github.com/aien-spark/physics) provides FORGE machine realization and the GB10 native path (pinned in `physics.lock`). [aien-architecture](https://github.com/aien-spark/aien-architecture) owns status and sequencing. ARGUS-0/1 (a defensive plane) is implemented in aienos (`native/argus`, pinned by `argus.lock`); Omega only carries the opt-in `RX_ARGUS` hooks (`src/runtime/rx_argus.c`) and receipts in `evidence/ARGUS/`. Physics Zero exists here as a host benchmark apparatus and learner (`src/physics0/`, `tests/physics0/`, `mk/physics0-learner.mk`, `docs/physics0/`, receipts in `evidence/physics0/`), with its specifications in the physics repository. DIRAC-0 is a specification in aien-architecture plus an oracle source in `research/dirac-oracle/` that has never been built or run. The Evolution Arena is a plan only. +Physics Zero exists here as a host benchmark apparatus, learner and verifier (`src/physics0/`, `tests/physics0/`, `mk/physics0*.mk`, [docs/physics0](docs/physics0/README.md), receipts in `evidence/physics0/`), with its specifications in the physics repository. DIRAC-0 is a specification in aien-architecture plus an oracle source in `research/dirac-oracle/` that has never been built or run. The Evolution Arena is a plan only. ## Standing rules Language rule: Rust is scaffolding, Omega is the destination, and C or assembly stay only where hardware, boot, ABI or measurement justifies them (aien-architecture ADR 0024, which supersedes the old "C is the target, no new Rust" rule). No Python anywhere (tools are C or shell). No CUDA toolkit or CUDA library dependence: the GB10 is driven natively. No systemd. Offline, in-house builds. Never overwrite failed experiments or old receipts. Verdict words: PASS, FAIL, NOT_RUN, BLOCKED_HARDWARE, BLOCKED_OPERATOR, MISSING_IMPLEMENTATION. -## Build and verify +## Build and test -Needs gcc and make on an AArch64 Linux host: CI runs the host suites on `ubuntu-24.04-arm`, and `test-realize` compiles with `-march=armv8.6-a+dotprod+i8mm+sve`. Host suites need no GPU and no physics checkout: +Needs gcc and make on an AArch64 Linux host (`test-realize` compiles with `-march=armv8.6-a+dotprod+i8mm+sve`). These host suites need no GPU and no physics checkout: ```bash make PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 test-compiler-quick # compiler, quick suite make PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 test-numeric-cpu # E1 CPU numerics -make PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 test-realize +make PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 test-realize # algebra realizations +make PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 test-omegese # Omegese language ``` -The full omegatool build (`make`) links the `physics` repository at the commit in `physics.lock`. Some older milestone gate scripts rewrite their receipts in place, so do not run them on a clean checkout you mean to keep; prefer the `make test-*` targets above. Targets that touch the GB10 need the DGX Spark, run one at a time, and are never killed mid-run. CI definitions in `.github/workflows/` list the suites that run on every push. +Each prints a final verdict line. On a fresh clone of main at `a8ffd2b9` on the DGX Spark (2026-10-19) they printed `test-compiler-quick: PASS`, `Gate 5 Verdict: PASS_EXCEPT_DECLARED_CHIP_ONLY` (the 5 skipped checks are declared chip-only), `MA2 test-realize PASS: 179746 checks, 0 failures, 10 realizations` and `test-omegese: PASS`. + +The full omegatool build (`make`) links the `physics` repository at the commit in `physics.lock`. Some older milestone gate scripts rewrite their receipts in place, so do not run them on a clean checkout you mean to keep; prefer the `make test-*` targets above. Targets that touch the GB10 need the DGX Spark, run one at a time, and are never killed mid-run. + +## How pull requests are tested + +Since 2026-10-16 the DGX Spark is the only test judge for pull requests (aien-architecture [ADR 0033](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0033-aien-verification-pipeline.md)). Since 2026-10-18 (#564) no GitHub-hosted workflow builds or tests Omega's code; the two left in `.github/workflows/` only check the Spark's signed bundle (`aien-verification.yml`) and that existing evidence is never edited (`evidence-immutable.yml`). + +- The gates the Spark runs are the 60 manifests in `tests/gates/`. A change runs the gates whose inputs it touches, plus the three in `.aien/always` (CRUMB-VERIFY, OMEGA-EVIDENCE-IMMUTABLE, OMEGA-ZERO-DISK-SECRETS). +- The verdict of record is the commit status "AIEN Verification (Spark)". The signed bundle is published to aien-receipts at `omega//bundle.json`. +- [docs/PIPELINE.md](docs/PIPELINE.md) explains the whole path, including how the `ready-to-merge` label leads to a merge. ## Repository layout -`src/` core and C compiler (`src/compiler/`), `src/runtime/` reaction runtime, `src/fabric/` host-only fabric interface, `src/physics0/` Physics Zero apparatus, `spec/` and `docs/` specifications, `tests/` gate suites, `evidence/` content-addressed receipts, `tools/` harnesses, `mk/` make fragments included by the `Makefile`. Also `bench/prime_race/` (Prime Drag Race implementation), `calibration/` (Turing calibration experiments, preregistration and blinding protocol), `research/` (experiments and prototypes) and `doctrine/` (the Milestone 4 doctrine). +- `src/`: core, the C compiler (`src/compiler/`), the reaction runtime (`src/runtime/`), the host-only fabric interface (`src/fabric/`), the GPU engine (`src/omega_blackwell_codegen*.c`, `src/omega_gpu_*.c`), the OSH shell (`src/osh/`) and Physics Zero (`src/physics0/`). +- `spec/` and `docs/`: specifications and design notes. +- `tests/`: test suites; `tests/gates/` holds the Spark gate manifests. +- `evidence/`: content-addressed receipts and chip evidence. Never edited in place. +- `tools/`: harnesses and helper tools. `mk/`: make fragments included by the `Makefile`. +- `bench/prime_race/`: the Prime Drag Race implementation side. +- `calibration/`: Turing calibration experiments, preregistration and blinding protocol. +- `research/`: experiments and prototypes. `doctrine/`: the Milestone 4 doctrine. +- `physics.lock`, `aienos.lock`, `argus.lock`, `crumb.lock`: the exact commits of the repositories and tools this one builds against. ## Contributing -Open a pull request with the exact command you ran and its output. Receipts are content-addressed, name the exact commit and refuse a dirty tree. Do not edit existing evidence in place. External review is expected before merge. See [CONTRIBUTORS.md](CONTRIBUTORS.md). Contact: aien@aienos.com. +Open a pull request with the exact command you ran and its output. Receipts are content-addressed, name the exact commit and refuse a dirty tree. Do not edit existing evidence in place. A pull request merges only after the Spark judge passes it and a maintainer adds the `ready-to-merge` label ([docs/PIPELINE.md](docs/PIPELINE.md)). See [CONTRIBUTORS.md](CONTRIBUTORS.md). Contact: aien@aienos.com. ## Crumbs This repo uses the Crumb Protocol (RFC-0001). Each directory carries a `.crumb` file (what the directory is for, its rules, and a backfilled history). Live coordination between agents goes in `.crumb.local`, which is never committed. -Before editing a directory, read its `.crumb`. Rules and the `crumb` tool: https://github.com/aien-spark/aien-architecture/blob/main/docs/CRUMB_PROTOCOL.md +Before editing a directory, read its `.crumb`, and run `crumb verify .` before you push. Rules and the `crumb` tool: [CRUMB_PROTOCOL.md](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/CRUMB_PROTOCOL.md) in aien-architecture. Backfilled history (marked as such, not live whispers) is in `docs/crumbs/BACKFILL.md`. + +## License + +GNU Affero General Public License, version 3 ([LICENSE](LICENSE)). diff --git a/bench/prime_race/README.md b/bench/prime_race/README.md index a5d51f7e4..05818563d 100644 --- a/bench/prime_race/README.md +++ b/bench/prime_race/README.md @@ -44,4 +44,4 @@ license and not an upstream language), so results are kept as AIEN receipts, not The canonical answer is the contract: bit k of the output is set exactly when 2k+1 is prime. The number 2 is implied. Unused bits at the end are zero. A previous pass's result is never reused. -The full contract will live in the aien-spark/benchmarks repository once it exists (link to be added). +The full contract lives in the benchmarks repository: [prime-drag-race/CONTRACT.md](https://github.com/aien-dev/benchmarks-mv/blob/main/prime-drag-race/CONTRACT.md). diff --git a/docs/physics0/README.md b/docs/physics0/README.md index 50156ff8b..a1c8840ab 100644 --- a/docs/physics0/README.md +++ b/docs/physics0/README.md @@ -1,8 +1,8 @@ # physics0: PD-0 hidden-equation benchmark substrate -Spec: aien-spark/physics `docs/PD0_HIDDEN_EQUATION_BENCHMARK.md` and `docs/PHYSICS0_DISCOVERY_ENGINE.md` at `5bd2b04` (revision 3). Program note: mind map `2026-10-03-physics-0-discovery-engine`. +Spec: [aien-dev/physics-mv](https://github.com/aien-dev/physics-mv) `docs/PD0_HIDDEN_EQUATION_BENCHMARK.md` and `docs/PHYSICS0_DISCOVERY_ENGINE.md` at `5bd2b04` (revision 3). Program note: mind map `2026-10-03-physics-0-discovery-engine`. -This directory implements **Direction 2 only** (the substrate). Other lanes own the ladder checker, scorer, negative-control harness and learner (`src/physics0/ladder`, `src/physics0/score`, `src/physics0/controls` are reserved for them and do not exist here). +This README covers **Direction 2** (the substrate), the first part written. The other lanes have since landed beside it: the ladder checker (`src/physics0/ladder`), the scorer (`src/physics0/score`), the negative-control harness (`src/physics0/controls`), the learners (`src/physics0/learner`, `src/physics0/learner_v2`; see [LEARNER.md](LEARNER.md)) and the planner and regime code (`src/physics0/planner`, `src/physics0/regime`). Their make targets are in `mk/physics0-learner.mk`, `mk/physics0-learner-v2.mk`, `mk/physics0-planner.mk`, `mk/physics0-verify.mk` and `mk/physics0-pd1.mk`. The table below lists the substrate files only. | File | Role | Side | | --- | --- | --- | @@ -25,4 +25,4 @@ This directory implements **Direction 2 only** (the substrate). Other lanes own Gate lines printed by `make physics0-test`: `PHYSICS0_G0`, `PHYSICS0_ISOLATION`, `PHYSICS0_G1_V1_L`, `PHYSICS0_G1_V3_L`, `PHYSICS0_ORACLE`, `PHYSICS0_MUTANT_SIGN`, `PHYSICS0_OSC_DIFF`. V3 lines may say FAIL without failing the make target: a breach rate above 5 % is a spec finding recorded in the receipt (CALIBRATION.md section 3), not a code defect. -Not claimed: no learner exists, no ladder ran, `PD0_CONTROLS_PASS` was not produced, nothing here is a hardware result. Recorder and range guard are labelled `STAND_IN` in every receipt. +Not claimed: nothing here is a hardware result. Recorder and range guard are labelled `STAND_IN` in every receipt. The verifier lane (Direction 3) has since recorded `PD0_CONTROLS_PASS` in `evidence/physics0/verify/PD0_CONTROLS_PASS-965edfbf35e9.txt` (2026-10-04); `evidence/physics0/verify/README.md` records a calibration finding against the spec. Learner, planner and PD-1 receipts are in `evidence/physics0/learner/`, `evidence/physics0/pd0b/`, `evidence/physics0/planner/` and `evidence/physics0/pd1/`; this README does not restate them. diff --git a/doctrine/README.md b/doctrine/README.md index 6f96f8568..cb9f4fe98 100644 --- a/doctrine/README.md +++ b/doctrine/README.md @@ -1,4 +1,4 @@ -# DOCTRINE: OMEGA — The Sovereign Semantic Substrate +# DOCTRINE: OMEGA: The Sovereign Semantic Substrate ```text Status: RATIFIED FOR MILESTONE 4 (OMEGA_SEMANTICS) diff --git a/tests/osh/vectors/README.md b/tests/osh/vectors/README.md index 480c5d82e..0403a3a7f 100644 --- a/tests/osh/vectors/README.md +++ b/tests/osh/vectors/README.md @@ -1,6 +1,6 @@ # OSH conformance vectors -Status: v1 DRAFT with the ABI. Expected outputs were authored from `../OSH_PLATFORM_ABI.md`; no implementation has run them yet (spec section 14, item 6). Inputs are generated by `../tools/make-vectors.sh`; `expected.txt` is committed by hand. +Status: v1 DRAFT, like the ABI it follows. Expected outputs were authored from the OSH platform ABI ([OSH_PLATFORM_ABI.md](https://github.com/aien-dev/aien-protocols-mv/blob/main/specs/osh-platform/OSH_PLATFORM_ABI.md) in aien-protocols, a v1 draft that is not frozen). Inputs are generated by `specs/osh-platform/tools/make-vectors.sh` in that repository; `expected.txt` is committed by hand. The Omega OSH lexer, parser and expander tests (`make test-osh-lex`, `make test-osh-parse`, `make test-osh-expand`) check their output against `expected.txt`. ## Files per vector `vNNN` @@ -24,14 +24,14 @@ The harness never executes pipelines. After each `PIPELINE_READY` it records the - `lex_resumes=N` is the exact number of `BUDGET_EXHAUSTED` returns the lexer gave before `PHASE_DONE`. - A core conforms when every line matches byte for byte. Refusal offsets follow spec section 5.4. -## Local additions (not yet in aien-protocols) +## Local additions -v016 to v020 were added in omega PR #336 for the codes 236 `GROUP`, 246 `BRACE_EXPANSION` and 247 `POSITIONAL_RANGE`, which the ABI draft does not number yet (it reserves 246 to 255). They should go upstream with the ABI amendment. +v016 to v020 were added in omega PR #336 for the codes 236 `GROUP`, 246 `BRACE_EXPANSION` and 247 `POSITIONAL_RANGE`. The ABI draft now lists all three; 246 and 247 sit under "Added during implementation" and may still be renumbered when the ABI freezes. ## Bash-verified vectors (omega PR #336 review fixes) -`bash_vectors.tsv` holds 52 lexer vectors whose expectations come from real GNU bash 5.2, not from the reference tokenizer. Columns (TAB separated): id, input, expect, equiv. `bash_verify.sh` runs both the input and its continuation-free equivalent (or, when equiv is `-`, the script rendered from the expected tokens) under bash and requires identical transcripts (stdout, stderr, files written); the result is recorded in `bash_verified.log` (first line: the bash version, 5.2.21 when written). `make osh-bash-verify` runs it. The lexer driver then checks the lexer against the same expect column and also lexes the equivalent script, so the OSC lexer, the C reference and bash are three separate oracles for backslash-newline handling. +`bash_vectors.tsv` holds 60 lexer vectors whose expectations come from real GNU bash 5.2, not from the reference tokenizer. Columns (TAB separated): id, input, expect, equiv. `bash_verify.sh` runs both the input and its continuation-free equivalent (or, when equiv is `-`, the script rendered from the expected tokens) under bash and requires identical transcripts (stdout, stderr, files written); the result is recorded in `bash_verified.log` (first line: the bash version, 5.2.21 when written). `make osh-bash-verify` runs it. The lexer driver then checks the lexer against the same expect column and also lexes the equivalent script, so the OSC lexer, the C reference and bash are three separate oracles for backslash-newline handling. Findings pinned here: backslash-newline is removed before the next byte is classified, mid-operator (`|\|` is `||`, `a>\>f` is `>>`, `2\>f` redirects fd 2, `1\2>f` is fd 12), after `$` (`$\$`, `"$\(`, `$\{`), in tilde and brace detection, inside double quotes, and not inside single quotes. A backslash in a comment is literal: `# c\e b` runs `e b`. `x+=1` is an append assignment and `$_` the last-argument parameter; both are refused (248 `APPEND_ASSIGN`, 225 `SPECIAL_PARAM`). -New local code 249 `APPEND_ASSIGN` (248 is SYNTAX_EOF in the parser unit) is not in the ABI draft yet (it reserves 246 to 255); it goes upstream with 236, 246 and 247. A final lone backslash waits for the next byte (status 100, the backslash is not consumed) unless the host sets the lexer cell S_EOI (28), when it is a literal backslash. +Code 249 `APPEND_ASSIGN` (248 is SYNTAX_EOF in the parser unit) is now in the ABI draft as well, under "Added during implementation". A final lone backslash waits for the next byte (status 100, the backslash is not consumed) unless the host sets the lexer cell S_EOI (28), when it is a literal backslash. diff --git a/tools/physics0/pd1-convert/README.md b/tools/physics0/pd1-convert/README.md index bc073c76a..6bcbf0ee5 100644 --- a/tools/physics0/pd1-convert/README.md +++ b/tools/physics0/pd1-convert/README.md @@ -1,6 +1,6 @@ # pd1-convert: retrospective GB10 campaign evidence -> label-free PD1REC1 stream -Part of Physics-0 Direction 7 (PD-1). Spec: aien-spark/physics `docs/PD1_MACHINE_LAW_BENCHMARK.md`. +Part of Physics-0 Direction 7 (PD-1). Spec: [aien-dev/physics-mv](https://github.com/aien-dev/physics-mv) `docs/PD1_MACHINE_LAW_BENCHMARK.md`. Harness-side tool. It is NOT learner code and must never be built into the learner lane: `extract.sh` holds the join tables that turn structural labels (arm, directory prefix, variant) into knob values, which is the PD-1 answer key for knob `q0`. From 2676fd67a64eedb3e899518a71d111f6b56a1d06 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 18 Oct 2026 19:58:31 -0500 Subject: [PATCH 2/2] crumb compile --- .crumb | 26 +++++++++++++------------- bench/prime_race/.crumb | 8 ++++---- docs/.crumb | 8 ++++---- doctrine/.crumb | 8 ++++---- tests/.crumb | 14 +++++++------- tests/osh/.crumb | 10 +++++----- tools/.crumb | 8 ++++---- 7 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.crumb b/.crumb index d121d2dad..6347a3328 100644 --- a/.crumb +++ b/.crumb @@ -47,14 +47,14 @@ "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "d2eb8967a939ebdb0b54e15fe5d849dd5af71c23b812941e4ba86ad2b0f21d39", - "last_commit": "4870b0a4", + "digest": "b471e841414c2b782541c7986c235110d6f7bd1ad02b3523ed9d4c71018275df", + "last_commit": "2ac4a66d", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, { - "digest": "536f7b8db9a92a1f586bad4379d47544a30d1b8e83c2d799c18e66cf8660c9ae", - "last_commit": "30bb116c", + "digest": "a4ef83975ec0890b7565ba582fc49d2edc3542614b3e65c9d6a972a8d56e054d", + "last_commit": "2ac4a66d", "name": "doctrine", "purpose": "Directory doctrine. Purpose not yet described by a human." }, @@ -83,27 +83,27 @@ "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "4eb9d4d76234448c0ed691f0aeb9c90d785f8a47b1b1291d728bbe3e1509dc10", - "last_commit": "88e24bdd", + "digest": "8a05a8fb3e1478be3ee97841642e5ccb9750cce72d5743e3327c736ee27a5194", + "last_commit": "2ac4a66d", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { - "digest": "566a123ba248da906e3c42430b73decd7c3ec030a4fd26c909d265aa9bf67db9", - "last_commit": "88e24bdd", + "digest": "f22e6fd04d62f3e68dc59e356cd1d18234c45b63b6a69e679f3db7d82b7cac4b", + "last_commit": "2ac4a66d", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:e1a8c008214ad5dbc33a3e184d7e882dc56d1d50f9bd14c58f8773992961557e", - "compiled_at": "2026-10-18T21:10:38Z", + "children_root": "sha256:0c85f3197604f0ca74f923a3f0d54ebaa9a7a5baf286e323d1fcdebd1b01cba8", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:be7220db494238bb4c33023d1df17286c35f947336bee5fc2e0405c136ec3e73", + "digest": "sha256:889828f042b4a6657ebb67aa2aff62bcd992a4cd70b0ad01fbbf2fbcd5cdf952", "evidence_files": 11127, "evidence_root": "sha256:4528085ec1661c442b64fb5dc8def65067ea2620ff88e42bcf52d58b7642ea6e", "files": 14100, - "generated_at_commit": "f4a9849fb127f8d2d664dfc56890752ad180c507", - "source_tree": "sha256:21f93defce6c9ba159a4bd31083db787e156dfaa4afb80c3427cf88f732f8258" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:8c24afe30ff9c25f0c13fa9ba7a19446264f34f896eafca252c55f92f7bd0d76" }, "owner_lane": "", "provenance": { diff --git a/bench/prime_race/.crumb b/bench/prime_race/.crumb index a375434b7..05876db02 100644 --- a/bench/prime_race/.crumb +++ b/bench/prime_race/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-14T01:16:48Z", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:9dd7474de3f8342f85466d4629e58ebe6a7e9be694f6f282803892d32f9c272f", + "digest": "sha256:e82f5c62f732e316fd188edcaabd7916090cb30a67e79badaba33206d4d6697c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 10, - "generated_at_commit": "e0abd0b524f5bf8e3ba6960b53868980bdd41b4e", - "source_tree": "sha256:5672fda945c78b908a57f8948c2062df54c958ea0ec866691da515ddbc9c621a" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:1ea06940021fd65680d0a74f77172f15cddbf420230765c469f73ff25fbd307e" } }, "invariants": [ diff --git a/docs/.crumb b/docs/.crumb index ca5d5ec00..024f265ef 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -124,14 +124,14 @@ } ], "children_root": "sha256:ac7f7ea4b00d4620a993c6dd88a0267f2d49008d415162976e45fa4341e43407", - "compiled_at": "2026-10-16T09:04:56Z", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:d2eb8967a939ebdb0b54e15fe5d849dd5af71c23b812941e4ba86ad2b0f21d39", + "digest": "sha256:b471e841414c2b782541c7986c235110d6f7bd1ad02b3523ed9d4c71018275df", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", "files": 127, - "generated_at_commit": "9d368679f13ea58c46bf7580899aee92e39f5885", - "source_tree": "sha256:29d159b6950500f96de859834fd2c5a9e9ba037f9bc88fd97a8ed47a1688233b" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:d47a7b06ab4c3535ab47a4f43c2610a98f1f52e1d445699b1d8b36e5a06a0e83" }, "owner_lane": "", "provenance": { diff --git a/doctrine/.crumb b/doctrine/.crumb index acbd08e52..1a203e334 100644 --- a/doctrine/.crumb +++ b/doctrine/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:05Z", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:536f7b8db9a92a1f586bad4379d47544a30d1b8e83c2d799c18e66cf8660c9ae", + "digest": "sha256:a4ef83975ec0890b7565ba582fc49d2edc3542614b3e65c9d6a972a8d56e054d", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 1, - "generated_at_commit": "834ee93e4314a42c1127a2fcda8b29cf3b511245", - "source_tree": "sha256:067bff9082d0c4f7c6eb35bc6a9c150643afa777bef37b0ff2321d902b372cd7" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:3c39ec520f6d97765de2439d1918001228c07ed0e9a6b6aff42a6d5180c16cfc" }, "owner_lane": "", "provenance": { diff --git a/tests/.crumb b/tests/.crumb index bd5535a8b..1abdcb8b1 100644 --- a/tests/.crumb +++ b/tests/.crumb @@ -199,8 +199,8 @@ "purpose": "Simulated M16 driver for numeric resource-lifecycle tests. No device execution or numeric parity" }, { - "digest": "f3085ce1facdcdb22bfedc85de659dd5e512aa7b59cd8103666c24a4456681c3", - "last_commit": "6d8d92ad", + "digest": "e2552b142973aab7bd718d64cba453adfe8a7ee82430c2d1b6bc69cbb9f073cb", + "last_commit": "2ac4a66d", "name": "osh", "purpose": "osh lexer host driver, vendored aien-protocols PR#16 draft vectors (5ae5292)" }, @@ -295,15 +295,15 @@ "purpose": "Directory tests/visor. Purpose not yet described by a human." } ], - "children_root": "sha256:ddc3618190458bc5073e3bee67ffccc68a2ee9f065f2cb0d86545386a29fddf8", - "compiled_at": "2026-10-16T19:04:20Z", + "children_root": "sha256:fdeb0f38c2624bf70e9d8d2097d3c36cf3290e3812781a3b25ae2abd6c7a43cb", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:4eb9d4d76234448c0ed691f0aeb9c90d785f8a47b1b1291d728bbe3e1509dc10", + "digest": "sha256:8a05a8fb3e1478be3ee97841642e5ccb9750cce72d5743e3327c736ee27a5194", "evidence_files": 16, "evidence_root": "sha256:96d08097822ad95f4e562c19e0ba5df5a035774c48632f1832912c40a27bd27a", "files": 1270, - "generated_at_commit": "88e24bdd57b27817d030d0ad95f62c3f3eacf426", - "source_tree": "sha256:e6c4f0021d383ba2e59da0d85d06a0b98170f6d188289c891b5745200548e6fc" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:5b8515248ed05bfb56611da2816eeeb367f8af0c57aa5af76e3a35c3c69f94f5" }, "owner_lane": "", "provenance": { diff --git a/tests/osh/.crumb b/tests/osh/.crumb index 07209abd9..01e74310c 100644 --- a/tests/osh/.crumb +++ b/tests/osh/.crumb @@ -4,7 +4,7 @@ "children": [ { "digest": "d16052a41951da04f9d5581286bf1b523c4fd4a8b22b2f5a9f77ab724f000c38", - "last_commit": "181e2ea8", + "last_commit": "6d8d92ad", "name": "e2e", "purpose": "end-to-end tests of the osh program: argprint helper plus a runner comparing native and OSH_INTE" }, @@ -22,14 +22,14 @@ } ], "children_root": "sha256:0c30d758ea0a085e950c5df69c53069c317df4141043e14a83e19247106399f3", - "compiled_at": "2026-10-10T08:29:30Z", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:f3085ce1facdcdb22bfedc85de659dd5e512aa7b59cd8103666c24a4456681c3", + "digest": "sha256:e2552b142973aab7bd718d64cba453adfe8a7ee82430c2d1b6bc69cbb9f073cb", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 93, - "generated_at_commit": "181e2ea8961e1067efc0337b6b4dddc9f19d6947", - "source_tree": "sha256:67f4c363f1a849cf10cbae3aa94fb4675c59d42a075e6a260cc264bebc52319d" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:1b480639d5eeafb86b515fd5c7f76c57250610fbe2a6146b7a9a55e1fe5a8aa6" } }, "name": "osh-tests", diff --git a/tools/.crumb b/tools/.crumb index 8cf70bcac..be0454752 100644 --- a/tools/.crumb +++ b/tools/.crumb @@ -62,14 +62,14 @@ } ], "children_root": "sha256:e1f826c2beb8604bb0dcba49575f7c6b48cf5488c40b616b212fda2ed70c62ee", - "compiled_at": "2026-10-16T19:04:20Z", + "compiled_at": "2026-10-19T00:58:22Z", "compiler": "crumb-compile/1", - "digest": "sha256:566a123ba248da906e3c42430b73decd7c3ec030a4fd26c909d265aa9bf67db9", + "digest": "sha256:f22e6fd04d62f3e68dc59e356cd1d18234c45b63b6a69e679f3db7d82b7cac4b", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 284, - "generated_at_commit": "88e24bdd57b27817d030d0ad95f62c3f3eacf426", - "source_tree": "sha256:eee0218ae5c8d003fa0a585291551799e81e6c329a7f5db1295e771a75aee167" + "generated_at_commit": "2ac4a66df4a36915e0a10231f3815c86f122e8a7", + "source_tree": "sha256:deb4af7ca977fb9cb12d29ff11b41466c604632ec21ac40f912e85cddf28fec7" }, "owner_lane": "", "provenance": {