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 / bench / runs / home-check-20261005T1320Z / runner-vs-codex.diff

57 lines · 2564 bytes Raw Blame History
1--- bench/runs/adapter-repro-20261005T1215Z/toy/run_subset.py 2026-10-05 07:56:28.956493589 -0500
2+++ bench/runs/home-check-20261005T1320Z/run_subset.py 2026-10-05 08:14:30.393851446 -0500
3@@ -1,5 +1,5 @@
4 #!/usr/bin/env python3
5-"""Run the normative translated toy subset through the installed INTERPLANE Pipeline."""
6+"""Run the normative translated home subset through the installed INTERPLANE Pipeline."""
7
8 import argparse
9 import copy
10@@ -18,7 +18,7 @@
11 digest,
12 )
13
14-from authority import POLICY, RUNTIME, TodoAuthority, make_pipeline
15+from authority import POLICY, RUNTIME, HomeAuthority, make_pipeline
16
17
18 ROOT = Path(__file__).resolve().parents[2]
19@@ -61,12 +61,12 @@
20 def resolve_approval_id(spec, minted):
21 if "minted_for" in spec:
22 owner = spec["minted_for"]
23- return minted.get(owner, "toy-approval-" + owner)
24+ return minted.get(owner, "home-approval-" + owner)
25 return spec.get("literal", "")
26
27
28 def run_case(plan, fixture, subset_runner, no_exposure_check):
29- authority = TodoAuthority(no_exposure_check=no_exposure_check,
30+ authority = HomeAuthority(no_exposure_check=no_exposure_check,
31 expires_at=plan.get("expires_at"))
32 pipe = make_pipeline(authority)
33 observed, continuations = [], []
34@@ -130,12 +130,12 @@
35 request_digest = capability_request_digest(changed)
36 else:
37 request_digest = digest(None)
38- capability = "delete_item"
39+ capability = "unlock_door"
40 decision = Decision(
41 action.get("decision_request_id", request_id),
42 action.get("decision", "authorized"),
43 authority={"runtime": RUNTIME, "policy_engine": POLICY,
44- "decision_id": "toy-host-grant-" + request_id},
45+ "decision_id": "home-host-grant-" + request_id},
46 capability=capability,
47 approval={"approval_id": approval_id, "scope": "single_action",
48 "expires_at": pending.expires_at if pending else None},
49@@ -192,7 +192,7 @@
50 parser.add_argument("--no-exposure-check", action="store_true")
51 args = parser.parse_args()
52 subset_runner = load_subset_runner()
53- plans = subset_runner.plans("toy")
54+ plans = subset_runner.plans("home")
55 fixtures = dict(subset_runner.fixtures())
56 rows = []
57 for plan in plans: