Repository navigation
docs(internals): sync the charly-internals candy skill content (producer-first prerequisite for the plugins projection) - #276
Conversation
The charly-internals candy's skill content carries three corrections that the plugins/ skill projection must be regenerated from (the producer-first prerequisite for the plugins cutover): - The calver.sh claim now names the TZ=UTC0 invocation (the bare %cd uses the commit's own TZ offset without it). - The two pkg/arch makepkg/localpkg build gotchas are folded into the one still-valid submodule-refresh gotcha (the nFPM cutover removed the source-build machinery). - The go skill gains the cumulative /tmp usage cap bullet (the Bash tool's output capture dies when the sandbox tmpfs fills). The nFPM north-star gains the Phase 0 follow-on (Go-module-valid tags on the plugin repo) and the Phase 3 shim mechanism (the spike-proven re-export shim under a discovered candy). The plugins/ skill projection is regenerated from this candy in the follow-on plugins cutover (producer-first, B6); the transitional marketplace drift after this landing is expected and resolved there. Assisted-by: Claude Code <deepseek-v4-flash:0731-cloud> (documentation reviewed)
pr-validator — CHANGES REQUESTED ❌Change class: docs-only (2 files, both prose: Head SHA validated: Checklist
Comments consideredNone — the PR carries no comments. Cross-PR interactions considered
Cold reader (Phase 1b)Spawned a DecisionFAIL — not merged. Two blocking findings:
Fix in the same tree, re-push (the status resets and I re-run). The change itself is sound — the three factual corrections are all verified accurate against the source, the attribution is correct, and every claimed gate independently re-passes. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed) |
Adds CHANGELOG/2026.227.0000.md (placeholder CalVer — the pr-validator finalizes it at merge) per the repo convention that every landing stages one. The pr-validator's FAIL on #276 flagged the missing CHANGELOG; the change itself was verified sound (all three factual corrections accurate, attribution correct, every claimed gate independently re-passed). Assisted-by: Claude Code <deepseek-v4-flash:0731-cloud> (documentation reviewed)
Assisted-by: Claude Code <deepseek-v4-flash:0731-cloud> (documentation reviewed)
Coordination note from the
|
pr-validator — APPROVED ✅ (supersedes the prior CHANGES REQUESTED verdict)Change class: docs-only (3 files, all prose: Head SHA validated: Both prior blocking findings are fixed and independently re-verified:
Checklist (re-run at the new head)
Comments consideredNone — the PR carries no comments. Cross-PR interactions considered
DecisionPASS — merged. Squash-merged as Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed) |
opencharly/charly#276 edited candy/charly-internals/charly.yml — a skill: source — and merged with no companion regeneration here, leaving superproject main with its source running ahead of its generated tree. This is the projection catching up: internals/skills/git-workflow/references/multi-repo-coordination.md and internals/skills/go/SKILL.md, regenerated from the merged source and nothing else. Generated, never hand-edited. Verified by re-deriving the projection in a clean scratch worktree at superproject fff7bd06 with every box/* at that commit's pinned gitlink: charly marketplace generate re-emits both artifacts byte-for-byte. The record around the change is scoped precisely, which the CHANGELOG now states: regenerating WHOLESALE at main would also revert #168/#169 (helm/SKILL.md deleted, three JSON manifests rewritten), because the helm-skill: entity lives in unmerged charly#274; this commit escapes that only by carrying the two charly-internals artifacts alone. And it does not on its own make main green — main stays stale on the four helm artifacts until #274 lands its source. #276, #168/#169 and #274 are one logical cutover split across landings, transiently red in between whichever order the halves take, and they close it together. Supersedes plugins#163 (byte-identical projection of the same file) and plugins#162 (its cumulative /tmp-cap bullet appears here verbatim). Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)
… main's red opencharly/marketplace#170 merged as 664d2456 (tag v2026.227.1107), carrying the regeneration of the two charly-internals skills that #276 left stale. The gitlink moves f6f39bbd -> 664d2456. This is the step that makes main green, and the reason is worth recording because both #274's and #170's validators initially had it wrong in opposite directions. A superproject gitlink does not move when the submodule repo merges: charly main stays pinned at c2518468 and stays red regardless of what lands in the plugins repo. Only a superproject PR bumps the pin. #274 is that PR — not a bystander waiting out someone else's red, but the half that closes it. Measured end state, matching what both validators independently predicted: marketplace drift clean (399 artifacts), box validate exit 0. Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)
What
Two docs-only edits in the superproject, both producer-side sources for the
plugins/skill projection:candy/charly-internals/charly.yml— three corrections to the candy'sskill:content that theplugins/projection must be regenerated from:scripts/calver.shderives the CalVer from the HEAD commit's UTC time (TZ=UTC0 git log -1 --format=%cd --date='format-local:%Y %j %H %M'— theTZ=UTC0is what makes the bare%cdUTC).pkg/archmakepkg/localpkg build gotchas folded into ONE generic gotcha ("a disposable bed that builds from a submodule builds from the submodule's ON-DISK WORKING-TREE checkout, NOT from the committed gitlink alone")./tmpusage cap (beyond the per-command cap) —write error: Disk quota exceededwhen/tmpfills to ~80% of the tmpfs; on this host 17G oftmp.*dirs had accumulated.PROGRAM/nfpm-packaging-north-star.md— the binding north-star doc gains:v2026.227.0013-style tags are semver-REJECTED as Go module versions; needsv0.2026227.13-style tags mirroring sdk'sv0.2026226.1201scheme.charly generate-packagesplugin — a THIN re-export shim module under a discovered candy (candy/generate-packages/with charly.yml +go.modrequire+replace→ the Go-module-tagged external module +cmd/serveshim + go.sum).Why producer-first
The
plugins/skill files are generated from the candies'skill:entities bycharly marketplace generate. The plugins PRs #162/#163 carried hand-edits to those generated files; the round-5 validator correctly rejected them (a hand-edit of a generated file whose candy source is not landed). The correct path is producer-first:charly marketplace generateand land ONE plugins PR carrying the regenerated output (byte-identical to the generator), superseding feat(spec,deploykit,loaderkit): W9/K1 Candy → spec.CandyReader retype #162/fix(refs): delegate mutable repo refs to the freshness-checked downloader #163.The transitional
marketplace driftafter this landing is expected and resolved in step 2.Harness rulebook compliance
documentation reviewed(correct ceiling for docs-only); trailer + footer =Claude Code <deepseek-v4-flash:0731-cloud>, matches runtime identityskills,git-workflow,strict-policy,goloaded; all three factual corrections verified against source (scripts/calver.shTZ=UTC0;sdk/deploykit/localpkg.gosource-build machinery gone; /tmp cumulative cap)charly/*.gotouchedCHANGELOG/2026.227.0000.mdstaged (placeholder CalVer — the pr-validator finalizes it at merge)Verification (documentation-only change class — non-runtime standards)
All gates re-run in the worktree at
/home/atrawog/Atrapub/coder/claude/charly/.claude/worktrees/cloudinit-fix:Note on the spec env: the spec repo's temp-sweep tests hardcode
/tmp/globs while the tests honor$TMPDIR, sogo testinspecruns withTMPDIRunset (documented environment constraint — see the sandbox-tmp-quota memory). The root-levelgo vet ./.../golangci-lint run ./.../go test ./...from the workspace root are vacuous (the known root-lint gate), so all gates run per-module.No bed required (documentation-only change class).
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed)