Skip to content

fix(skills): move the mise skill body to the repo root, where sdk#445 reads it - #19

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/skill-body-at-repo-root
Oct 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/skill-body-at-repo-root

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Moves the mise skill body from candy/plugin-mise/.agents/skills/mise/SKILL.md to .agents/skills/mise/SKILL.md at the repo root — where the
shipped reader now resolves it — and deletes the candy-dir copy in the same commit.

Head 224db27a8659fffa371fc0e444a092afdd5d9609, one commit off origin/main (d99282f583), 1 file: a pure rename, 0 insertions and 0 deletions.

Why it is landable now, and why it was not before. 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")). It shipped as
sdk v0.2026294.1520, which charly adopted in opencharly/charly#1017 (merge 00396e3e, tag v2026.295.0418) —
the cutover opencharly/opencharly#568 item (b) was blocked on. Under that reader this repo's own manifest gate fails
at main: rc=1, naming the repo root, because #18 had moved the body BESIDE the
candy under the OLD base. The move turns that gate green in the same commit, which is the property #568 asked for.

Pure move, proven by blob identity. Both sides are read out of git ls-tree — the before side from origin/main,
the after side from the staged index tree (git write-tree = 3050dc08f6585930133db9ce591c4552fa8ee918) — never rebuilt from a template:

$ git -C plugin-mise ls-tree -r origin/main -- candy/plugin-mise/.agents
100644 blob c5a224fa5c73fb338c74b4562d5a8376ec415b61	candy/plugin-mise/.agents/skills/mise/SKILL.md
$ git -C plugin-mise ls-tree -r 3050dc08f6585930133db9ce591c4552fa8ee918 -- .agents
100644 blob c5a224fa5c73fb338c74b4562d5a8376ec415b61	.agents/skills/mise/SKILL.md

The blob object is c5a224fa5c73fb338c74b4562d5a8376ec415b61 on both sides, so the move cannot have altered the body; git's own rename detection
agrees, recording 100% similarity rather than a delete plus an add:

$ git -C plugin-mise diff --name-status -M origin/main HEAD
R100	candy/plugin-mise/.agents/skills/mise/SKILL.md	.agents/skills/mise/SKILL.md

How tested

Change class: config — a relocation of authored content that decides where a shipped reader finds a skill body.
No Go source, no box/, no candy manifest and no CUE schema changed, so the gate that owns this change is this
repo's own manifest gate, charly box validate, which is also the gate that reads the body. This repo's live beds
build images from candies whose Go sources this diff does not touch, and none of their steps asserts anything about a
skill body, so no bed here can fail on this relocation — per R10 a bed that cannot fail on the change is not run, and
the gate that can fail on it is pasted instead.

Proof binary — worktree-local, built from the MERGED charly tree (c837b661, charly's origin/main after
#1017), not a shared install and not a pre-#1017 build:

$ ./charly/bin/charly version
2026.295.0418
$ go version -m ./charly/bin/charly | grep -E 'github.com/opencharly/sdk |opencharly/plugin-box'
	dep	github.com/opencharly/sdk	v0.2026294.1520	h1:43EGZK2h1a5udbvgvToZ7EDZZubADN6IFZk1mf1L6Fo=
	dep	github.com/opencharly/plugin-box/candy/plugin-box	v0.2026294.21	h1:mAn3DQ3s3RjK1N3TX41OTRegE95qboZIF3ZJUFtt1ic=

The A/B: one body, two layouts, one binary. The negative control is the tree exactly as origin/main has it (body
beside the candy); the second run is the committed tree, which differs from it by exactly this commit's one git mv
and by nothing else — the blob above is the same object on both sides. The two extracted SKILL.md files are the
same bytes:

$ find /tmp/pin1017c-ab/plugin-mise -path "*/.agents/skills/*/SKILL.md" | sort
/tmp/pin1017c-ab/plugin-mise/post/.agents/skills/mise/SKILL.md
/tmp/pin1017c-ab/plugin-mise/pre/candy/plugin-mise/.agents/skills/mise/SKILL.md
$ sha256sum /tmp/pin1017c-ab/plugin-mise/post/.agents/skills/mise/SKILL.md /tmp/pin1017c-ab/plugin-mise/pre/candy/plugin-mise/.agents/skills/mise/SKILL.md 
0336acf631b61d9264256ffdab2144e5155f8a6bd116933b1e6ef1534e45dd61  /tmp/pin1017c-ab/plugin-mise/post/.agents/skills/mise/SKILL.md
0336acf631b61d9264256ffdab2144e5155f8a6bd116933b1e6ef1534e45dd61  /tmp/pin1017c-ab/plugin-mise/pre/candy/plugin-mise/.agents/skills/mise/SKILL.md

Then the gate itself, first on the pre-move layout and then on the committed tree:

$ (cd /tmp/pin1017c-ab/plugin-mise/pre && charly box validate 2>&1); echo "rc=$?"
WARNING: charly is a dev/worktree build (not installed at /usr/bin or /usr/local/bin); NOT loading the installed package's plugins from /usr/lib/charly/plugins (they may be built against a different charly version). Set CHARLY_PLUGIN_DIR to load plugins from a custom location.
charly: error: command "validate": validation error: skills: skill "mise": no body — the node carries no in-line `content:` and no SKILL.md exists under .agents/skills at the repo root of the owning candy "plugin-mise"
rc=1
$ (cd /tmp/pin1017c-ab/plugin-mise/post && charly box validate 2>&1); echo "rc=$?"
WARNING: charly is a dev/worktree build (not installed at /usr/bin or /usr/local/bin); NOT loading the installed package's plugins from /usr/lib/charly/plugins (they may be built against a different charly version). Set CHARLY_PLUGIN_DIR to load plugins from a custom location.
charly box validate: OK — checked 3 candies, 16 boxes, 8 deploys, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0

The WARNING: line is the harness's worktree-build notice on stderr (R9 requires a worktree-local build), not a
validation warning; the gate's own summary reads 0 warnings, 0 errors.

The committed tree, at the branch head, with the same binary:

$ (cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pin1017c/plugin-mise && charly box validate 2>&1); echo "rc=$?"
WARNING: charly is a dev/worktree build (not installed at /usr/bin or /usr/local/bin); NOT loading the installed package's plugins from /usr/lib/charly/plugins (they may be built against a different charly version). Set CHARLY_PLUGIN_DIR to load plugins from a custom location.
charly box validate: OK — checked 3 candies, 16 boxes, 8 deploys, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0

Rulebook compliance

  • R0: loaded before the first action: /charly-internals:git-workflow, /charly-internals:strict-policy,
    /charly-internals:root-cause-analyzer, /charly-internals:cutover-policy, plus this repo's own AGENTS.md
    (Part II docs: tailored README + AGENTS.md signpost (plugin-mise) (#286) #4) which names charly box validate as the repo's structural check and the org-wide validator as the
    merge gate.
  • R1: the finding is that this repo's manifest gate is red at its own main under the shipped reader. It is
    BLOCKING for this change, because landing the move without it is impossible and the change's own claim (the body
    resolves) is false without it — so it is fixed here, in this diff, not filed. The RCA is the base flip: sdk#445
    changed the resolution root and no consumer can be correct on both sides of it at once. Two separable findings keep
    their existing numbered homes and are not touched here (see ## Filed issues).
  • R2: no duplication — the body exists once, at the one path the reader resolves; the candy-dir copy is deleted in
    this same commit rather than kept alongside.
  • R3: no workaround — no copy: directive, no symlink, no second accepted path, no dual layout. The file moved.
  • R4: the reader's resolution decided the location; no prose was edited to route around it and no command is
    documented that needs more than the charly binary.
  • R5: the legacy path is deleted here, and the scoped sweep over the committed tree leaves only CHANGELOG/
    history, which R5 permits:
$ git -C plugin-mise grep -rln 'candy/plugin-mise/.agents' HEAD -- . | sort
CHANGELOG/2026.293.0959.md
$ git -C plugin-mise grep -rln 'candy/plugin-mise/.agents' HEAD -- . ':!CHANGELOG'; echo "exit=$?"
exit=1
  • R6: git status read before the first commit (empty), one feat/ branch off fresh origin/main, one commit,
    one push, no force-push, no amend after the push, no push to main, no hook bypass.
  • R7: the changed path executed live and the coverage fails without the change — the pre-move layout returns
    rc=1 naming the repo root, the moved layout returns rc=0; both are pasted above, on the same archive and the
    same binary.
  • R8: N/A — this change crosses no live service boundary; nothing is mocked and nothing skips.
  • R9: the binary is a worktree-local build of the merged tree, 2026.295.0418, with go version -m pasted above;
    no shared install was used and no runtime OS dependency was added.
  • R10: config class. The change-class gate, charly box validate on the committed tree, is pasted above: rc=0,
    0 warnings, 0 errors. No bed in this repo has a step that reads a skill body, so the image beds cannot fail on a
    SKILL.md relocation; they are not run, and that is stated rather than implied.

Change classification

Config — a pure relocation of a skill body so the shipped reader resolves it. No runtime behaviour, no schema, no
provider surface, and no emitted image label changes.

Filed issues

Nothing is filed by this PR; the two separable follow-ons already have numbered homes and are not touched here:

  • opencharly/sdk#444 — the four carrier candies that declare copy: .agents/skills render no directive once the
    body sits at the repo root. It is inert in this repo (no candy here declares copy:), so it does not gate this
    diff.
  • opencharly/opencharly#568 — the tracker for the remaining corpus leg: these three repos are absent from
    marketplace's ref list, and adding them is a marketplace PR. marketplace is not touched here.

A3 — attribution evidence

The delivered system message in this session reads, verbatim:

You are a coding agent powered by the deepseek-v4.1-flash model.

The footer below uses those exact names — DeepSeek Harness is the harness (@deepseek-ai/dsh),
deepseek-v4.1-flash is the model id — and the runtime's own config names the provider and the id:

$ grep -A3 -m1 'deepseek-v4.1-flash' ~/.dsh/cordis.patch.yml
          - id: deepseek-v4.1-flash
            name: "DeepSeek V4.1 Flash"
            contextWindow: 1048576
            maxTokens: 384000
$ grep -m1 'provider:' ~/.dsh/cordis.patch.yml
    provider: ollama-cloud

opencharly/opencharly#538 is the record of why this needs saying: the validator's model allowlist rejected this
real runtime once, and the answer is evidence, never an edited footer.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

…ader now looks

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]>
@github-actions

Copy link
Copy Markdown

Review — PASS

What the change is

One file, reported by the files API as a rename with +0/−0 and no textual hunks: candy/plugin-mise/.agents/skills/mise/SKILL.md → .agents/skills/mise/SKILL.md. A pure relocation with no byte change is exactly what a zero-hunk rename looks like, so the diff shape corroborates the body's central claim rather than contradicting it.

Correctness

  • The body's claim — "the body moves to the repo root because the shipped reader resolves filepath.Join(repoRoot, ".agents/skills")" — is consistent with the single new path in the diff. The owning candy (candy/plugin-mise) belongs to the plugin-mise repo, so the repo root of the owning candy is the repo root; placing .agents/skills/mise/SKILL.md there matches the stated resolution rule.
  • The body's blob-identity proof (c5a224fa… on both origin/main and the staged tree) and git's R100 rename detection are internally consistent with a no-hunk, +0/−0 rename. Nothing in the diff contradicts the claim that no body bytes changed.
  • The pre/post gate evidence (rc=1 naming the repo root on the old layout; rc=0, 0 warnings, 0 errors on the moved tree) is self-consistent and is the correct gate for a content relocation.

Honesty of the body

  • "1 changed file … 0 insertions and 0 deletions" matches the supplied diff exactly.
  • The claimed commit count (one commit, 224db27a8659…) matches the commit list.
  • The R5 sweep result (only CHANGELOG/2026.293.0959.md retains the old path, permitted) is plausible and does not conflict with the diff.
  • No claim in the body is contradicted by the current diff. The external facts (sdk#445, charly#1017, v2026.295.0418) cannot be independently re-derived from the diff, but they are presented as evidence with pasted command output and are not used to excuse anything the diff itself shows to be false.

Tests

No automated test ships, but the change is authored-content relocation, not code; the applicable check is the repo's manifest gate, which the body runs pre/post and pastes. For a pure git mv of a SKILL.md, there is no code path to unit-test, and the gate output is the coverage. Acceptable for the change class.

Security / scope / cleanliness

  • No secrets, no injection surface, no dependency change, no privilege change.
  • Scope is a single coherent move; the legacy candy-dir copy is deleted in the same commit (per the rename semantics and the R2/R5 statements), so there is no leftover dual path.
  • No dead code or duplication introduced.

Comments

There are 0 comments in the thread. Nothing to disposition; no maintainer sign-off is present, so the change is assessed on its own evidence, which is sufficient.

Residual notes (non-blocking)

  • The copy: .agents/skills follow-on (sdk#444) is asserted inert because no candy here declares copy:. That is stated, not proven in the pasted output, but it does not affect this diff's correctness.
  • The A3 attribution block is self-asserted but irrelevant to the change's correctness and does not gate it.

The change is minimal, internally consistent with the supplied diff, and backed by pasted pre/post gate evidence. No block-worthy finding.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 22, 2026 04:31
@github-actions
github-actions Bot merged commit 1d1ecc2 into main Oct 22, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 22, 2026
github-actions Bot pushed a commit to opencharly/opencharly that referenced this pull request Oct 22, 2026
…32 (#580)

plugin-mise     d99282f583ab -> 43e30ac959  (opencharly/plugin-mise#19,    v2026.295.0432)
plugin-openclaw f870257d45c7 -> 8d2492bcee  (opencharly/plugin-openclaw#10, v2026.295.0432)
plugin-media    01a1e8f759b0 -> 8d77fa909d  (opencharly/plugin-media#11,   v2026.295.0432)

Written by `charly task sync` (verb:git-submodules MODE=bump) on a session
worktree branched off origin/main (c72427b), never by hand.

The verb rolled ONE pin outside this change's scope: layer-openclaw
567a33541c -> 3c1007a476, which is #571's armed advance and
not this PR's to carry. It was restored in the index (`git checkout HEAD --
layer-openclaw`) AND in the checkout (`git -C layer-openclaw checkout
567a33541c`), so `verify`'s checkout audit and the recorded gitlink agree.
charly and the six distro-* edges rolled to their default-branch HEADs and
re-derived to exactly the values #579 recorded, so nothing changed there.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

Co-authored-by: Andreas Trawoeger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants