interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

GitHub aien-dev/interplane-mv#51 (code only)

closed derived c3b03311d939f42c #51

Imported from GitHub aien-dev/interplane-mv#51 (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 b1aed19ad5e7f45885f214887e4ac11f0c53cebd · Head d6d9fe2f9364e767ceb0ed13cd01d1b9467fe8de

greptile-apps[bot] reviewed (COMMENTED) on 2026-10-05 11:34 UTC

aien-dev has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

Apply it

git checkout -b patch-c3b03311d939f42c b1aed19ad5e7f45885f214887e4ac11f0c53cebd
curl -fsSL https://interplane.io/drakestapleton/interplane-mv/patches/c3b03311d939f42c.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/interplane-mv
51
d6d9fe2f9364e767ceb0ed13cd01d1b9467fe8de
{"kind":"github-import","owner":"aien-dev","repo":"interplane-mv","number":51,"url":"https://github.com/aien-dev/interplane-mv/pull/51","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:05Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f0eef12..3793aa3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
 
 ## Unreleased (0.3, Trust lane)
 
+- AIEN adapter re-pinned to aien-sovereign-core 0bdc97a (#208: idempotency ledger bound to effect identity, `ApprovalDesk::revoke` for unspent grants, new `Error::IdempotencyConflict` and `ApprovalError::Revoked`). Made after REPORT-0.3 merged, so the 0.3 T4 evidence stays at 0c1d249. No adapter code change; a spent grant still cannot be given back (sovereign-core #206).
 - 0.3 trust report (`docs/REPORT-0.3.md`): qualifying run `trust-0.3-20261005T0229Z` passes every offline gate (P, X, I, E, A, N) and gate M (live leg on Qwen3.5-9B/Ollama 0.34.0 under `bench/runs/trust-0.3-20261005T0229Z/live/`: violations 0; follow rate 16/33, 0.485, Wilson 95 % [0.325, 0.648], reported only).
 - Security: the Rust lifecycle now accepts an approval continuation only with the `approval_id` the runtime minted for that request, as Python already did; before, any non-empty id was accepted. A non-`authorized` continuation value with the minted id is DENIED in both SDKs. Lifecycle conformance cases `lifecycle/01-05`; 30/30 byte-identical.
 - Trust vocabulary reconciled (plan cut P1, gaps G1-G3): CROSSVEIL.md default is `tool_result` + `unknown` (the undefined `untrusted_tool_content` and `origin` are gone), VERSIONING.md lists `ContentKind` in place of the undefined `Origin`. Python now reads an unrecognized or non-string `content_kind` as `unknown`, as Rust did; non-string trust is `external_untrusted`. Odysseus `system` result integrity maps to `trusted_runtime` unless Odysseus's own gate marks the result untrusted. Conformance cases 26, 27 (with a harness-only `mock_provenance` seam and JCS round-trip checks); 32/32 byte-identical together with lifecycle/01-05.
diff --git a/STATUS.md b/STATUS.md
index 1ca4bb1..1169624 100644
--- a/STATUS.md
+++ b/STATUS.md
@@ -26,7 +26,7 @@ byte-identical) ยท `qualified` (measured against a real model/backend).
 | 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 |
 | Conformance runner | implemented | implemented | 45/45 both (40 cases + 5 lifecycle, verdicts byte-identical) | `--dump` writes canonical results per case |
 | Interplane Probe | qualified | qualified | - | both run live against Qwen3.5-9B/Ollama 0.34.0 with identical verdicts (reports under qualification/reports) |
-| AIEN adapter | tested (on the real EffectAuthority path, pinned sovereign-core 0c1d249; was 10 pipeline tests in 0.1) | - | - | ADR 0003; real aien-mcp SpeculativeLane + aegis gate; aien-cli SafetyEngine not linkable (private); AGPL |
+| AIEN adapter | tested (on the real EffectAuthority path, pinned sovereign-core 0bdc97a (#208); was 10 pipeline tests in 0.1) | - | - | ADR 0003; real aien-mcp SpeculativeLane + aegis gate; aien-cli SafetyEngine not linkable (private); AGPL |
 | Odysseus adapter | - | tested (70 tests vs odysseus@2992bf6) | - | executes read_file/ls/glob/grep via Odysseus handlers; approval continuation unsupported, every continuation refused (cut A4); AGPL |
 | Before/after receipt (0.1 goal) | - | qualified | 2 runs, reproduced | examples/receipt |
 | 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 |
diff --git a/adapters/aien/Cargo.lock b/adapters/aien/Cargo.lock
index bc707d0..d5c1b47 100644
--- a/adapters/aien/Cargo.lock
+++ b/adapters/aien/Cargo.lock
@@ -83,7 +83,7 @@ dependencies = [
 [[package]]
 name = "aien-capability"
 version = "0.1.0"
-source = "git+https://github.com/aien-dev/aien-sovereign-core.git?rev=0c1d249f2d119c7c2d726a2d252dc913e6185d28#0c1d249f2d119c7c2d726a2d252dc913e6185d28"
+source = "git+https://github.com/aien-dev/aien-sovereign-core.git?rev=0bdc97a76ce5a3d198dca718f89fad9bc56deb8e#0bdc97a76ce5a3d198dca718f89fad9bc56deb8e"
 dependencies = [
  "sha2 0.10.9",
 ]
@@ -134,7 +134,7 @@ dependencies = [
 [[package]]
 name = "aien-mcp"
 version = "0.1.0"
-source = "git+https://github.com/aien-dev/aien-sovereign-core.git?rev=0c1d249f2d119c7c2d726a2d252dc913e6185d28#0c1d249f2d119c7c2d726a2d252dc913e6185d28"
+source = "git+https://github.com/aien-dev/aien-sovereign-core.git?rev=0bdc97a76ce5a3d198dca718f89fad9bc56deb8e#0bdc97a76ce5a3d198dca718f89fad9bc56deb8e"
 dependencies = [
  "aien-capability",
  "async-trait",
diff --git a/adapters/aien/Cargo.toml b/adapters/aien/Cargo.toml
index 02b9cb9..780645c 100644
--- a/adapters/aien/Cargo.toml
+++ b/adapters/aien/Cargo.toml
@@ -21,9 +21,9 @@ interplane-crossveil = { path = "../../rust/crates/interplane-crossveil" }
 serde_json = "1"
 sha2 = "0.10"
 tokio = { version = "1", features = ["rt"] }
-# Pinned AIEN sources: aien-dev/aien-sovereign-core main at 0c1d249 (PR #207, exposure-aware authority; after #204 single-use approvals).
-aien-capability = { git = "https://github.com/aien-dev/aien-sovereign-core.git", rev = "0c1d249f2d119c7c2d726a2d252dc913e6185d28" }
-aien-mcp = { git = "https://github.com/aien-dev/aien-sovereign-core.git", rev = "0c1d249f2d119c7c2d726a2d252dc913e6185d28" }
+# Pinned AIEN sources: aien-dev/aien-sovereign-core main at 0bdc97a (PR #208, idempotency ledger bound to effect identity, revocable unspent grants; after #207 exposure-aware authority and #204 single-use approvals).
+aien-capability = { git = "https://github.com/aien-dev/aien-sovereign-core.git", rev = "0bdc97a76ce5a3d198dca718f89fad9bc56deb8e" }
+aien-mcp = { git = "https://github.com/aien-dev/aien-sovereign-core.git", rev = "0bdc97a76ce5a3d198dca718f89fad9bc56deb8e" }
 # aegis-runtime cannot be a git dependency: its own Cargo.toml reaches a sibling checkout
 # (`../aien-protocols/crates/*`). Layout required (see README): next to this repository,
 # `interplane-audit/aegis-runtime` at f4e870953a466bb1cf68f1d88285929024cf1ba9 and
diff --git a/adapters/aien/PINS b/adapters/aien/PINS
index 13da898..4bbdd69 100644
--- a/adapters/aien/PINS
+++ b/adapters/aien/PINS
@@ -5,4 +5,4 @@ AEGIS_RUNTIME_REV=f4e870953a466bb1cf68f1d88285929024cf1ba9
 AIEN_PROTOCOLS_REPO=https://github.com/aien-dev/aien-protocols.git
 AIEN_PROTOCOLS_REV=3a4cdbe8d360a2e1ddb3e8b108684048b9d4ba10
 # Pinned in Cargo.toml (git dependency); CI checks that Cargo.toml and this line agree.
-SOVEREIGN_CORE_REV=0c1d249f2d119c7c2d726a2d252dc913e6185d28
+SOVEREIGN_CORE_REV=0bdc97a76ce5a3d198dca718f89fad9bc56deb8e
diff --git a/adapters/aien/README.md b/adapters/aien/README.md
index cd19bcf..457d721 100644
--- a/adapters/aien/README.md
+++ b/adapters/aien/README.md
@@ -14,7 +14,7 @@ spent only by AIEN. Nothing under `rust/`, `spec/`, `python/` or
 ## Pinned AIEN sources
 
 `aien-capability` and `aien-mcp` are git dependencies pinned to
-`aien-dev/aien-sovereign-core@0c1d249f2d119c7c2d726a2d252dc913e6185d28` (main after PR #207 merged,
+`aien-dev/aien-sovereign-core@0bdc97a76ce5a3d198dca718f89fad9bc56deb8e` (main after PR #208 merged, which binds the idempotency ledger to effect identity and lets an approver revoke an unspent grant; before it, PR #207 merged,
 which makes the authority exposure-aware, on top of PR #204 single-use approvals and the PR #203
 authority seam). `aegis` (feature `aegis-gate`, on by default) cannot be a git dependency because
 `aegis-runtime`'s own `Cargo.toml` reaches a sibling checkout by relative path
@@ -101,7 +101,7 @@ so they stay pending until continued. `with_effects(name, bits)` re-declares a s
 deny); AIEN's authority decides from the new bits.
 
 **Spend point (limit).** AIEN spends the grant when it mints the effect, inside `present_approval`,
-not when the provider runs it, and aien-mcp at 0c1d249 has no way to give a spent grant back. So the
+not when the provider runs it. aien-mcp at 0bdc97a can revoke only an unspent grant (#208), so a spent grant still cannot be given back (sovereign-core #206). So the
 grant is gone before the pipeline's own checks (digest, expiry string, catalog) and before the
 provider call. Outcomes, all tested in `tests/approval.rs`:
 
diff --git a/adapters/aien/tests/approval.rs b/adapters/aien/tests/approval.rs
index 37c0600..118ff4c 100644
--- a/adapters/aien/tests/approval.rs
+++ b/adapters/aien/tests/approval.rs
@@ -1,4 +1,4 @@
-//! Single-use approvals (aien-mcp at 0c1d249) through the adapter and the host-only continuation
+//! Single-use approvals (aien-mcp at 0bdc97a) through the adapter and the host-only continuation
 //! API (0.3 cut A3). The first group drives the adapter's host side directly (`decide` to mint the
 //! pending handle, `present_approval` for the continuation decision, then `execute`, the same
 //! calls the pipeline makes). The second group drives the real `Pipeline` through