Repository navigation
feat(deploykit): CollectSkills + the skill label + sdk/candywalk - #125
Conversation
…candywalk CollectSkills projects the composed candies' authored skill entities into the ai.opencharly.skill OCI label (an image is self-describing — no external fetch); the CapabilityLabelMap entry + WriteLabels emission + render_prep wiring make the label live (superseding the dead doc-pointer URL). The discovered-candy parse (ParseCandyManifest) accepts STACKED manifests — a candy node plus sibling skill:/hook:/marketplace: entities. New sdk/candywalk kit is the shared entity-discovery walk plugin-docs + plugin-marketplace both use (R3). The charly box new candy scaffold teaches the new skill:/hook:/marketplace: surface. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — CHANGES REQUESTED ❌Change class: charly-or-sdk Go (sdk module; one leg of a cross-repo cutover: spec#19 → sdk#125 → charly#230 → plugins#142 → docs#21) Independent validation of Checklist
BLOCKING FINDINGS
What passes (independently verified)
Comments considered: none (the PR carried no comments). Cross-PR interactions considered:
Decision: CHANGES-REQUESTED. The author must fix, on this same branch, then re-push (the status resets and I re-run):
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
S1016 (type conversion in CollectSkills), dead kindWord deleted, gofmt the candywalk kit, and TestParseCandyManifest_StackedSkillNode + _MarketplaceOnlyRejected covering the stacked-manifest parse. A CHANGELOG entry. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
spec#19 merged as ab3a62b and tagged v0.2026218.1950, carrying the new spec.Skill/ LabelSkillEntry/Config.Skills types; the sdk now builds against its own pin (GOWORK=off go build ./... green). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — APPROVED ✅Change class: charly-or-sdk Go (sdk module; one leg of the cross-repo cutover spec#19 → sdk#125 → charly#230 → plugins#143 → docs#21) Independent fresh re-validation of Checklist (every rule)
The decisive check — module builds against its own go.mod pin
Comments considered
Cross-PR interactions considered
DecisionPASS. All 5 prior blocking findings are resolved and independently re-verified. The module builds against its own published spec pin, the full gate is green (build/test/vet/lint/gofmt), the R10 bed exercised the changed label path live on a Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
Rename the CHANGELOG placeholder to the merge-time CalVer (H1 rewritten to match) ahead of the squash merge. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
|
Coordination note: a bundle→fleet terminology cutover is landing in parallel (opencharly/charly #feat/fleet, superproject). It renames BundleConfig/BundleNode→FleetConfig/FleetNode and 'charly bundle'→'charly fleet' across deploykit, including comment-only edits in deploykit/capabilities.go, render_prep.go, and write_labels.go — files this PR also touches. The rename is a hard cutover (R5) and will land via its own fresh pr-validator; if this PR merges first, the rename branch will rebase onto it, and vice versa. No functional overlap beyond those three files' comments — no coordination action needed beyond merge-order awareness. |
Summary
The sdk leg of the plugins→candies migration.
deploykit/skills_collect.go—CollectSkillsprojects the composed candies' authored skill entities into theai.opencharly.skillOCI label (an image is self-describing — readable viacharly box labels, no external fetch). Wired inrender_prep.go; theCapabilityLabelMapentry makes the label live (superseding the dead doc-pointer URL).sdk/candywalk— the shared entity-discovery walk (superproject + box submodules) both generator plugins use (R3 — no second copy).loaderkit/parse_candy_manifest.go— the discovered-candy parse accepts STACKED manifests (a candy node plus sibling skill:/hook:/marketplace: entities).kit/scaffold.go— thecharly box new candyscaffold teaches the new skill:/hook:/marketplace: surface.TestParseCandyManifest_StackedSkillNode(+ marketplace-only rejection), the candywalk value-node decode trap,CollectSkillsunion-of-composed-only.How R10-tested
The runtime-consumed label path is proven end-to-end by the superproject's check-marketplace R10 bed (the composed image's
ai.opencharly.skilllabel asserted, 13 steps, zero warnings).Attribution
analysed on a live system— the changed paths ran live (the parse + label tests, the full go test gate, lint, the R10 bed).Rule compliance
Note: the sdk's go.mod pins the published spec; the new spec types (
spec.Skill,spec.LabelSkillEntry,Config.Skills) land in the companion opencharly/spec#19. Producer-first ordering — this PR's pin is bumped once spec#19 merges + tags.Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)