Repository navigation
feat(skills): move the transcode skill body beside its candy - #10
Merged
Merged
Conversation
…ate that proves it The transcode skill node is declared in candy/plugin-media/charly.yml, so its body belongs at candy/plugin-media/.agents/skills/transcode/SKILL.md. Adds scripts/check-skills.py, the in-repo gate a repo authoring no box lacks (opencharly/opencharly#530).
…er (R2) scripts/check-skills.py re-implemented skills_collect.go path resolution and skillfile.go frontmatter splitting. The check belongs in charly box validate (plugin-box validate.go), reusing candywalk.ReadSkillFile, not transcribed into each consumer repo.
Review — PASSHead SHA: Security screen: PASS — Phase 0 T1–T4 clean: no security-machinery, validator/rulebook, schema, alias, or supply-chain changes; no secrets or embedded directives; content is a faithful relocation. Checklist: All applicable rules PASS or NA.
Tool-limited note: I cannot re-run beds or verify the runtime model name ( Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 22, 2026
…he reader now looks (#11) sdk#445 moved deploykit's skill base from the owning candy's directory to the owning candy's REPO ROOT: filepath.Join(repoRoot, ".agents/skills"). This commit is the mirror image of #10 (2026.293.1207), which moved the body BESIDE the candy under the old base -- so under the new reader the node has no body at all, and `charly box validate` at this repo's main says exactly that (rc=1, naming the repo root). Pure move: the SKILL.md blob is byte-identical before and after (66c69f0), the candy manifest is untouched, and the candy-dir copy is deleted in this same commit. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) Co-authored-by: Andreas Trawoeger <[email protected]>
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
Moves the
transcodeskill body out ofcandy/plugin-media/charly.ymland intocandy/plugin-media/.agents/skills/transcode/SKILL.md— beside the candy that declares the node, which is thedirectory the loader reads — leaving the
skill:node carrying only its routing metadata.Diff against
main: 96 insertions and 84 deletions across two files — the newSKILL.mdand the manifest'scontent:deletion. Nothing else: no script, no generated file.Why beside the candy, and why this can be proven now
sdk/deploykit/skills_collect.goresolves the tree asfilepath.Join(layer.GetSourceDir(), ".agents/skills"), andGetSourceDir()is the directory of the candy whose manifest declares the node — herecandy/plugin-media/.Until this week no command in a repo that composes no box could read a skill body, because
CollectSkillsgatesbody reads on
BoxCandyChain— a label-size policy. That is why earlier attempts at this PR were refused on "noin-repo evidence exercises the changed path", and the finding was true. It is no longer:
opencharly/sdk#430(merged,v0.2026293.1143) addeddeploykit.CollectSkillBodies— the same decode and resolve,minus the composition filter;
opencharly/plugin-box#57(merged,v2026.293.1153) calls it fromrunValidateEngine, socharly box validatenow fails on a missing or misplaced skill body.
How tested
Change class: config.
Negative control — the identical tree with the body moved to the repository root:
Same tree, same node, same manifest — only the body's location differed, and the validator refuses it. Before the two
merges above, both layouts returned
0 warnings, 0 errors.Rulebook compliance
/charly-internals:git-workflowbefore any git command.opencharly/opencharly#530(the missing gate) is now closed by the two merges cited above;#528records the layout rule.deploykitandplugin-box, not in this repo.git add -f, no skip.content:and no root.agents/tree exists. Claim-keyed check: the numstat above.git statusread first; one branch offorigin/main; two appends, no amendment, no force-push — the move, then the withdrawal of a per-repo gate script that duplicated the loader (R2). The net diff is the two files above.rc=1.charlybuild;charly version→2026.289.1441.charly box validaterun on the committed tree with both controls pasted.Change classification
Config — one skill body relocated beside its candy.
Filed issues
opencharly/opencharly#530— no in-repo gate exercises skill-body collection for a repo that authors no box. Closed bysdk#430+plugin-box#57.opencharly/opencharly#528— the layout rule the migration depends on.Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)