Skip to content

feat(skills)!: the skill lives beside the plugin that serves it - #16

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

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

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

pod-charly-core is a skills-only carrier (0 .go, 0 .cue, no candy directory) while
charly doctor is a compiled-in COMMAND-class plugin that OWNS the report — candy/plugin-doctor,
command:doctor — so the skill belongs here.

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)
charly-doctor the host-dependency report, whose own text names candy/plugin-doctor and command:doctor plugin-doctor/candy/plugin-doctor/charly.yml → command:doctor

What is in this diff (4 files changed, 175 insertions(+), 6 deletions(-))

  • 1 skill bodies, byte-identical to the carrier's (full sha256sum output below).
  • 1 routing-only skill: node(s) in candy/plugin-doctor/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 (core), so every existing
    /charly-<family>:<name> address and every external reference to it still resolves;
    owner: becomes plugin-doctor, so the bodies are read from
    <repo root>/.agents/skills/<name>/SKILL.md.
  • README.md and AGENTS.md: both carried the "carries no skill: entity of its own" claim
    with a link to the closed opencharly#291; both are corrected, and the AGENTS.md R0 entry
    now says the skill is owned here.

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 23f485f2cb2f1bc2ec6ef994f20e9aaa82e4eb83  (git rev-parse HEAD)
$ git rev-parse HEAD && git rev-parse HEAD^{tree}
23f485f2cb2f1bc2ec6ef994f20e9aaa82e4eb83
3dbe9af2eb18c5f5784c57df7f3992080418bee8

$ sha256sum <carrier copy>; sha256sum <this tree>   # full 64-hex digests, as printed
4f4ab0de89faf307108006b6caf20baead64952898858d55810c4ba116325af1  pod-charly-core/.agents/skills/charly-doctor/SKILL.md
4f4ab0de89faf307108006b6caf20baead64952898858d55810c4ba116325af1  .agents/skills/charly-doctor/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, 1 deploy, 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/charly-doctor/SKILL.md && charly box validate
charly: error: command "validate": validation error: skills: skill "charly-doctor": 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-doctor"
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 — the same false claim sat in TWO files for this repo (README.md and AGENTS.md); both are
    corrected, and only CHANGELOG/ history still names #291.
  • 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

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

… serves it

`pod-charly-core` is a skills-only carrier: 0 `.go`, 0 `.cue`, no candy directory, so the
skill documenting `charly doctor` was edited, reviewed and tagged in a repo that
contains none of it. Under `AGENTS.md` Part II #5 a skill lives with the code, plugin or
config it describes — this candy declares `command:doctor` and holds the handler the skill documents. — so the body moves here byte-identically
(`diff -r` exit 0, `sha256` equal at both ends).

Routing only: the `skill:` node carries `name`/`family`/`owner` and no inline
`description:` or `content:` — the prose is the file. `family: core` is kept
unchanged so the existing `/charly-core:charly-doctor` address and every cross-reference to it still
resolve; `owner:` becomes this candy, which is what makes the body readable at
`<repo root>/.agents/skills/charly-doctor/SKILL.md`.

`README.md` and `AGENTS.md` said the candy carries no `skill:` entity of its own and pointed at the CLOSED opencharly#291 — falsified here, corrected in both files.

Nothing is deleted from `pod-charly-core` by this PR — its node removal and its retirement stay
with 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)
@github-actions

Copy link
Copy Markdown

Review — PASS

I re-derived the PR's claims against the current diff. The change is a coherent, honestly-reported documentation + candy-config step.

What I verified from the diff

  • File count / line counts are honest. The four files sum exactly to the body's stated 175 insertions(+), 6 deletions(-): SKILL.md +150/−0, AGENTS.md +3/−3, README.md +2/−3, charly.yml +20/−0. 4 changed files matches.
  • The routing node is genuinely routing-only. candy/plugin-doctor/charly.yml adds charly-doctor-skill: with only name: charly-doctor, family: core, owner: plugin-doctor — no inline description: and no content:, exactly as the body asserts. The name matches the skill file's frontmatter name: charly-doctor.
  • The two stale-doc corrections are real. Both README.md and AGENTS.md drop the "carries no skill: entity … tracked in #291" text and replace it with an ownership assertion pointing at .agents/skills/charly-doctor/SKILL.md. The body's R4/R5 claim ("the same false claim sat in TWO files … both are corrected") is reproduced by the diff.
  • The change class matches the diff. No Go, no schema, no runtime path — consistent with the body's "documentation + candy-config" classification and its justification for skipping an R10 bed.
  • The negative control is a credible fail-without-change proof. rm …/SKILL.md && charly box validate → rc=1 with a "no body" error naming the owning candy. That is the right shape of evidence for a gate that reads skill files through CollectSkills; it is not vacuous.
  • No security concerns. No secrets, no injection surface, no dependency changes.
  • Comments: there are 0 comment threads, so nothing to disposition.

Caveats (non-blocking, pre-existing)

  • The skill body's internal claims — that candy/plugin-doctor/{command.go,provider.go,plugin.go,hostfacts.go} exist and that charly/charly.yml lists it under compiled_plugins, and that the existing plugin-doctor: block declares command:doctor — are not in this diff and cannot be independently re-derived here. They are pre-existing prose carried over by a documented byte-identical MOVE, not claims introduced or contradicted by this change, so they do not gate this PR. If a reviewer wants to harden the relocation, verifying those paths against the plugin-doctor tree would be the check.
  • The body openly defers carrier removal (opencharly/opencharly#600) and the marketplace refs switchover. That leaves a transient cross-repo duplicate of the charly-doctor skill until the follow-up lands. This is disclosed as producer-first, not hidden, and the per-repo gate is green — acceptable for this PR's scope, but it should land in sequence with the carrier retirement.

Verdict

The change does what the body claims, the body's counts and evidence are internally consistent and reproduced by the diff, the gate is shown to be non-vacuous, and no block-level defect is present.

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:51
@github-actions
github-actions Bot merged commit 6560aa4 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