Skip to content

feat(skills): the sdk authors its own skills beside their mechanism packages - #452

Merged
github-actions[bot] merged 4 commits into
mainfrom
feat/contract-skill-shelf
Oct 23, 2026
Merged

github-actions[bot] merged 4 commits into
mainfrom
feat/contract-skill-shelf

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Three commits, 11 files, +2015/−0 (git diff --stat origin/main...HEAD): the move
442156a031169810ac23693b56b786374f9ffefb, the citation correction
58e430b337806425ed7d2263f6e3e2b37c2e2ace, and the follow-up
054d14e that removed the last contradiction the correction left behind. The branch sits on
current main via gh pr update-branch (a merge, never a rebase). The split is deliberate: the
first commit is the proof that the pages arrived unchanged, and the rest make that same prose true,
so neither proof is spent buying the other.

sdk held 0 authored skills and was not a charly project at all — charly box validate
here printed checked nothing to check — so there was no manifest to hang a skill: routing node
on. This PR gives it the minimum one, plus the seven skills whose source of truth is a mechanism
package of this module.

Why these seven. AGENTS.md Part II #5 decides a skill's home by what the repo CONTAINS, never
by what the skill is about. #611 re-derived that map on the tree and routed 7 of the 35 carrier
skills here; #609's table is the record. Each of the seven names, in its own prose, a file this
module holds:

skill its own "source of truth" where it exists (measured) files
capabilities sdk/deploykit/capabilities.go + spec label consts sdk/deploykit/capabilities.go — CapabilityLabelMap at :26 1
ovmf UEFI firmware path resolution sdk/vmshared/ovmf_paths.go 1
libvirt-renderer libvirt XML + QEMU argv sdk/vmshared/qemu_render.go 1
cloud-init-renderer NoCloud seed-ISO renderer sdk/vmshared/cloud_init_render.go, cloud_init_iso.go 1
generate-source Containerfile generation sdk/deploykit/tasks_emit.go, intermediates.go 4
local-infra the host-side local/VM deploy file map sdk/deploykit/deploy_chain.go, sdk/kit/install_ledger.go, sdk/kit/reverse_ops.go 1
skills the authored-content contract sdk/candywalk/skillfile.go (the ONE reader), sdk/deploykit/skills_collect.go 1

The double-check, re-verified here for ONE skill instead of restated

[cwd = the umbrella root] — source paths are the carrier, destination paths are this session's
worktree
, so both ends are named explicitly:

$ test -e .worktrees/contract-shelf/sdk/deploykit/capabilities.go && echo EXISTS
EXISTS                                       rc=0
$ grep -n 'CapabilityLabelMap' .worktrees/contract-shelf/sdk/deploykit/capabilities.go | head -2
23:// CapabilityLabelMap names every OCI label that participates in the capabilities
26:var CapabilityLabelMap = map[string]string{
$ grep -c 'sdk/deploykit/capabilities.go' layer-charly-internals/.agents/skills/capabilities/SKILL.md
4                                            # the skill names the file it documents
$ find layer-charly-internals -name '*.go' -o -name '*.cue' | wc -l
0                                            # NEGATIVE CONTROL: the carrier holds no code for it

Its prose cites 12 distinct sdk/ and spec/ paths, and every one resolves — the strongest
form of this check, because it means the skill's whole source map landed, not just its headline:

$ for p in sdk/deploykit/capabilities.go sdk/deploykit/capabilities_test.go sdk/deploykit/shell_collect.go \
           sdk/deploykit/write_labels.go sdk/loaderkit/candy_version.go sdk/loaderkit/scan_orchestrate.go \
           spec/container/box_metadata_coneb.go spec/container/local_image_coneb.go spec/schema/boxmetadata.cue \
           spec/schema/deploy.cue spec/spec/cue_types_gen.go spec/spec/label_consts.go; do
    printf '%-40s ' "$p"; test -e ".worktrees/contract-shelf/$p" && echo EXISTS || echo MISSING; done
… all twelve print EXISTS; 0 MISSING

It is a MOVE, not a rewrite — and where the correction lands

Byte identity at both ends was measured on the move commit 442156a, where all ten files match the
carrier by sha256 and by git blob. On the final head, seven of the ten still match and
exactly three changed — all three inside generate-source, all by the correction commit described
below:

$ for s in capabilities ovmf libvirt-renderer cloud-init-renderer generate-source local-infra skills; do
  for f in $(cd .agents/skills/$s && find . -type f | sed 's|^\./||'); do
    a=$(git -C layer-charly-internals rev-parse "HEAD:.agents/skills/$s/$f")
    b=$(git -C .worktrees/contract-shelf/sdk rev-parse "HEAD:.agents/skills/$s/$f")
    printf '%-24s %-42s %s\n' "$s" "$f" "$([ "$a" = "$b" ] && echo SAME || echo CHANGED)"; done; done
capabilities             SKILL.md                                   SAME
ovmf                     SKILL.md                                   SAME
libvirt-renderer         SKILL.md                                   SAME
cloud-init-renderer      SKILL.md                                   SAME
generate-source          SKILL.md                                   CHANGED
generate-source          references/labels-and-caching.md           SAME
generate-source          references/multistage-and-intermediates.md CHANGED
generate-source          references/task-emission.md                CHANGED
local-infra              SKILL.md                                   SAME
skills                   SKILL.md                                   SAME

On 442156a the sha256/blob pairs were equal for all ten; the move commit is intact and remains
the evidence that the pages arrived verbatim, which is what a reviewer can check without trusting
this body:

$ git -C layer-charly-internals rev-parse HEAD:.agents/skills/capabilities/SKILL.md   → 0f41fdbfebf9…
$ git -C <this-branch> rev-parse 442156a:.agents/skills/capabilities/SKILL.md          → 0f41fdbfebf9…
$ sha256sum …/capabilities/SKILL.md                                                    → 6848140… (both ends at 442156a)

The citation correction (58e430b) — six real defects, found by a reviewer

Verbatim also means verbatim errors. A round-2 review found that the same file was described as
deleted in one place and live in another, and it was right. Reading every citation of an absent
path instead of grepping for the word "deleted" turned up six present-tense claims about paths that
no longer hold the thing they name. Each is now resolved against the live tree:

where claim corrected to
generate-source/references/multistage-and-intermediates.md charly/intermediates_shim.go "delegates to it" DELETED — the sibling page already said so; the two contradicted each other
same charly/config.go:ResolveBox sdk/buildkit/config_resolve.go:ResolveBox
same charly/format_config.go:BaseUserDef sdk/vmshared/spec_aliases.go's BaseUserDef (an alias of spec.BaseUser)
same charly/registry.go's InspectImageUser "remains as a fallback" the HOST-side probe is DELETED; the behaviour is live OUT-OF-PROCESS — plugin-build's inspectUserLeg → candy/plugin-oci/inspect_user.go over spec.ImageUserInput/UserInfo
references/task-emission.md + SKILL.md charly/layers.go:604 / charly/layers.go:Task spec/spec/cue_types_gen.go's Task — charly/layers.go has no Task and no line 604
references/task-emission.md charly/layers.go:TagPkgConfig.Raw sdk/deploykit/layer_model.go's TagPkgConfig
references/task-emission.md loadProjectPlugins at charly/host_build_buildengine.go:51 charly/plugin_loader.go

Every replacement was verified to exist and to contain the symbol:

$ grep -n 'func ResolveBox' .worktrees/contract-shelf/sdk/buildkit/config_resolve.go      → 63:
$ grep -n 'BaseUserDef'     .worktrees/contract-shelf/sdk/vmshared/spec_aliases.go        → 172:  BaseUserDef = spec.BaseUser
$ grep -n 'type TagPkgConfig' .worktrees/contract-shelf/sdk/deploykit/layer_model.go      → 16:   type TagPkgConfig = spec.TagPkgConfig
$ grep -n 'type Task struct' .worktrees/contract-shelf/spec/spec/cue_types_gen.go         → 11461: type Task struct {
$ grep -n 'func loadProjectPlugins' charly/charly/plugin_loader.go                        → 1262:

The audit that closes the class, not just the instances. Two rounds were blocked on citations
that read as live while the same page called them deleted, and line-level grepping is what let both
through: a removal qualifier for one path sits on the same line as an unqualified claim about
another ("moved from X; Y delegates to it"), or it wraps. So the check is now sentence-level —
join wrapped lines, split sentences, and require every sentence citing an absent charly/*.go path
to carry a removal qualifier:

$ python3 … (join wrapped lines → split sentences → require a qualifier per sentence)
absent paths: 35
sentences citing an absent path with NO removal qualifier: 0

054d14e is what that audit found after 58e430b: the Fallback path section still described
InspectImageUser in the present tense while the Source line declared that fallback deleted. The
truth is neither "live in charly" nor "gone" — the host-side function is gone, and the behaviour is
live out-of-process behind oci_op=inspect-user. The page and this body now say the same thing.

The path convention, stated once, because it is what made this hard. These pages cite the charly
kernel's Go files module-relative: charly/tasks.go means the file at charly/tasks.go inside
the charly repo, which is charly/charly/tasks.go from the umbrella root — the module root, where
charly/charly/go.mod lives. Under that reading 17 of the 52 cited charly/*.go paths are live
files and correctly cited, and the rest are historical entries that say in place that the file was
deleted or relocated. An earlier count in this body's history resolved them from the umbrella root,
found "0 exist", and was wrong; it is retracted at its source (opencharly/opencharly#609,
6360119496) and has no bearing on this diff.

The candy, and what it is not

sdk-skill-shelf is a CONCEPT candy: plan: is a true no-op plus a true check, it ships
no install content, and it composes no box. Its only job is to own routing metadata:

sdk-skill-shelf:
    candy: { … }
capabilities-skill:
    skill:
        name: capabilities
        family: internals
        owner: sdk-skill-shelf
        triggers: [ "OCI labels / capabilities contract" ]

Routing-only: name/family/owner plus the triggers: that generate the DISPATCHER.md row.
No inline description:/content: — the shape pod-ollama#7 and #612 both used. The prose
is the file, and an inline body that disagrees with its file is a hard error in the marketplace
generator. family stays internals, so every /charly-internals:<skill> address and the corpus
path <family>/skills/<name>/SKILL.md are unchanged.

Two things this candy is not, stated plainly rather than implied. Its second plan step is
command: "true" and asserts nothing — it is a validate-satisfying no-op, and the real
body-existence gate is charly box validate, proven to read these files by the negative control
below. And three of the seven nodes carry no triggers: at all — cloud-init-renderer,
libvirt-renderer, ovmf — because the carrier declared none for them: this PR preserves a
pre-existing absent triggers: rather than dropping one, and adding one would be a config change
(it emits a dispatcher row) that is not a relocation's business.

How the name respects the class rule. "Repo classes and naming" says bare names are for
core/contract repos — sdk is one, and this PR does not touch its name. What it adds is a
carrier candy inside a repo that already holds code, which that same section explicitly
sanctions. The name is chosen so it cannot be read as a product family: a family is a
layer-<family> repo, never a bare name, and product candies are bare nouns or
<noun>-layer/-full/-base — whereas sdk-skill-shelf states what it holds (this repo's skill
shelf) and carries the repo's own class in its prefix. It is deliberately not the retired
*-skills carrier-repo shape either: that class is a repo whose only content is prose, and
this is one node in a repo full of Go.

No OCI label entry. The candy composes nothing, so there is no image for CollectSkills to
project onto — measured, not asserted:

$ CHARLY_PLUGIN_ONLY=1 charly box list boxes
charly: resolving project (first run — may take a moment)...      rc=0   # zero boxes
$ CHARLY_PLUGIN_ONLY=1 charly box list candies
sdk-skill-shelf [testing]                                        rc=0

[testing] is the marker the existing charly-internals concept candy carries too (same command
in the carrier prints charly-internals [testing]), i.e. this is the sanctioned shape, not a new one.

How tested

The gate this diff requires: charly box validate at the repo root, the generated DISPATCHER.md
artifact
for the routing nodes, and the Go suite the change touches nothing of. Run from this
session's worktree with the worktree-local binary — charly version = 2026.295.1709, matching
charly source HEAD 9fd74793 (R9).

Before the change — the baseline that shows the manifest is what creates something to validate:

$ CHARLY_PLUGIN_ONLY=1 charly box validate
charly box validate: OK — checked nothing to check; 0 warnings, 0 errors     rc=0

After, on the corrected tree (58e430b, git status --porcelain = 0 lines):

$ CHARLY_PLUGIN_ONLY=1 charly box validate
charly box validate: OK — checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0

The gate can fail, and here it is failing — same command, one moved body taken away, which is
what proves it reads the seven new files instead of passing vacuously:

$ mv .agents/skills/capabilities /tmp/cs/capabilities.bak && CHARLY_PLUGIN_ONLY=1 charly box validate
rc=1
charly: error: command "validate": validation error: skills: skill "capabilities": 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 "sdk-skill-shelf"
$ mv /tmp/cs/capabilities.bak .agents/skills/capabilities    # restored; re-validate rc=0

The routing is proven by the emitted artifact, not asserted. A triggers: node is a CONFIG
change whose proof is the generated DISPATCHER.md row, so the generator was run on a minimal
root
carrying only the real family registry (pod-charly-hooks, which owns the marketplace:
entity) and the new sources:

$ cat /tmp/cs/min-root/candy/charly-marketplace/charly.yml   # the candy: list, verbatim
    - '@github.com/opencharly/pod-charly-hooks:v2026.290.1114'
    - '@github.com/opencharly/spec:v0.2026296.734'
    - '@github.com/opencharly/sdk:bcacc1b08fe704e3529d114f45a2636cc9071a94'

$ charly -C <marketplace-worktree> marketplace generate --root /tmp/cs/min-root --out /tmp/cs/min-root-out
rc=0
$ grep -cE "charly-internals:" /tmp/cs/min-root-out/DISPATCHER.md
6                                  # the four trigger-bearing sdk skills + the two spec ones;
                                   # ovmf / libvirt-renderer / cloud-init-renderer emit none
$ diff <(grep -E "$PAT" /tmp/cs/min-root-out/DISPATCHER.md) \
       <(grep -E "$PAT" <marketplace-worktree>/DISPATCHER.md) ; echo diff rc=$?
diff rc=0                          # the six emitted rows are BYTE-IDENTICAL to the corpus's rows

So routing is unchanged — the claim this PR makes, demonstrated on the generated artifact.

The module's own Go gates, unchanged by a diff that contains no .go file:

$ gofmt -l .                        → (empty)                                    rc=0
$ go build ./...                                                                 rc=0
$ go vet ./...                                                                   rc=0
$ go test ./...                     → 19 packages ok, 0 FAIL                     rc=0
$ GOTOOLCHAIN=go1.26.8 golangci-lint run --timeout 20m   → 0 issues               rc=0

The linter's toolchain, disclosed rather than hidden. The first golangci-lint run here
failed, and the RCA matters because the failure was not about this diff:

4 issues: * typecheck: 4
cmd/charly-lib-gen/main.go:20:2: could not import flag (… export data version 5 is greater than
maximum supported version 4 …)

Mechanism: this host's go is a custom go1.27.3-X:nodwarf5 build whose export-data format
is 5, while the pinned golangci-lint v2.13.2 reader supports 4 — so the type-checker cannot load
any package. Missed control: I first ran the linter under the host's default toolchain instead
of the repo's declared one. Blast radius: every Go repo on this host, on every tree. Root
fix:
run it under the toolchain go.mod names — go 1.26.8 — which is precisely what this
repo's CI does (go-version-file: go.mod). With GOTOOLCHAIN=go1.26.8: 0 issues, rc=0. The same
4 typecheck issues reproduce on the untouched baseline checkout (sdk at 2d50463, clean
tree), which classifies it as environmental and not a finding against this diff.

Not run, and why: no R10 bed, no image build, no charly task verify — this diff touches no
submodule, no gitlink and no pin, and nothing here executes at runtime. There is no
disposable: true target in this repo to run one on.

The corpus leg is producer-first and separate. @github.com/opencharly/sdk:<module-tag> joins
the marketplace refs list only AFTER this merges and tags, as a DIRECT ref —
plugin-marketplace#41 showed a skill reached only through the closure silently publishes whatever
tag a sibling happens to name.

Rulebook compliance

  • R0 — loaded /charly-internals:skills, /charly-internals:git-workflow,
    /charly-internals:cutover-policy, /charly-internals:go before the first edit, and read this
    repo's own AGENTS.md
    (Part II fix(kit): aur builder fails loudly on zero produced packages (R8) #4) before touching it.
  • R1 — the round-2 review's finding was a blocking defect and is fixed in this PR
    (58e430b), not deferred: six present-tense citations of paths the code had left. My own
    dead-citation figure was an instrument error and is retracted at its source
    (the skills-migration destination map is stale: 17 of 20 internals skills resolve to a repo the plan does not name opencharly#609 6360119496) rather than argued. The linter toolchain mismatch is
    RCA'd above as environmental, reproduced on the baseline. Zero warnings is what the gate printed.
  • R2 — this body has TWO homes until the carrier's copies are removed, and saying otherwise
    would be false: layer-charly-internals still declares all seven nodes. This PR is the ADD half
    of a producer-first cutover — the alternative ordering would put each skill in no repository for
    a window — and the REMOVE half belongs to the session that CLAIMED both carriers
    (Policy: a skill lives with the code it describes — retire the skills-only repo class (22 repos / 94 skills measured) opencharly#600 comment 6350478215). One home is restored by that leg, not by a claim
    here.
  • R3 — no workaround: no --no-verify, no suppression of a linter finding, and the toolchain
    was fixed by using the repo's DECLARED one rather than by pinning a different linter.
  • R4 — the product statement is the manifest itself: sdk now describes the project sdk is.
  • R5 — the six stale citations are corrected, and the three that survive as history say so in
    place (the former … is DELETED); the carrier's own nodes are removed by the REMOVE half, which
    keeps the content-existence invariant intact.
  • R6 — git status --porcelain was empty before the branch; no force-push, no push to main,
    no hook bypass; the head moved only by gh pr update-branch (a merge) and by one fix commit.
  • R7 — the gate's reach is proven by the negative control, "it is a move" by sha256 + git-blob
    equality on the move commit, and the routing by the emitted DISPATCHER.md rows.
  • R8 — no live-service boundary is crossed.
  • R9 — no Go change; the binary is the worktree-local build and its version matches the source HEAD.
  • R10 — change class below; the gates actually run are pasted above.

Change classification

Documentation-only (skill relocation) + one inert concept-candy node, plus a six-line citation
correction.
Seven authored trees arrive verbatim on 442156a; seven routing-only skill: nodes
are added carrying their existing triggers: (three of which the carrier left empty); one candy:
node is added whose plan: ships no install content; and 58e430b corrects six source citations
across three of the ten moved files. No runtime code, no schema, no package, no service, no port, no
OCI label, and no .go file in the diff. Gate: charly box validate (0 warnings, 0 errors), the
emitted DISPATCHER.md rows (byte-identical to the corpus's), the negative control, and the
byte-identity proof.

Filed issues

One coherence tension recorded, not fixed here. The moved pages carry dense "the former X is
DELETED"
history, while the skills skill this PR also ships says historical content belongs in
the repo's CHANGELOG/ and never in a skill. That is a pre-existing property of the carrier's
prose, and a verbatim move preserves it by construction; resolving it means rewriting the pages'
narrative voice, which is a separate, deliberate cutover on the skills in their new homes — not a
relocation, and not a thing to do silently inside one.

A3 — attribution evidence, as delivered in this session

The runtime's own system message reads, verbatim:

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

and

Current DeepSeek Harness implementation checkout: "/home/atrawog/.local/share/mise/installs/node/26.11.1/lib/node_modules/@deepseek-ai/dsh/".

Harness DeepSeek Harness, model deepseek-v4.1-flash — the pair the footer names. This runtime is
the one opencharly/opencharly#538 records as rejected by the validator's model allowlist even
though it is real and running; cited here so the A3 check can be read against that open defect
rather than as an unattributed model name.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

…ackages

The sdk owned no skills and was no charly project at all: `charly box validate`
here printed "checked nothing to check". AGENTS.md Part II #5 puts a skill in the
repo whose code it describes, and a skill's routing metadata is authored as a
`skill:` node beside a `candy:` node in the owning repo's `charly.yml` — so this
module needs a manifest before it can hold the seven skills whose source of truth
is a package in THIS module.

`charly.yml` is a minimal project manifest: `repo:` plus ONE CONCEPT candy,
`sdk-skill-shelf`, whose `plan:` is a `true` no-op and a `true` check. It ships no
install content, composes no box and appears in no image — so its `skill:` nodes
add NOTHING to any `ai.opencharly.skill` OCI label. No package, no service, no
port, no `plan:` step that executes anything real.

`.agents/skills` holds the seven trees byte-identically from
`layer-charly-internals`: `capabilities`, `cloud-init-renderer`,
`generate-source`, `libvirt-renderer`, `local-infra`, `ovmf`, `skills`. Each
documents a mechanism package of this module (`deploykit`, `vmshared`, `kit`,
`candywalk`); that destination was measured on the tree
(opencharly/opencharly#609, re-derived in #611), never read off a skill's prose.

The nodes are routing-ONLY: `name`/`family`/`owner` plus the `triggers:` the
carrier declared. `family` stays `internals`, so every `/charly-internals:<skill>`
address and the corpus path `<family>/skills/<name>/SKILL.md` are unchanged; no
`description:` or `content:` is inlined, because the prose is the FILE and an
inline body that disagrees with its file is a hard error in the marketplace
generator.

The Go build is untouched: no schema, no package, no Go file.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
@github-actions

Copy link
Copy Markdown

Review — PASS

What I re-derived from the current state

Body ↔ diff consistency (verifiable claims):

  • File count: the diff carries exactly 11 files, and the per-file + counts sum to 2015 with 0 deletions — matching the body's "11 files, +2015/−0".
  • "No .go file in the diff": confirmed — the change is 10 Markdown files plus one charly.yml. The body's claim that the Go suite is untouched is therefore structurally true.
  • The body's per-skill file table (capabilities 1, cloud-init-renderer 1, generate-source 4, libvirt-renderer 1, local-infra 1, ovmf 1, skills 1) matches the diff exactly: generate-source is the only one with a references/ split (3 reference files + SKILL.md = 4).
  • Every SKILL.md frontmatter name: agrees with its directory name (capabilities, cloud-init-renderer, generate-source, libvirt-renderer, local-infra, ovmf, skills) — the id↔frontmatter agreement the skills skill itself demands.
  • The seven routing nodes each carry family: internals and owner: sdk-skill-shelf, and no inline description:/content: — consistent with the body's "routing-only" claim. The sdk-skill-shelf candy is a plain (non-image) candy with a true run + true check, consistent with "ships no install content / composes no box".
  • Each of the seven skills does, in its own prose, cite a mechanism file that lives in this module (sdk/deploykit/capabilities.go, sdk/vmshared/ovmf_paths.go, sdk/vmshared/qemu_render.go, sdk/vmshared/cloud_init_render.go, sdk/deploykit/tasks_emit.go, sdk/deploykit/deploy_chain.go/sdk/kit/*, sdk/candywalk/skillfile.go/sdk/deploykit/skills_collect.go) — so the "home is decided by what the repo CONTAINS" routing rule is actually satisfied by the diff.

Honesty: The body is unusually detailed but internally consistent on every point the diff can check. The unverifiable evidence (sha256/git-blob equality against the carrier, charly box validate rc=0, the negative-control failure, Go-suite output) is presented as pasted command output; the carrier originals are not in this message, so byte-identity cannot be independently confirmed here — but nothing in the diff contradicts it, and the move claim is not load-bearing for whether the sdk repo correctly gains the skills.

Tests: Documentation-only change; the body names the right gate (charly box validate), supplies a negative control that shows the gate actually reads the seven new bodies, and correctly reports the Go suite as untouched rather than as a gate. That is the appropriate evidence for this change class.

Security: No secrets, no injection surface, no dependency additions, no runtime code. The only executable content is command: "true" no-ops in a concept candy. Nothing to flag.

Scope & cleanliness: The change is coherent (7 skill trees + one minimal manifest). The one real cleanliness concern is temporary duplication: the carrier copies in layer-charly-internals are not removed by this PR. That is structurally unavoidable here (the carrier is a different repo), and the body classifies it correctly (R5 "ADD half", R2 producer-first removal tracked via #600), with the marketplace ref deliberately deferred until after merge/tag. I treat it as a tracked follow-up, not a defect of this diff. Likewise the stale charly/*.go prose carried inside the moved files is explicitly filed (#609) and deliberately not fixed here so the "pages do not change" evidence stays valid.

Comments: There are 0 comments; nothing to disposition.

Non-blocking notes (recorded, not gating)

  • Three of the seven routing nodes (cloud-init-renderer-skill, libvirt-renderer-skill, ovmf-skill) carry no triggers:, so they will not emit a DISPATCHER.md row (they remain loadable by their frontmatter description and by explicit /charly-internals:<name> address). The body's "carrying their existing triggers:" phrasing is loose if those three previously had triggers; worth confirming against the carrier's charly.yml during the removal session.
  • The byte-identity / validation-output claims rest on pasted evidence that cannot be re-executed from this context; the diff itself is coherent regardless.
  • The cross-repo ordering (sdk add → carrier removal → marketplace pin) must actually be followed, or the same internals/<name>/SKILL.md corpus path could be sourced from two repos simultaneously.

None of these rise to a correctness, security, or scope failure in this PR's own content.

Verdict: PASS


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

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — answering all three non-blocking notes before the catch-up, then catching the branch up to main (it is BEHIND, so gh pr update-branch is the remedy; that moves the head, so the body is re-keyed FIRST, in the same batch).

Note 1 — "three routing nodes carry no triggers: … the body's phrasing is loose if those three previously had triggers." Correct that it needed checking; measured, and the answer is that they never had any. Field-comparing the carrier's charly.yml at its HEAD against this branch's, for all seven skills:

$ python3 - <<'PY'   (yaml.safe_load of both manifests, comparing (family, triggers) per skill)
skill                  family carrier→new     triggers carrier→new
capabilities           internals→internals    SAME  n=1→1
cloud-init-renderer    internals→internals    SAME  n=0→0
generate-source        internals→internals    SAME  n=1→1
libvirt-renderer       internals→internals    SAME  n=0→0
local-infra            internals→internals    SAME  n=1→1
ovmf                   internals→internals    SAME  n=0→0
skills                 internals→internals    SAME  n=1→1

ALL ROUTING IDENTICAL: True
nodes with no triggers: ['cloud-init-renderer', 'libvirt-renderer', 'ovmf']

So the three were already trigger-less in the carrier, in a file whose own charly.yml is the record:

$ git -C layer-charly-internals show HEAD:charly.yml | grep -A4 '^ovmf-skill:'
ovmf-skill:
    skill:
        name: ovmf
        family: internals
        owner: charly-internals              # ← no `triggers:` key at all

This PR therefore changes no routing: it preserves a pre-existing absent triggers: rather than dropping one. Adding a triggers: here would be a config change (it emits a DISPATCHER.md row) and is not this PR's scope — and it would be a new claim, not a move. Whether ovmf, libvirt-renderer and cloud-init-renderer ought to have triggers is a separate question and the honest answer is that it is the umbrella AGENTS.md dispatcher's call, not a relocation's; the umbrella dispatcher currently routes that whole area through /charly-internals:vm-spec, /charly-internals:install-plan and /charly-internals:plugin, so nothing is unrouted today — those three are reachable by /charly-internals:<name> and by their frontmatter description:.

Note 2 — byte-identity and validation output are pasted, not re-executable from the review context. Fair, and unavoidable for the carrier half: layer-charly-internals is a different repository, so it cannot appear in this diff. The commands are given verbatim in the body precisely so they can be re-run; the sdk half of every one of them is reproducible against this branch alone:

$ git -C <sdk-clone> rev-parse HEAD:.agents/skills/capabilities/SKILL.md
0f41fdbfebf9…                    # equals the blob in the carrier, per the body's table
$ CHARLY_PLUGIN_ONLY=1 charly box validate ; echo rc=$?
charly box validate: OK — checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0

Note 3 — the cross-repo order must actually be followed, or two repos would source the same internals/<name>/SKILL.md. Agreed, and it is being followed in exactly that order. Measured right now:

leg state
opencharly/spec#270 — the 2 spec skills MERGED 965b37f6, tag v0.2026296.734 (git ls-remote --tags origin → 965b37f)
opencharly/sdk#452 — this PR, the 7 sdk skills OPEN, PASSed, auto-merge armed, BEHIND → catching up now
layer-charly-internals removal half belongs to the session that CLAIMED both carriers (opencharly/opencharly#600 comment 6350478215)
marketplace DIRECT refs WAITING on BOTH merges — it is not touched until this PR merges and tags

Until the carrier's copies are removed the same skill name IS reachable from two pinned repos, which is why the corpus ref for sdk is deliberately withheld rather than added early: adding it now would give plugin-marketplace's (Kind, Name) dedupe a tie to break by tag comparison, and the published body would be decided by whichever CalVer happened to be higher — not by ownership. When the ref does go in it will be DIRECT (plugin-marketplace#41), which is what makes this list the authority instead of leaving it to a sibling's tag.

The catch-up that follows this comment is gh pr update-branch (a merge, never a rebase, never a force-push). It re-runs the required gate on the new head; the content commit 442156a is unchanged, so the reviewed diff is unchanged apart from what main brought in.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

@github-actions

Copy link
Copy Markdown

Review — BLOCK

I reviewed all 11 changed files. The relocation itself is structurally coherent: 7 skill trees plus one charly.yml, +2015/−0, no .go files, frontmatter names matching their directories, generate-source correctly carrying 3 references/*.md, routing nodes with no inline description:/content:, and a concept candy whose plan: is a no-op. The github-actions PASS comment is not a maintainer sign-off and does not override the findings below.

Blocks

  1. Known-false source citations are being added, contrary to the PR’s own new skills skill.

    • Files: .agents/skills/generate-source/SKILL.md, .agents/skills/generate-source/references/*.md, .agents/skills/local-infra/SKILL.md, .agents/skills/capabilities/SKILL.md, and others.
    • Evidence: the body itself admits 52 dead charly/*.go citations across the moved skills. Concrete examples in the diff include generate-source citing charly/tasks.go, charly/layers.go:604, charly/config.go:ResolveBox, and charly/registry.go:InspectImageUser; local-infra citing charly/unified_targets.go; the body says none of the 52 paths exists.
    • The added .agents/skills/skills/SKILL.md says a doc/skill divergence is an R1 incident that must be swept and fixed in the current cutover, blocking. The body defers this to fix(build): a declared builder that cannot run is a hard failure, for every format #609. That is a direct contradiction of the rulebook the PR itself ships.
    • Required fix: add a follow-up commit fixing or removing the stale citations in this PR. The byte-identical move commit can remain as the move evidence; a second commit does not falsify it. Alternatively, explicitly justify an exception to the R1 rule rather than claiming compliance.
  2. Routing metadata is added without the required generated-artifact proof.

    • File: charly.yml adds triggers: on capabilities-skill, generate-source-skill, local-infra-skill, and skills-skill.
    • The added .agents/skills/skills/SKILL.md says adding triggers: is a CONFIG change, that charly box validate does not prove routing, and that the proof is the emitted DISPATCHER.md row from charly marketplace generate on a minimal root.
    • The body’s “How tested” only runs charly box validate and the Go suite; it pastes no emitted dispatcher rows. The author comment asserts “no routing change”, but that is exactly the claim needing evidence.
    • Required fix: run the generator on a minimal root carrying the seven skill entities and paste the emitted rows, or prove the rows are byte-identical to the carrier’s existing rows. If no routing change is intended, state that explicitly and show it.
  3. The body’s R2 claim contradicts the actual cross-repo state.

    • Body: “R2 — one home per body.”
    • Author comment 6359977835: “Until the carrier’s copies are removed the same skill name IS reachable from two pinned repos.”
    • The diff adds the sdk copies while the carrier copies remain. There are two homes until the removal PR lands. The body should not claim R2 compliance without acknowledging the temporary duplication.
    • Required fix: correct the body to state the temporary duplicate and the producer-first removal ordering, or remove the R2 claim.

Non-blocking notes

  • The body says “seven routing-only skill: nodes … carrying their existing triggers:”; three nodes (cloud-init-renderer, libvirt-renderer, ovmf) have no triggers: at all. The author comment clarifies they never had any, but the body should say so explicitly.
  • sdk-skill-shelf’s check sdk-skill-shelf-present is command: "true" and does not assert presence. The inline comment admits this. It is a validate-satisfying no-op, not a real check.
  • The filed-issue arithmetic is inconsistent as written: 52 distinct paths vs listed per-skill counts 2+12+10+32+3 = 59. Clarify whether the per-skill counts include cross-skill duplicates.
  • The body’s linter command omits GOTOOLCHAIN=go1.26.8, while the RCA says that environment is required to get 0 issues.

Verdict: BLOCK


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

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — round 2: RCA first, then all three blocks answered, then the body rewritten. No code or content change is owed this round (see Block 1 and Block 2 — both resolve on measurement, not on an edit), so this is a body-only round and the gate is re-run with a REST re-run of the failed run rather than a commit that would move the head for nothing.

RCA — why my own pre-push gate let all three blocks through

Block 1's root cause is a broken instrument, not a contested judgement. I reported "52 dead charly/*.go citations, 0 of which exists" and put that number in the PR body and on opencharly/opencharly#609. It is wrong. The skills cite charly/tasks.go meaning repo charly, path tasks.go — the same convention as sdk/deploykit/capabilities.go — and the charly repo's Go module is at charly/charly/ inside it, so the path resolves one level below what I tested:

$ ls -d charly/charly ; ls charly/charly/go.mod
charly/charly
charly/charly/go.mod                    # module root; there is no charly/go.mod
$ test -e charly/tasks.go       ; echo rc=$?
rc=1                                    # what I measured — WRONG root
$ test -e charly/charly/tasks.go; echo rc=$?
rc=0                                    # what the prose names — EXISTS

Re-measured over the same 52: 17 exist at charly/charly/ (including every citation this review named as evidence — charly/tasks.go, charly/layers.go, charly/unified_targets.go), 35 are absent. Retracted in full on #609 (6360119496), because a number I published must not be left standing.

Missed controls, and where the root fix goes:

  1. The instrument was never validated against a positive control. I tested 52 paths and asserted "0 exist" without first proving the resolver finds a file I KNOW is there. That one assertion is cheap and would have caught it instantly. Root fix: every existence claim now leads with a positive control on the same resolver.
  2. I measured at one scope and wrote the sentence at another — the exact failure /charly-internals:skills ("The replacement claim carries the removal's burden of proof") records four times: measuring or reasoning at one scope, then describing another. Root fix: re-derive a metric at the scope its sentence names, and treat the repo-relative convention (first segment = repo) as part of the scope.
  3. I skipped the skill's own false-positive filter list — it names substring artifacts and prose anti-pattern examples as classes to filter before flagging; I filtered charly/foo.go and then trusted the rest of the sweep.
  4. I treated charly box validate as the gate for a triggers: node. It is not — /charly-internals:skills says a triggers: change alters a GENERATED artifact whose proof is the emitted DISPATCHER.md row. Root fix: Block 2 below is that proof, produced before this comment.

Block 1 — known-false source citations

Withdrawn: the premise was my own bad number. Re-measured, the moved prose contains no citation of an absent file presented as a current home, in the sdk-resident skills at all:

  • 17 of the 52 cited charly/*.go paths exist at charly/charly/<file> — live, correctly cited under the repo-relative convention.
  • 35 are absent, and every one is qualified in the prose as gone: "the former \charly/classi­fication.go` is DELETED, K-wave 2"(disposable:78),"relocated from `charly/generate.go` in feat(sdk): K6 status-fanout op — verb:status-fanout wire selector #67"(generate-source:13),"moved from `charly/install_ledger.go`"(local-infra:24),"the former `charly/shell_profile.go` is DELETED"(local-infra:26). A historical entry that says where the entity went is CORRECT prose, and is what theskills` skill's audit asks for.
  • The two that a line grep reads as unqualified are in the already-merged spec skills, and are qualified across a wrap:
install-plan/references/deploy-targets.md:37-39
… + `grpcSubstrateLifecycle` (`charly/substrate_lifecycle_grpc.go`, 374 lines) — both
DELETED, along with `charly/deploy_preresolve.go`'s `wireDeployPreresolver` …

So the request's two alternatives both apply cleanly and I am taking the second one explicitly, as the review invited: there is no exception to justify, because there is no false citation to fix. No fix commit for Block 1, and none owed. If a later round reads a specific line as false, quote it and I will fix that line in that round.

The one genuine defect my sweep did find was in my own reporting, and it is retracted at its source.

Block 2 — routing without the generated-artifact proof

Supplied now, and it is the mechanism the skills skill prescribes: a minimal root carrying the real family registry (pod-charly-hooks, which owns the marketplace: entity) plus the two new sources and nothing else, generated with the repo's own generator:

$ charly -C <marketplace-worktree> marketplace generate --root /tmp/cs/min-root --out /tmp/cs/min-root-out
rc=0
$ # min-root/candy/charly-marketplace/charly.yml candy: list, verbatim:
    - '@github.com/opencharly/pod-charly-hooks:v2026.290.1114'
    - '@github.com/opencharly/spec:v0.2026296.734'
    - '@github.com/opencharly/sdk:bcacc1b08fe704e3529d114f45a2636cc9071a94'

The emitted rows for the six trigger-bearing skills:

$ grep -E "charly-internals:(capabilities|generate-source|local-infra|skills|install-plan|disposable)\`" /tmp/cs/min-root-out/DISPATCHER.md
| OCI labels / capabilities contract | `/charly-internals:capabilities` |
| Disposable-flag semantics / `disposable: true` authorization / preemptible-flag / `requires_exclusive:` / `charly preempt` / exclusive host-resource arbitration (GPU passthrough contention) | `/charly-internals:disposable` |
| `charly box build` / `charly box generate` / Containerfile | `/charly-internals:generate-source` |
| IR / InstallPlan / EmitTarget / OCITarget | `/charly-internals:install-plan` |
| local-target deploy / `target: local` / `host: local` (default) / SSH-host deploys / `user:` / `ssh_arg:` | `/charly-internals:local-infra` |
| Skill authoring / skill maintenance / where does this doc content belong | `/charly-internals:skills` |

And they are byte-identical to the corpus's existing rows, which is the "no routing change" claim actually demonstrated:

$ diff <(grep -E "$PAT" /tmp/cs/min-root-out/DISPATCHER.md) \
       <(grep -E "$PAT" <marketplace-worktree>/DISPATCHER.md)
diff rc=0                                 # empty
$ grep -cE "charly-internals:" /tmp/cs/min-root-out/DISPATCHER.md
6                                         # the four trigger-bearing sdk skills + the two spec ones;
                                          # ovmf / libvirt-renderer / cloud-init-renderer emit none

So: routing is unchanged, proven by the emitted artifact rather than asserted. The three trigger-less skills are stated explicitly in the body now (note 1), and sdk-skill-shelf-present's command: "true" is stated as what it is — a validate-satisfying no-op whose real gate is charly box validate (note 2).

Block 3 — the R2 claim

Correct, and fixed in the body: it no longer claims "one home per body". It states that the body has two homes until the carrier's removal lands, that this PR is the ADD half of a producer-first cutover (the alternative would put the content in no repository for a window), and that the removal belongs to the session that claimed both carriers. The word "R2" is kept only next to that admission, never as a bare compliance claim (note 3).

Non-blocking notes

  • 52 vs 2+12+10+32+3 = 59 (note 3): the per-skill figures double-count 7 paths that two skills cite in common; 59 − 7 = 52 union. Both numbers are now labelled as such in the body, and both are subordinate to the retraction — the 52 is a citation count, and 17 of them are live files.
  • Linter command omits GOTOOLCHAIN (note 4): the body now shows the exact command, GOTOOLCHAIN=go1.26.8 golangci-lint run --timeout 20m, with the RCA for why the host default fails.

The gate re-run is a REST re-run of the failed run on bcacc1b — no new commit, because a commit would move the head without changing the tree, and the two blocks that looked like code findings are measurement findings.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

@github-actions

Copy link
Copy Markdown

Review — BLOCK

I re-derived the mechanical claims from the current diff before weighing the comments.

Verified against the diff (holds):

  • 11 files, +2015/−0: the per-file additions sum to exactly 2015 (148+196+86+160+199+121+235+66+92+614+98), and every file is a pure addition. Body's "11 files, +2015/−0" is accurate.
  • "No .go file": true — 10 Markdown files + one charly.yml.
  • Per-skill file table (capabilities 1, cloud-init-renderer 1, generate-source 4, libvirt-renderer 1, local-infra 1, ovmf 1, skills 1) matches the diff; generate-source is the only references/ split (SKILL.md + 3 refs).
  • Every SKILL.md frontmatter name: agrees with its directory id.
  • Seven skill: nodes, all family: internals, owner: sdk-skill-shelf, none with inline description:/content: — routing-only, as claimed.
  • sdk-skill-shelf is a non-image candy whose plan: is run: true + check: true, consistent with "ships no install content"; the check being a no-op is now stated in the body.

Comments dispositioned:

  • 6359847223 (bot PASS): stale — it states "0 comments" and predates the three later comments; not a maintainer sign-off; superseded.
  • 6359977835 (author STATUS): claims (routing identical, byte-identity, cross-repo ordering) are consistent with the current body; nothing contradicted by the diff.
  • 6360018497 (bot BLOCK): its three blocks are, on the current body, answered — Block 1 by the fix(build): a declared builder that cannot run is a hard failure, for every format #609 retraction/re-measurement, Block 2 by the pasted minimal-root DISPATCHER.md rows claimed byte-identical, Block 3 by the explicit "two homes until the carrier's removal" admission. Its non-blocking notes (three trigger-less nodes, no-op check, 52-vs-59, GOTOOLCHAIN) are now each stated in the body.
  • 6360122882 (author round 2): the RCA and answers are coherent with the current body.

Blocks

  1. The body's load-bearing "this PR adds no known-false citation" claim is falsified by the diff itself.
    • Files: .agents/skills/generate-source/SKILL.md vs .agents/skills/generate-source/references/multistage-and-intermediates.md.
    • Evidence — the same file is described as deleted in one place and live in another:
      • generate-source/SKILL.md: "sdk/deploykit/intermediates.go (moved from charly/intermediates.go; the former charly/intermediates_shim.go is DELETED, K-wave 2)".
      • multistage-and-intermediates.md: "ComputeIntermediates in sdk/deploykit/intermediates.go (moved from charly/intermediates.go; charly/intermediates_shim.go delegates to it)" — present tense, i.e. cited as a live file.
        These are irreconcilable: one of the two files carries a false citation regardless of ground truth. The body asserts "the 35 [absent citations] are… every one qualified in the prose as gone" and "this PR adds no known-false citation" — the diff contains a counterexample in an sdk skill, not the "already-merged spec skills" the body scopes the exception to.
    • Additionally, multistage-and-intermediates.md cites charly/config.go:ResolveBox, charly/format_config.go:BaseUserDef, and charly/registry.go:InspectImageUser as present-tense live sources with no "gone" qualification, and none of the three appears in the body's enumerated list of 17 live files. Either the 17-list is incomplete (body inaccurate) or these are further unqualified absent citations (the exact class the review flagged).
    • Required fix: correct or qualify these citations in the moved pages (or, if they are genuinely live, correct the body's enumeration and the "no false citation" claim). Note the shipped .agents/skills/skills/SKILL.md itself mandates exactly this — a doc/code divergence is an R1 incident to be swept and fixed in the current cutover, blocking — so the body cannot simultaneously claim compliance and defer it.

Non-blocking notes

  • The PR ships .agents/skills/skills/SKILL.md, which states "Historical / version-history content … → the repo's CHANGELOG/, never a skill," while the moved pages are dense with "the former X is DELETED, K-wave 2" history. That is a genuine coherence tension between the shipped rulebook and its own content; a verbatim move preserves it, but the body should at least acknowledge it rather than present the corpus as fully rule-consistent.
  • sdk-skill-shelf-present's check: is command: "true" and asserts nothing — correctly disclosed in the body, so not a finding, only noted.

The relocation, the concept candy, the routing-only node shape, the generated-artifact evidence, and the two-homes admission are all sound; the single blocking item is the body's absolute "no false citation" claim, which the diff contradicts.

Verdict: BLOCK


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

View action run

…ode left

The move commit 442156a added these seven skill trees byte-identically from
layer-charly-internals, which is what makes it evidence that the pages did not
change. Verbatim also means verbatim errors, and six source citations were
present-tense claims about paths that no longer hold the thing they name. They
are corrected here, in a second commit, so the move proof and the correction are
each honest rather than traded against each other.

Each correction was resolved against the live tree, not guessed:

- `charly/intermediates_shim.go` "delegates to it" -> it is DELETED (K-wave 2).
  The sibling page SKILL.md:82 already said so; the two pages contradicted each
  other and only one can be right.
- `charly/config.go:ResolveBox` -> `sdk/buildkit/config_resolve.go:ResolveBox`.
- `charly/format_config.go:BaseUserDef` -> `sdk/vmshared/spec_aliases.go`'s
  `BaseUserDef`, an alias of `spec.BaseUser`; the file is deleted.
- `charly/registry.go`'s `InspectImageUser` fallback -> it is gone; the adopted
  user is read off the resolved box.
- `charly/layers.go:604` / `charly/layers.go:Task` -> the `Task` struct is
  `spec/spec/cue_types_gen.go`'s, CUE-generated; `charly/layers.go` no longer
  carries it (nor line 604).
- `charly/layers.go:TagPkgConfig.Raw` -> `sdk/deploykit/layer_model.go`'s
  `TagPkgConfig`, an alias of `spec.TagPkgConfig`.
- `loadProjectPlugins` at `charly/host_build_buildengine.go:51` ->
  `charly/plugin_loader.go` (module-relative, the same convention the pages
  already use for `charly/tasks.go`).

The remaining `charly/*.go` citations in these pages are either live files
(`charly/tasks.go`, `charly/unified_targets.go`, `charly/provider.go`, … — the
charly module lives at `charly/charly/`, so `charly/tasks.go` resolves there) or
historical entries that say, in place, that the file was deleted or relocated.

`charly box validate` on this tree: 1 candy, 0 warnings, 0 errors, rc=0.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — round 3. The round-2 BLOCK was correct, and it found a real defect that my own audit had missed. Fixed in 58e430b (3 files, +6/−6), with the body rewritten for the new head.

RCA — why my pre-push audit passed a defect the reviewer then found

Mechanism. generate-source's two pages contradicted each other about the same file: SKILL.md:82 said "the former charly/intermediates_shim.go is DELETED, K-wave 2", while references/multistage-and-intermediates.md:75 said "charly/intermediates_shim.go delegates to it" — present tense, i.e. live. Only one can be true, and the file does not exist. Reading them together would have settled it in seconds.

Missed control — the same instrument error, third form. My audit filtered citing LINES on the presence of a qualifier word (deleted|relocated|moved|former|…) and then treated a surviving line as "qualified". That test is wrong in exactly the case that bit: line 75 contains "moved from" — qualifying a different path (charly/intermediates.go) on the same line — so the filter suppressed the line while the sentence it also contained (delegates to it) was unqualified and false. The same mechanism let multistage:198 through: "relocated in #67" qualifies the sdk/ path beside three unqualified charly/ paths.

Root fix, applied in this round. Read the claim, not the line: every one of the 28 distinct lines citing an absent path was printed and read in full. That produced six defects, not zero, and each is now resolved against the live tree (symbol grep at the new location, not a filename guess):

$ grep -n 'func ResolveBox'      .../sdk/buildkit/config_resolve.go      → 63:
$ grep -n 'BaseUserDef'          .../sdk/vmshared/spec_aliases.go        → 172: BaseUserDef = spec.BaseUser
$ grep -n 'type TagPkgConfig'    .../sdk/deploykit/layer_model.go        → 16:  type TagPkgConfig = spec.TagPkgConfig
$ grep -n 'type Task struct'     .../spec/spec/cue_types_gen.go          → 11461: type Task struct {
$ grep -n 'func loadProjectPlugins' charly/charly/plugin_loader.go       → 1262:

And one thing the reviewer inferred that is not so, recorded because it changes nothing about the fix: local-infra's two charly/unified_targets.go citations are correct — pluginDeployTarget is declared at charly/charly/unified_targets.go:49. My earlier note that it had moved came from a grep … | head -4 that truncated the match list, which is the same class of error in a fourth disguise.

Blast radius and what is NOT owed. The defect is confined to generate-source; the other six skill trees cite nothing absent without a qualifier. The already-merged spec#270 pages (install-plan, disposable) carry only qualified historical entries — the two lines a grep reads as unqualified there are qualified across a wrap (… — both\nDELETED), and that is noted in the correction comment on #270.

Two proofs are kept separate on purpose. 442156a remains the byte-identical move (all 10 blobs equal to the carrier — re-verified at that commit, not inferred), and 58e430b is the correction, which necessarily changes 3 of those 10 files. The body now prints both states so neither proof has to be taken on trust.

The push that follows carries that single fix commit and the rewritten body. charly box validate on the corrected tree: checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors, rc=0.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

@github-actions

Copy link
Copy Markdown

Review — BLOCK

I re-derived every mechanical claim in the body against the current 11-file diff before weighing the comments.

Verified against the diff (holds):

  • 11 files, +2015/−0: per-file additions sum exactly to 2015 (148+196+86+160+199+121+235+66+92+614+98), every file a pure addition. Body's stat line is accurate.
  • "No .go file": true — 10 Markdown files + one charly.yml.
  • Per-skill file table matches: generate-source is the only references/ split (SKILL.md + 3 refs = 4 files); all others single-file. Total markdown = 10.
  • Every SKILL.md frontmatter name: agrees with its directory id (capabilities, cloud-init-renderer, generate-source, libvirt-renderer, local-infra, ovmf, skills).
  • Seven skill: nodes, all family: internals, owner: sdk-skill-shelf, none carrying inline description:/content: — routing-only as claimed. sdk-skill-shelf is a non-image candy whose plan: is run: "true" + check: "true", and the body now states plainly that the check is a validate-satisfying no-op.
  • Four trigger-bearing nodes, three trigger-less — matches the body's "three of the seven nodes carry no triggers:" disclosure.
  • Each of the seven skills cites at least one mechanism file this module actually holds (sdk/deploykit/capabilities.go, sdk/vmshared/ovmf_paths.go, sdk/vmshared/qemu_render.go, sdk/vmshared/cloud_init_render.go, sdk/deploykit/tasks_emit.go, sdk/deploykit/deploy_chain.go/sdk/kit/*, sdk/candywalk/skillfile.go/sdk/deploykit/skills_collect.go) — the "home is decided by what the repo contains" routing rule is satisfied by the diff.
  • The six citation corrections listed in the body are, with one exception, actually present in the diff: intermediates_shim.go → "DELETED"; charly/config.go:ResolveBox → sdk/buildkit/config_resolve.go:ResolveBox; charly/format_config.go:BaseUserDef → sdk/vmshared/spec_aliases.go's BaseUserDef; charly/layers.go:604/Task → spec/spec/cue_types_gen.go's Task; charly/layers.go:TagPkgConfig.Raw → sdk/deploykit/layer_model.go's TagPkgConfig; loadProjectPlugins → charly/plugin_loader.go.

Comments dispositioned:

  • 6359847223 (bot PASS): stale — states "0 comments", predates the three later rounds; not a maintainer sign-off; superseded.
  • 6359977835 (author STATUS): routing-identical and cross-repo-ordering claims are consistent with the current body; self-report, not sign-off.
  • 6360018497 (bot BLOCK): its three blocks are answered by the current body — Block 1 by the fix(build): a declared builder that cannot run is a hard failure, for every format #609 retraction/re-measurement, Block 2 by the pasted minimal-root DISPATCHER.md rows, Block 3 by the explicit "two homes until the carrier's removal" admission. Non-blocking notes each now stated in the body.
  • 6360122882 (author round 2): RCA and answers coherent with the body.
  • 6360147261 (bot BLOCK): its central finding — a deleted/live contradiction for charly/intermediates_shim.go — is now genuinely fixed in the diff (multistage-and-intermediates.md says "DELETED"). The config.go/format_config.go/registry.go citations it named are corrected in the Source lines.
  • 6360233618 (author round 3): claims the six defects are all resolved against the live tree; this is where the residual below bites.

Blocks

  1. One of the six "corrected" citations is only half-corrected, leaving the same deleted/live contradiction the body claims to have fixed.
    • File: .agents/skills/generate-source/references/multistage-and-intermediates.md.
    • Evidence: the section heading and paragraph still describe the removed fallback as live —
      ### Fallback path: registry.go:InspectImageUser … "InspectImageUser remains as a fallback for bases without a base_user: declaration."
      — while the Source line on the same page (and the body's correction table) says the opposite: "charly/format_config.go is DELETED, and with it the charly/registry.go InspectImageUser fallback — the adopted user is read off the resolved box, not inspected from an image."
      This is a present-tense claim about a path/behaviour the same page and the body both declare gone — exactly the defect class round 2 blocked on, and exactly what the body's "Each is now resolved against the live tree" asserts is fixed.
    • Required fix: rewrite the "Fallback path" section so it states the fallback was removed (or qualifies it as historical, consistent with the Source line), or, if InspectImageUser genuinely still exists somewhere, cite that live location and correct the body's table and the Source line accordingly. The page and the body must agree.

The relocation, the concept candy, the routing-only node shape, the generated-artifact evidence, and the two-homes admission are otherwise sound. The single blocking item is the body's "all six citations resolved" claim, which the diff contradicts in multistage-and-intermediates.md.

Verdict: BLOCK


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

View action run

… gone

Round 3 corrected six citations but left this page contradicting itself: the
"Fallback path" section still described `InspectImageUser` in the present tense
while the Source line three paragraphs down declared that same fallback deleted.
A reader could act on either — that is the defect class this PR keeps meeting, and
the page and the body have to agree.

Resolved against the live tree rather than guessed, and the answer is neither
"live in charly" nor "gone":

- `InspectImageUser` as a host-side function in `charly/registry.go` is gone (the
  identifier survives only in a seam comment).
- The BEHAVIOUR is live and moved out of core: `plugin-build`'s `inspectUserLeg`
  (`candy/plugin-build/resolve_legs.go`) calls
  `InvokeProvider("verb","oci", sdk.OpRun, …)` with `env {"oci_op":
  "inspect-user"}`, served by `candy/plugin-oci/inspect_user.go` over the
  `spec.ImageUserInput` -> `spec.UserInfo` contract in
  `spec/spec/cue_types_gen.go`.

So the section is retitled to the op that actually serves it, keeps the
declarative `base_user:` preference intact, and states both halves: the probe is
live out-of-process, the host-side implementation is DELETED. The Source line now
points at "Fallback path" instead of contradicting it.

Audit that closes the class rather than this instance: a sentence-level pass over
all ten moved pages — join wrapped lines, split sentences, and require every
sentence citing an absent `charly/*.go` path to carry a removal qualifier —
reports **0** violations (35 absent paths, measured). Line-level grepping is what
let the last two rounds through; a qualifier for one path sits on the same line as
an unqualified claim about another, and it sits across a wrap.

`charly box validate`: 1 candy, 0 warnings, 0 errors, rc=0.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — round 4. The third BLOCK was again correct: round 3 corrected six citations but left multistage-and-intermediates.md contradicting itself, and the reviewer quoted both halves. Fixed in 054d14e (1 file, +3/−3).

RCA — why the round-3 fix was half a fix

Mechanism. My round-3 correction rewrote the page's Source line to say the InspectImageUser fallback was deleted. Three paragraphs above it, a section titled ### Fallback path: registry.go:InspectImageUser still said the fallback "remains" — present tense. So the page asserted both states, and a reader could act on either. I fixed the citation I had found and never re-read the page around it.

Missed control. My round-3 audit was scoped to lines that cite an absent path. The Fallback path heading names registry.go:InspectImageUser — not charly/registry.go, so it never entered the enumeration — and its body sentence says "InspectImageUser remains as a fallback" with no path at all, because the path was already in the heading. Both were invisible to a path-keyed sweep. Root fix: audit the PAGE for internal contradiction, not the path list — which is the sentence-level pass now in the body (join wrapped lines → split sentences → require a removal qualifier per sentence citing an absent path; 0 violations over 35 absent paths).

Ground truth, resolved rather than guessed. The reviewer offered two branches ("states the fallback was removed (or qualifies it as historical), or, if it genuinely still exists, cite that live location"). Neither alone is right:

$ grep -rn --include='*.go' "func InspectImageUser" charly/charly sdk spec   → (nothing; the identifier survives only in a seam comment)
$ grep -rn --include='*.go' "inspect-user" plugin-build plugin-oci
plugin-build/candy/plugin-build/resolve_legs.go:332: func inspectUserLeg(...)   // InvokeProvider("verb","oci", …, {"oci_op":"inspect-user"})
plugin-oci/candy/plugin-oci/inspect_user.go:7:      // oci_op=inspect-user (a spec.ImageUserInput in, a spec.UserInfo out).

The host-side implementation is gone; the behaviour is live out-of-process. So the section is retitled to the op that serves it and now states both halves, and the Source line points at it instead of contradicting it.

Disposition of the rest. Nothing else in the round-3 verdict was contested: the six corrections were confirmed present in the diff, the routing evidence and the two-homes admission were accepted, and the non-blocking note about "history in a skill" is recorded in the body as a known coherence tension rather than silently presented as rule-consistent.

charly box validate on 054d14e: checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors, rc=0.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

@github-actions

Copy link
Copy Markdown

Review — PASS

What I re-derived from the current state (the diff, not the prose)

Mechanical claims — all hold.

  • 11 files, +2015/−0. The per-file additions sum exactly to 2015 (148+196+86+160+199+121+235+66+92+614+98), and every file is a pure addition. The body's stat line is accurate.
  • "No .go file." True — 10 Markdown files plus one charly.yml.
  • Per-skill file table. generate-source is the only references/ split (SKILL.md + 3 refs = 4 files); the other six are single-file. Matches the body exactly.
  • Frontmatter id agreement. Every SKILL.md name: equals its directory id (capabilities, cloud-init-renderer, generate-source, libvirt-renderer, local-infra, ovmf, skills).
  • Routing-only nodes. Seven skill: nodes, all family: internals, owner: sdk-skill-shelf, none carrying inline description:/content:. sdk-skill-shelf is a non-image concept candy whose plan: is run: "true" + check: "true", and the body states plainly that the check asserts nothing. Four nodes carry triggers:, three do not — matching the body's disclosure.
  • Home is decided by contents. Each of the seven skills cites a mechanism file this module actually holds (sdk/deploykit/capabilities.go, sdk/vmshared/ovmf_paths.go, sdk/vmshared/qemu_render.go, sdk/vmshared/cloud_init_render.go, sdk/deploykit/tasks_emit.go, sdk/deploykit/deploy_chain.go/sdk/kit/*, sdk/candywalk/skillfile.go/sdk/deploykit/skills_collect.go) — the routing rule the body invokes is satisfied by the diff.

The correction claims — all present in the diff. Every one of the seven listed citations is actually corrected: intermediates_shim.go → "DELETED" (multistage-and-intermediates.md); charly/config.go:ResolveBox → sdk/buildkit/config_resolve.go:ResolveBox; charly/format_config.go:BaseUserDef → sdk/vmshared/spec_aliases.go's BaseUserDef; charly/registry.go's InspectImageUser → the retitled "Fallback path: the external-base probe (oci_op=inspect-user)" section that states the host-side function is DELETED and the behaviour live out-of-process; charly/layers.go:604/Task → spec/spec/cue_types_gen.go's Task (in both SKILL.md and task-emission.md); charly/layers.go:TagPkgConfig.Raw → sdk/deploykit/layer_model.go's TagPkgConfig; loadProjectPlugins → charly/plugin_loader.go.

Crucially, the round-3 block's contradiction is now gone: multistage-and-intermediates.md's "Fallback path" section and its Source line agree (both say the host-side InspectImageUser is deleted and the probe moved out-of-process). I scanned the moved pages for unqualified present-tense citations of absent charly/*.go paths and found none; the surviving charly/tasks.go, charly/plugin_loader.go, charly/unified_targets.go citations are live files, and the rest carry removal qualifiers.

Comments dispositioned

  • 6359847223 (bot PASS) — stale: states "0 comments", predates the four later rounds; superseded. Not a maintainer sign-off.
  • 6359977835 (author STATUS) — routing-identical and cross-repo-ordering claims are consistent with the current body; self-report, not sign-off.
  • 6360018497 (bot BLOCK) — its three blocks are answered by the current body: the fix(build): a declared builder that cannot run is a hard failure, for every format #609 retraction/re-measurement (Block 1), the pasted minimal-root DISPATCHER.md rows (Block 2), and the explicit "two homes until the carrier's removal" admission (Block 3). Non-blocking notes are each now stated in the body.
  • 6360122882 (author round 2) — RCA and answers coherent with the body.
  • 6360147261 (bot BLOCK) — its central finding (intermediates_shim.go deleted-vs-live) is fixed in the diff; the config.go/format_config.go/registry.go citations it named are corrected.
  • 6360233618 (author round 3) — the six corrections are present in the diff.
  • 6360248015 (bot BLOCK) — the "Fallback path" present-tense claim is fixed in 054d14e; the page and body now agree.
  • 6360340679 (author round 4) — the fix is applied and visible.

No maintainer sign-off exists in the thread, so the change must stand on its own evidence — and it does: documentation-only, gate-appropriate (charly box validate + negative control + generated dispatcher rows), no code/secret/runtime surface.

Non-blocking notes (recorded, not gating)

  • Body numerics. The opening "Three commits" counts the three authored commits (442156a, 58e430b, 054d14e) but the commit list also carries the bcacc1b update-branch merge. The merge is separately acknowledged, so this is loose phrasing, not a contradiction.
  • "six real defects" vs a 7-row table. The heading attributes six to 58e430b, and the seventh (the registry.go fallback) is explained as the 054d14e follow-up. The table lists all seven under the "six" heading — a minor presentation imprecision that reconciles on careful reading, not a factual error about the final state.
  • Unverifiable external evidence. Byte-identity (sha256/git-blob), charly box validate rc=0, and the DISPATCHER.md diff rest on pasted output; the carrier repo is not in this diff, so they cannot be independently confirmed here. Nothing in the diff contradicts them, and the move claim is not load-bearing for whether sdk correctly gains the skills.
  • Coherence tension — the moved pages carry dense "the former X is DELETED" history while the shipped skills skill says history belongs in CHANGELOG/. The body now acknowledges this as a pre-existing property preserved by a verbatim move, to be resolved in a separate cutover. Correctly disclosed.

The relocation, the concept candy, the routing-only node shape, the generated-artifact evidence, the two-homes admission, and the seven citation corrections are all sound in the current diff.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot merged commit 5c5ef19 into main Oct 23, 2026
6 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 23, 2026
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