Repository navigation
feat(dsh): add the deepseek-harness candy + plugin-dsh management plugin; raise the nodejs floor to Node 22 - #271
Merged
Merged
Conversation
…gin; raise the nodejs floor to Node 22 The dsh candy (candy/dsh/) installs the deepseek-harness dsh CLI (@deepseek-ai/dsh 0.1.0-rc.6, pinned) via the npm builder and runs the dsh web UI as a supervised service. The web app binds 127.0.0.1:3080 only (dsh-web-app hard-rejects --host 0.0.0.0 for RCE safety), so the charly-owned dsh-entrypoint runs dsh web in the background and exec's a socat forwarder on 0.0.0.0:3081 -> 127.0.0.1:3080; socat cannot share port 3080 (Linux forbids a wildcard + specific listener pair on one port), so the published port maps the auto-allocated host port to container 3081. The plugin-dsh management plugin (candy/plugin-dsh/) is a compiled-in command:dsh + verb:dsh plugin (the agentteams pattern): charly dsh status/profile list/plugin list reach a deployed box over the pod-lifecycle reverse channel; the dsh: check verb (version/web-running/profile-list/ plugin-list) probes in-box via cc.Exec().RunCapture. The nodejs candy's Ubuntu + Debian sections now install NodeSource node 22.x (the dsh floor ^22.19.0 || >=24.0.0); Debian drops the separate apt npm (NodeSource bundles it). A real exit-status check asserts node >= 22.19.0. Fedora/Arch unchanged. R10: check-dsh-pod (nodejs + dsh) and check-docs (nodejs) both PASS at zero warnings on a fresh charly update. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
This was referenced Aug 14, 2026
atrawog
added a commit
to opencharly/marketplace
that referenced
this pull request
Aug 14, 2026
…NGELOG PR number - tools/skills/dsh/SKILL.md: /charly-coder:mcporter -> /charly-tools:mcporter (regenerated from the corrected candy skill: entity; mcporter is a tools-family skill, so the docs-build link resolver hard-errors on the old ref) - CHANGELOG/2026.226.1600.md: the dsh cutover is opencharly/charly#271, not #270 (charly#270 is the already-merged agentteams-cli gitlink bump) Addresses the pr-validator's FAIL on plugins#166 (dangling cross-reference + CHANGELOG factual error). Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
…dy skill: entity /charly-coder:mcporter -> /charly-tools:mcporter (mcporter is a tools-family skill; the docs-build link resolver hard-errors on the unresolvable ref). The regenerated SKILL.md rides in the plugins PR (plugins#166). Addresses the pr-validator's FAIL on plugins#166 (dangling cross-reference root-caused to this candy's skill: entity). Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
atrawog
added a commit
to opencharly/marketplace
that referenced
this pull request
Aug 14, 2026
…r the Node 22 floor Add the dsh + dsh-cli marketplace skills and update the nodejs skill for the Node 22 floor — the skills leg of the dsh cutover (opencharly/charly#271). - tools/skills/dsh/SKILL.md — the dsh candy's skill: the npm-installed deepseek-harness CLI + the socat-exposed web service (loopback-bound dsh web on 127.0.0.1:3080, socat forwarder on 0.0.0.0:3081). - tools/skills/dsh-cli/SKILL.md — the plugin-dsh management plugin's skill: the compiled-in charly dsh command tree + the dsh: check verb methods. - coder/skills/nodejs/SKILL.md — the DEB row now names the NodeSource node 22.x install (npm bundled by NodeSource, the separate apt npm dropped) — the deepseek-harness dsh floor. All regenerated via charly marketplace generate from the candies' skill: entities; regeneration is a no-op on a clean tree. The round-1 pr-validator FAIL findings (dangling /charly-coder:mcporter ref; CHANGELOG citing charly#270) are corrected in the fix commit. Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
plugins#166 merged as 8eeef66 (tag v2026.226.2115) — the dsh + dsh-cli marketplace skills and the nodejs skill's Node 22 floor row. The gitlink moves from the unmerged PR head 890f5242 to the merged main SHA. Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
Contributor
Author
|
| # | Item | Verdict | Evidence |
|---|---|---|---|
| 0 | Security (T1–T4) | PASS | No exfiltration, no scope mismatch, no weakened gate, no supply-chain manipulation; no prompt-injection or coercion attempts |
| 1 | PR description | PASS | Full org template; change summary, motivation, R10 evidence pasted, test plan, footer |
| 2 | Change class → gate | PASS | Code/config class; check-dsh-pod + check-docs beds both ran fresh on final code |
| 3 | Attribution | PASS | fully tested and validated justified — changed runtime paths executed live, both beds fresh at zero warnings |
| 4 | R0 skills | PASS | Skills named and spot-checked against the changed surface |
| 5 | R1 RCA + zero warnings | PASS | EADDRINUSE race (bed 2026.226.1515) RCA'd and fixed (socat → 3081); both final beds zero-warning |
| 6 | R2 no pre-existing | PASS | mcporter dangling ref fixed in same cutover (8becf1b) |
| 7 | R3 no duplication | PASS | agentteams pattern reused as shared abstraction |
| 8 | R4 no workarounds | PASS | socat forwarder is a designed mechanism (loopback-only web bind + wildcard forwarder); bounded readiness probe is legitimate |
| 9 | R5 delete legacy | PASS | mcporter grep self-test clean; no stale references |
| 10 | R6/R8/R9 | PASS | R8 N/A (no Containerfile/label generation); R9 binary rebuilt, version matches source |
| 11 | R10 fresh disposable proof | PASS | Disposable-only, fresh-rebuild, zero-warning; coverage fails without the change |
| 12 | RDD/ADE/SDD | PASS | task cue:gen no-op verified; ADE satisfied (description + ≥1 check per candy); CUE single-source |
| 13 | Concurrency | N/A | No shared-state path touched |
| 14 | Hard cutover | PASS | One atomic squash commit |
| 15 | Architecture | PASS | Placement CORRECT — plugin candy, compiled-in; only charly/*.go change is regenerated plugins_generated.go; no alias, no kit import |
| 16 | Disposable-only | PASS | All destroy/rebuild on disposable: true targets only |
| 17 | Go gates | PASS | gofmt clean, golangci-lint 0 issues, go vet clean, go test green, names unique |
| 18 | CHANGELOG | PASS | Placeholder CHANGELOG/2026.226.1600.md — filename format OK, H1 byte-equal, not on main, no tag collision |
Comments considered
None — no review comments were outstanding at validation time.
Cross-PR interactions
- charly#272 (sdk-bump): no file overlap with feat(dsh): add the deepseek-harness candy + plugin-dsh management plugin; raise the nodejs floor to Node 22 #271.
- plugins#163/feat(spec,deploykit,loaderkit): W9/K1 Candy → spec.CandyReader retype #162: unrelated docs PRs.
Placement verdict
CORRECT — the dsh capability ships as a plugin candy (candy/plugin-dsh/), compiled-in via compiled_plugins:, with the kernel/plugin boundary law respected (regenerated plugins_generated.go only, zero github.com/opencharly/sdk imports in charly/).
R10 evidence
check-dsh-podbed: PASS, 13 steps, 394s, zero warnings (.check/check-dsh-pod/2026.226.1532/summary.ymlok:true)check-docsbed: PASS, 13 steps, 389s, zero warnings (.check/check-docs/2026.226.1543/summary.ymlok:true)- RDD finding documented: first bed run 2026.226.1515 (ok:false) surfaced the EADDRINUSE race; fixed and re-verified in 2026.226.1532.
Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Add the deepseek-harness (dsh) candy + plugin-dsh management plugin to charly, and raise the nodejs floor to Node 22 LTS.
The dsh candy (
candy/dsh/)Installs the deepseek-harness
dshCLI (npm package@deepseek-ai/dsh0.1.0-rc.6, pinned) into a box via the npm builder, and runs thedsh webWeb UI as a supervised service.The loopback-only web UI + socat forwarder.
dsh-web-app0.1.0-rc.6 hard-rejects--host 0.0.0.0(RCE safety) and binds 127.0.0.1:3080 only. A container's published port maps to eth0, not loopback — so the charly-owneddsh-entrypointrunsdsh webin the background andexecs a socat forwarder on0.0.0.0:3081→127.0.0.1:3080. socat cannot share port 3080 (Linux forbids a wildcard + specific listener pair on one port — verified empirically in the pod), so the candy declaresport: [3081]and the published-port checks use${HOST_PORT:3081}.The plugin-dsh management plugin (
candy/plugin-dsh/)A compiled-in
command:dsh+verb:dshplugin (the agentteams pattern):charly dsh status/profile list/plugin listreach a deployed box over the pod-lifecycle reverse channel (plugin-cmd pattern).dsh:check verb (version/web-running/profile-list/plugin-list) probes in-box viacc.Exec().RunCapture— the one place plugin-dsh diverges from plugin-agentteams' host-basedcc.ResolveEndpoint.The nodejs floor bump (Node 22 LTS)
The
nodejscandy's Ubuntu + Debian sections now install NodeSource node 22.x (was 20.x) — the dsh floor (^22.19.0 || >=24.0.0). Debian drops the separate aptnpm(NodeSource bundles npm; the apt package pulls conflicting node-* deps). Fedora/Arch unchanged. A real exit-status check asserts node>= 22.19.0(no${...}— charly's variable substitution would silently skip the step).Skills + marketplace
charly marketplace generateregenerated thedsh+dsh-climarketplace skills and updated thenodejsskill's DEB row. The plugins gitlink bumps to the merged dsh-skills commit (opencharly/marketplace#166).Change class
code/config — new candies (
candy/dsh/,candy/plugin-dsh/), a nodejs candy floor bump, the compiled-in plugin registration, and the R10 beds. The R10 gate is the beds that compose the changed entities.How R10-tested — exact gate, commands, and pasted output
charly check run <bed>on the disposable beds that compose the changed entities —check-dsh-pod(composesnodejs+dsh) andcheck-docs(composesnodejs; the Astro build runs on Node 22).check-dsh-pod | pod | ok | 13 steps | ~6m— the full R10 sequence on a freshcharly updatecheck-docs | pod | ok | 13 steps | ~5m— the full R10 sequence on a freshcharly updatetask build:binary,charly version= 2026.226.1306) and the beds ran on a freshcharly update, at ZERO warnings.${HOST_PORT:3081}), the node floor check, the fourdsh:verb methods, and the compiled-incharly dsh statuscommand all executed live in the pod.Attribution tier
fully tested and validated — every runtime standard + fresh-rebuild R10 on every affected disposable target (
check-dsh-pod+check-docs, both PASS at zero warnings on a freshcharly update); the changed paths (dsh service, socat forwarder, node floor, dsh verbs, dsh command) executed live.Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)/charly-image:layer(candy authoring),/charly-internals:plugin(the plugin block),/charly-check:check(the plan/check steps + R10 gate),/charly-internals:git-workflow(landing) loaded and honored./charly-coder:mcporterref root-caused to this candy'sskill:entity — fixed in commit8becf1bc(same cutover); nothing parked.--host 0.0.0.0); the node floor check is a real exit-status check, no${...}./charly-coder:mcporterform is swept —git grepreturns no matches outside CHANGELOG.charly check run check-dsh-pod+check-docs), not justgo test.task build:binary,charly version= 2026.226.1306) and the beds ran on it;socatis a distro package (in the candy'spackage:list).disposable: truetargets only (check-dsh-pod,check-docs), fresh rebuild, zero warnings; the bed ships 10 checks that fail without the change (dsh service, web UI in-box + published, node floor, the fourdsh:verbs, thedshcommand).description:+plan:with ≥1 deterministiccheck:(charly box validatepasses). SDD — the plugin'sschema/dsh.cueis the single source;params/cue_types_gen.gois generated;task cue:genis a no-op.8becf1bcaddresses the round-1 plugins FAIL in the same cutover.candy/plugin-dsh/), compiled-in viacompiled_plugins:; no core change.disposable: truebeds.go build ./...+ fullgo test ./...pass;gofmtclean; the plugin imports only the SDK.CHANGELOG/2026.226.1600.mdstaged (placeholder CalVer — the pr-validator finalizes it).Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)