Repository navigation
Conversation
opencharly/spec#322 collapsed the load wire: #StructuralKindLoadEnv.members carries bytes and #StandaloneLoad carries shape plus one opaque body, so the authored Deploy/Box/Candy/Template arms are gone. This kind plugin echoes the body verbatim (a consumer that needs a field decodes it into its own value or the contract projection) and, where it threads authored members, decodes them from bytes. Pins brought current to the cutover: spec v0.2026318.2106, sdk v0.2026318.1654. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: code/config (Go plugin library — Blocks
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config (Go plugin library — Blocks
Comment dispositions (1 comment)
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Round 3: both members fed {} and the assertions watched only names and positions, so any
decode - including one that dropped the bytes - passed. One member now carries from:
postgresql:16 and the test asserts the contract node holds it.
Review — BLOCKHead SHA: Change class: code/config (Go plugin library — Blocks
Comment dispositionsComment 6884601508 (@github-actions[bot], head
Comment 6884963984 (@github-actions[bot], head
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config (Go plugin library — Security screen: PASS — no secrets, no guardrail weakening, no out-of-scope logic; the decode is confined to Blocks
Comment dispositionsComment 6884601508 (@github-actions[bot], head
Comment 6884963984 (@github-actions[bot], head
Comment 6885064774 (@github-actions[bot], head
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…given (review round)
Review — BLOCKHead SHA: Change class: code/config (Go plugin library — Blocks
Comment dispositions
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Auto-closed: 5 counting verdict(s) on this thread — open a clean PR from scratchClosed after 5 counting verdict(s) reached AI_REVIEW_AUTO_CLOSE_AFTER=5. Verdicts: 5 BLOCK, 0 engine/eval INCONCLUSIVE. 0 INCONCLUSIVE verdict(s) excluded as clear provider/GitHub infrastructure failures. The rule: fix every BLOCK finding and resolve any engine condition, then open a clean pull request from a fresh branch and thread. Never push, re-run, or reopen this closed thread. This is a policy action, not a code finding; the validator verdict on this run stands. |
Summary
Successor to #9 (auto-closed at the verdict threshold with this same commit; every finding was body accounting, and this body is regenerated from the head's own
git diff --stat).opencharly/spec#322 collapsed the load wire:
#StructuralKindLoadEnv.memberscarries bytes and#StandaloneLoadcarriesshapeplus ONE opaquebody, so the authored#Deploy/#Box/#Candy/ typed-templatearms are gone.This plugin follows it — and the one place it threads authored members now DECODES them from bytes into the contract's projection before they join the ordered tree (visible in
plugin.go, covered byTestInvokeReconstructsMemberTree). Nothing about the wire's discriminator moved:shapekeeps its four values, so the arm still selects by shape and only the carrier changed.Why this shape and not a compatibility field: the RCA (
PROGRAM/schema-ownership-rca-rdd.md) found the wire was what kept ten authored bodies in the contract. Its mechanism is one carrier of bytes plus a projection — the plugin never receives the authored node.Pins brought current to the cutover:
spec v0.2026318.2106,sdk v0.2026318.1654(thesdkbump is load-bearing: itscueKindDefsstill named#Vm).How tested
Real output from this tree:
The suite composes the spec base with this plugin's served CUE unit on every run, so a body that failed to ride the new carrier fails here rather than in a bed.
R10 honesty, premise pasted
rc=1with no lines is the empty result of a REAL repo-wide sweep (-r --include), so nodisposable:declaration exists anywhere in this repo: nothing here is autonomously rebuildable, and there is no bed in this repo to run. The singlecheck:match is the candy plan's build-context check, not a bed. The change-class gate for a plugin library is the module suite pasted above, and the changed decode path is exercised by it.Rulebook compliance
gofor the CUE-generated types the members channel decodes into,pluginfor the per-plugin CUE contract,cutover-policyfor the hard cutover this pin bump is part of.specfor the opaque carrier, andsdkbecause itscueKindDefstable names the pre-unit-8 defs; the green suite above is the proof. No failure output is claimed beyond what was measured here.map[string]*spec.Deploy)Change classification
Kind: the plugin reads the contract's opaque load carrier instead of the deleted authored arms, and its
spec/sdkpins advance to the cutover.Breaking change + rollback: none for this repo's consumers — the same
kindword is served with the same behaviour; the wire it reads changed in the contract, and that is the pin this commit takes. Rolling back restores the typed-arm reads, which only compile against the pre-#322 contract.Filed issues
None — the one anomaly (the stale sdk pin) is fixed here.
Files changed
candy/plugin-example-structkind/plugin.gospec.Deploybefore it joins the ordered treecandy/plugin-example-structkind/plugin_test.gomap[string]spec.RawBody, one member carries a distinguishingfrom:field, and the test asserts the decoded node holds it (a no-op decode can no longer pass)go.mod/go.sumspec v0.2026318.2106,sdk v0.2026318.1654) plus whatgo getpulled with them: thegodirective to 1.26.8, six new indirects (ociregistry, go-digest, image-spec, go-internal, oauth2, x/sync) and the bumps grpc 1.83.2, genproto, protobuf, x/{net,sys,text}, go-toml 2.4.3, yaml 3.0.5 — all transitive, none used by this plugin's own code.go.sumkeeps the supersededspec/sdkh1:lines becausego mod tidyis not run in this repo's gateAgent: lead
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (analysed on a live system)