Skip to content

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

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 transcode skill body from candy/plugin-media/.agents/skills/transcode/SKILL.md to .agents/skills/transcode/SKILL.md at the repo root — where the
shipped reader now resolves it — and deletes the candy-dir copy in the same commit.

Head 2182d7c979c7359a755cc3335db2e54418b4e0e9, one commit off origin/main (01a1e8f759), 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 #10 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 = 1d893cfe2c3b3c417fc275768cb909b323e04088) — never rebuilt from a template:

$ git -C plugin-media ls-tree -r origin/main -- candy/plugin-media/.agents
100644 blob 66c69f018ba01df2e1a2c484610f5ea11682d935	candy/plugin-media/.agents/skills/transcode/SKILL.md
$ git -C plugin-media ls-tree -r 1d893cfe2c3b3c417fc275768cb909b323e04088 -- .agents
100644 blob 66c69f018ba01df2e1a2c484610f5ea11682d935	.agents/skills/transcode/SKILL.md

The blob object is 66c69f018ba01df2e1a2c484610f5ea11682d935 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-media diff --name-status -M origin/main HEAD
R100	candy/plugin-media/.agents/skills/transcode/SKILL.md	.agents/skills/transcode/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-media -path "*/.agents/skills/*/SKILL.md" | sort
/tmp/pin1017c-ab/plugin-media/post/.agents/skills/transcode/SKILL.md
/tmp/pin1017c-ab/plugin-media/pre/candy/plugin-media/.agents/skills/transcode/SKILL.md
$ sha256sum /tmp/pin1017c-ab/plugin-media/post/.agents/skills/transcode/SKILL.md /tmp/pin1017c-ab/plugin-media/pre/candy/plugin-media/.agents/skills/transcode/SKILL.md 
8d4129f9c202455a9d48678beb00ab44e5b84253faf739bb30ef42afd036b83c  /tmp/pin1017c-ab/plugin-media/post/.agents/skills/transcode/SKILL.md
8d4129f9c202455a9d48678beb00ab44e5b84253faf739bb30ef42afd036b83c  /tmp/pin1017c-ab/plugin-media/pre/candy/plugin-media/.agents/skills/transcode/SKILL.md

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

$ (cd /tmp/pin1017c-ab/plugin-media/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 "transcode": 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-media"
rc=1
$ (cd /tmp/pin1017c-ab/plugin-media/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 1 candy, 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-media && 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 1 candy, 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 refactor(media): land post-transcode validation via sdk.LandArtifact (G-8/G-9) #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-media grep -rln 'candy/plugin-media/.agents' HEAD -- . | sort
CHANGELOG/2026.293.1207.md
$ git -C plugin-media grep -rln 'candy/plugin-media/.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)

…he reader 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 #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]>
@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 — .agents/skills/transcode/SKILL.md (formerly candy/plugin-media/.agents/skills/transcode/SKILL.md). That API signal is authoritative for "name changed, bytes unchanged," so the diff itself corroborates the body's central claim of a pure move.

Correctness & body honesty

  • Body says 1 file, a pure rename, 0 insertions / 0 deletions → matches the diff exactly.
  • Head SHA 2182d7c979… and the single commit line up with the commit list.
  • The body's proof (git ls-tree blob 66c69f01… identical on both sides, git diff --name-status -M = R100) is the correct evidence shape for a rename and is consistent with the API's +0/-0 no-hunk report. It is not contradicted by anything in the diff.
  • The repo-root resolution rationale is coherent: sdk#445 moved the skill base to the owning candy's repo root, and this repo has one candy (checked 1 candy), so a single repo-root .agents/skills location is unambiguous here. No multi-candy collision risk exists in this tree.

Tests / coverage

Change class is config (relocation of authored content). The gate that reads the body is charly box validate, and the body pastes an A/B on the same binary and same archive: pre-move layout rc=1 naming the repo root, post-move rc=0, 0 warnings, 0 errors. That is exactly the "fails without the change, passes with it" property required, and the pre-move failure message explicitly names the repo root, which independently confirms the resolution base the change is targeting. No bed in this repo reads a skill body, so the R10 justification for not running image beds is sound rather than hand-waved.

Security / scope / cleanliness

  • No secrets, no injection surface, no dependency changes (pure file move).
  • No leftover legacy path: the body's R5 sweep shows only CHANGELOG/2026.293.1207.md retains the old path, and the exclusion sweep exits 1 — consistent with the copy being deleted in the same commit rather than duplicated.
  • No workaround (no copy:, no symlink, no dual layout) — the file was moved.
  • Follow-ons (sdk#444, opencharly#568) are correctly scoped out and not smuggled into this diff.

Comments

No comments were provided (0 comments), so there is nothing to disposition. No maintainer sign-off exists, so the change must stand on its own evidence — which it does.

Caveats (non-blocking)

  • The blob/tree hashes and A/B outputs are asserted by the author and cannot be re-executed in a read-only review; however, they are internally consistent and the rename's +0/-0 diff status is an independent confirmation that bytes were not altered.
  • The A3 attribution section is noise relative to the change but makes no claim that affects landing.

The change does what the body says, the gate evidence is the right shape for this change class, and nothing in the diff contradicts the write-up.

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:32
@github-actions
github-actions Bot merged commit 310b589 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