Repository navigation
fix: bump sdk to v0.2026241.2117 for the machine-venue home-token fix - #3
Merged
Merged
Conversation
This plugin walks deploy plans through kit.WalkPlans, which until sdk
v0.2026241.2117 never resolved the deferred {{.Home}} token on a machine venue. A
candy's home-relative copy: to: ${HOME}/... therefore reached PutFile carrying the
literal token and landed in a directory named "{{.Home}}" in the venue home -
silently, while the sibling mkdir/write/command verbs applied normally.
The fix is in the sdk (opencharly/sdk#188); this repin delivers it to target: local host deploys.
Refs opencharly/charly#460.
Claude-Session: https://claude.ai/code/session_016fnPmYiC6ZkqXSi6D8PAP6
Review — PASSHead SHA: Security screen: PASS — dependency version bump only ( Checklist: All applicable rules PASS or NA.
The sibling-venue proof is soundly justified: the delivered code is byte-identical ( Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
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
Bumps
github.com/opencharly/sdktov0.2026241.2117(with thespecbumpgo mod tidypulls in) to deliver the machine-venue
{{.Home}}-token fix totarget: localhost deploys.This plugin walks deploy plans through
kit.WalkPlans. Until sdk v0.2026241.2117 that walknever resolved the deferred
{{.Home}}token on a machine venue, so a candy'shome-relative
copy: to: ${HOME}/...reachedPutFilecarrying the literal token andlanded in a directory named
{{.Home}}in the venue home — silently, with no error,while
mkdir:,write:andcommand:from the same candy applied normally (those legsrender shell that expands
$HOMEon the venue).The fix itself is opencharly/sdk#188. A plugin is built against its own pinned sdk, so
each plan-walking plugin has to repin for its venue to get the fix — this one covers
the operator workstation profiles that deploy onto a real host. Diff is
go.mod+go.sumonly.Refs opencharly/charly#460.
How tested
Module gates on the committed tree:
The delivered behaviour is live-proven, on the sibling venue where a disposable bed can
exercise it without touching a real machine. A minimal candy — one
mkdir:, onecopy:,one
write:into the same directory — applied to a disposable Arch cloud-image VM bed:Before the sdk bump:
After, full
charly check runincluding the fresh-rebuild leg:Why the proof is on that venue and not this one: the code delivered by this bump is
byte-identical (the same
kit.WalkPlans), and exercising this plugin's venue meansdeploying onto a real host/pod rather than a disposable guest. Running a
target: localdeploy against the operator's own workstation to demonstrate a dependency bump would be a
destructive test for no additional information, so the shared seam is proven where it can
be proven safely.
Rulebook compliance
/charly-internals:git-workflow(branch/PR/landing) and/charly-internals:plugin(the plugin's sdk-pin contract) loaded before the change.written: the OCI target resolves the deferred token via
spec.ResolveHome, themachine-venue walk had no equivalent. Evidence in copy: step is not applied on a target: vm deploy (mkdir/write/command from the same candy are) charly#460.
upstream (fix: resolve the deferred {{.Home}} token on machine venues sdk#188) and this repin delivers it. The sibling plugins that walk
plans through the same seam are repinned in their own PRs, not parked.
The repin is how this module consumes it rather than carrying a local copy.
replace, no vendored patch: a releasedupstream tag consumed normally.
this is only its delivery.
forward with no old path left behind.
git statusinspected before staging (diff is exactlygo.mod+go.sum); no force-push, no hook bypass, feature branch only.git status.candy source on connect, so the running provider is rebuilt from exactly this
go.mod;the before/after bed pair demonstrates that rebuild changing behaviour.
charly check runincluding its fresh-rebuild leg, from the committed tree.
proved on a disposable VM before any code changed, by locating the delivered file at
/home/arch/{{.Home}}/copyprobe/copied.txt.plan:carries theacceptance checks and lives with the issue.
the sdk seam every plan-walking plugin shares, and the only thing that belongs in this
repo is the pin that consumes it. No core change.
Change classification
go build/go teston the module, plus the before/aftercharly check runR10 pair proving the delivered sdk behaviour.analysed on a live system— the delivered fix ran live withretained output on a disposable bed, but this plugin's own venue was not exercised (see
above), so
fully tested and validatedwould overstate it.Assisted-by: Claude Code claude-opus-5[1m] (analysed on a live system)