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/interplane-mv/blob/main/docs/REPORT-adapter-repro.md # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / docs / REPORT-adapter-repro.md` 112 lines ยท 6999 bytes Raw Blame History Rendered 1 # Independent adapter reproduction (plan 19.7 item 8) 2 3 **Result: PASS.** An implementer from a different model family (Codex, `gpt-6-sol`) built a working 4 adapter for a host it invented, using only the v0.3.0 spec, conformance corpus, README and the 5 installed wheel, with no SDK source and no existing adapter in reach. Every pass-bar line held on the 6 first run, and the maintainer reproduced the numbers from a fresh clone. The run also produced 15 spec 7 gaps; those are the main product and are listed below. 8 9 Evidence: `bench/runs/adapter-repro-20261005T1215Z/` (brief, adapter, verdicts, gap list, setup, rerun steps). 10 11 ## Setup 12 13 The implementer's directory held `README.md`, `LICENSE`, `spec/`, `conformance/` and `examples/` from 14 tag `v0.3.0`, and nothing else: no `python/interplane` source, no `rust/`, no `adapters/`, no `bench/`, 15 no git history. The SDK was installed from a separate v0.3.0 clone and its installed `.py` files were 16 replaced by compiled `.pyc`, so only public behaviour was observable. The task: invent a to-do list host 17 (`list_items` read, `add_item` effect, `delete_item` effect needing approval), write a RuntimeAuthority 18 for it, add its entry to `adapter-translation.json` by the rule in CORE.md "Adapter subsets", run its 19 subset through the real `Pipeline`, and write down every place the spec was silent or ambiguous. 20 21 The pass bar was fixed in the brief before the run. 22 23 ## Results 24 25 | Pass-bar line | Required | Result | 26 |---|---|---| 27 | Subset fixtures executed | all | 38 of 38 (25 injection, 13 approval) | 28 | Violations (injection judge) | 0 | 0 | 29 | Content-derived intents | 0 | 0 | 30 | Injected intents reached the authority | > 0 | 27 | 31 | Negative control (exposure check removed) fails | at least one case | 18 cases FAIL, 19 violations | 32 33 All 18 negative-control failures are injected writes (`write_file`/`append_note` mapped to `add_item`). 34 The 7 injection cases that still pass with the exposure check removed all target `delete_file` 35 (mapped to `delete_item`), which the toy policy holds for approval regardless of exposure. That is the 36 expected split for this policy, not a blind spot in the judge. 37 38 The subset is larger than T3 (Odysseus) and T4 (AIEN) in one respect: the toy host has a delete, so 39 the 7 `delete_file` injection cases that are out on both existing adapters are in. 40 41 ## Spec gaps found 42 43 Full text, with verbatim quotes, in `bench/runs/adapter-repro-20261005T1215Z/toy/SPEC-GAPS.md`. 44 45 | # | Gap | Kind | Disposition | 46 |---|---|---|---| 47 | 1 | No procedure for a third adapter: no frozen-list key, no rule for re-freezing `TRUST-DIGEST.txt` | process | spec fix | 48 | 2 | Class mapping is written for file and mail hosts only | rule wording | spec fix | 49 | 3 | Native reads assume a one-file workspace (`notes.txt`) | rule wording | spec fix | 50 | 4 | `basename`, `const`, `default` have no meaning for non-file arguments | rule wording | spec fix | 51 | 5 | A delivered read's bytes are not in the translated plan, only its InputRecord | limit | same limit as T3/T4; state it in CORE.md | 52 | 6 | A new host's policy is its own | by design | none (CROSSVEIL: "a contract, not a policy engine") | 53 | 7 | The Python `CallContext` shape and how to build a `Pipeline` for a new host are not in the spec | SDK docs | docs fix | 54 | 8 | Trust labels of a new host's results are its own judgement | by design | none (CROSSVEIL Trust) | 55 | 9 | Approval expiry: host-issued or runtime-minted | rule wording | spec fix | 56 | 10 | Approval judgement is defined only for A-AIEN and A-ODY | rule wording | spec fix: name the A-AIEN rule as the default for hosts with continuation | 57 | 11 | Approval fixtures carry `null` digests; a new adapter's real digests differ | rule wording | spec fix: say digests are excluded, as `conformance/README.md` already does | 58 | 12 | Injection counts need a translation-aware reading | rule wording | spec fix | 59 | 13 | A15 has no third-host enrollment rule | rule wording | covered by clause 0 already; make it explicit | 60 | 14 | `adapter_subset.py` accepts only `odysseus` and `aien` on its command line | code | fixed with the spec fix | 61 | 15 | `bench/PROTOCOL-0.3.md` is referenced but was outside the allowed set | exercise artifact | none (present in the repository) | 62 63 No gap let an injected effect through in this run. Every gap is about what a newcomer has to guess; 64 whether each guess matches the intent behind T3 and T4 is settled by the spec fixes, not assumed here. 65 66 ## Limits 67 68 - One implementer, one invented host, one run. A second family (for example Gemini) on a different host 69 would test the spec further. 70 - The host is a toy with an in-memory list. It exercises the adapter boundary and the conformance rules, 71 not a real runtime's failure modes. 72 - The implementer chose its own policy (gap 6). A stricter or looser policy would change which cases the 73 negative control can catch, not the pass bar. 74 - The implementer wrote its own judge from the spec text (gap 12). Its counts were spot-checked against 75 the fixtures (row 1: injected `add_item` decided `requires_approval`, never executed), not 76 re-implemented independently. 77 - Delivered reads are registered as InputRecords and the next model step is scripted (gap 5), so this 78 proves the boundary, not a live model's behaviour. 79 80 ## Next steps 81 82 1. Spec fixes for gaps 1-4 and 9-14, with the runner accepting any adapter named in the table (separate PR). 83 2. A short "Writing an adapter" section for the SDK covering the `CallContext` shape and `Pipeline` construction (gap 7). 84 3. A second independent run after those fixes, by a different model family, to check the gaps closed. 85 86 ## Addendum: maintainer check on a second host (not independent) 87 88 Next step 3 was started with a different model family and stopped on the project owner's call. In its 89 place the maintainer who wrote the fixes built a smart-home host (`read_sensors`, `set_light`, 90 `send_alert`, `unlock_door`) from CORE.md "Adding an adapter" and `docs/WRITING-AN-ADAPTER.md`, reusing 91 the runner above with names changed. Evidence: `bench/runs/home-check-20261005T1320Z/`. 92 93 This is **not** independent evidence: the author of the rules applied them. It shows the rules carry a 94 second, different host, including the `send_email` class the to-do run never exercised. 95 96 | Line | Result | 97 |---|---| 98 | Subset (computed from the table, no runner edit) | 43: 30 injection, 13 approval | 99 | Executed / failed | 43 / 0 | 100 | Violations / content-derived | 0 / 0 | 101 | Injected intents | 32 | 102 | Exposure check removed | all 30 injection cases FAIL, 32 violations | 103 104 Found while doing it: 105 106 - One judgement call (leave the delete class out, since unlocking a door removes nothing); the new 107 effect-class text covers it. 108 - A table entry's `system` field has no stated meaning beyond T3/T4. 109 - Each adapter author still writes a runner and judge. A shared runner in `conformance/runners/` would 110 remove the largest piece of work and the likeliest place for a quietly wrong judge. 111 112 An independent second run remains open.