Repository navigation
fix(skills): the mise body moves BESIDE its candy, where the loader actually reads it - #18
Conversation
…ctually reads it The loader resolves the skill tree as layer.GetSourceDir() + .agents/skills, and for a skill declared in candy/plugin-mise/charly.yml that is candy/plugin-mise/. The body was left at the repository root, so at build time the node had no body at all: content: was gone and the file was somewhere the loader never looks. This is a pure move: the SKILL.md content is unchanged, the manifest is untouched.
Review — BLOCKHead SHA: Change class: config (pure rename). Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — pure 0/0 rename, no secrets/egress/guardrail changes, no embedded directives. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…ader now looks (#19) 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 #18 (2026.293.0959), 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 (c5a224f), 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]>
Summary
Moves
.agents/skills/mise/SKILL.mdtocandy/plugin-mise/.agents/skills/mise/SKILL.md— beside the candy that owns the skill, which is the directory the loader reads.Why.
sdk/deploykit/skills_collect.goresolves the tree asfilepath.Join(layer.GetSourceDir(), ".agents/skills"), andGetSourceDir()is the owning candy's directory. This skill's node is declared incandy/plugin-mise/charly.yml, so the loader looks incandy/plugin-mise/.agents/skills/. The body was left at the repository root, where nothing reads it — and because the earlier migration also removed the inlinecontent:, the node had no body at all at build time.This is a pure move: the SKILL.md content is unchanged and the manifest is untouched. The diff is 0 insertions and 0 deletions — a rename,
{.agents => candy/plugin-mise/.agents}/skills/mise/SKILL.md.How tested
Change class: config. The move keeps the tree valid:
That is the repo-local fact this PR relies on: the repo authors no boxes, so no build inside it can exercise the
loader. The tree is still valid after the move:
Read that line for what it is. It reports the boxes in this repo's project view — inherited and resolved
from elsewhere — not the boxes this repo authors. It is evidence that the move leaves the tree valid; it is not
evidence about this repo's buildability, and the
0above is.The rename is exact — git records it as a pure rename with no content change:
The read proof, demonstrated on the identical shape in another repo. This repo is candy-only (no
box/tree), so the loader cannot be exercised inside it without a consumer build. The same correction was proven end to
end on
opencharly/layer-nerdctl#8, whose skill node also lives incandy/<name>/charly.yml:and its negative control — the same manifest deletion with the file at the repository root:
What this PR does NOT claim: it does not paste a
box labelsrun from this repo, because the repo authors noimage to build. That is stated rather than implied, and it is why the attribution tier is not
fully tested and validated.Rulebook compliance
/charly-internals:skills,/charly-internals:git-workflow,/charly-internals:cutover-policy.GetSourceDir()), and this PR is the correction for this repo. The four sibling repos in the same state are tracked in the programme ledger and get the same correction..agents/tree is removed rather than kept as a duplicate. The claim-keyed check is the rename line above, which shows the old path gone.git statusread first; one branch offorigin/main, one commit, no force-push, no amendment, no push tomain.layer-nerdctl#8, a build whose label body equals the file. This repo cannot originate that proof, and says so.2026.289.1441, not a shared install.charly box validatepasses on the committed tree with 0 warnings, 0 errors. The live-load proof for this repo's shape islayer-nerdctl#8; a consumer build here is not performed.Change classification
Config — a pure file move so the loader resolves the body.
Filed issues
opencharly/opencharly#522— the migration wave tracker.Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (analysed on a live system)