Skip to content

feat(skills)!: the skill lives beside the deploy substrate it documents - #17

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/deploylocal-skills
Oct 23, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/deploylocal-skills

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

layer-charly-local is a skills-only carrier (0 .go, 0 .cue, no candy directory), while
the target: local substrate IS this plugin: deploy:local. The carrier's other skill
(local-spec) does not come here — it documents the kind: local template SHAPE, whose schema is
schema/local.cue in the spec module, and it moves there.

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.

skill the entity its own prose names where it exists (measured)
local-deploy the target: local deploy substrate — its own overview says the plan "is consumed by the external deploy:local plugin (candy/plugin-deploy-local)" plugin-deploy-local/candy/plugin-deploy-local/charly.yml → deploy:local

What is in this diff (3 files changed, 237 insertions(+), 3 deletions(-))

  • 1 skill bodies, byte-identical to the carrier's (full sha256sum output below).
  • 1 routing-only skill: node(s) in candy/plugin-deploy-local/charly.yml —
    name/family/owner, and no inline description:/content:: the
    prose is the file. An inline body that disagrees with its file is a hard error in the
    marketplace generator.
  • family: is kept unchanged (local), so every existing
    /charly-<family>:<name> address and every external reference to it still resolves;
    owner: becomes plugin-deploy-local, so the bodies are read from
    <repo root>/.agents/skills/<name>/SKILL.md.
  • AGENTS.md: the R0 entry carried the "carries no skill: entity of its own" claim
    with a link to the closed opencharly#291; it now says the skill is owned here and names the
    body's path.

Two things this body deliberately does NOT claim, because they are worth stating.

  • A duplicate exists for now, and the generator tolerates it. The carrier still
    declares the same (kind, family, name); plugin-marketplace's preferEntity
    (resolve.go) dedupes on exactly that triple, so one page is published — currently the
    carrier'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 marketplace refs switchover do.
  • The node KEY is not the identity. A skill: node's id is its name: when it
    states one (spec#247), which is why <name>-skill: keys and the name: field can
    differ 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, which
reads the skill files through the same CollectSkills path the ai.opencharly.skill
OCI label and the marketplace corpus use, so a body that is not found is a red gate.

# head 0af710419fc260cc4277f8493535587ac605e086  (git rev-parse HEAD)
$ git rev-parse HEAD && git rev-parse HEAD^{tree}
0af710419fc260cc4277f8493535587ac605e086
5e6e671c0d516f02a7718f180f2135315b21399d

$ sha256sum <carrier copy>; sha256sum <this tree>   # full 64-hex digests, as printed
3973c40305ef18ab241d9e2731e813c6e66d44cf47a3dbeccc2377486f3007cb  layer-charly-local/.agents/skills/local-deploy/SKILL.md
3973c40305ef18ab241d9e2731e813c6e66d44cf47a3dbeccc2377486f3007cb  .agents/skills/local-deploy/SKILL.md

$ diff -r <carrier>/.agents/skills/<name> .agents/skills/<name>   # per skill
(no output — exit 0: the bytes are equal)

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

The gate CAN fail — negative control, run on this exact tree, with one moved body
removed:

$ rm .agents/skills/local-deploy/SKILL.md && charly box validate
charly: error: command "validate": validation error: skills: skill "local-deploy": no body — the node carries no in-line `content:` and no SKILL.md exists under .agents/skills at the repo root of the owning candy "plugin-deploy-local"
rc=1

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 to charly/charly's HEAD
stamp (R9).

Rulebook compliance

  • R0 — /charly-internals:skills, :git-workflow, :cutover-policy loaded before
    the first action; opencharly#611/#606/#600 read in full first.
  • R1 — charly box validate green with zero warnings, and the negative control proves
    that green is not vacuous.
  • R2 — routing only in the node; the body stays the single file.
  • R3 — no workaround: no inline body, no hand-written corpus entry.
  • R4/R5 — AGENTS.md's false claim and its link to the closed opencharly#291 are corrected in this
    diff; only CHANGELOG/ history still names it.
  • R6 — branch off origin/main, one commit, one push, no force-push, no bypass.
  • R7 — the proof is a gate that fails without the change.
  • R9 — worktree-local binary, version equal to the source stamp; no Go changed.
  • R10 — the change class's gate ran on the committed tree.
  • A3 — the attribution tier this footer claims is justified by the gate above. This
    session's delivered system message reads, verbatim,
    You are a coding agent powered by the deepseek-v4.1-flash model. — harness
    DeepSeek Harness, model deepseek-v4.1-flash. It is quoted because the operator's
    dispatch 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 runtime
behaviour, 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)

…rate it documents

`layer-charly-local` is a skills-only carrier: 0 `.go`, 0 `.cue`, no candy directory. The
`target: local` substrate is THIS plugin — `deploy:local` — which the skill's own overview names as
the consumer of the InstallPlan IR, so the body moves here byte-identically.

The carrier's other skill, `local-spec`, is NOT in this unit: it documents the `kind: local`
template SHAPE (schema `schema/local.cue`, spec module), not this substrate.

`AGENTS.md`'s "carries no `skill:` entity of its own" claim (with a link to the CLOSED
opencharly#291) is corrected. Routing only: the node carries `name`/`family`/`owner` and the
carrier's two `triggers:`; `family: local` is kept so `/charly-local:local-deploy` still resolves.

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

Copy link
Copy Markdown

Review — PASS

I re-derived every claim in the body against the three diffs supplied. The change is internally consistent and does what it says.

Verification performed

File count / line counts. Body claims 3 files, 237 insertions, 3 deletions.

  • SKILL.md: +211
  • AGENTS.md: +3 / −3
  • charly.yml: +23 / −0
  • Totals: 211 + 3 + 23 = 237 insertions; 3 deletions. Matches exactly.

Correctness of the routing node. candy/plugin-deploy-local/charly.yml adds a single top-level local-deploy-skill: node with name: local-deploy, family: local, owner: plugin-deploy-local, and triggers:, and no inline description:/content:. This is consistent with the body's "routing-only" description and with the claim that the prose lives in .agents/skills/local-deploy/SKILL.md (the added file). The owner: value points at the candy defined in the same file, and the repo-root skill path matches the added file's location.

Gate justification. The skill's own Overview prose names the entity: it says the plan "is consumed by the external deploy:local plugin (candy/plugin-deploy-local)". That entity lives in candy/plugin-deploy-local/charly.yml, so the placement in this repo is justified by the prose, not by the skill's name — exactly the criterion the body describes.

AGENTS.md. The old claim ("carries no skill: entity of its own" + link to closed #291) is replaced with a statement that the skill is owned here and names the body path. The diff matches the body's R4/R5 statement, and no stale reference to #291 remains in the changed files.

Body honesty. The body explicitly limits its claims (acknowledges the temporary duplicate and that the dedupe path is proven elsewhere; acknowledges the node key is not the identity). No claim in the body is contradicted by the diff. The self-attested evidence (sha256 digests, charly box validate output, negative-control failure, binary version, A3 runtime quote) cannot be independently recomputed from a read-only diff, but nothing in the supplied state contradicts it, and the diff-derived facts are all accurate.

Security / scope. No secrets, no injection surface, no dependency changes, no Go/schema/runtime paths. The change is a documentation + candy-config addition with one corrective edit. No leftover legacy path or dead code is introduced.

Non-blocking observations (not gating)

  • The copied skill body's cross-reference /charly-local:local-spec still resolves today (local-spec remains in the carrier under family local), but it will need updating when local-spec moves to the spec module per the body's own note. That update belongs to the local-spec move, not this PR.
  • The body's "1 skill bodies" is a minor grammatical typo; content is correct.
  • "writen" typo in the skill's Cross-References is inherited from the carrier copy, not introduced here.
  • The body's bullet lists name/family/owner but omits the node's triggers: field; the YAML comment itself documents triggers:, so this is imprecision rather than a contradiction.

No maintainer/operator sign-off is present (0 comments), so the change stands on its own evidence — which it does: the validation gate plus the described negative control provide a falsifiable proof for a doc/config change.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 23, 2026 08:56
@github-actions
github-actions Bot merged commit a992623 into main Oct 23, 2026
1 check 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