Repository navigation
fix(skills)!: the five debian skill bodies move to the repo root, the one canonical base - #40
Conversation
… one canonical base Leg of opencharly/opencharly#557, closing the opencharly/opencharly#566 regression: this repo's bodies were moved to the root at v2026.289.0447 and then moved BACK beside the debian-skills carrier by the sdk#434 re-home (6fddd62, #39), so at its newest tag the tree reads root=0 / candy=5 and the fail-closed corpus refuses the whole marketplace regeneration. A pure git mv from candy/debian-skills/.agents/skills/<name>/ to .agents/skills/<name>/ at this repo's root — the one canonical base both readers resolve after opencharly/sdk#445 — with the candy-dir copy deleted in the same commit: no dual source, no symlink bridge. The carrier candy stays, because it is the `owner:` the five skill nodes name (opencharly/sdk#434). AGENTS.md stated the candy-dir base twice (the canonical-files entry and the editing rule) and the carrier manifest's header stated it a third time; all three are swept here. The carrier's emitted `description:` and its install step are left byte-identical on purpose: the description's `.agents/skills/<name>/SKILL.md` is still true at the root, and the step's `copy: .agents/skills` renders no Containerfile directive at all, identically on the moved and the unmoved tree — opencharly/sdk#444 owns that, and this commit's comment says so instead of hiding it. Proven by blob-SHA object identity (each file's blob is the same object before and after the move), which does not depend on rename detection. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
|
BLOCKS — Why it blocks. A12 is the marketplace regeneration: What unblocks it: this PR merging and tagging. Then the pin advances off Two things this PR discloses rather than hides, both filed:
The counterpart Agent: charly Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system) |
Review — PASSHead SHA: Security screen: PASS — no secrets/exfiltration, no scope mismatch (diff is exactly the 5 renames + Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
The five
debianskill bodies move fromcandy/debian-skills/.agents/skills/<name>/SKILL.mdto.agents/skills/<name>/SKILL.md— the one canonical base at this repo's root — and the candy-dir copy isdeleted in the same commit. This is one of the last two legs of the ordered wave in
opencharly/opencharly#557, and it closes the regression filed as opencharly/opencharly#566. It copies the
shape opencharly/distro-cachyos#150 landed: a pure
git mv, proven by blob-SHA object identity, with no dualsource and no symlink bridge.
This repo is a REGRESSION, not a missing leg, and the pins are what show it.
distro-debian's bodies wereat the root at
v2026.289.0447(root=5 / candy=0) and were moved BACK beside a carrier candy by theopencharly/sdk#434re-home (6fddd62, #39). At the pin the refresh selects (v2026.294.0302, also thisrepo's
main) the tree reads root=0 / candy=5, so the fail-closed corpus reader can reach none of thefive bodies and refuses the marketplace regeneration — and
generatenamesdebian-builderfirst, asopencharly/opencharly#566 records.
The base both readers now resolve is unified in opencharly/sdk —
deploykit.candyRepoRoot, leg A1, mergedbdbfd8c, taggedv0.2026294.1520. The carrier candycandy/debian-skillsstays: it is theowner:thefive
skill:nodes name (opencharly/sdk#434).The sweep.
AGENTS.mdstated the candy-dir base twice — the canonical-files entry (line 22) and theediting rule (line 52) — and the carrier manifest's header stated it a third time ("their bodies live beside
this manifest"). All three are corrected in this commit, and the claim-keyed self-test below returns zero live
hits.
One thing this leg does NOT do, and says so instead of hiding it. The carrier's
plan:carries an installstep (
copy: .agents/skills→${HOME}/.agents/skills) plus an ADEcheck:that asserts the install landed.That source is the pre-move tree, so no reader resolves it any more — but the step rendered no Containerfile
directive at all even before the move, identically on a moved and an unmoved tree, which is
opencharly/sdk#444. Fixing it is a decision about
copy:'s base (a root-relative source form the emitterunderstands); a
../re-spelling of this path would be the workaround the rulebook forbids. So the step isleft byte-identical, and the manifest's header now states exactly this instead of claiming the image carries
the prose. The description string that feeds the OCI labels is likewise untouched (see R10).
How tested
1. The bodies MOVED rather than changed — git OBJECT IDENTITY, not rename detection. Every path is read
out of the tree by
git ls-tree, never typed, so the pair list cannot drift from the diff. The loop is pastedas the file that was executed, then executed:
Five of five SAME-BLOB. The count moved, it did not change: 0 to 5 at the root, 5 to 0 in the candy dir.
2. The diff, both ways it can be read, because the gate reads only one. This worktree carries
diff.renames=falseso the pre-push checker can see the rename SOURCES (opencharly/opencharly#558: its--name-onlyview omits them, so a pure rename's only honest body is refused). Againstorigin/mainthe gatetherefore sees 520 insertions and 514 deletions across 12 files:
With rename detection on, the five bodies are 0/0 renames and the only content change is prose:
AGENTS.md(+6/−5) and the carrier manifest's header COMMENT (+10/−5). The plan steps and the
description:string arebyte-identical to
origin/main. The line count is not the evidence; the blob SHAs are.3. Every reader on every tree — the four-cell diagonal on
box generate.box generateis theinstrument, because it reads a body off its base and emits it. The two binaries are the pre-leg reader
(
charly/bin/charly,2026.294.1108, sdkv0.2026293.1143) and the MERGED reader built for this leg(
2026.294.2001, sdkv0.2026294.1520— identity under R9):Four cells, both controls non-vacuous, and each reader's own error message names the base it resolves: the
merged reader looks "at the repo root of the owning candy", the pre-leg one "beside the owning candy". The
pre-move tree is refused by the merged reader, the moved tree by the pre-leg reader, and each accepts exactly
the layout its base names.
4.
box validateis BLIND here, in both directions — which is why it is not the proof. Same two binaries,same two trees,
box validateinstead ofgenerate:The merged reader returns rc=0 on the pre-move tree it refuses at
generate(cell 3). So a greenbox validateproves NOTHING about body placement —deploykit.CollectSkillBodieshas no call site(opencharly/sdk#446). No claim in this body rests on
validate; the blob identity and the generator carry it,and cell 3 + cell 4 together are the change's negative control: one binary, one tree, opposite verdicts.
5. The label names the same file, and it is byte-identical BEFORE and AFTER the move.
box generate debian-coderon the moved tree with the merged reader, eachai.opencharly.skillentry compared against thebody at its new path:
And the SAME box generated on the two trees — before-tree by the pre-leg reader, moved tree by the merged one
— produces a byte-identical label, which is what makes this a MOVE and not an edit of shipped prose:
6. The fail-closed CORPUS reader resolves every moved body. A two-ref scratch corpus source pins this repo
at the pushed branch (its generator is
plugin-marketplace v0.2026294.1612, post-#40, so the project's own pinis the authority), and each emitted body is compared against the file at its new path:
Five of five
corpus==file:True. This is the same fail-closed reader that refuses the pre-move tree incell 3; the only difference between the two trees is the layout.
7. The sweep, measured.
rc=1is zero matches: the superseded rule has no live statement left. What survives is the ROOT path (2mentions in
AGENTS.md, 8 in the carrier manifest — the latter because the manifest's install step and itscheck:still spell.agents/skillsand~/.agents/skills, which sdk#444 owns).CHANGELOG/is excluded byname because history is permitted to describe the layout this commit reverses.
Rulebook compliance
/charly-internals:git-workflowand/charly-internals:marketplaceloaded before the first gitaction, and this repo's own
AGENTS.mdread first (Part II chore(pins): reconcile opencharly/charly pins to v2026.201.0706 (post-#146 protocol skew) #4) — it stated the superseded base twice, whichis why the sweep is part of this commit.
go mod edit -require [email protected]made the derived workspace lock (go.work.sum) stale, andscripts/bootstrap-charly.shfailed the build on it by design (check-generated-clean: go.work.sum is STALE). Mechanism: that lock is derived from a tracked input, and charly adopts the merged sdk tag in notracked commit (verified across all refs), so the bump and its derived lock belong together — which is what
the guard asks for and what was done, in the scratch worktree only. Missed control: I used the
release-shaped wrapper for a PROOF build whose only dirt is an uncommittable bump. Blast radius: the scratch
worktree; nothing pushed. Two findings this leg touches are filed with numbers rather than dismissed:
a carrier candy's
copy: .agents/skillsinstall step renders no Containerfile directive while its ADE check does sdk#444 (the carrier'scopy:step renders nothing, pre-existing and orthogonal — disclosedin the Summary and in the manifest's header, not hidden) and CollectSkillBodies has no call site: charly box validate returns rc=0 on a tree whose skill bodies exist nowhere sdk#446 (a green
box validateproves nothing about placement, measured as cell 4).
.agents/skills/<name>/SKILL.mdat the reporoot), the candy-dir copy deleted in the same commit, and the candy-dir statement removed from prose where
it survived.
../source spelling topaper over sdk#444, which is why that step is left exactly as it was rather than made to "work".
AGENTS.md(twice) and the carrier manifest's headernamed the carrier's directory as the body base, and all three now name the repo root; the header also states
the install step's real, pre-existing state. The product half (the merged reader) is what this leg depends
on, and it is already merged and tagged.
claim-keyed self-test returns zero (cell 7).
git status --shortwas empty before the move and empty after the commit; one commit, one push; noforce-push, no
mainpush, no hook bypass, no--no-verify.back at its real boundary and compared against the moved file — the image label (
ai.opencharly.skill,5/5) and the corpus file (5/5) — with the pre-move tree as the failing control in each direction (cell 3).
The change's own negative control is the pair cell 3 + cell 4.
local generator; nothing is mocked and nothing is skipped. The
check-debian-debootstrap-vmbed is not runbecause this diff changes no image content — the emitted label and every plan step are byte-identical
(cells 5 and 2), which is the measurement that makes that a decision rather than an omission.
answer. MERGED reader (built for this leg):
charly version→2026.294.2001;go version -m→github.com/opencharly/sdk v0.2026294.1520(the merged sdk#445 tag), built from charlyorigin/main75de486bplus the local sdk require bump committed only in the scratch worktree (d2581a54) and neverpushed. PRE-LEG reader:
charly version→2026.294.1108;go version -m→github.com/opencharly/sdk v0.2026293.1143. No installed/shared binary is used, and no new runtime OSdependency is introduced.
changed path's read IS pasted —
box generate debian-coderresolves each moved body off the repo root andemits it in
ai.opencharly.skill, andcharly marketplace generateresolves all five off the same base.The carrier's emitted
description:string is deliberately NOT reworded: it names.agents/skills/<name>/SKILL.md, which is true at the root, and rewording it would changeai.opencharly.description/ai.opencharly.infofor every Debian image — a shipped-label change this leghas no bed for and no need (cell 5 shows the label is byte-identical). A pod bed would re-exercise the same
generator read at the cost of a full container build; it is not claimed as separate evidence.
distro-fedoraare the wholeof A12 blocked: the sdk#434 re-home reverted the root skill layout in distro-fedora (10 bodies) and distro-debian (5), so the fail-closed corpus still cannot generate opencharly#566's named remainder, and A12 follows both. The sdk#444 install-step repair is a
decision about
copy:'s base that the layout cutover is correct and complete without (its own issue saysso), not a deferred part of this one.
Change classification
Breaking (
fix(skills)!) for the reader base, not for any consumer: the accepted body location changesfor this repo, so a reader left on the candy-dir base now refuses this tree (cell 3). No consumer reads this
path programmatically.
The diff is content-free apart from prose: five 0/0 renames,
AGENTS.md(+6/−5) and the carrier manifest'sheader COMMENT (+10/−5). No code, no pins, no scripts, no behavioural config — every plan step and the
description:string are byte-identical toorigin/main, and, measured, no emitted artifact changes (cell 5:the label is byte-identical before and after).
Filed issues
copy: .agents/skillsinstall step renders no Containerfile directive while its ADE check does sdk#444 — a carrier candy'scopy: .agents/skillsinstall step renders no Containerfiledirective while its ADE
check:does, identically on a moved and an unmoved tree. This is the one placewhere this repo differs from
distro-fedora: its carrier HAS such a step, so this leg measures it, leavesit untouched, and states it in the manifest's header rather than claiming the image carries the prose.
deploykit.CollectSkillBodieshas no call site, socharly box validatepasses atree whose skill bodies are not at the base the generator requires (measured here as cell 4: rc=0 on a tree
generaterefuses, same binary).v2026.289.0447, then back into a candy dir by the sdk#434 re-home at6fddd62).prepush_body_check's--name-onlyview lacks rename sources, so it isunsatisfiable for a pure rename. This worktree runs
diff.renames=falseand the body pastes both views;that is a workaround at the tool's edge and it is filed rather than reported as a clean pass.
Runtime identity (A3)
The delivered system message in this session reads, verbatim:
The runtime's own config agrees — harness
DeepSeek Harness(thedshCLI,@deepseek-ai/dsh), providerollama-cloud, model iddeepseek-v4.1-flash:That is the finding opencharly/opencharly#538 records: the footer uses the runtime's exact names, and a
validator allowlist that does not know
deepseek-v4.1-flashis the gap, not this line.Agent: charly
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)