interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / STATUS.md
| 1 | # STATUS (updated by hand with every merge; the readiness report cites this) |
| 2 | |
| 3 | Statuses: `specified` (normative text/schema exists) · `implemented` (code exists) · `tested` |
| 4 | (unit tests pass) · `conformant` (passes the canonical fixtures, verdicts |
| 5 | byte-identical to `conformance/expected/verdicts.json`) · `qualified` (measured against a real model/backend). |
| 6 | |
| 7 | The Python column records the Python SDK as it stood when it was removed on 2026-10-15 (no Python |
| 8 | ships here). It is history and is no longer updated; the Rust column is the current state. |
| 9 | |
| 10 | Security hardening (2026-10-26, draft): SECNET-01 confines the AIEN write sink with pinned |
| 11 | directory descriptors and atomic replacement; SECNET-05 bounds generated input records, |
| 12 | refusal events and adapter correlation state, closing saturated held traces before execution. |
| 13 | Regression tests are in `adapters/aien/tests/approval.rs` and |
| 14 | `rust/crates/interplane-crossveil/tests/session_limits.rs`. Local offline Crossveil tests and |
| 15 | adapter approval/pipeline tests passed after their regressions failed on the vulnerable paths; |
| 16 | these are tested implementation changes, not deployment or model/backend qualification claims. |
| 17 | |
| 18 | | Component | Rust | Python (removed 2026-10-15; last state) | Fixtures | Notes | |
| 19 | |---|---|---|---|---| |
| 20 | | Core schemas | specified | specified | validated | 10 schemas under spec/schemas, JSON Schema 2020-12 | |
| 21 | | Core types + validation + JCS | conformant | conformant | 27 cases + digest/jcs-01 | verdict files byte-identical | |
| 22 | | Lenshift openai | conformant | conformant | 10 dialect fixtures | | |
| 23 | | Lenshift openai_stream | conformant | conformant | 23 dialect fixtures (6 real streams from Ollama, llama.cpp, SGLang) | SSE body assembled into one message; incomplete streams rejected, never guessed; digests compared across languages | |
| 24 | | Lenshift qwen35 | conformant, qualified | conformant, qualified | 10 dialect fixtures + real captures | real Qwen3.5-9B captures under qualification/captures | |
| 25 | | Lenshift aien_legacy | tested | tested | 13 dialect fixtures, JCS-identical | aien-cli textual `<tool_call>` JSON (client.rs:381-419); unterminated calls rejected | |
| 26 | | Lenshift ajax | reserved | reserved | none | no official artifact (2026-10-04) | |
| 27 | | CrossAxis mapping + coercion | conformant | conformant | cases 04, 20, 21 | stale-digest refusal | |
| 28 | | CrossAxis Select (domain_match v1) | tested | tested, qualified | - | receipt: 71 -> 9 tools, 89% fewer first-turn prompt tokens (0.1 measure: rendered bytes + model-reported tokens) | |
| 29 | | CrossAxis measure units (bytes, tokens_model_reported, tokens_endpoint_tokenizer, tokens_estimated) | tested | tested | schema-validated (selection.schema.json) | not yet qualified: Core ships BytesOnly + EstimatedTokens (estimator v1); live counters belong to the bench runner | |
| 30 | | CrossAxis expansion v1 (expand + discover, bounded) | conformant | conformant | cases 24, 25 | selections and digests byte-identical across languages; not yet qualified against a live model; never grants authority | |
| 31 | | Crossveil pipeline + mock runtime | conformant | conformant | 27 cases | fails closed on adapter faults | |
| 32 | | Crossveil trust vocabulary (0.3 cut P1) | conformant | conformant | cases 26, 27 | unrecognized content_kind -> `unknown` in both SDKs (Python used `tool_result` before); absent/null trust -> `unknown`, unrecognized -> `external_untrusted`; `trusted` never true for them, also after a JCS round trip; Odysseus `system` integrity mapped explicitly | |
| 33 | | InputRecord and Exposure types (0.3 cut P2) | conformant | conformant | digest/input-record-01, digest/exposure-01 | schema `input.schema.json`, 9 source-class examples validated in CI; types; the pipeline now records them (cut P3, next row) | |
| 34 | | Crossveil lifecycle: approval continuation | conformant | conformant | lifecycle/01-05, approval/A01-A14 | only the approval_id the runtime minted for that request continues it; forged, empty, missing and other-request ids refused (Rust accepted any non-empty id before 0.3 cut A1); correlation is trace + request + minted id + capability_request digest, with expiry, cancel, replay and restart refusals; host-only `continue_approval` / `cancel_approval` on both pipelines (cut A2) | |
| 35 | | Reproducibility pins | - | - | - | see docs/RUN-MANIFEST-COMMITS.md (toolchain, pip constraints, action SHAs, AIEN sibling pins) | |
| 36 | | Pipeline input ledger and exposure (0.3 cut P3) | conformant | conformant | cases 28-30 | per-trace ledger of rendered results plus host `register_input`; every `tool_request` and `CallContext` gets a computed `exposure`; forged exposure overwritten; fails closed | |
| 37 | | Source-class coverage (0.3 cut P4) | conformant | conformant | cases 31-40 | one fixture per source class asserting every InputRecord field; mock gains `read_document`, `load_skill`, `call_provider`; skills and tool descriptions are `external_untrusted`; host registers model_generated input | |
| 38 | | Conformance runner | implemented | implemented | 106/106 (verdicts byte-identical to `conformance/expected/verdicts.json`, which the Python runner also produced; CI requires exactly 106) | `--dump` writes canonical results per case; CI compares the Rust verdict file with the recorded one byte for byte | |
| 39 | | Interplane Probe | qualified | qualified | - | both run live against Qwen3.5-9B/Ollama 0.34.0 with identical verdicts (reports under qualification/reports) | |
| 40 | | AIEN adapter | tested (fix-the-test slice: adapters/aien/scripts/test-fix-the-test.sh, verdict PASS_LABELLED_INCOMPLETE, evidence/fix-the-test-2026-10-08; on the real EffectAuthority path; approved writes through the authenticated daemon ledger route; pinned sovereign-core 9b5e6e8 (live gate: adapters/aien/scripts/test-live-daemon.sh; earlier 4d4dfd4: #296 daemon-minted grants only, #295 signed requirements goal; #262, #260); was 10 pipeline tests in 0.1) | - | - | ADR 0003; real aien-mcp SpeculativeLane + aegis gate; aien-cli SafetyEngine not linkable (private); AGPL | |
| 41 | | Odysseus adapter | - | removed 2026-10-15 (was tested: 118 tests vs odysseus@a8c147b) | - | executes read_file/ls/glob/grep via Odysseus handlers; approval continuation unsupported, every continuation refused (cut A4); AGPL | |
| 42 | | Before/after receipt (0.1 goal) | - | qualified | 2 runs, reproduced | examples/receipt | |
| 43 | | CrossAxis gate, 0.2 pre-registered (37 pairs, qwen3.5:9b on Ollama) | - | qualified: FAIL | bench/runs/qual-20261004T2207Z | T 0.877 PASS, S PASS (B 0.730 vs A 0.676), O1 0.865 FAIL, O2 0/5 FAIL; model did not use the discovery tool. See docs/REPORT-0.2.md. 0.2x held-out campaign (bench/PROTOCOL-0.2x.md) not run: runner prepared; arm 3 negative controls N1 and N2 (denied and approval-pending calls cause no expansion and no execution) tested offline in bench/tools/test_runner_offline.py | |
| 44 | | CrossAxis 0.2x campaign (120 held-out tasks, 4 arms, 3 seeds, qwen3.5:9b on Ollama) | - | qualified: FAIL | bench/runs/heldout-0.2x-20261005T0102Z | all 4 arms FAIL O1 and O2 (at most 7 of 24 expansion tasks recovered, 22 needed); T 0.89 in every arm; S passes arms 1-3; not fragile. See docs/REPORT-0.2x.md | |
| 45 | | Qwen3.5-9B on llama.cpp b11398 | - | qualified | probes 14/14 (Rust and Python, aligned) | qualification/captures/qwen35-llamacpp | |
| 46 | | Qwen3.5-9B on SGLang 0.5.20 (bf16, qwen3_coder parser) | - | qualified | probes 14/14 (Rust and Python, aligned) | earlier 12/14 kept as pre-alignment | |
| 47 | | AIEN authority path (sovereign-core #203, #204) | tested | - | adapter approval tests (15; 6 original plus A3) | single-use approvals; grants are presented only through the host continuation API (cut A3), spent at mint, host clock; spend-point limit in adapters/aien/README.md | |
| 48 | | Injection harness + negative controls (0.3 cut I1) | tested | tested | 3 seed injection cases | scripted obedient model, effect judge, V1-V6 built only into the runners (Rust feature, Python flag), matrix byte-identical in both languages, `conformance/TRUST-DIGEST.txt`; category corpora are I2-I4, gate N needs them | |
| 49 | | Content-borne injection corpus (0.3 cut I2) | tested | tested | injection 04-19 (C01 to C05, forms F1 to F3) | 19 injection cases, all blocked by the runtime layer (no runtime gap); fixture `mock_data` harness override; V1 and V4 extended | |
| 50 | | Authority, identity and fault corpus (0.3 cuts I3, I4) | tested | tested | injection 20-42, approval 15-16 | C06 to C09, C11 to C13 all blocked; gaps fixed in both SDKs (foreign result id, duplicate advertised name, Python fault outputs); V7, V8; gate I corpus met (57 cases, 13 of 13 categories) | |
| 51 | | Mock effect policy (0.3 cut E1) | tested | tested | injection 43-44; cases 19, 27, 40 | mock holds an `effect` for approval when the exposure floor is below user_supplied (fail closed without exposure); reference only, INTERPLANE carries exposure and the runtime decides; red check: both new cases fail with the policy removed | |
| 52 | | Odysseus adapter reads exposure (0.3 cut E2) | - | removed 2026-10-15 (was tested) | git history at 43ec8f8 | gate armed from `CallContext.exposure` (floor below user_supplied, or absent) plus Odysseus's own result observation; caller trust hints removed; hosts register the user turn (demo, bench runner); 18 injected effects held, 0 executed; red check: 15 host-registered cases fail without it | |
| 53 | | AIEN adapter passes exposure, honest labels (0.3 cut E4) | tested | - | adapters/aien/tests/exposure.rs (4) | re-pinned sovereign-core 0c1d249 (#207); `CallContext.exposure` reaches `EffectClassAuthority` and the approval path; 11 injected effects held, 0 executed, nothing written; results labelled per capability (read_file workspace_content, list_dir tool_result, write_file tool_result trusted_runtime); red check: base-rule test fails without the passthrough | |
| 54 | | Adapter subset runners T3 and T4 (0.3 cut R0) | - | T3 removed 2026-10-15 with the Odysseus adapter (was tested: 43 fixtures; gate run vs odysseus@2992bf6, CI later vs a8c147b) | T4 in Rust: 32 fixtures (A15 included, 0.3 cut R0b) vs sovereign-core 0c1d249; violations 0, content-derived 0 | subset rule in spec/CORE.md, frozen in TRUST-DIGEST.txt (`t3_subset`, `t4_subset`); red check: gate off gives 32 T3 violations, mis-enrolled write_file fails 18 of 18 T4 injection cases; A15 has no corpus fixture | |
| 55 | | Trust gate, 0.3 pre-registered (PROTOCOL-0.3) | qualified: PASS | qualified: PASS | bench/runs/trust-0.3-20261005T0229Z | P, X, I, E, A, N PASS offline (T1 to T4); gate M live leg on qwen3.5:9b/Ollama 0.34.0: violations 0, model followed injected text 16/33 (reported only). See docs/REPORT-0.3.md | |
| 56 | | Session state limits and `close_trace` (plan 19.7 item 6b) | tested | tested | unit tests (corpus frozen) | `max_traces`, `max_messages_per_trace`, `max_requests_per_trace`, `max_inputs_per_trace` refuse at the replay and duplicate stage with `session_limit_exceeded`; host-only `close_trace` drops a trace's state and refuses it with `session_closed`; closing an unknown trace records nothing; closed ids live in a window of `max_closed_traces` (4096) plus a fixed retirement filter (`retired_filter_bits`, 1 MiB) so a retired trace stays refused and the state stays bounded (100,000 open/close cycles tested); same 16 scenarios, strings and filter positions in both languages; fixtures follow the next corpus revision | |
| 57 | | Independent adapter reproduction (plan 19.7 item 8) | - | reproduced (wheel only) | bench/runs/adapter-repro-20261005T1215Z | Codex gpt-6-sol, to-do host, spec + corpus + v0.3.0 wheel only: 38/38 subset fixtures, violations 0, content-derived 0, 27 injected intents; exposure check removed: 18 FAIL; 15 spec gaps (docs/REPORT-adapter-repro.md): rule wording answered in CORE.md "Adding an adapter" (#56), SDK guide docs/WRITING-AN-ADAPTER.md; maintainer check on a smart-home host (not independent, bench/runs/home-check-20261005T1320Z): 43/43, violations 0, exposure check removed: 30 FAIL; second independent run still open | |
| 58 | | Shared adapter runner | tested | - | rust/crates/interplane-conformance/tests/adapter_runner.rs (2) | `interplane_conformance::adapter_runner`: `AdapterHost` + table entry outside the shared table, computed subset, A-AIEN approval rule, `--no-exposure-check` negative control; reproduces the smart-home (43) run byte for byte and the to-do (38) run with digests masked (its Python host left `runtime_id` unset; byte for byte against the retired Python runner with it set), both modes | |
| 59 | | Provenance companion manifest v0 (ADR 0004, outside Core) | tested | - | 5 fixtures (3 real, 2 synthetic) + 84 tests | `provenance/`: corpus BOM and licenses -> WALDO run -> export -> load-support check -> AIEN load line -> trace -> effect. Effect binding `aien-ledger-slice/1` (strong; daemon ledger records, approval key recomputed, process identity) vs `record_effect_receipt/1` (weaker); byte forms in BINDING.md. A verdict says `complete` only when every link is verified from retained bytes: a scripted model turn gives `PASS_LABELLED_INCOMPLETE missing=link:model_turn`. First real chain `real-waldo-aien-chain` (CPU evidence, one run): tiny WALDO tool-call model -> AIEN daemon load -> AIEN own generation (StreamTurn) -> the daemon's own generation record (sc#301, sovereign-core 12c1a5f) -> `aien_legacy` parse -> one approved write via the adapter -> ledger records; verdict `PASS complete effect=aien-ledger-slice/1:strong proposal=model_generation/2 candidate=none`. Limits: digests are of files read at load time (hash-then-load swap not detected), the record is unsigned (a same-user process could append one), the model is a tiny memoriser (no capability claim), CPU only, adapter is the merged one (interplane main c982fd3). Evidence, never authority | |
| 60 | | Refusals and the exposure floor (issue #57) | conformant | conformant | - | resolved as option C: a non-executed result is recorded `unknown` and counts as `external_untrusted`, on purpose; stated in CORE.md and CROSSVEIL rule 6 (clarification, no fixture or version change); analysis `docs/analysis/ISSUE-57-refusal-exposure.md`; 9 tests per SDK (11 outcome rows: denied, held, not_found, runtime invalid, unknown decision, decide fault, execute fault, error, timed_out, rejected), red check with refusals patched to `trusted_runtime` fails 7 of 9 in each; options R and V are issue #80 | |
| 61 | | INTERPLANE Forge v0 merge decision (`forge/`, spec `docs/FORGE.md`) | - (seeded Omega, not Rust: tested) | - | 46 cases (3 real verdicts copied with one home path replaced, transcribed receipts, synthetic and derived defects) + 2 `status` runs over a fake `rad` + 28 mutants, `forge/tests/run.sh` | `forge decide` prints MERGE only for a MERGE verdict on the exact 40-hex head, a named reviewer, a receipt from a clone of that head with gate rc 0 and a negative control that failed, and a reviewer text that does not contain the author after ASCII case folding and whitespace collapsing; everything else HOLD with a reason; all 28 mutants caught with omc f4df8239; `forge status` reads live Radicle patches through the `rad` CLI (HOST_TESTED once on spark, omega-mv) and reports more than 512 as `TRUNCATED`. Not in CI or `.aien` manifests yet; verdicts and receipts unsigned; no program writes receipts yet | |
| 62 | | INTERPLANE Forge v1 gate runner, JSON decision, receipt lookup, gate timeout (`forge/`) | - (seeded Omega, not Rust: tested) | - | `forge/tests/run.sh`: 138 checks (75 decision cases incl. 6 `--json`, 5 `status` runs over a fake `rad`, 58 `gate` checks on a temp Radicle-shaped storage) + 57 mutants, each run against the whole suite | `forge gate` writes `forge-receipt v1` with rid, clone, tree, omc sha256, rcs, author, UTC start and finish and log SHA-256s, checked against `git rev-parse`, `sha256sum` at 8 sizes and `date -u`; clone isolation checked by a marker file; logs hashed and copied through fds opened before the run (a log swapped during a sleeping gate is ignored); out files created at the end with `O_EXCL\|O_NOFOLLOW` (planted symlinks before and during a run refused, victim untouched, nothing left behind); `--timeout S` (default 1800 s) kills a run's whole process group, records rc 124, appends a timeout line to the hashed log and still writes the receipt, and `decide` holds `GATE_TIMEOUT` (a gate and a negative control that each fork a child sleeper, checked killed); all 56 mutants caught with omc f4df8239 (HOST_TESTED, spark aarch64). aarch64 only (the pinned omc emits nothing else; run.sh NOT_RUN elsewhere). Not run: CI, `.aien` manifest, signed receipts, the 1800 s default timeout itself | |
| 63 | | CI | running | - | - | github.com/aien-spark/interplane: schemas and fixtures, rust (verdicts equal the recorded reference), package, negative controls, provenance, AIEN adapter, no tracked Python | |
| 64 | |
| 65 | L558 additive hardware domain: handwritten seeded-Omega executable mapper for a |
| 66 | narrow QEMU-virt standards fixture, five canonical capability classes. HOST-TESTED: |
| 67 | 3462 native behavior cases, 9 transport/fault checks, 5 compiled mutants caught, |
| 68 | 35 existing CrossAxis/Crossveil checks, all 7 existing gates PASS. Receipts under |
| 69 | `qualification/evidence/L558`. Independent review L564 at `accfa617`: no findings, approved |
| 70 | for this additive host intent mapper only (not hardware behavior). QEMU guest NOT_RUN. Production Aienux |
| 71 | consumer integration pending; all physical targets NOT_TESTED. No existing |
| 72 | runtime authority or language-migration ownership changed. See |
| 73 | `omega/hardware/README.md` for interface and boundaries. |