Repository navigation
feat(plugin-dsh): adopt spec 261 (schema-head pin bump) - #4
Conversation
The schema-249→261 wave leg for plugin-dsh, a prerequisite for the engine-provider-class cutover (spec#144/#145). plugin-dsh self-loads project config through sdk/loaderkit, whose GateSchemaVersion rejects any config NEWER than the plugin's compiled spec HEAD; at the previous pin its HEAD was below 261, so a 261 charly could not drive its bed. - spec pin -> v0.2026266.545; sdk -> v0.2026266.623. - No code migration was needed; the module compiles clean against the merged engine-class spec/sdk. Local gates: gofmt -l . (empty) / go build ./... / go vet ./... / go test ./... GREEN. BREAKING: consumers of plugin-dsh must pin spec >= v0.2026266.545. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: code/config — dependency pin bump in a plugin candy ( Security screen: T3 scope-mismatch — the body claims only "spec pin → v0.2026266.545; sdk → v0.2026266.623" and "No code migration was needed", but the Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: config — dependency-pin bump in a compiled-in plugin candy ( Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — pins/graph only; no secrets, egress, guardrail weakening, or scope-mismatch (the Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
The schema-249→261 wave leg for
plugin-dsh(issuecharly#633) — the compiled-incommand:dsh/verb:dshplugin. Bump the compiledsdk/specpins so a 261 charly can resolve a 261 project through it (the plugin self-loads project config viasdk/loaderkit, whoseGateSchemaVersionrejects a config NEWER than its compiled spec HEAD).The 2-file diff, every file accounted for (
git diff --stat origin/main...HEAD= 30 insertions, 30 deletions):candy/plugin-dsh/go.modsdk v0.2026234.347 → v0.2026266.623,spec v0.2026232.520 → v0.2026266.545. Indirect bumps pulled by the new sdk/spec:golang.org/x/term v0.43.0 → v0.45.0,x/net v0.55.0 → v0.57.0,x/sys v0.45.0 → v0.47.0,x/text v0.37.0 → v0.40.0.candy/plugin-dsh/go.sumThe
go.sumrelocation (block-1 accounting). Two lines change repo identity because the newsdkmoved them in its OWNgo.mod— this plugin does not import them directly; they are transitive requires ofgithub.com/opencharly/sdk/deploykit. Proven by diffing the SDK module's own manifest across the two pins:So
opencharly/charly/candy/plugin-{egress,init}(oldv0.0.0pseudo-versions) →opencharly/plugin-{egress,init}/candy/plugin-{egress,init}(CalVer) — the de-submodule cutover landing in the SDK pin this PR adopts.go mod whyconfirms the graph path is plugin-dsh → sdk/deploykit → plugin-{egress,init} (it is not our require).No source change. The branch also carries a merge of
origin/main(which already has the E-5 token fix819f6f9, PR #5), so the merged tree = this pin + current main. Head8954f8b(the pinf9924ce+ a body re-freeze commit; the tree is unchanged fromf9924ce).Why a plain
CHARLY_REPO_OVERRIDEcould not verify this one:plugin-dsh's candy issource: builtin— it is compiled INTO the charly binary (charly/charly/charly.yml:113compiled_plugins:, pinned atcharly/charly/go.mod:28). A repo override points a remote@githubcandy ref at a local tree; it cannot swap a compiled-in plugin. So the branch was verified by building charly WITH the branch's plugin-dsh in ago.workworkspace (below).How tested
R10 — the consuming bed
check-dsh-pod(disposable: true), run on a charly built with the branch's plugin-dsh. The bed lives inopencharly/pod-dsh(relocated by PR #4; its schema stamp was migrated to 261 bypod-dsh#5).The compiled-in branch plugin was confirmed present in the binary before the run (the token probe is a branch-only string — the published spec-232 plugin has no such line):
The one skipped step explained (block-3).
summary.ymlfor run2026.268.0551isok: true,errors: 0,warnings: 0,advisories: 0(15 findings suppressed by thedev-worktree-binary-noticeallowlist — the dev-build notice, not a defect). The singleskippedis the nodejs candy'spnpm installmutating build step, skipped by DESIGN incheck liveverify-only mode:check livenever executes mutatingrun:steps (the mode contract); the pnpm binary's presence is still asserted byplan:candy:...:6(check the self-contained pnpm binary lands on the system PATH at /usr/local/bin/pnpm— PASS). Zero failures, zero warnings; the skip is the documented mode behavior, not an unexplained warning.Correction to an earlier body revision (
2 post-pin failures). An INTERMEDIATE run — on the stale pre-token-fix binary — failed the two web-UI probes; that was root-caused (compiled-in plugin stale;CHARLY_REPO_OVERRIDEcannot swap a builtin) and fixed by rebuilding charly with the branch plugin. The FINAL run above is that rebuild and has 0 failures. The RCA for the intermediate run is retained in the rulebook section (R1).The
dsh:verb surface (the changed plugin's own ADE) dispatches green in-box:dsh-verb-version(dsh 0.1.7-rc.1),dsh-verb-web-running(the token-authenticated web UI),dsh-verb-profile-list,dsh-verb-plugin-list, and the compiled-incharly dsh statuscommand.Fail-without-the-change (the pin's rationale). Against the PUBLISHED plugin (spec 232), a 261 charly/project fails to resolve: the
check-dsh-podproject (schema 261) is rejected by the plugin'sGateSchemaVersionbefore the bed can run. With the branch plugin (spec 261) the project resolves and the bed passes 14/14. Thesdk/specpin is what moves the compiled spec HEAD from 232 to 261.Local gates (pasted, not asserted):
Project-rulebook rule-compliance
/charly-internals:plugin,/charly-internals:go,/charly-check:check,/charly-internals:git-workflow,/charly-internals:root-cause-analyzerloaded first.skippedstep →check liveverify-only mode (documented above).dsh:verbs execute live; the bed passes 14/14 (pasted).bin/charly versionverified.check run check-dsh-podincluding[update]+[check-live-rebuild]: PASS (steps=14), 0 failed.disposable: true.Change classification
Config (dependency pin bump) in a compiled-in plugin candy, no source change. Verification gate: the
check-dsh-podconsumer bed (disposable: true) driven by a charly built with the branch plugin compiled in — PASS (steps=14), fresh rebuild exercised. Attribution tier:fully tested and validated.Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)