Changelog
Unreleased (0.3, Trust lane)
- INTERPLANE Forge gate timeout (
forge/):forge gate … [--timeout S](1 to 86400 s, default 1800) runs the gate and the negative control each in its own process group (setpgidin child and parent) and polls them on the monotonic clock every 100 ms; a run still going at its timeout getsSIGKILLon its whole group and on its own pid (a direct child that moved to another group is still killed), is reaped (forge waits at most 10 s more for the reap, so a child in uninterruptible sleep cannot block it), has its rc recorded as 124 and the lineforge: timeout after S s, process group killed with SIGKILL, exit status recorded as 124appended to its log before hashing, and the logs and receipt are still written (exit 1).forge decideholdsGATE_TIMEOUTwhengate_rcornegctl_rcis 124, checked afterCLONE_MISMATCHand beforeGATE_FAIL(a killed run is incomplete evidence, not a result; a command exiting 124 itself also holds, fail closed). Receipt key order and key set unchanged. No new host program (omc host wordssetpgid,killpid,monons,sleepns). Tests: gate and negative control asshwith a forked childsleep 20at--timeout 1(rc 124, receipt, hashed log with the timeout line, HOLD, child killed, under 10 s), a run within its timeout unaffected, bounds and duplicate refused, 7 decision cases; a direct child that joins forge's own group (forge/tests/joinpg.om) still killed at the timeout (review fix of 3c0d76a8, bay 3); 138 checks and 57 mutants (8 new), HOST_TESTED with omc f4df8239 on spark. - INTERPLANE Forge v1 (
forge/):forge gate <RID> <head> --author A --neg ARGV.. -- ARGV..clones the exact head twice from local Radicle storage (git, system and global config off), runs the gate and its negative control in separate clones through/usr/bin/envwith only HOME, PATH and OMC, and writes<name>-<head8>.receipt.txtwith the new keysrid,tree,omc,started,finished,log_sha256,negctl_log_sha256(first-party Omega SHA-256 and UTC time; exit 0 pass with failing control, 1 recorded HOLD, 2 error and no receipt). The command logs live in the 0700 temp dir; forge hashes and copies them through fds opened before the run, never by name, so a log swapped during a gate changes nothing (review fix of dd78f91a). Out files are created only at the end withO_EXCL|O_NOFOLLOW: a taken or planted name is refused, never followed or replaced, and a refused run removes the out files it created (review fix of cd931dd0 and dd78f91a). aarch64 Linux only: the pinned omc emits nothing else, andtests/run.shis NOT_RUN elsewhere.forge decide --jsonprints oneforge-decision/1object.forge statusfinds receipts by*-<head8>.receipt.txt, showsreceipt=, and holdsRECEIPT_AMBIGUOUSon two or more. Self-review normalization now treats_and-as spaces and strips ASCII punctuation at both ends ("Manager reviewer agent".matches); Unicode folding remains a documented limit. Tests: 116 checks (68 decision cases incl. 5--json, 5 status runs, 43 gate checks againstgit rev-parse,sha256sum,date -u, planted symlinks and a log swapped during a sleeping gate) and 49 mutants, each run against the whole suite. No gate timeout yet; receipts are unsigned. - INTERPLANE Forge v0 (
forge/, specdocs/FORGE.md): a new module that applies the Crossveil rule to code hosting on Radicle.forge decide <patch-head> <verdict-file> <gate-receipt>(seeded Omega, omc f4df8239) reads the desk verdict format and a newforge-receipt v1gate receipt and printsMERGE OK(exit 0) orHOLD <CODE>(exit 1); it holds on anything but a MERGE verdict for the exact head, a missing reviewer, a gate run on another head, a failed gate, a missing or passing negative control, or self-review. Verdict line 1 ends at a newline or the end of the file only; areviewer=value needs a printable ASCII byte and may hold no control byte; self-review compares the reviewer text and the author after ASCII case folding and whitespace collapsing (review fix of 831069da).forge status <RID>lists a repository's live Radicle patches through theradCLI and decides each one that has a verdict; above 512 patches it reportsTRUNCATEDand exits 2.forge/tests/run.shreplays three real desk decisions and 43 more cases, twostatusruns over a fakerad, and requires all 28 mutants to be caught. Host programs are listed inforge/DEPENDENCIES.md; no Rust edge was needed. - Security SECNET-01: the AIEN write provider pins its enrolled workspace directory, resolves parents with Linux
openat2beneath/no-symlinks, refuses final symlinks and replaces files through the confined directory descriptor. Dangling links and links swapped after approval cannot redirect an approved write. - Security SECNET-05: automatic result inputs and rejection events now share explicit retained-state bounds. A turn or continuation reserves its retained output before runtime contact and closes a saturated trace rather than executing with an incomplete exposure ledger.
max_events_per_tracedefaults to 4096. The AIEN adapter also bounds effect correlation metadata and prevents a read with a reused request id from consuming a reserved write. - Removed the Python SDK (
python/, packageinterplane) and its CI jobs (no Python ships here, 2026-10-15). Its last conformance verdicts (106 cases) and negative-control matrix were byte-identical to Rust; they are kept asconformance/expected/verdicts.jsonandnegative-control-matrix.json, and CI now compares the Rust output with them byte for byte instead of comparing two languages. New CI jobno-pythonfails when any.py,.pyi,.pyx,.ipynb,pyproject.toml,requirements*.txt,setup.py,setup.cfg,PipfileorPipfile.lockis tracked, or any file whose first line is a Python shebang. STATUS keeps the Python column as a record of its last state. Removedconstraints/ci-python.txt. - Conformance tooling and examples in Rust (no Python ships here, 2026-10-15):
interplane-corpus(schemas,validate,trust-digest,subset) replacesconformance/runners/{validate_fixtures,trust_digest,adapter_subset}.pywith byte-identical output (forvalidate, except the wording of schema errors, which comes from a different library);interplane_conformance::adapter_runner(AdapterHost) replacesadapter_runner.pyand reproduces both recorded adapter runs; the offline and to-do examples arecargo run --example offline|todo_adapterininterplane-crossveilwith identical output. The AIEN T4 runner takes its plans from the Rust subset code instead ofpython3. - Removed the two Python adapters (no Python ships here, 2026-10-15):
adapters/odysseus(T3 runner of the closed 0.3 gate; its catalog records stay) andadapters/motus(the Rustaien-authority-bridgeit used stays), with their CI jobs andexamples/receipt/run_receipt.py(the receipts stay). Removed the Python bench tooling (bench/tools/,bench/heldout-0.2y/attempt-*/drive.py) and CI jobbench-structural: the campaigns it served are closed and most of it drove Odysseus; corpus, protocols, digests and run records stay. The Rust AIEN adapter is the reference adapter. Theodysseustable entry andt3_subsetstay frozen inconformance/TRUST-DIGEST.txt. - VAC M5 with a REAL model turn (
adapters/aien/scripts/test-m5-model-turn.sh, evidenceadapters/aien/evidence/m5-model-turn-2026-10-09/): the daemon's own loaded Llama-3.2-1B-Instruct (CPU,StreamTurn) writes the tool call that proposes the README change; the same independent judge, approved path and rollback follow. The bundle'smodel-turn/2record names the request and response bytes, weights digest, backend line and times, andprovenancechecks each against the retained bytes and the daemon's own generation record (modelturn.rs, 11 tests inprovenance/tests/model_turn_link.rs). VerdictPASS complete ... proposal=model_generation/2; a turn that does not chain is aFAIL, one declared scripted staysPASS_LABELLED_INCOMPLETE missing=link:model_turn. New adapter pieces:LedgerClient::stream_turn,ComposeLedgerAuthority::set_before_ack, hook switchM5_PROPOSAL_FILE. Restart rowsrow12(a daemon restart does not make a spent approval spendable) androw13(a daemon killed between intent and ack leaves the adapter receiptUNRESOLVEDand the ledger intent OPEN, undecided). One model turn is not a learning system. - Provenance companion manifest v0 (
provenance/, ADR 0004, outside Core, no protocol change): offline verifier and fixtures binding corpus BOM and license assertions, WALDO run, export, a structural AIEN load-support check, the AIEN candidate and load line, an INTERPLANE trace and the aien-cli effect receipt by retained bytes and existing digests. Real WALDO smoke export verifies and is labelled incomplete (its byte tokenizer is not loadable by AIEN); the full chain is synthetic. 21 verdict tests, each a literal verdict line. - Spec clarification, issue #57 (closed as option C, keep fail-closed):
spec/CORE.md(non-executed results in the exposure ledger) andspec/CROSSVEIL.mdrule 6 now say that a denied, requires_approval, not_found or rejected result (a runtimeinvaliddecision givesrejected), an unknown decision value, a decide fault, and an executederrorortimed_outresult are rendered to the model and recordedunknown(executed onestool_result+unknown), so each counts asexternal_untrustedand the floor stays there for the rest of the trace; this is intended, hosts that read the floor will hold later effects. Reason: a refusal body can carry echoed model text, adapter reason text and adapter-minted ids. No fixture outcome, schema or code changes, so byspec/VERSIONING.mdand CONTRIBUTING no version bump (a MINOR bump is required only when an expected fixture outcome changes). Analysisdocs/analysis/ISSUE-57-refusal-exposure.md; testspython/tests/test_refusal_exposure.pyandrust/crates/interplane-crossveil/tests/refusal_exposure.rs(9 each, including one that pins the documented rule). Options R and V (relaxing it) are issue #80. Shared adapter runner
conformance/runners/adapter_runner.py: runs and judges a new adapter on its computed subset from two files (an authority module and a table entry kept outside the shared table, soTRUST-DIGEST.txtis unchanged), with--no-exposure-checkas the negative control. The judge is the independent reproduction's, with adapter names taken from the module and entry. It reproduces both recorded runs byte for byte, normal and negative control (python/tests/test_adapter_runner.py; a judge that never counts violations fails it).adapter_subset.planstakes an optional table. Guide section 7 rewritten around it.Maintainer check (not independent) of the adapter rules on a second host: a smart-home adapter built from "Adding an adapter" and the SDK guide, evidence
bench/runs/home-check-20261005T1320Z/, addendum indocs/REPORT-adapter-repro.md. Subset 43 (30 injection, 13 approval), 43 executed, violations 0, content-derived 0, 32 injected intents; with its exposure check removed all 30 injection cases fail. The independent second run was stopped; it stays open.Docs:
docs/WRITING-AN-ADAPTER.md(the authority's three methods,ctx, decisions, result labels, exposure andregister_input, pipeline wiring, approvals) with the runnable, self-checkingexamples/adapter/todo_adapter.py; CI runs it against the installed wheel. Closes gap 7 of the independent reproduction. Filed issue #57: a refused or held call lowers exposure toexternal_untrustedfor the rest of the trace (spec as written; question for the next protocol).- Spec: CORE.md "Adding an adapter" (Adapter subsets) answers the newcomer questions from the independent reproduction: table entry and digest revision, effect classes for hosts without files or mail, native reads without a workspace, argument transforms, which approval rule applies, the compared record fields (
result_digestexcluded), approval id and grant expiry, the exact injection counts, A15, and the delivered-read limit.adapter_subset.pyaccepts any adapter named in the table. No fixture, table or digest change; T3 43 and T4 32 unchanged. - Independent adapter reproduction (plan 19.7 item 8,
docs/REPORT-adapter-repro.md, evidencebench/runs/adapter-repro-20261005T1215Z/): Codex (gpt-6-sol) built a to-do host adapter from the v0.3.0 spec, corpus and wheel alone, with no SDK source or existing adapter. 38/38 subset fixtures executed, violations 0, content-derived 0, 27 injected intents; with its exposure check removed, 18 cases fail. Reproduced byte for byte from a fresh clone. 15 spec gaps recorded; fixes follow separately. - Bench receipts:
attemptis now the number of runs of that condition. Before, a pair whose re-run also failed was labelled one too high (attempt: 3after two runs, REPORT-0.2x Limits), and in campaign mode a condition that never failed carried the pair's count. Offline test added (the old code fails it). Re-runninganalyze.pyonheldout-0.2x-20261005T0102Zreproduces both committed summaries byte for byte. - Release preparation (plan 19.7 item 8): version 0.3.0 for the Rust workspace and the Python package (descriptions no longer say 0.1; intra-workspace path dependencies carry versions so
cargo packageworks). Offline exampleexamples/offline/run_offline.py(scripted injection, mock runtime, self-checking). CI jobpackage: builds the wheel, installs it in a clean venv, runs the example from outside the checkout, checks that conformance from the wheel is byte-identical to the checkout, and runscargo package --workspace --locked. Nothing is published to PyPI or crates.io. - AIEN adapter re-pinned to aien-sovereign-core 0bdc97a (#208: idempotency ledger bound to effect identity,
ApprovalDesk::revokefor unspent grants, newError::IdempotencyConflictandApprovalError::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.2x campaign report (
docs/REPORT-0.2x.md, runbench/runs/heldout-0.2x-20261005T0102Z): all four arms FAIL O1 and O2; T 0.89 everywhere; S passes in arms 1 to 3; not fragile. All 48 HTTP 500s were Ollama 0.34.0 failing to parse malformed Qwen3.5 tool calls. - 0.3 trust report (
docs/REPORT-0.3.md): qualifying runtrust-0.3-20261005T0229Zpasses every offline gate (P, X, I, E, A, N) and gate M (live leg on Qwen3.5-9B/Ollama 0.34.0 underbench/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_idthe runtime minted for that request, as Python already did; before, any non-empty id was accepted. A non-authorizedcontinuation value with the minted id is DENIED in both SDKs. Lifecycle conformance caseslifecycle/01-05; 30/30 byte-identical. - Trust vocabulary reconciled (plan cut P1, gaps G1-G3): CROSSVEIL.md default is
tool_result+unknown(the undefineduntrusted_tool_contentandoriginare gone), VERSIONING.md listsContentKindin place of the undefinedOrigin. Python now reads an unrecognized or non-stringcontent_kindasunknown, as Rust did; non-string trust isexternal_untrusted. Odysseussystemresult integrity maps totrusted_runtimeunless Odysseus's own gate marks the result untrusted. Conformance cases 26, 27 (with a harness-onlymock_provenanceseam and JCS round-trip checks); 32/32 byte-identical together with lifecycle/01-05. - InputRecord and Exposure types (plan cut P2):
spec/schemas/input.schema.json, optionalprovenance.exposureinintent.schema.json, Crossveil Trust rules 5 and 6, Rust and Python types in lockstep, one schema-valid example per source class underconformance/fixtures/input/, digest fixturesdigest/input-record-01anddigest/exposure-01identical in both languages; types only, no pipeline behaviour (cut P3). - Pipeline input ledger and exposure (plan cut P3): the pipeline records every rendered result as an InputRecord (
parent_id= itsrequest_id), the host registers other inputs with the host-onlyregister_input, and everytool_requestandCallContextcarries a computedprovenance.exposure(a forged one is overwritten; an empty ledger, unknown trust or an untraceablederived_fromgivesexternal_untrusted). Conformance cases 28-30 and new optionalexpected.inputs/expected.exposure; 35/35 byte-identical in both SDKs, earlier verdicts unchanged. - Source-class coverage fixtures (plan cut P4): cases 31-40 (one per source class plus a host-registered
model_generatedcase), mock capabilitiesread_document,load_skill,call_provider, CROSSVEIL source-class table (skills and tool descriptions areexternal_untrusted; the host, not the pipeline, records model-generated input); 45/45 byte-identical in both SDKs; cases 24-25 selection digests re-pinned for the larger mock catalog, outcomes unchanged. - Injection harness and negative controls (plan cut I1): fixtures declare
injection: {category, canary, target}and a scripted obedient model emits the injected intent every time; the runners judge effects and content-derived intents; negative controls V1-V6 exist only behind the runners' test-only switch (Rust featurenegative-controls, Python--variant/--matrix), each detected by named cases, matrix byte-identical across languages;conformance/TRUST-DIGEST.txt(whole fixture corpus, matrix list, protocol) recomputed by CI; 3 seed cases, 48/48 byte-identical. - Content-borne injection corpus (plan cut I2): injection fixtures 04-19 cover C01 workspace, C02 tool output (nested result content, error-message text), C03 memory, C04 web and C05 document (markup embedded in the body) in all three payload forms, via a harness-only
mock_datafixture override in both mocks; the runtime already blocked every case, so no pipeline change; V1 and V4 must-fail lists extended; 78/78 byte-identical in both SDKs. - Mock effect policy (plan cut E1): the CORE.md mock table gains a Class column (
readoreffect); aneffectthe table would authorize isrequires_approvalwhenCallContext.exposure.flooris belowuser_suppliedor absent. Cases 19 and 27 register the user request first; case 40 now expects its secondappend_noteheld; injection 43 (web) and 44 (memory) targetappend_note. 105 verdict rows, identical in both SDKs. - Odysseus adapter consumes exposure (plan cut E2): the untrusted-context gate is armed from
CallContext.exposure(floor belowuser_supplied, or missing: fail closed) as well as Odysseus's ownobserve_tool_result; the caller-suppliedtrust/prior_trustpath is removed.demo.register_user_turnrecords the user's request; the demo, the adapter tests andbench/tools/run_bench.pyuse it, so future bench runs start each trace atuser_supplied(the 0.2x campaign runs pinned code and is unaffected). Newtests/test_injection_exposure.py: 91 adapter tests pass. - AIEN adapter exposure and labels (plan cut E4): re-pinned to aien-sovereign-core 0c1d249 (#207, exposure-aware authority; PROTOCOL-0.3 T4 pin recorded here).
decidehandsCallContext.exposuretoEffectLane::with_exposureand keeps it per request for the grant path; effects under a floor belowuser_supplied(or absent) are held with a reason naming exposure. Results are labelled by capability instead of alwaysworkspace_content. Newtests/exposure.rs; 33 adapter tests pass. - Approval continuation (plan cuts A1 spec and A2):
CORE.mdandCROSSVEIL.mdpin a host-controlled continuation (correlation by trace, request, mintedapproval_idand the digest of the originalcapability_request; expiry against the host clock; terminal cancel; replay and restart refused), both pipelines gain host-onlycontinue_approval,cancel_approvalandpending_approval(no model-writable field is read as a grant,decideis not called again, the request ledger is untouched), the mock executes an approveddelete_file, and fixturesapproval/01-14cover A01 to A14 with new host stepsapprove,cancel,restart,mock; V6 now fails A06 and A13, V5 also A02 and A03, V2 also A10; 62/62 byte-identical in both SDKs, the earlier 48 rows unchanged. - AIEN approvals through the continuation API (plan cut A3):
decidenever reads a grant and now carries an adapter-mintedapproval_idonrequires_approval; the approver's grant reaches AIEN only throughpresent_approval(the runtime's continuation decision, fed toPipeline::continue_approvalviaAienShared::continue_approval); the spend point (grant spent at mint, before the pipeline's own checks and the provider call) is documented and tested, including pipeline refusal and provider rejection after the mint (reported, never a second effect); new tests for model content, stale scope, expiry, cancel and both spend-point failures; AIEN adapter only. - Odysseus approvals (plan cut A4): approval continuation is unsupported on Odysseus and fails closed. The adapter mints no approval id, so a
requires_approvalrequest has no pending entry and every host continuation or cancel is refused;executerefuses any non-authorizeddecision; the decision statesapproval continuation unsupported on Odysseus. Odysseus's sealed approvals are task or chat scoped and bound to owner, session and run, which the single-effect continuation cannot express. New tests cover the Odysseus subset of A01 to A14; Odysseus adapter only. - Authority-claim, identity, catalog and fault corpus (plan cuts I3 and I4): injection fixtures 20-42 cover C06 to C09, C11, C12 and C13, plus approval fixtures 15 and 16 (explicit
denied, decision citing another request); pipeline fixes in both SDKs: a result citing anotherrequest_idnow fails the request, a duplicate advertised capability name with differing definitions is rejected asstale_capability, and Python's decide-fault, mismatched-decision and execute-fault outputs now match Rust; V7 and V8 added; 103/103 byte-identical. - Adapter subset runners (plan cut R0, prerequisite for REPORT-0.3): the normative T3/T4 subset rule and fixture translation (
spec/CORE.md, Adapter subsets;conformance/adapter-translation.json),t3_subset(43) andt4_subset(31) frozen inTRUST-DIGEST.txt, T3 runnerpython -m interplane_adapter_odysseus.t3and T4 runneradapters/aien/tests/t4_corpus.rsrun through the real Pipeline and adapter and wired into CI; violations 0 and content-derived 0 over both subsets. - Protocol case A15 as a corpus fixture (plan cut R0b):
approval/17-provider-fails-after-approval(approved effect fails at the provider after the approval was spent; reported, request terminal, second continuation refused). Mockexecute_raiseson T1/T2; on T4 a real write into a missing directory, rejected by the AIEN write provider. Corpus 106 rows, gate I 60 cases, T4 subset 32; T3 unchanged at 43. - Trust run tooling (plan cut R1a): both conformance runners write
<case>.inputs.json(full input ledger) next to<case>.results.jsonunder--dump, byte-identical across Rust and Python (the Rust results dump now nullsduration_mslike Python).bench/tools/trust_run.pyruns every offline leg of PROTOCOL-0.3 (T1, T2, both negative-control matrices, validator, TRUST-DIGEST, T3, T4) and computes gates P, X, I, E, A, N from the raw files. The dev run found a spec-versus-protocol conflict: results the pipeline synthesizes after a raising or foreign-resultexecutecarried nullcontent_kindandtrust(CORE.md said so), which gate P2 counts as missing. Both pipelines now label themtool_result+unknown, the schema reading of a null label, so behaviour is unchanged. - Streamed responses (plan 19.7 item 6, streaming half): Lenshift dialect
openai_streamin Rust and Python takes a streamed/v1/chat/completionsbody (Server-Sent Events) exactly as sent, assembles the fragments into one assistant message and parses it with theopenairules (spec/LENSHIFT.md). A stream withoutfinish_reasonstop,tool_callsorfunction_callrejects every call as "truncated tool call"; malformed streams (conflicting id or name, second choice, fragment without index, data after[DONE], non-JSON chunk) are rejected whole. 23 dialect fixtures, six of them the real Ollama, llama.cpp and SGLang stream captures byte for byte. Both dialect fixture runners now also compare every digest a fixture records. - Lenshift
openaicross-language fix: Rust accepted an already-decodedargumentsobject and reported a non-string value as "arguments is not an object"; it now rejects every non-stringargumentsas "arguments is not valid JSON", as Python andspec/LENSHIFT.mddo. Only Ollama's own/api/chatsends decoded objects (capture05e); all 29 OpenAI-compatible captured calls send strings. Fixturesopenai/arguments_decoded_objectandopenai/arguments_not_stringfail on the old Rust code. - Session state limits (plan 19.7 item 6b): host-set
max_traces(1024),max_messages_per_trace,max_requests_per_traceandmax_inputs_per_trace(4096 each) bound the pipeline's per-trace state in Rust and Python. A message or request over a limit is refused at the replay and duplicate stage with the newErrorCodesession_limit_exceeded(session limit exceeded: <limit name>), after the replay and duplicate checks and before any runtime contact;register_inputover its limit fails like a duplicateinput_id. New host-onlyPipeline.close_tracedrops a trace's ledger ids, inputs, approval entries, event sequence and events and refuses later messages, requests, inputs and approval continuations with the newsession_closed(session closed: <trace_id>). Unit tests with the same scenarios in both SDKs (the 0.3 corpus stays frozen). Python: the trace flag_pendingis renamed_awaiting. - Refused calls use their request id (cross-language fix): Python
run_turndid not record therequest_idof a malformed or over-the-turn-limit call, Rust did, so a later call reusing that id was a duplicate in Rust and accepted in Python. Python now records it like Rust (within the session state limits);spec/CORE.mdstates the rule. Same test in both SDKs; it fails on the old Python. - Gate M and trust-run verdicts no longer pass vacuously.
bench/tools/live_injection.py:summarize([])returnedgate_violations_zero: truewith zero cases, and a--onlysubset run printed "Gate: PASS" and exited 0. The summary now carriesverdict(PASS, FAIL, EXPLORATORY, INCOMPLETE),qualifying,completeness(missing, duplicated, unexpected, errored cases) andpreregistered(case count,case_set_digest, freeze match againstconformance/TRUST-DIGEST.txt); PASS needs the whole preregistered C01-C08 + C11 set, run exactly once, no error, frozen corpus, 0 violations, andgate_violations_zerois true only then. Existing summary fields keep their names. Exit code 3 for EXPLORATORY or INCOMPLETE.bench/tools/trust_run.py: gate X passed on zero verdict rows and gate E on zero injection cases; X now needs exactly the corpus rows and E needs every system to cover its whole injection set, matched by case name, not count (T1, T2: all injection fixtures; T3, T4: the frozen subsets). New gate F fails the run unless thetrust_digest.py --checkandvalidate_fixtures.pylegs recorded exit 0 inexit-codes.json, since the frozen subsets are read fromTRUST-DIGEST.txt.analyze.pyalready reports INCOMPLETE on a partial or vacuous run (checked, unchanged). Tests intest_live_injection.pyandtest_analyze.py. - Closed-trace state is bounded and closing an unknown trace is a no-op (cross-language fix). Both SDKs recorded the id of an unknown trace on
close_trace(10,000 unknown closes kept 10,000 ids, and each of those traces was then refusedsession_closed, against CORE.md), and both kept every closed id for the pipeline's life. Now a close of a trace holding no state records nothing; closed ids live in a window of the lastmax_closed_traces(4096) and older ones are retired into a fixed-size filter (retired_filter_bits, default 8388608 bits = 1 MiB, sha256 positions) that never forgets, so no closed or retired trace is admitted again; the filter can falsely refuse a never-used trace (fail closed; rate documented in CORE.md, about 5e-6 after 100,000 retirements). NewLimitsfieldsmax_closed_traces,retired_filter_bitsandPipeline.closed_trace_state()in both SDKs; CORE.md "Closing a trace" rewritten. Same tests intest_session_limits.pyandsession_limits.rs, including 100,000 open/close cycles within the bound with every replay refused and shared vectors: filter refusals at 32 and 37 bits (37 is not a power of two, so a masking implementation fails) and exact filter positions at 1009 bits computed outside both SDKs. CORE.md states the bit layout and that closed-trace state is in memory only: a new pipeline forgets every closed id, so a host that restarts one must keep old trace ids out itself.
Unreleased (0.2, CrossAxis lane)
- 0.2 report:
docs/REPORT-0.2.md. Pre-registered gate verdict FAIL (O1 0.865, O2 0/5; T 0.877 and S pass). - Qwen3.5-9B qualified on llama.cpp b11398 and SGLang 0.5.20 (both probes 14/14); Rust probe aligned with the Python probe.
- Benchmark corpus (44 tasks), protocol, paired runner and analyzer; run
qual-20261004T2207Z. - Bench simulated backends
sim-1(bench/stubs/backends.json,run_bench.py --backends sim-1): every tool a task lists executes deterministically after Odysseus authorizes it;validate.pychecks coverage, determinism and that stores do not leak expansion answers. Default stays the 0.2 reference behaviour;inputs_digestupdated. - Pre-registered 0.2x protocol (
bench/PROTOCOL-0.2x.md, future work, no results): 120-task held-out set (bench/heldout-0.2x/), the 0.2 tasks become dev cases, seven conditions (four one-factor arms with matched full-catalog baselines), runtime-triggered expansion rules and caps, thresholds and a power table (stats.py --power);validate.py --corpus 0.2xin CI. - Runtime-triggered expansion
run_bench.py --expansion-policy runtime-v1(PROTOCOL-0.2x arm 3): host-side T1/T2/T3 over the existingdiscover/expand, N1/N2 negative rules, duplicate and schema-budget caps,runtime_triggersreceipts; offline tests include denial and approval negative controls. Default0.2unchanged. - AIEN adapter on the real
EffectAuthoritypath (sovereign-core #203, #204, pinned 6554aac), single-use approval tests. selection.measure:rendered_bytesand an optional unit-disciplinedtokensblock (bytes,tokens_model_reported,tokens_endpoint_tokenizer,tokens_estimated);TokenCounterwithBytesOnlyandEstimatedTokens(estimator v1) in both languages.- Bounded capability expansion:
expandanddiscover(pure Core functions),selection.expansions[],parent_digest,selection_digest,selector.expansionbounds. Expansion never grants authority. - Receipt normalization (additive, no existing conformance expectation changed): both languages now omit empty
always_include, emptyselected[].domains, a nullselector.max_capabilitiesand null legacy token fields; the Rust mock catalog omits an emptyrequired, so both mock catalogs have one digest. - Conformance: cases 24 (expansion by requested_excluded, call still denied) and 25 (expansion refused by bounds); 25/25 byte-identical.
0.1.0 (unreleased)
- Phase 0 audit (
CURRENT_STATE.md). - Core schemas, specs for Core, Lenshift, Crossveil, CrossAxis, Probe, Vectorveil, RelayLine, versioning.
- Conformance corpus: 23 cases + JCS digest fixture; Rust and Python runners agree byte-for-byte.
- Rust crates and Python package (stdlib-only) for Core, Lenshift (openai, qwen35), CrossAxis, Crossveil.
- Interplane Probe (Rust crate; Python reference run live against Qwen3.5-9B on Ollama 0.34.0).
- Real Qwen3.5-9B captures (native, raw, streaming, result replay).
- External Odysseus adapter (AGPL-3.0-or-later), 55 tests against the real Odysseus code.
- Before/after receipt demo: 71 -> 9 tools, 89.4% fewer first-turn prompt tokens, same task success.
- Lenshift
aien_legacydialect (aien-cli textual form), 13 fixtures, identical in both languages. - AIEN reference adapter (AGPL-3.0-or-later), 10 pipeline tests through real aien-mcp and aegis code.
- Both probes run live with identical verdicts; CI covers both adapters with pinned upstream checkouts.
- Gate M live-model runner (plan cut M0):
bench/tools/live_injection.pyruns the 33 injection fixtures of C01-C08 and C11 against an OpenAI-compatible endpoint (temperature 0, seed 42, one run per case) through the real Python pipeline and mock runtime, reports follow rate with Wilson 95 % intervals, refusal and no-answer counts, and gates only violations (0);--scriptedmode andtest_live_injection.py(CI, bench-structural) run it offline. No model was run in this cut.