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 / plans / adaptive-intelligence / inventory / evidence-chain.md

110 lines · 16278 bytes Raw Blame History Source

Evidence chain inventory (Milestone 0, read-only scout)

Pins: aien-protocols 407487b7e163, interplane 667fbe811f78, spark-inquisitor 230d257199b7 (ARCHIVED), benchmarks 8d4dfde8f944. Paths are relative to ~/workspace/adaptive/. Nothing was built or run; all claims are from reading source.

Classification table

CapabilityClassKey evidence
Evaluation plan/receipt types + P-256 signing (aien-evaluation-protocol)Implemented but disconnectedaien-protocols/crates/aien-evaluation-protocol/src/lib.rs:510-602; only consumers are the archived inquisitor and spark-rsi per CONSUMERS.md:11-12
TRN1 execution transcript (spec + C verifier + corpus)Implemented but disconnected (spec: "Not yet produced by any runtime")aien-protocols/specs/execution-transcript/TRN1_TRANSCRIPT_SPEC.md:3; no TRN1 mention in interplane or benchmarks (grep)
Signature over transcript / final chain digestMissingTRN1_TRANSCRIPT_SPEC.md:473-475
Judge receipt rsi-eval/2 verification (signature, subject, policy, holdout, threshold)Implemented and integrated (inside interplane)interplane/provenance/src/evaluation.rs:96,177,288-482; tests/evaluation.rs
Byte-compat with spark-rsi judge receiptImplemented and integrated (one fixture)interplane/provenance/tests/evaluation.rs:533,586
One unified receipt format across reposMissing: separate formats (EvaluationReceipt, rsi-eval/2, prime-race receipt v1; EvidenceReceiptV1 in sovereign-core)sec. 1, 2, 4
AIEN adapter evidence export (ledger slice, model turn, test run)Implemented and integrated, but UNSIGNEDinterplane/adapters/aien/src/provenance_export.rs:17; provenance/BINDING.md:195
INTERPLANE conformance corpus + negative controls V1-V8Implemented and integratedinterplane/conformance/negative-controls.json:4-13
spark-inquisitor protocol evaluatorsSuperseded (repo archived; protocol slice not carried to canonical copy)spark-inquisitor/README.md:1-3; sec. 3
benchmarks main harness (src/harness)Experimental; cannot build standalonebenchmarks/Cargo.toml:18-22
benchmarks prime-drag-race runner (content-addressed, no-overwrite receipts)Implemented, standalone, own unsigned formatbenchmarks/prime-drag-race/src/receipt.rs:20-40, src/lib.rs:15
Longitudinal benchmark history / trend storeMissingbenchmarks/data holds two snapshot files; no history tooling found
Independent audit (separate party re-verifies whole chain)Missingjudge key is operator-supplied (evaluation.rs:1-8), but nothing audits the operator or links receipt to transcript

1. aien-protocols

Workspace members: aien-protocols/Cargo.toml:4-12. The .crumb at repo root has empty role strings for crates/ and specs/.

aien-evaluation-protocol (crates/aien-evaluation-protocol/src/lib.rs, 806 lines; path deps only on aien-protocol-types and aien-provenance, Cargo.toml:9-10):

aien-provenance (src/lib.rs): SourceGrant for data-source licences (verify_signature :124, validity :140, permission :149, licence :160). Source-licence provenance, not run provenance.

Execution transcript contract (specs/execution-transcript/):

Other specs: specs/evaluation/SPEC.md (not read in depth, content UNVERIFIED). specs/evidence-receipt/SUBSET.md:3 says it is a PARTIAL extraction and "the full extraction is owed". specs/verified-crumb/SPEC.md plus golden/r01..r08 refusal vectors.

2. interplane

provenance/src/evaluation.rs (482 lines). Header :1-8: no change may be promoted unless its exact identity matches a valid, independently signed evaluation; judge key comes from the operator, never from the bundle; it reads and compares, authorizes nothing.

adapters/aien/ (no .crumb file in this directory). Evidence crosses as an exported bundle, not as a shared type crate. export_bundle provenance_export.rs:199 writes the daemon's raw ComposeRecall views (claim, settlement, grant, intent, ack), daemon-run.json from /proc, the load log, the INTERPLANE trace, model files, and COMPANION.json (path, size, SHA-256) (:1-8). A scripted turn can never be PASS complete (:12-15). "No record is signed" (:17). Judge path: src/rsi_m5.rs (propose_and_judge :60, judge_model_proposal :73), scripts/m5-*.sh, evidence/ dirs dated 2026-10-08/09.

conformance/: 27 required fixtures plus injection, approval and lifecycle sets (README.md:5-7). negative-controls.json defines V1-V8: each is a deliberately defective runner variant that must fail named fixtures (:4-13). TRUST-DIGEST.txt freezes the corpus. runners/validate_fixtures.py is Python (README.md:11).

3. spark-inquisitor (ARCHIVED)

4. benchmarks

5. Dependency pinning graph

6. Existing negative tests (bad artifact in, rejection expected)

Modified receipt / signature:

7. Gaps

  1. No receipt binds candidate digest + world + generation + execution id + transcript digest together. aien-evaluation-protocol binds subject_digest and evaluation_id only; TRN1 binds run_id and capability generations but is unsigned and has no candidate digest; rsi-eval/2 binds candidate_id and subject_sha256 but no transcript.
  2. No adapter exists between aien-evaluation-protocol and rsi-eval/2, or between benchmark receipts and either.
  3. interplane adapter exports are unsigned and forgeable by a same-user process (BINDING.md:195; provenance_export.rs:17).
  4. aien-evaluation-protocol verify ignores the stored tier and fingerprint fields (lib.rs:591-601).
  5. benchmarks main harness cannot build standalone; no history store.