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

branch main Branches Tags History

interplane-mv / docs / REPORT-0.1.md

117 lines · 8102 bytes Raw Blame History Rendered
1# INTERPLANE 0.1 readiness report (2026-10-04)
2
3Repository: https://github.com/aien-spark/interplane (public, Apache-2.0 core; adapters AGPL-3.0-or-later).
4Format follows the mission's reporting discipline. Every claim below is backed by a file in the
5repository or a command whose output is recorded there; nothing planned is described as done.
6
7## Observed
8
9- Neither host runtime parses Qwen3.5's official tool-call form. The official chat template
10 (`qualification/evidence/qwen35-9b-chat_template.jinja`, sha256 `a4aee8af…`) emits
11 `<tool_call><function=NAME><parameter=KEY>` XML; Odysseus's text parser accepts Hermes JSON only,
12 and AIEN's aien-cli accepts `<tool_call>{json}</tool_call>` only (`CURRENT_STATE.md`).
13- A real Qwen3.5-9B on Ollama 0.34.0 (GB10) emits that XML on the raw completion path and never
14 the Hermes JSON form (`qualification/captures/qwen35-ollama/f1…f5`). On the OpenAI-compatible
15 path Ollama's own parser converts it to native `tool_calls` and, when no `tools` are declared,
16 swallows it entirely: content comes back empty. Reasoning is on by default as `message.reasoning`
17 and only `reasoning_effort: "none"` turns it off on that path.
18- AIEN has two agent stacks; its `aien-mcp` and `aien-capability` crates are merged but unused by
19 the live loop, and `AuthorizedEffect` has no production constructor. aien-cli's `SafetyEngine`
20 lives in a private module and cannot be linked from outside.
21- Odysseus exposes 71 function tools; its gate (`ToolRunSecurityContext.decision_for`) arms after
22 any workspace read and then requires approval for effectful tools; `tail_serve_output` is in the
23 schema list but missing from `TOOL_TAGS`, so its own native-call path rejects it.
24- Ajax: no official artifact exists as of 2026-10-04. Nothing about Ajax was fabricated; the dialect
25 slot is reserved and refuses to register.
26
27## Changed
28
29- Normative spec: 10 JSON Schema 2020-12 documents, `spec/CORE.md` (ids, limits, lifecycle,
30 pinned result shape and error messages, JCS digests), `LENSHIFT.md` (openai, qwen35, aien_legacy,
31 ajax reserved), `CROSSVEIL.md`, `CROSSAXIS.md`, `PROBE.md`, `VECTORVEIL.md`, `RELAYLINE.md`,
32 `VERSIONING.md`; ADRs 0001 (scope), 0002 (licensing), 0003 (AIEN adapter mints nothing).
33- Conformance corpus: 23 cases plus a JCS digest fixture; 31 dialect fixtures across three dialects.
34- Reference implementations: Rust (6 crates, 84 tests) and Python (stdlib-only package, 175
35 tests), each with a conformance runner and a probe.
36- Adapters: Odysseus (Python, 55 tests against odysseus@2992bf6) and AIEN (Rust, 10 pipeline tests
37 against aien-sovereign-core@7580039 + aegis-runtime@f4e8709).
38- Qualification: real Qwen3.5-9B captures, two live probe reports (Rust and Python), and the
39 before/after receipt (`examples/receipt`).
40- CI: schema self-check, fixture validation, Rust and Python suites, cross-language verdict
41 identity (23 cases), both adapters against pinned upstream checkouts.
42
43## Proven
44
45- Rust and Python produce byte-identical conformance verdict files, including every result digest,
46 on all 23 cases (`cmp` on the two JCS outputs; CI job `cross-language`).
47- The mock-runtime proof: allowed read executes; denied write never reaches `execute`; malformed,
48 oversized, duplicate, replayed, unknown-version and unknown-decision inputs fail closed; a model
49 retry after denial is decided again by the runtime and denied again (cases 01–23).
50- Through the real Odysseus code: an authorized `read_file` executes via Odysseus's own handler
51 under Odysseus's path confinement; a workspace escape is refused before execution; `send_email`
52 after a read is `requires_approval`; a non-admin blocked tool is `denied`; an unknown name is
53 `not_found`; malformed arguments are `invalid`; with Odysseus absent every decision is `denied`.
54- Through the real AIEN crates: reads run through `SpeculativeLane::invoke_speculative`; effectful
55 requests are staged with `stage_effect_intent` and come back `requires_approval` with `execute`
56 never invoked; the aegis `pre_dispatch_check` gate denies an unlisted shell command; absent AIEN
57 fails closed.
58- The 0.1 goal receipt (`examples/receipt/receipts/qwen35-9b-ollama-run1.json`, `run2.json`):
59 same Qwen3.5 task over the Odysseus catalog, 71 tools vs 9 selected by CrossAxis
60 `domain_match`; first-turn prompt tokens 15 846 vs 1 674 (89.4% fewer); both runs reached the
61 correct answer; every tool call was decided by Odysseus and executed only through Crossveil;
62 a second independent run reproduced the same tool selection, first-turn token reduction,
63 successful answer and deterministic selection digest (round totals differed by a few tokens).
64- Probe on Qwen3.5-9B/Ollama 0.34.0: 13 PASS, 1 UNSUPPORTED (`tools.text_qwen35`), identical
65 verdicts from the Rust and Python probes; profiles `interplane.core.0.1`, `lenshift.openai.1`,
66 `relayline.tool_replay.1` compatible, `lenshift.qwen35.1` incompatible on that endpoint.
67
68## Failed
69
70- `lenshift.qwen35.1` is incompatible on Ollama's OpenAI path: the backend consumes the text-form
71 call. This is a backend property, measured, not a protocol failure; the raw path proves the model
72 itself emits the form.
73- In the full-surface receipt run the model chose `get_workspace` and then `bash`, which the
74 reference Odysseus adapter does not execute (`execution_error`, by design). The model recovered;
75 the receipt records the failures rather than hiding them.
76- First probe attempt failed `chat.basic` because a 64-token budget was consumed by default
77 reasoning. Fixed by budget; the finding is recorded in the probe's detail text.
78
79## Unproven
80
81- Rust and Python agreement on `duration_ms` (excluded from digests by spec) and on probe reports'
82 exact bytes (verdicts agree; detail strings and timings differ by design).
83- Any claim about Ajax.
84- Native Qwen3.5 text-form parsing against vLLM, llama.cpp or SGLang (only Ollama was measured).
85- Task-success regression across a 30–50 task benchmark (Bench is 0.5 work; one task was measured).
86- Approval round-trips: both adapters mint only opaque pending handles; nothing consumes them yet.
87- The AIEN adapter's read provider is adapter code behind AIEN's `MemoryWire`; AIEN ships no
88 enrolled catalog today, so the four descriptors are the adapter's, built from AIEN's own
89 effect bits.
90
91## Architectural impact
92
93- Authority never moved: no INTERPLANE component constructs `authorized` except the mock runtime,
94 and the Rust lifecycle's state field is private. Both adapters translate host decisions only.
95- Two-axis trust (content kind × trust level, `unknown` explicit) is on the wire now so 0.3 does
96 not change the format.
97- The pinned result shape and error messages in `CORE.md` are what make two implementations agree
98 byte-for-byte; the one divergence found (provenance of decided-but-not-executed results) was
99 pinned in the spec rather than papered over in code.
100- CrossAxis Select is a deterministic function of catalog + domains; it reduces exposure, it never
101 grants. The receipt shows the practical effect on a small local model.
102
103## Upstream impact
104
105- Odysseus: one narrow fix prepared for issue #6474 (`llama-server -hf … --hf-file …`, with a
106 regression test) on branch `fix/cookbook-llamacpp-hf-file`; per their CONTRIBUTING rule an AI
107 agent must not open the PR, so the branch and PR text are ready for a human. Findings worth
108 reporting upstream: Qwen3.5 XML form unparsed; `tail_serve_output` missing from `TOOL_TAGS`.
109- AIEN: `SafetyEngine` is private (ADR 0003 assumed it could be linked); `aegis-runtime` cannot be
110 consumed as a git dependency because it reaches a sibling checkout by path; no crate enrolls a
111 tool catalog into aien-mcp today. Each is a small upstream change, none is required for 0.1.
112
113## Next step
114
1150.2 (Capability): token accounting with a real tokenizer in `selection.measure`, the task-success
116regression suite (30–50 tasks over the Odysseus catalog), and `tools.text_qwen35` measured on
117llama.cpp and vLLM so the Qwen3.5 dialect's profile can be qualified somewhere real.