Repository navigation
feat(skills)!: the six schema-authoring skills live beside the CUE defs they document - #272
Conversation
…fs they document The carriers `layer-charly-image`, `layer-charly-pod`, `vm-charly-vm`, `layer-charly-internals-extra` and `layer-charly-local` are skills-only: 0 `.go`, 0 `.cue`, no candy directory. Under `AGENTS.md` Part II #5 a skill lives with the code, plugin or config it describes, and each of these six skills names a def in THIS module's `schema/` whose generated Go types live in `spec/cue_types_gen.go`: `schema/box.cue` (image), `schema/candy.cue` (layer), `schema/pod.cue` (pod), `schema/vm.cue` (vms-catalog, vm-spec) and `schema/local.cue` (local-spec). Each body states its own source of truth — `layer`'s "the `@go()`-annotated `spec/schema/*.cue` defs are the sole source for both the Go param structs and load-time validation", `pod`'s "Schema sources (read these for the canonical truth): `spec/spec/cue_types_gen.go`", `vm-spec`'s "## Source files" table naming `spec/spec/cue_types_gen.go` and `spec/schema/vm.cue`. That is opencharly#606's gate: the entity from the skill's own prose, then where the entity exists, then the negative control. Routing only: each `skill:` node carries `name`/`family`/`owner` plus the two `triggers:` the carriers had, and no inline `description:` or `content:` — an inline body disagreeing with its file is a hard error in the marketplace generator. `family:` is kept unchanged (`image`, `image`, `pod`, `vm`, `internals`, `local`) so every existing `/charly-image:*`, `/charly-pod:*`, `/charly-vm:*`, `/charly-internals:*` and `/charly-local:*` address still resolves; `owner:` becomes the shelf candy, which is what makes `<repo root>/.agents/skills/<name>/SKILL.md` readable. `AGENTS.md` gains the six skills in its R0 list and the `.agents/skills/` tree in its canonical files, and the shelf candy's description gains the authoring defs it now owns — three claims the change would otherwise have left half-true. Nothing is deleted from any carrier here: those removals and retirements belong to the session that claimed the carriers (opencharly/opencharly#600), and the `marketplace` refs switchover is the leg that proves the move end to end. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause (measured in this run). The engine classified the run ITSELF, and its terminal line is quoted below. For a marker this workflow has no bespoke narrative for, the gate does not re-derive a cause from a signature: the engine's own line IS the diagnosis, and the instruction that line carries (every engine class names the knob to change) is the remedy. A signature heuristic must never overwrite what the engine stated. Measured in this run (the engine's own lines): Durable remedy.
Thread policy. A thread gets up to A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Full diagnostics: this run's evidence artifact + job log (not embedded here — embedding a runaway log would feed it into the next review and deepen the collapse). |
Review — BLOCKWhat the diff actually does (mechanics vs. body)The mechanical claims in the body check out against the diff:
So the routing leg is coherent. The block is on documentation accuracy / body honesty. Blocks1. The moved skill bodies point at the source repo's layout, not this module's — contradicting the body's own table. Evidence, all from the provided context:
The PR's central claim — "the six schema-authoring skills live beside the CUE defs they document" and AGENTS.md's "the prose for this module's own six schema-authoring skills" — is not supported: a reader following the skill's stated source of truth ( Required fix: either (a) adapt the path references in the six bodies to this module's layout ( 2. The body contradicts itself about where the source of truth lives. The body's table row for Required fix: make the body's path claims consistent with the skill text (and with this module's real layout), and correct the table or the quoted evidence. Non-blocking observations
Bottom lineThe routing/config mechanics are correct and match the body. The change fails on its stated purpose: the moved skill prose documents the source repo's Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSRe-deriving the mechanics from the current diffThe body's factual claims are reproduced by the provided diffs, and the arithmetic is exact:
No secrets, no execution, no dependency or privilege change — this is documentation + candy-config. The Disposition of the comment threadThe single comment is a BLOCK from
Residual notes (non-blocking)
The routing/config mechanics are correct and fully reproduced by the diff, the body's counts are exact, and the one substantive objection (path spelling) is explicitly and coherently reconciled in the body. The remaining items are cosmetic. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Five carriers —
layer-charly-image,layer-charly-pod,vm-charly-vm,layer-charly-internals-extra,layer-charly-local— are skills-only (0.go, 0.cue, nocandy directory). Each of these six skills names a def in this module: its own source of
truth is a CUE def under
schema/whose Go types are generated intospec/cue_types_gen.go.That is the same reading opencharly#611 used to send
disposableandinstall-planhere.The gate, per skill (opencharly#606): the entity comes from the skill's own prose,
never from its name; then where that entity exists; then the negative control.
imagecandy:node carryingbase:/from:routes touf.Box, else a layer fragmentschema/box.cue(umbrella pathspec/schema/box.cue) →spec/cue_types_gen.golayer@go()-annotatedspec/schema/*.cuedefs … are the sole source"schema/candy.cue+schema/plan(spec/schema/*.cue) →spec/spec/podkind: pod/ deploy node shape (PodSpec,Deploy)schema/pod.cue→PodSpec/Deployinspec/cue_types_gen.go(spec/spec/cue_types_gen.go)vms-catalogkind: vmauthoring surface, resolved byLoadUnifiedintoVmSpecschema/vm.cue→VmSpecvm-specVmSpec/VmSourceGo type reference (its## Source filestable)schema/vm.cue+spec/cue_types_gen.go(spec/spec/cue_types_gen.go)local-speckind: localtemplate shape and its merge semanticsschema/local.cueWhat is in this diff (8 files changed, 2815 insertions(+), 1 deletion(-))
sha256sumoutput below).skill:node(s) incharly.yml—name/family/owner, and no inlinedescription:/content:: theprose is the file. An inline body that disagrees with its file is a hard error in the
marketplace generator.
family:is kept unchanged (image,image,pod,vm,internals,local), so every existing/charly-<family>:<name>address and every external reference to it still resolves;owner:becomesspec-skill-shelf— the candy whose repo root the bodiesare resolved against (
<repo root>/.agents/skills/<name>/SKILL.md). The quotednegative-control output below names that same owner, which is the check that this
sentence and the manifest agree.
AGENTS.md: the six skills join the R0 list and.agents/skills/joins thecanonical files.
charly.yml: the shelf candy'sdescription:gains the authoring defs(
schema/box.cue,schema/candy.cue,schema/pod.cue,schema/vm.cue,schema/local.cue).A note on path spelling, because the moved bodies use the UMBRELLA convention. A skill
body written before this move spells this module's files from the umbrella root —
spec/schema/vm.cue,spec/spec/cue_types_gen.go— which is the same file this repo callsschema/vm.cueandspec/cue_types_gen.gofrom its own root (the umbrella submodule path ISspec/). Both spellings name the same bytes; the table above prints both so neither reading isleft implicit, and nothing in the bodies needed rewriting for the move.
Two things this body deliberately does NOT claim, because they are worth stating.
declares the same
(kind, family, name);plugin-marketplace'spreferEntity(
resolve.go) dedupes on exactly that triple, so one page is published — currently thecarrier's, until its node is removed. This PR does not prove the dedupe path; the
carrier-removal PR (Policy: a skill lives with the code it describes — retire the skills-only repo class (22 repos / 94 skills measured) opencharly#600) and the
marketplacerefs switchover do.skill:node's id is itsname:when itstates one (
spec#247), which is why<name>-skill:keys and thename:field candiffer without consequence.
Producer-first. No carrier loses a node here: those removals and retirements belong
to the session that claimed the carriers (opencharly/opencharly#600).
How tested
Change class: documentation + candy-config (skill prose and
skill:routing nodes;no Go, no schema, no runtime path). The gate that owns it is
charly box validate, whichreads the skill files through the same
CollectSkillspath theai.opencharly.skillOCI label and the marketplace corpus use, so a body that is not found is a red gate.
The gate CAN fail — negative control, run on this exact tree, with one moved body
removed:
No R10 disposable bed: the diff changes no runtime path (no Go, no schema, no service,
no build step), so a bed would prove something this diff cannot break. The binary is the
worktree-local build:
charly version=2026.295.1709, equal tocharly/charly's HEADstamp (R9).
Rulebook compliance
/charly-internals:skills,:git-workflow,:cutover-policyloaded beforethe first action; opencharly#611/#606/#600 read in full first.
charly box validategreen with zero warnings, and the negative control provesthat green is not vacuous.
description:andAGENTS.mdare corrected in this change, and the sixbodies keep their cross-references (families unchanged); only
CHANGELOG/history could stillname a retired gap.
origin/main, one commit, one push, no force-push, no bypass.session's delivered system message reads, verbatim,
You are a coding agent powered by the deepseek-v4.1-flash model.— harnessDeepSeek Harness, modeldeepseek-v4.1-flash. It is quoted because the operator'sdispatch requires the tier's proof to name the runtime as delivered, and it is cited
with The pr-validator's model allowlist rejects a real runtime: deepseek-v4.1-flash via ollama-cloud opencharly#538, the open record of this runtime being rejected by
the validator's model allowlist although it is real and running.
Change classification
feat(skills)!— documentation + candy-config,documentation reviewed. No runtimebehaviour, no schema, no Go, no pins.
Filed issues
None — the destination was measured, and every claim this change falsifies is fixed here rather than filed.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)