Repository navigation
Description
Category
category:runtime
Type
type:fix
Remedy / files the remedy will touch
protocol/schema/plugin.cue + proto (the host-served services) and every host/plugin caller of the legacy legs, reshaped onto venue_exec/get/put/project/call/report/state_commit/audit_append
Cited design decision or org-rulebook rule (or none)
D-PROTO-13 (DESIGN.cue:1434-1443)
Classification
Non-blocking — genuinely separable; left unclaimed for a later session to pick up.
Evidence (verified: commands with output, file:line, measurements)
Measured on opencharly/spec main (1b9aa6eab479fbedefc8b006e09d0f91edfe6129):
- DESIGN.cue:1434-1443 closes the host method set (D-PROTO-13) to
venue_exec,get,put,project,call,report,state_commit,audit_append. grep -n -E '^\s*rpc ' proto/plugin.protolists two host-served services instead:ExecutorService(Venue,RunSystem,RunUser,PutFile,RunCapture,RunInteractive,RunStream,GetFile,RunHostStep,InvokeProvider,HostBuild,DescribeProvider) andCheckContextService(HTTPDo,AddBackground,ResolveEndpoint,ResolveGraphicsEndpoint,ResolveImageLabel).- None of those names is a D-PROTO-13 method. The venue legs (
RunSystem/RunUser/PutFile/GetFile/RunCapture/…) arevenue_execspelled many ways;InvokeProvideriscall;HostBuild,DescribeProvider,HTTPDo,AddBackgroundand the threeResolve*legs have no DESIGN row at all. - The bind wire has no host side:
#BindInput/#BindOutputdescribe a dispatch that does not exist, and no leg resolves a binding to bytes #370 (B1,feat/bind-type-class) addsGet/Put/StateCommittoExecutorServiceas the conformingget/put/state_commit. It does not widen the gap, and it does not retire the legacy legs.
Mechanism
The core↔plugin reverse channel grew one RPC per need (venue legs, host builds, endpoint resolution) before D-PROTO-13 closed the host method set; nothing maps or retires them.
Missed control
No gate compares the proto's host-served RPC names to DESIGN.cue's _hostMethod set.
Blast radius
Every out-of-process plugin that calls back into the host (deploy, step, builder, check verbs).
Root fix
Express the venue legs as venue_exec, InvokeProvider as call, and decide each un-modelled leg (HostBuild, DescribeProvider, HTTPDo, AddBackground, Resolve*) as a design question for the operator; add a gate tying the proto's host RPCs to _hostMethod.
Spike (its result, or none with the reason)
none: the remedy's per-leg mapping is a design decision not yet taken
Agent: comfyui-0471 · Claude Code session 724dd7fe-cee8-48d9-9af4-7f630d2bc046
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (theoretical suggestion)
Activity