interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / docs / audits / INTEGRATION-AUDIT-2026-10-11.md

80 lines · 11943 bytes Raw Blame History Source

Integration and release audit, 2026-10-11 (Lane G)

Issue: aien-spark/aien-architecture#203. Programme: #190. Read 2026-10-11 ~03:30 to 04:30 UTC from fresh clones: aien-sovereign-core (sc) main 1fac70c, aien-architecture main f932e02, omega main (GitHub API). Labels: EVIDENCED (read in code or a receipt, source given), GAP (the system lacks it), STALE-DOC (a document says something the code or a receipt contradicts). Nothing here is a PASS claim for any programme step. Pins were not bumped.

1. Cross-repository pins

ItemLabelWhereDetail and exact fix
sc omega.lock vs CAND-4 omegaGAPsc omega.lock = 6c6180cf; release/candidate.toml omega-commit and CAND-4 [commits] omega = c0369e67scripts/check-release-candidate.sh exits 1 on current main: "omega.lock is 6c6180c but candidate CAND-4 names omega c0369e6". omega 6c6180c is 11 commits ahead of c0369e6 (GitHub compare). Owner: sc#414 (new; sc#92 is closed).
sc source vs CAND-4 source commitGAPcandidate.toml sovereign-core-commit = d5b78ff; main is 130 commits ahead and 236 crate or Cargo files differThe 25 [executables] digests (aien-cli-native-release and helpers) are digests of a d5b78ff build. A tree 130 commits later cannot reproduce them (INFERRED, high confidence: the CLI crates changed). Fixing omega.lock alone does not make the gate pass --package. A new candidate (CAND-5) with new digests is required. Owner: sc#414.
omega physics.lock / aienos.lockEVIDENCED, consistentomega at c0369e6, 6c6180c and main all pin physics 6d7cf0d4 and aienos b84c0a67; CAND-4 names the same twoNo drift.
Cargo.lock git pinsEVIDENCED, consistentsc Cargo.lock: aien-protocols 7ac6fac, crumb-spec 24194d1, spark-crumbs 9355a92Equal to candidate.toml [pins] and CAND-4 [commits]/[contracts].
CI checkout stepsEVIDENCED, consistentsc release.yml and ci.yml check out omega at omega.lock, physics and aienos at omega's locksMatches scripts/pins.sh (same three checkouts). pins.sh --check was not run here (needs a populated target directory); its tests run in CI (UNVERIFIED locally, confidence 80%).
Which commit could be released todayGAPno tag exists past v0.1.1 (internal test, omega.lock 5e29b82, old key)Only a tree whose omega.lock is c0369e6 passes the gate; d5b78ff is that tree, but it predates the offline-signing work (#407), so it has no release-publish.yml gate or install labels. No commit today satisfies both "passes the CAND-4 gate" and "has the signing path".
CAND-4 licenceGAPCAND-4 [model] distribution = "internal-only until an open-licence model passes" (Llama 3.2 Community License)CAND-4 can never be a public release. CAND-5 (Qwen3) depends on sc#384.

2. Operator experience from a clean machine

Method: downloaded the dry-run artifact (Actions run 38105672607, dry-run-signed-assets, built from 46c4e0d, success) and installed it with sc main's install.sh into a scratch HOME with AIEN_RELEASE_TAG, AIEN_RELEASE_BASE_URL=file://..., AIEN_DRY_RUN_SIGNERS. Installed and checked 17 files; receipt signature_check: dry-run-key, dry_run: true, candidate: NOT-RELEASABLE. Seven commands linked into ~/.local/bin. Nothing was started as a daemon beyond one refused aien start.

StepLabelDocs sayCode does
README install noteSTALE-DOC"install.sh ... performs no signature verification; signed releases are not yet available"Release mode verifies the signature (ssh-keygen -Y verify) and writes install-receipt.json. Fixed by sc#415. The sentence "no public release exists" stays true.
Quickstart printed by the installerGAPaien start starts Cortex, Cockpit and daemonsaien start exits at once: "the approval desk is required ... key is not usable ... Create it with aien compose desk-key --create 1". No documented step creates the key; only scripts/whole_system_e2e.sh does. Fix in install.sh text or a first-run step: sc#414.
aien harnessGAP"Run 5-layer verification checks"Runs spark-harness check; that binary has no check subcommand (observed unrecognized subcommand 'check' against the developer's own copy) and spark-harness is not in the release archive (bin/ holds aien, cortex-rs, cortex-encoder-rs, spark-cockpit-rs, spark-debugger, spark-inquisitor, spark-supervisor).
aien chat / /doctor bannerSTALE-DOCn/aBanner says "Modular MAX 26.5, Resident Seat: Port 18006" although the project decision is to leave MAX; /doctor probes ports 18006/18082/18080/18085. Not part of the acceptance path.
Model provisioningGAPinstaller: "Model and access-token provisioning remain."No operator document says where weights go or which variable names them. Only the E2E script uses AIEN_MODEL_PATH (script lines 231, 287, 406).
First objectiveEVIDENCEDACCEPTANCE_E2E E2: aien-cli objective recordAfter compose desk-key --create 1, aien objective record --text ... returns recorded_before_work: true, operator_surface: aien-cli; --effect-class EXTERNAL_IRREVERSIBLE is refused ForbiddenEffectClass.
Objective record locationGAPcontract calls the record durableDefault directory is /tmp/aien-provenance/objectives (crates/aien-runtime/src/objective.rs:27-32, crates/aien-cli/src/tools.rs:464). The installer does not set AIEN_PROVENANCE_DIR. A reboot that clears /tmp loses the record. Owner: sc#414.
RELEASE_NOTES.md v0.1.0 binary listSTALE-DOC (historical)lists aegis-runtime, bench_inference_stackNot in the current archive. The file is headed as v0.1.0 notes and already says v0.1.0/v0.1.1 are internal; left unchanged.

3. Service boundaries named by ACCEPTANCE_E2E

ComponentLabelWhere on mainOwner docTest
Operator CLI (aien, crate aien-cli)EVIDENCEDcrates/aien-clicrate .crumb; no CONTEXT.md in sccrates/aien-cli/tests/objective_record_test.rs, test_cli_runtime_ipc.rs
Daemon (aien-runtime, started by aien start)EVIDENCEDcrates/aien-runtimedocs/AIEN_RUNTIME_ARCHITECTURE.md; release receipt shows daemon_sha256 = cli_sha256 (one binary)57 test-bearing files; recovery_matrix_test.rs, desk_required_startup_test.rs
Approval deskEVIDENCED, doc thinaien compose desk-key, compose flowdocs/COMPOSE_PROPOSER_HOOK.md (desk key section). No ADR names the desk as a component.desk_required_startup_test.rs
ALLEN memoryEVIDENCEDcrates/aien-allen, aien-allen-memory, aien-allen-profileaien-architecture ADR 0035; crates/aien-allen-memory/RETENTION.mdallen_concurrency_test.rs, compose_memory_recall_test.rs
CortexEVIDENCED, split ownersc crates/cortex-rs (non-authoritative per its README), omega Cortex per ADR 0022ADR 0022, ADR 0036 (release v1 memory owner)cortex-rs tests (9 files). The shipped release uses sc cortex-rs.
VerifierEVIDENCEDtools/aien-verify (std-only Rust), plus crates/aien-campaign-verifier (NEXT-PHASE-2)docs/campaigns/whole-system-e2e/VERIFIER-v1.md; ADR 0033tools/aien-verify/tests/run.sh; used by the harness for E5/CTRL-E5
GB10 backendEVIDENCEDsc crates/aien-omega-gpu; engine in omegaADR 0016 line in CURRENT_EXECUTION_PLAN.md; ACCEPTANCE-v1.3-gb10.md2 test files in the crate; RUN-2-GB10 (sc#413) exercised it, verdict FAIL on one text row
CONTEXT.md for scGAPabsent (aien-architecture has one)AGENTS.md says single-context layout per repon/a. Low severity; not filed as blocking.

tools/aien-verify is referenced by no workflow in .github/workflows and no scripts/test-*.sh (grep, 2026-10-11); only the harness builds it per run. So its own tests (tools/aien-verify/tests/run.sh) do not appear to run in CI (OBSERVED by grep; whether a path-based trigger runs them is UNVERIFIED). Candidate fix: add them to ci.yml (sc#414).

4. Completion claims against tonight's evidence

Claim locationLabelFinding
aien-architecture README "Current state"EVIDENCED honestSays pre-alpha, kernel not qualified, R1 to R16 not requalified. No change.
CURRENT_EXECUTION_PLAN.md addendum 2026-10-10STALE-DOCSays WHOLE-SYSTEM-E2E "Status 2026-10-10: NOT_RUN". Runs exist since: RUN-1 (CPU, E2, E3, E3m, E4, E6 PASS; E1, E5, CTRL-E1 not run), second-machine verdict R7, RUN-2-GB10 FAIL. Fixed by the dated addendum in this PR.
GAP_ASSESSMENT.md "NOT_RUN"Dated snapshotWritten 2026-10-10 as a snapshot; left unchanged.
sc READMESTALE-DOCFixed by sc#415 (see section 2).
Any document calling a release signednone foundsc docs/release/RELEASE_SIGNING.md says plainly that the public key is a placeholder. RELEASE_NOTES.md says internal test.
docs/STATE_OF_AIEN.md "Versioned Release Packaging: Resolved"STALE-DOC (mild)Resolved means a tagged workflow and checksums exist; there is still no public signed release. Not edited (the file is a dated deficit inventory; wording risk of an unreviewed rewrite). Reported only.
R8 (installed signed release)NOT RUNRESULT-RUN-1 marks E1 and CTRL-E1 NOT_RUN pending a signed artifact.
AIENOS nativeNOT_RUNGAP_ASSESSMENT.md section on AIENOS: native is NOT_RUN for every acceptance step; B7b needs a machine window.

5. Open pull requests older than three days (created before 2026-10-08 03:40 UTC)

Repo / PRStateWaits on
aien-sovereign-core #278draft, DIRTY (conflicting), created 2026-10-07, CI successIts own text: "Not evidence-backed yet; do not merge on this alone." Closes nothing; its issue #277 is CLOSED. Needs a rebase and a decision to keep or close.
aien-protocols #16draft, DIRTY, created 2026-10-08OSH Platform ABI v1 DRAFT; freezes after the Linux adapter consumes it once. aien-architecture#158 is OPEN. Needs a rebase when the freeze is decided.

Younger open PRs, for completeness (not older than 3 days): sc #413 (BLOCKED, RUN-2-GB10 evidence), sc #370 (CLEAN, process), aien-architecture #178 (DIRTY, 2026-10-09, process), aienos #300 (draft, DIRTY, 2026-10-10, int8 kernel, waits on Drake's go for the default). omega, physics, spark-rsi, aegis-runtime, interplane: 0 open. Nothing was merged or closed.

Release blockers, in order

  1. The public signing key does not exist (Drake-only key ceremony, docs/release/KEY_CEREMONY.md). Until then nothing can install as release.
  2. No open-licence model has passed. CAND-4 is Llama and internal-only; Qwen3 v5 verdict is FAIL (262 of 334 declared rows PASS, sc docs/campaigns/open-model-qwen3/VERDICT-v5.md) and sc#384 (v6) is open.
  3. No candidate matches current main: the gate fails on omega.lock (6c6180c vs c0369e6), and 130 commits of source drift make the CAND-4 executable digests unreproducible. Needs CAND-5 in qualification/candidates/, then release/candidate.toml and omega.lock bumped together (sc#414).
  4. R6 verdict is FAIL (RUN-2-GB10, one text row; E4 rows did not run); a clean GB10 run is needed.
  5. R8 not run: an installed, signed release has never been through the harness (E1, CTRL-E1).
  6. Install path gaps in section 2 (desk key step, aien harness, model provisioning, /tmp objective store).

Not claimed

Not claimed: that any release is signed or qualified; that the model is qualified; that R6, R7-on-GB10 or R8 passed; that AIENOS native works; that the 25 candidate digests are or are not reproducible today (only that the source changed); that pins.sh --check passes locally; that the verifier tests are absent from every CI path (grep only). The dry-run install shows the installer and the dry-run artifact agree; it says nothing about the production key.