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/aien-architecture-mv/patches/42b0a4833fae93a5 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aien-architecture-mv#179 (code only) closed derived `42b0a4833fae93a5` #179 Imported from GitHub aien-dev/aien-architecture-mv#179 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `d3909395a68c0a3cacb788b22a1d686102fcd9fe` · Head `ada0be8e6e8b4af6a39e84b7be8948d8985d9735` ### Apply it ``` git checkout -b patch-42b0a4833fae93a5 d3909395a68c0a3cacb788b22a1d686102fcd9fe curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/42b0a4833fae93a5.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aien-architecture-mv 179 ada0be8e6e8b4af6a39e84b7be8948d8985d9735 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":179,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/179","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:52Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 0d0bf85..4cb03a0 100644 --- a/.crumb +++ b/.crumb @@ -21,8 +21,8 @@ "generated": { "children": [ { - "digest": "ab89ccedd0cceaae0294d14ca1f56bcdc3740ca475c129508db8104871166ade", - "last_commit": "1d718c9", + "digest": "eeb1fed714d76f16fe78a886e11fd1888fd37fc5bb062b0f90c719257dd98f12", + "last_commit": "a2b1353", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -45,15 +45,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:1c39d450e7e3d641879833f04c5abbf4b05a915bd716bbdbf81c08bba4f58211", - "compiled_at": "2026-10-09T22:22:55Z", + "children_root": "sha256:cc651d9cfab66c32e244b53198cfffeb5fe60d27278b0945be1e171afeeb3d61", + "compiled_at": "2026-10-09T22:31:15Z", "compiler": "crumb-compile/1", - "digest": "sha256:5c3d3d1bd2a59d1c10eb58c9527379a61f66c578a13dd60c0e323147cef72fd2", + "digest": "sha256:d7ee5a1f6555219e7946bb5339e52f0323f0f7532e49bd78f7bc8d1a1c151749", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 242, - "generated_at_commit": "1d718c949ff44ab4337897273231c82c6a30a593", - "source_tree": "sha256:6d9b663322f1bae34ece46df9274ddb5f05ace8e270bfb3ddf841791002725ce" + "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f", + "source_tree": "sha256:d0bcfd2cee8afb59bc165325322c499fe22a41b74e6a5abb9f628d27b3650cdb" }, "owner_lane": "", "provenance": { diff --git a/docs/.crumb b/docs/.crumb index f1e9368..2bf6132 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -55,8 +55,8 @@ "purpose": "Directory docs/errata. Purpose not yet described by a human." }, { - "digest": "8ae336b961867ab89ec8e59b190e2d399859cbc20c265b70c8aed455b6a8fb5b", - "last_commit": "1d718c9", + "digest": "335d3b7f1127417f8d8136266c5b8d95513a632894182a44fa221adc521ac844", + "last_commit": "a2b1353", "name": "plans", "purpose": "Directory docs/plans. Purpose not yet described by a human." }, @@ -73,15 +73,15 @@ "purpose": "Directory docs/specs. Purpose not yet described by a human." } ], - "children_root": "sha256:968f70fedc2eff6bb68ae2815751fea85bfbd2630b86d87bc3e684b1fb5e82dd", - "compiled_at": "2026-10-09T22:22:55Z", + "children_root": "sha256:974c1475362430cecbb92430aee7b233e47a26cc766e85ec8646f3c6ee300704", + "compiled_at": "2026-10-09T22:31:15Z", "compiler": "crumb-compile/1", - "digest": "sha256:ab89ccedd0cceaae0294d14ca1f56bcdc3740ca475c129508db8104871166ade", + "digest": "sha256:eeb1fed714d76f16fe78a886e11fd1888fd37fc5bb062b0f90c719257dd98f12", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 134, - "generated_at_commit": "1d718c949ff44ab4337897273231c82c6a30a593", - "source_tree": "sha256:ee9eeb82137b47324e499cfe1b287294bc4f5219a559d0a4374354601e4dbed1" + "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f", + "source_tree": "sha256:28819957065d23b5aef52cb7ce7c2b844e656114fb21bcf885401af1368e7e0f" }, "owner_lane": "", "provenance": { diff --git a/docs/plans/.crumb b/docs/plans/.crumb index b2728e7..99cdca0 100644 --- a/docs/plans/.crumb +++ b/docs/plans/.crumb @@ -53,8 +53,8 @@ "purpose": "Directory docs/plans/arena-x. Purpose not yet described by a human." }, { - "digest": "40fed2ca1ae62d01c0883e594118d0f39bef0c9e4cdbb86ec5bb087163e69063", - "last_commit": "1d718c9", + "digest": "81fad15f1c7b817ab780c6b053d55eff4a8f7ff938d24d86646837cf564404da", + "last_commit": "a2b1353", "name": "atemporal", "purpose": "AT-0 Clock-Free Universe research program: charter, frozen AT0_CASE_V1 and AT0_RESULT_V1 contrac" }, @@ -101,15 +101,15 @@ "purpose": "VAC (Verifiable Autonomous Computing) finite workstream plan. NOT A MASTER PLAN." } ], - "children_root": "sha256:b7311acd2e627b5a296b05a7a1cd852ed25d54b538021944fce314b3801b59d5", - "compiled_at": "2026-10-09T22:22:55Z", + "children_root": "sha256:92f5db7f01cadae28f64187df9109eaed4cffe0581543903defc80777a9fd4f5", + "compiled_at": "2026-10-09T22:31:15Z", "compiler": "crumb-compile/1", - "digest": "sha256:8ae336b961867ab89ec8e59b190e2d399859cbc20c265b70c8aed455b6a8fb5b", + "digest": "sha256:335d3b7f1127417f8d8136266c5b8d95513a632894182a44fa221adc521ac844", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 39, - "generated_at_commit": "1d718c949ff44ab4337897273231c82c6a30a593", - "source_tree": "sha256:1db22631e3298600f5a7f4876fe9b991b6c33a98efdbbcc47468c5068c7570ba" + "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f", + "source_tree": "sha256:f80da350824c8688cc3794cca1ca111a34f058a66f27b121b32d47be5dd64aa2" }, "owner_lane": "", "provenance": { diff --git a/docs/plans/atemporal/.crumb b/docs/plans/atemporal/.crumb index 07e3a4b..a8cc0d5 100644 --- a/docs/plans/atemporal/.crumb +++ b/docs/plans/atemporal/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-09T22:22:55Z", + "compiled_at": "2026-10-09T22:31:15Z", "compiler": "crumb-compile/1", - "digest": "sha256:40fed2ca1ae62d01c0883e594118d0f39bef0c9e4cdbb86ec5bb087163e69063", + "digest": "sha256:81fad15f1c7b817ab780c6b053d55eff4a8f7ff938d24d86646837cf564404da", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 4, - "generated_at_commit": "1d718c949ff44ab4337897273231c82c6a30a593", - "source_tree": "sha256:d38e6de1ed6ccead3142372c8acc67168d71e6f8bcee2b71a46aeb8418c53e77" + "generated_at_commit": "a2b13536ebacf24c926f4ba9e31d07ea1118542f", + "source_tree": "sha256:e94f58fd1ec7d78993653a88e1cd4edc29b3a888b08f07b144378bb5d01add37" } }, "name": "atemporal", diff --git a/docs/plans/atemporal/AT0_CHARTER.md b/docs/plans/atemporal/AT0_CHARTER.md index 9317f63..403b1f6 100644 --- a/docs/plans/atemporal/AT0_CHARTER.md +++ b/docs/plans/atemporal/AT0_CHARTER.md @@ -45,10 +45,21 @@ Every decision below rests on code or files read at the snapshots above. "Line" 1. **Home.** AT-0 code lives in `aien-dev/omega` in new `at0` folders (section 7). Contracts, charter and status live here in `aien-architecture/docs/plans/atemporal/`. 2. **Build.** One fragment `mk/at0.mk`, guarded by `ifndef AT0_MK`, defining only targets and variables prefixed `at0` or `AT0_`. It adds nothing to `SRCS`, `all`, `test`, `clean` or any existing target. Flags: `-std=c11 -Wall -Wextra -Werror -pedantic -O2 -D_POSIX_C_SOURCE=200809L`, link `-lm` only; a sanitizer build with `-O1 -g -fsanitize=address,undefined -fno-sanitize-recover=all`. Interval code may add `-frounding-math`. -3. **Isolation.** AT-0 objects link nothing from `physics/`, no GPU code, no `omegatool`, no estimation, DUAL or ANS objects. The only shared source is `src/sha256.c`. Compute objects (engine, oracle) contain no clock, random, file, process, socket or thread symbol. +3. **Isolation.** AT-0 objects link nothing from `physics/`, no GPU code, no `omegatool`, no estimation, DUAL or ANS objects. The only shared source is `src/sha256.c` (C components only; the Rust oracle implements SHA-256 itself or avoids needing it). Compute objects (engine, oracle) contain no clock, random, file, process, socket or thread symbol beyond what reading the case file and writing the result file require, and that I/O lives in a thin outer layer, not in the compute code. 4. **Execution.** Single-threaded CPU only, deterministic, no network, no external service, no Python, no GPU (`threads 1` in every result). 5. **Evidence.** Each recorded run writes a new folder `evidence/AT0/-/` holding the case files, result files and a run log. Existing evidence is never modified (E10). 6. **CI.** V1 adds no workflow. `make test` must be unaffected. Wiring AT-0 into CI is a later, separate pull request. +7. **Agent 2 oracle language: Rust (Drake's ruling, Option 3, 2026-10-09; relayed by the session-observer-audit session and recorded on omega#358).** The ruling, verbatim: + 1. Agent 2 uses Rust, confined to `omega/research/atemporal/at0/oracle/`. + 2. Rust standard library only; no external crates, no network downloads, no Python build steps. + 3. Quantum calculations implemented independently with explicit complex-number and matrix operations; no shared math routines, code or numerical libraries with Agent 3's C11 engine. + 4. Independently parse and validate the frozen AT0_CASE_V1 and AT0_RESULT_V1 interfaces; verify the published known-answer examples. + 5. Test the oracle against the mathematical specification: X/Y/Z probabilities, phase-sign controls, normalization, dephasing. + 6. Pin the Rust compiler version and build flags in the evidence; reproducible execution from a clean checkout. + 7. Agent 0 updates the charter for Agent 2 only and records this on #358; V1 contracts unchanged. + 8. Agents 3 and 4 keep their existing boundaries; production Omega untouched. + + Also ruled: the Rust oracle must satisfy the applicable isolation gates; any C-specific symbol-isolation check must be adapted and independently verified for Rust, never silently skipped. This is not authorization for a larger Rust framework: the oracle stays small, self-contained and purpose-built. Everything else in this charter (items 1 to 6 above, the C11 rules for Agents 3, 4 and 5, the no-Python rule) is unchanged. The oracle is built from `mk/at0.mk` by a direct `rustc` invocation with pinned flags (no package manager, no lockfile, no `[dependencies]`); Agent 5 records `rustc --version --verbose` and the exact flags in `evidence/AT0/`. ## 4. Serialization and identity policy @@ -76,9 +87,10 @@ Full rules: `AT0_CASE_V1.md` sections 1 to 5 and `AT0_RESULT_V1.md` sections 1 t | Evidence immutability | omega `.github/workflows/evidence-immutable.yml` | Already covers `evidence/AT0/` with no change (E10). | | Crumb tooling | `crumb` CLI; `crumb.yml` CI in omega and aien-architecture | Every new directory gets compiled crumbs; compiling is the last step before push. | | Host tools | `gcc`, `make`, `nm`, `sha256sum` | Build, isolation checks, digest cross-checks. | -| C11 standard library | ``, ``, ``, `` | Complex arithmetic, rounding control for interval bounds. | +| C11 standard library | ``, ``, ``, `` | Complex arithmetic, rounding control for interval bounds (Agents 3, 4, 5). | +| Rust standard library | `std` only, pinned `rustc` | Agent 2 oracle (section 3 item 7): explicit complex and matrix arithmetic written in the oracle itself; no crates. | -**Not used:** omega `omegatool` and its `SRCS`; the `physics` repo and GB10 GPU code; CUDA, MAX, Mojo; Python anywhere (AIEN rule); any network service or model; external numeric libraries (GMP, MPFR, LAPACK, Eigen); aien-sovereign-core crates (E16); `aien-sealed` (AT-0 has no hidden answers, so nothing is sealed and no agent reads that repo). +**Not used:** omega `omegatool` and its `SRCS`; the `physics` repo and GB10 GPU code; CUDA, MAX, Mojo; Python anywhere (AIEN rule); any network service or model; external numeric libraries (GMP, MPFR, LAPACK, Eigen); external Rust crates, crates.io or any package download, `cargo` dependency resolution; aien-sovereign-core crates (E16); `aien-sealed` (AT-0 has no hidden answers, so nothing is sealed and no agent reads that repo). ## 6. Cases and gates @@ -108,7 +120,7 @@ Full rules: `AT0_CASE_V1.md` sections 1 to 5 and `AT0_RESULT_V1.md` sections 1 t |---|---|---| | AT0-G0 contract freeze | this charter and both contracts merged; `AT0_FREEZE.md` digests match the merged files; `AT0_SPEC.md` merged | Agents 0, 1 | | AT0-G1 codec conformance | each of the oracle, the model and the evaluator parses and re-emits the AT0_CASE_V1 section 6 example byte for byte and reproduces its published digests; every refusal case gives its exact code; C code clean under ASan/UBSan | Agents 2, 3, 4 (each for its own parser) | -| AT0-G2 isolation | symbol check passes on model objects and fails on the hidden-clock mutant; `mk/at0.mk` builds with `PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0`; `make -n all` and `make -n test` print the same commands with and without `mk/at0.mk` | Agent 5 | +| AT0-G2 isolation | symbol check passes on model objects and fails on the hidden-clock mutant; the same check, adapted for Rust (`nm` on the oracle's compiled objects for clock, random, socket, process and thread symbols outside the thin I/O layer; build log proves `std` only and no crate) passes on the oracle and fails on a Rust hidden-clock mutant, and the adaptation is verified independently by Agent 4, never skipped; `mk/at0.mk` builds with `PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0`; `make -n all` and `make -n test` print the same commands with and without `mk/at0.mk` | Agent 5 | | AT0-G3 oracle calibration | the oracle reproduces the `AT0_SPEC.md` hand tables within its stated bounds on all Pauli values and clock probabilities; oracle shares no source, object or numerical routine with the model | Agent 2 | | AT0-G4 positive arm | every P case: `outcome PASS`, `expectation_met YES` | Agent 5 runs; Agent 3 answers | | AT0-G5 negative arm | every N case: `outcome FAIL` with exactly its expected codes, `expectation_met YES`; the axis-swap and hidden-clock mutants are caught | Agent 5 runs; Agent 4 answers | @@ -125,7 +137,7 @@ Agent numbering, roles, paths and execution order follow the tracking issue aien |---|---|---|---|---| | 0 | Coordinator, contract owner | serial, first | aien-architecture `docs/plans/atemporal/AT0_CHARTER.md`, `AT0_CASE_V1.md`, `AT0_RESULT_V1.md`, `AT0_FREEZE.md` | any omega path | | 1 | Mathematical specification | serial, after 0 | aien-architecture `docs/plans/atemporal/AT0_SPEC.md`: proofs of the constraint, POVM completeness and conditional probabilities; X, Y, Z tests that detect phase-sign errors; assumptions, idealizations, tolerances, invariants; the hand-derived case tables of section 6 | contracts, all code | -| 2 | Independent reference oracle | parallel, after 1 | `at0/oracle/` (own parser, direct complex-matrix reference values with bounds, deterministic tests) | `at0/model/`, `at0/evaluator/` (no imports, calls or shared numerical routines) | +| 2 | Independent reference oracle | parallel, after 1 | `at0/oracle/` (Rust, `std` only, section 3 item 7; own parser and validator for both contracts; explicit complex-matrix reference values with bounds; deterministic tests for X/Y/Z probabilities, phase-sign controls, normalization and dephasing) | `at0/model/`, `at0/evaluator/` (no imports, calls or shared numerical routines) | | 3 | Candidate model engine | parallel, after 1 | `at0/model/` (own parser, explicit state, Hamiltonian, constraint, clock POVM, conditional density matrix, X/Y/Z probabilities; fail-closed on malformed input) | `at0/oracle/`, `at0/evaluator/` | | 4 | Independent adversarial evaluator | parallel, after 1 | `at0/evaluator/` (own parser; verifier; the case corpus `cases/positive/`, `cases/negative/`, `cases/refuse/` derived from `AT0_SPEC.md`; mutants built from copies inside `at0/evaluator/`) | `at0/model/`, `at0/oracle/` | | 5 | Integrator | serial, after 2 to 4 | `mk/at0.mk`, `at0/integration/` (runner, `make at0-check`, clean-checkout execution, receipts, source and toolchain digests, repeatability, qualification report), `evidence/AT0/` (append-only) | `at0/oracle/`, `at0/model/`, `at0/evaluator/` (read-only; request changes from their owners) | @@ -150,7 +162,7 @@ Nobody edits omega's `Makefile`, other `mk/` fragments, existing `src/`, `tests/ 2. Start from current omega `origin/main`; pin the commit in your notes. 3. Sniff and claim your paths with Crumb; whisper findings; compile crumbs as the last step before pushing; close the claim after the pull request. 4. Branch `at0/agent-`, one pull request per finishable cut into omega `main`. The pull request body names the frozen contract commit, the gate it serves, the commands run and their results. -5. Plain C11 under section 3 rules. No Python, no GPU, no network, no new dependencies. +5. Plain C11 under section 3 rules; Agent 2 only: Rust, standard library only, under section 3 item 7. No Python, no GPU, no network, no new dependencies. 6. Never edit outside your paths, never edit a contract, never rewrite evidence. If you need any of those, stop and raise it (section 8 step 3). 7. Report back: what was inspected, what changed, which tests ran with pass/fail, and anything UNKNOWN stated as such. @@ -159,7 +171,7 @@ Nobody edits omega's `Makefile`, other `mk/` fragments, existing `src/`, `tests/ | Agent | First deliverable | Done means | |---|---|---| | 1 | `AT0_SPEC.md`: proofs, tolerances, invariants, and a hand-derived answer table for every case class in section 6 | merged; Agent 0 has checked the AT0_CASE_V1 section 6 example against it | -| 2 | Oracle: Schrodinger reference probabilities with `RIGOROUS` bounds if achievable, otherwise `ESTIMATED` stated plainly; own parser | AT0-G1 for its parser; AT0-G3 passes | +| 2 | Rust oracle (`std` only): Schrodinger reference probabilities with `RIGOROUS` bounds if achievable, otherwise `ESTIMATED` stated plainly; own parser and validator; tests per section 3 item 7.5; pinned `rustc` version and flags | AT0-G1 for its parser; AT0-G2 Rust adaptation; AT0-G3 passes | | 3 | Model: kernel projection, clock states, POVM residual, constraint residual, conditional probabilities, with stated `bound_kind`; own parser; fail-closed input handling | AT0-G1 for its parser; model unit tests pass; values for the section 6 example within its own bounds of the `AT0_SPEC.md` table | | 4 | Evaluator: own parser, verifier with exact rational comparison, full case corpus (positive, negative, refusal) with expected codes taken from `AT0_SPEC.md`, mutants and controls | AT0-G1 for its parser; verifier agrees with hand-made result files, including deliberately wrong ones | | 5 | `mk/at0.mk`, `make at0-check`, clean-checkout runner, receipts, evidence folder, qualification report | AT0-G2, G4, G5, G6 results recorded in `evidence/AT0/` and reported on omega#358 | @@ -169,7 +181,7 @@ Nobody edits omega's `Makefile`, other `mk/` fragments, existing `src/`, `tests/ - **"Milestone" wording.** The AT-0 brief calls AT-0 a research milestone. `doctrine/ROADMAP.md` owns milestone identifiers and does not list AT-0 (E13). This charter therefore treats AT-0 as a research program label. Registering it, or placing it under Physics Zero (M27 to M35), is a roadmap decision outside this charter. - **No complex type in Omega** (DIRAC-0 current state). AT-0 does not need one: it uses C11 `` inside its own isolated code and never touches the Omega language. -- **Oracle language.** omega#358 says the Agent 2 oracle is "preferably Python standard-library"; the standing project rule (no Python in any repo, build, CI or tooling) and section 3 of this charter say C11 only. This charter keeps C11 until Drake decides; whichever way it goes, the oracle must share no code with the model, which is the property that matters. +- **Oracle language: DECIDED.** omega#358 originally said "preferably Python standard-library"; the no-Python rule and this charter said C11. Drake ruled Option 3, Rust, on 2026-10-09 (section 3 item 7). The property that matters, no shared code or numerical routine between oracle and model, is now also guaranteed by the language boundary. - **Independent review.** The contracts were self-reviewed against the sources in section 2. An outside review before the first G1 run is recommended. - **Charter history.** The first merged charter (aien-architecture#174, `044c9d1`) numbered the agents and placed omega paths differently from omega#358; sections 6, 7, 9 and 11 were realigned to the issue in the following pull request. The two frozen contracts were not touched. ```