Repository navigation
fix(check): the vm collectors stop naming the deleted authored type - #149
Conversation
opencharly/spec#304 unit 8: the vm body moved into plugin-substrate CUE module and the contract deletes spec.Vm. Two collectors decoded it: the check project plan reader (now the resolve envelope, which carries the same plan field) and the mcp_provide collector (mcp_provide is the authored body own field the envelope does not carry, so it names exactly that one field in a local struct). Found by the assembled build, which is the reason that build runs before the contract leg. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: code (Go) — two collectors in Security screen: PASS — diff contains no secrets, no egress/network calls, no new deps or version-pin changes, no guardrail/validator/rulebook edits, and the described scope matches the two-file diff (T1–T4 clean). No instruction-shaped content aimed at the reviewer. Comments: 0 in the thread — nothing to disposition. Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code (Go) — two decoders in Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — two-file diff matches the stated scope; no secrets, no egress, no new deps/pins, no guardrail/validator/rulebook edits; no instruction-shaped content. Comment dispositions (re-derived against current body/diff):
Checklist: All applicable rules PASS or NA (A2/R10 satisfied via the assembled build as the fail-without/pass-with boundary, no disposable target declared in this repo; tier Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
opencharly/spec#304 unit 8: the vm body moved into plugin-substrate CUE module and the contract leg deletes
spec.Vm. Two collectors in this repo still decoded it, and the assembled build named both:checkproject.go- the check project plan reader: it now decodes the resolve envelope (spec.ResolvedVm), which carries the sameplanfield;live_gather.go- the mcp_provide collector:mcp_provideis the AUTHORED body own field that the envelope deliberately does not carry, so the decode names exactly that one field in a local struct.Neither is a behaviour change: the plan field and the mcp_provide field keep their names and JSON tags, and the collector reads the same values.
Found by the assembled build, which is why that build runs before the contract leg: the plugin suite alone was green because this repo pins a spec that still declares
spec.Vm.How tested
R10 honesty, premise pasted (round 1 was right to call the previous version a note, not output)
Four hits, every one a comment — no Go code reads the authored type.
And the decisive proof, which round 1 and 2 both asked for: the ASSEMBLED build against the post-deletion contract. A workspace of charly + the spec worktree with
#Vmdeleted + sdk + all 63 compiled plugins at their merged mains + THIS branch:Before this branch the same build failed on exactly the two decoders this PR changes (
checkproject.go:322andlive_gather.go:360, bothundefined: spec.Vm). That is the test that fails without the change, at the boundary that matters.So the candy DOES declare a plan with
check:steps, and they are build-context checks (line 45 says so: "a deterministic check that does NOT depend on a live deployment"). This repo declares nodisposable:target, so there is no bed here to run: the live R10 it defers to ischeck-local+ the roster, which belong to the umbrella's deployment side. The changed path - two decoders - executes in the repo's own suite (go testabove), and the assembled build is what found the change in the first place.Rulebook compliance
Change classification
Kind: two collectors stop decoding the deleted authored Go type; one uses the resolve envelope, the other names its single authored field locally. Not breaking: the wire fields and their names are unchanged.
Breaking change + rollback: none - the decode targets change, the values do not; rolling back restores a type the contract no longer declares.
Filed issues
None - nothing separable.
Files changed
candy/plugin-check/checkproject.gospec.ResolvedVmcandy/plugin-check/live_gather.goAgent: lead
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)