GeezerVison is showing github.com — id(phase-14): spike 5/5 — bounded program interaction + end-to-end spike run · Issue #7917 · developing-today/code
id(phase-14): spike 5/5 — bounded program interaction + end-to-end spike run #7917DescriptionSpike step 5 (of 5) for #6300: bounded program interaction + end-to-end spike run
Parent: #6300 · Core topic: #6280 · Design: doc/2026-11-09_design_id6300_agents_in_worlds_v1.md (PR #7911), §4.6, §8, §10. Blocked by spike steps 2–4.
Work
program.invoke for the one named, owner-approved program on one named object, arguments from the schema fixed in the role grant (program.invoke:<program-id> ceiling key): one invocation per call, no chaining, result rendered as a semantic diff. Then the scripted end-to-end spike: one agent joins a world, reads screens, posts chat, invokes the program once, and leaves — with the full audit log produced and the agent-profile conformance suite green.
Acceptance criteria
Activitydezren39 commented on Nov 17, 2026 agent-note:v1
state: triaged
task: 18551 (queue repo-health-code-pilot, worker repo-worker-code, lane code-d)
Triage verdict for issue #7917: DEPENDENCY-BLOCKED on spike steps 2-4 — verified fresh this shift (2026-11-17).
- Issue id(phase-14): spike 5/5 — bounded program interaction + end-to-end spike run #7917 OPEN, no hard-stop labels; kind/feature, priority/normal already set.
- The body states: "Blocked by spike steps 2-4." Fresh check of the id(phase-14): Agents in worlds (MCP bridge) — v1 — first-iteration design + spike plan #6300 spike chain: step 1/5 id(phase-14): spike 1/5 — agent shell profile in the id-shell contract (semantic diffs, region subscriptions, stale-decision token) #7913 OPEN, step 2/5 id(phase-14): spike 2/5 — MCP bridge: join, read screens, post chat #7914 OPEN, step 3/5 id(phase-14): spike 3/5 — agent identity, roles, UCAN-style attenuated delegation #7915 OPEN, step 4/5 id(phase-14): spike 4/5 — policy point: capability ceiling, session quota, audit log #7916 OPEN, step 5/5 id(phase-14): spike 5/5 — bounded program interaction + end-to-end spike run #7917 (this issue) OPEN. None of the prerequisite spikes has run, so the end-to-end spike (which exercises join/read/chat/invoke/leave against the bridge, identity, and policy point those steps build) cannot start.
- Action: task 18551 is blocked as a broker-watched dependency on issues id(phase-14): spike 2/5 — MCP bridge: join, read screens, post chat #7914, id(phase-14): spike 3/5 — agent identity, roles, UCAN-style attenuated delegation #7915, and id(phase-14): spike 4/5 — policy point: capability ceiling, session quota, audit log #7916 per runbook 5b — it returns to the pool automatically when all three close. No Drew decision is pending; the gate is unfinished fleet work earlier in the same chain.
dezren39 commented on Nov 20, 2026 agent-note:v1
state: blocked
task: 18551 (queue repo-health-code-pilot, worker repo-worker-code, lane code-g)
Triage verdict: DEPENDENCY-BLOCKED. Fresh checks: #7917 is OPEN; prerequisite #7914 (step 2) is OPEN; #7915 (step 3) is CLOSED; #7916 (step 4) is OPEN. The issue body says this end-to-end spike is blocked by steps 2–4, and the outstanding steps 2 and 4 still prevent starting it. Blocking task 18551 on #7914 and #7916; it should become eligible for broker recheck when both close.
dezren39 commented on Nov 23, 2026
Prerequisite update (Lane QE): #7916 (spike step 4, policy point) closed today via PR #13192. With #7914 (step 2) and #7915 (step 3) already closed, every prerequisite this issue's triage record named is now discharged — #7917 is unblocked. Removing the stale queue/blocked / status/blocked labels on that evidence. Sequencing per the design (§10): steps 4–5 land last, together; step 5 is now the only remaining spike step for #6300. dezren39 commented on Nov 23, 2026 Triage recheck 2026-11-23 (lane code-h): #7917 still blocked by spike steps 2-4. Fresh prerequisite states: #7914 CLOSED, #7915 CLOSED, #7916 OPEN. Only remaining prerequisite is #7916 (spike 4/5); this end-to-end spike can start once #7916 closes. dezren39 commented on Nov 23, 2026 🤖 Agent note · blocker discharged
- Agent: archer, Lane PV · Via: id(phase-14): spike 4/5 — policy point: capability ceiling, session quota, audit log #7916 done record
- Step 4 (id(phase-14): spike 4/5 — policy point: capability ceiling, session quota, audit log #7916, policy point) landed via PR #13182 and id(phase-14): spike 4/5 — policy point: capability ceiling, session quota, audit log #7916 is now CLOSED as completed. With id(phase-14): spike 2/5 — MCP bridge: join, read screens, post chat #7914 and id(phase-14): spike 3/5 — agent identity, roles, UCAN-style attenuated delegation #7915 already closed, all three blockers named for this step are discharged — the bounded program interaction + end-to-end spike run is unblocked on its recorded dependencies. (
program.invoke support at the policy point — allowlist check plus the program-invocation quota axis — is in place for the run.)
dezren39 commented on Nov 23, 2026
Claim — Lane RV (archer), 2026-11-23. Taking #7917 (spike step 5/5 for #6300): program.invoke for the one named, owner-approved program on one named object under the step-4 policy point, plus the scripted end-to-end spike run (join → read → chat → invoke once → leave) with the full audit log verified and results recorded on #6300.
Premise + ownership verified fresh this pass (gh REST): issue OPEN, all three prerequisites CLOSED (#7914, #7915, #7916 via PR #13192), no live claim — the newest comments are unblock notices only. Working in a laptop worktree off main; verification via the pkgs/id nix develop route (the fleet-build container cannot run nix develop — #13159 family). dezren39 commented on Nov 23, 2026 Policy-point survivor (from #13202, landed while step 5 is in flight): the #7916 dedup reconciliation merged in PR #13220 (ec65b1f095ca). Step 5 builds on exactly one policy point: id_caps::mcp_policy::PolicySession. The standalone agent_policy module (PolicyPoint) is deleted; its rate limits (§6.3), structured ParkEvent, and summary refusal breakdown were ported into mcp_policy. One API change to know: PolicySession::act now takes a host-time argument (now, unix seconds) after the arguments parameter. dezren39 commented on Nov 23, 2026 Done — Lane RV
Landed in PR #13236, merged 597aae2f64dacba4a3a5119812277b370b2165b9; this issue auto-closed on the merge.
Delivered
program.invoke is the eighth tool on the bridge's v1 surface (id_caps::mcp_bridge): one call → exactly one input frame carrying the argument payload (plus screen_revision when given); program/object names validated for presence only, the allowlist decision stays at the policy point.
- The policy point (
id_caps::mcp_policy) admits it: ceiling allowlist check, program-axis quota charge before execution, audited like every action. The step-4 "refused until step 5" boundary is gone. (The branch was merged up over dedup(id-caps): two policy-point implementations landed for #7916 (mcp_policy + agent_policy) — reconcile to one before step 5 #13202's policy-point reconciliation — the admitted-invoke expectation now stands against the reconciled act with its time reading.)
pkgs/id/tests/mcp_spike_e2e.rs: the scripted spike run — join, reads, subscribe, chat both ways, a ceiling-refused invoke, the one admitted invoke, the result as a semantic diff, leave — with the audit chain, owner summary/spend, and the fixture-recorded host journal as oracles.
Verification (laptop, nix develop in pkgs/id, merged head): spike e2e green (4 consecutive runs during development, plus at the merged head); cargo test -p id-caps --lib 253/253; mcp_bridge_surface 3/3; mcp_bridge_e2e 1/1; conformance cargo test -p id-worlds shell_contract 20/20; fmt clean; no new clippy diagnostics in touched files. Full results also recorded on #6300, per this issue's third acceptance criterion.
Finding recorded on #6300 and in the test: commit frames' wire order is not contractual (a re-rendered view can trail the semantic diff), so a driver must drain to quiescence before taking a screen_revision token — otherwise the stale-decision gate refuses a well-formed invoke.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|