Repository navigation
docs(rulebook): a skill lives with the code it describes; a skills-only repo is not a class - #603
Conversation
…ly repo is not a class Operator-directed policy change. Part II #5 previously said skills "live in the repo that owns them" without ever defining ownership, and "Repo classes and naming" placed "ONE candy with its files beside it, and/or a family's skill: entities" in a layer-* repo - which legalised a repo whose entire content is prose. Measured: 22 of 431 recorded gitlinks are skills-only, carrying 94 of the 422 skills. Part II #5 now classifies by what the repo CONTAINS, never by what the skill is about: a skill that describes a code, plugin or config surface lives in that repo; a general-guidance skill lives in the umbrella; and the derived-binding rule survives verbatim. "Repo classes and naming" states that skills-only is not a class, and README.md's candy-layer placement rule stops offering it as an option. R0's "Skills live in the opencharly/marketplace repo" is corrected in the same change: skills are AUTHORED in the owning repo and PUBLISHED as the generated corpus. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKI re-derived the mechanical claims against the supplied state and they hold: 2 changed files ( Blocks
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The rewrite replaced the paragraph's single `*Detail:* /charly-internals:agents` pointer with `/charly-internals:skills` only. The paragraph covers BOTH an authored SKILL.md and an agent definition's `<name>.md`, so a single pointer to `skills` silently drops the harness-binding half the `agents` skill owns. Validator round 1 on #603 raised this as a non-blocking note; it is fixed rather than rebutted because the loss is real: `skills` does cover `.agents/agents/<name>.md` (the sibling tree, not a child of `.agents/skills`), but what a harness loads and how it BINDS a corpus is `agents`, and that is the other half of this paragraph. Refs: #600, #603 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
|
RCA — round 1, both findings are body defects, and both are mine. 1. The export function committedPrompt(yml) { // yml = action-review/charly.yml
const at = lines.findIndex((l) => /^\s+AI_REVIEW_PROMPT: \|\s*$/.test(l));
…
gh.stdout.replace(/\n+$/, "") === prompt // vs gh variable get AI_REVIEW_PROMPT --org opencharly
Missed control: the self-audit pasted gates but never asked, of each pasted line, which files 2. Summary overstating scope (blocking). The summary said the change "retires a repo class and Missed control: no pass for claims a body makes about the body's own scope — the 3. The non-blocking note (fixed, not rebutted). The rewrite left a single New head: Agent: charly Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) |
Review — PASSI re-derived the current state from the supplied body, diffs, commits, and comments. Mechanical consistency (verified against the diff)
Disposition of the comments
Other checks
No blocking findings remain. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKI re-derived the current state from the supplied body, diffs, commit list, and comments. The substance of the diff is correct and matches the body's description, but the body's evidence is keyed to a commit that is no longer the PR head, and the prior PASS comment's verification is stale on exactly that point. What holds (verified against the current diff)
Blocks
Notes (non-blocking)
Comment disposition
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…align the class list Round 2 of #603 raised four non-blocking notes; three are fixed here, and the fourth is a body-only change. - The "Where things are documented" entry appended the umbrella's `.agents/skills/` sentence to the `README.md` bullet, so "It" read as README.md - which does not hold `.agents/skills/`. It is now its own bullet, with the umbrella as the subject. - "Repo classes and naming" enumerated `layer-*`/`distro-*`/`plugin-*`/`pod-*`/`vm-*` while the bullet above lists `charly-*`/`pkg-*` too. The enumeration now matches the list it summarises, so the class rule does not appear to exempt the two prefixes. The remaining two notes are body-only (a parenthetical on the `AI_REVIEW_PROMPT` PASS line, and dropping an absolute home path from the A3 block) and are applied to the PR body, which is where both live. Refs: #600, #603 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
|
RCA — round 3. One blocking finding, and it is a SEQUENCING defect, not a content one. What the verdict said: the body named head Mechanism. Missed control. The rule I skipped is stated in Root fix — applied, not promised. The re-key now happens in the same breath as the head move: Non-blocking notes, all four fixed in this round:
Agent: charly Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) |
…' into feat/skills-live-with-their-code
Review — PASSI re-derived every mechanical and substantive claim from the supplied current state (body, both diffs, commits, comments). The change is documentation-only prose in two files and it does what the body says. Mechanical consistency (re-derived)
Comment disposition
No designated maintainer sign-off is configured for this run, so Non-blocking notes
None of these contradict the diff or misrepresent the change. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
A MERGE, never a rebase: the org ruleset's strict_required_status_checks_policy requires the branch to be up to date with main before the required check counts, and the published third commit (69fd94a) must never be rewritten. main moved again while this round was open — the skills-placement restatement (PR #603), which touches AGENTS.md (Part I's repo-class rule and Part II #5) and the README's org-map row. These commits touch no file this branch's own change edits except the two rulebook files, and in both the hunks are disjoint: this branch's AGENTS.md change is in Part II #2 (a clone is a working set) and its README change is in the clone/footprint section, while PR #603's hunks are in Part I's repo-class rule, Part II #5 (authored content) and the README's org-map table. The merge is therefore a clean union of the two trees, and it is verified by the gate, which reads the merged AGENTS.md (the rulebook check-id table reconciles against it). The round's work stays ONE commit (9357d47) on top of the merge; the merge below it is a merge, not a content commit.
…boundary (#633) Each carrier's skills are gone from it and present, byte-identically, at the repos that hold the code, plugin or config each skill documents (AGENTS.md Part II #5, #603), so the umbrella stops referencing them: 17 gitlinks, 17 `.gitmodules` stanzas, 17 README org-map rows, and the four counts those tables feed (`412 today`, `4 repos` candy layers, `73 repos` pods, `2 repos` VMs). Retired here: pod-charly-core, vm-charly-vm, layer-charly-hermes, layer-charly-jupyter, layer-charly-kubernetes, layer-charly-image, layer-charly-immich, layer-charly-infrastructure, layer-charly-local, layer-charly-selkies, layer-charly-coder, layer-charly-comfyui, layer-charly-distros, layer-charly-filebrowser, layer-charly-languages, layer-charly-openwebui, layer-charly-pod. Two carriers deliberately stay: pod-charly-automation, whose crabbox-deploy skill has no home at all (#628) and whose box validate is red for a reason that predates this change (opencharly/sdk#456), and layer-charly-internals-extra, whose strict-policy destination is still an open PR (#627) and whose six agent nodes hit the same sdk#456. The marketplace refs switchover is NOT here: it waits on opencharly/sdk#455 and needs the measured drop/add/advance set reported on #600. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) Co-authored-by: Andreas Trawoeger <[email protected]>
Summary
An operator-directed policy change to the org's single rulebook.
AGENTS.mdis the WHAT and theMUST for every agent in every repo, so this is a documentation change with real authority behind it:
it sets the rule that decides where a skill lives, and retires the repo class the old wording
allowed. It relocates no skill — the diff is prose in two files. The moves the new rule requires are
follow-up units, producer-first, and
layer-charly-ollama->pod-ollamais the first(opencharly/pod-ollama#7, merged and tagged
v2026.295.1812).Head
fbe1a89017d3d2dddd125c2a36182f0dd607f403; two files, +43/−16. (The branch carries two merge commits from catching up toorigin/main— one made server-side bygh pr update-branch, one local, because the local branch could not fast-forward past it and a force-push is forbidden. Neither merge adds a file to the diff againstorigin/main; the diff is still exactlyAGENTS.mdandREADME.md.)The old text, and the new
Part II #5 — before. It said skills "live in the repo that owns them" and never defined
ownership, so every reading was admissible, including the ones that produced carriers:
Part II #5 — after. Retitled "Harness config lives only in the umbrella — and a skill lives with
the thing it describes", and the classifier is stated as three bullets:
lifecycle, so the skill and the thing it documents are edited, reviewed, and tagged together and
the skill cannot drift from the surface it explains. If the described entity lives somewhere, the
skill goes there.
umbrella, because the umbrella is the only repo every consumer shares and guidance with no home
repo has no other place a consumer can reach it from.
*-skillscarrierthat exists only to own prose. The class rule that retires them is
Repo classes and naming.
The lead sentence states the discriminator explicitly: which repo owns a skill is decided by what
the repo CONTAINS, never by what the skill is about. The surviving rule from the old text is kept
verbatim — a hand-maintained corpus binding is forbidden; it must be DERIVED — as is the
harness-config half and the umbrella-authors-skills-never-vendors-the-corpus sentence, which is now
true rather than aspirational.
"Repo classes and naming" — new class rule. The section listed only what the prefixes were, which
is how
layer-*came to double as a prose home. It now carries a fourth bullet:That last sentence is deliberate:
distro-arch'scandy/arch-skillsis a real carrier candy withcopy:install content inside a repo that holdsbox/arch, and the policy retires repos, notthat sanctioned shape.
R0 — a sibling surface carrying the same false claim, corrected in the same change (R4/R5). R0
said "Skills live in the opencharly/marketplace repo", which is true of the delivery corpus and false
of authorship — the exact confusion that let a carrier look legitimate. It now reads: skills are
authored in the repo that owns them (Part II #5) and published as the generated corpus.
README.md — the placement rule that offered the loophole. "Candy layers —
layer-<name>: ONEcandy with its files beside it, and/or a family's
skill:entities" becomes "ONE candy with itsfiles beside it … a repo whose only content is skills is not a class". README's org-map places
each class; it must not advertise a class the rulebook retires.
Why the rule needs a class rule, measured not assumed
A prior scan for "skills-only repos" returned
distro-arch skills=7 other-content=0,layer-charly-build skills=15 other-content=0and ~30 similar. That instrument was broken — itsother-contentgrep required an exact"path": "box/…"prefix, anddistro-archholdsbox/arch.Re-derived from the 431 initialized checkouts by classifying what each repo contains, excluding
VCS/boilerplate (
AGENTS.md,README.md,CHANGELOG/,.github/,LICENSE) and requiring a realcandy field at its structural indentation plus a non-
trueplan command:22 of 431 repos are skills-only, carrying 94 of the 422 skills — 5% of repos, 22% of skills. A
bounded set, not a mass migration, and not zero. Twelve further repos have no non-boilerplate content
and carry no skills at all (a separate defect, not this PR's).
How tested
The diff is prose only — no gitlink, no pin, no
charly/source — socharly task verify'spin-currency and bed legs are not what this change can violate. The gates run, on the committed tree:
charly task verify— the umbrella's consistency gate, run from the initialized umbrella checkout(the linked worktree has 4 of 431 submodules, so verify there measures nothing):
The last two
check-*.mjsruns were FIRST made inside the linked worktree and reported 11 skips —marketplace/and
action-review/are not checked out there, so the skill-reference comparison and thecommitted-vs-live rulebook comparison did not run. A gate that skips the check your change is about
is not evidence, so they were re-run with those submodules present (17 surface(s), 0 skipped),
and the transcript above is the zero-skip run. That is the difference between "it passed" and "it
checked the thing".
Claim-keyed sweep (R5):
returns only
AGENTS.md:572— the sentence this PR deliberately keeps, now accurate ("authorsgeneral-guidance skills, never because it vendors the corpus") — plus the two files this PR edits,
before the edit. Every other hit org-wide is
CHANGELOG/history, which is where the past belongs.Rulebook compliance
git-workflow,marketplaceandskillsloaded before the first edit; the umbrellarulebook read in full before rewriting it.
only in the section being rewritten; swept. (b) The prior skills-only inventory was a broken
instrument reporting
distro-archas skills-only; re-derived from scratch and verified againstthree repos known by hand (
distro-arch→box/,layer-a11y-tools→ an inline candy withdistro:/package:,layer-charly-build→ nothing buttrueno-ops). (c) The zero-skip gatere-run described above. Non-blocking finding filed as umbrella pre-commit: the main-clone binary fallback cannot load the project from a linked worktree, so every docs-only worktree commit dies in the hook #602: the pre-commit
hook's main-clone fallback cannot load the project from a linked worktree, so every docs-only
commit in a fresh worktree dies in the hook until the worktree's
import:submodules areinitialized.
skill carries the how.
explained away, and no
--no-verifywas used anywhere.(R0, README's placement rule) is fixed in the same change instead of being left to route around it.
README.md'sand/or a family's skill:clause is deleted.git status --shortstated clean before the branch; no force-push, no direct push tomain, no hook bypass.references, and both are pasted above. The
AI_REVIEW_PROMPTequality reported by the same scriptis not a statement about
AGENTS.md:committedPrompt()reads theAI_REVIEW_PROMPT: |blockout of
action-review/charly.ymland compares it togh variable get AI_REVIEW_PROMPT --org opencharly.AGENTS.mdis not an input to it. The relationship between the rulebook and thatprompt is the check-id LIST (
the AGENTS.md table lists 25 distinct check ids/every AGENTS.md row names a check the rulebook defines), not byte equality — so no prompt artifact is owed bythis diff.
Change classification
Documentation-only (
AGENTS.md+README.md). No code, no pins, no gitlinks, no schema, nogenerated artifact. Gate:
scripts/check-*.mjs(pasted above, zero skips) + the claim-keyed sweep.The per-repo moves this policy now requires are NOT in this PR: each is a producer-first sequence
(skill repo → marketplace refs → umbrella gitlink) with its own gate, and this rulebook states why
they are owed.
layer-charly-ollama→pod-ollamais the first worked unit, open inopencharly/pod-ollama#7.
Filed issues
pre-commithook's main-clone binary fallback cannotload the project from a linked worktree, because the worktree's
charly.ymlimport:targets(
charly,layer-openclaw,layer-strata,plugin-strata) are uninitialized. The fallback wasadded (RCA 2026-10-08) precisely so worktree commits would work; it now fails on project load
instead, and blocks any docs-only commit in a fresh worktree. Non-blocking here (fixed locally by
initializing the four import submodules), blocking for the workflow it was written to serve.
Round 1 RCA — the missed control
Round 1 returned BLOCK on two findings, both about the BODY rather than the diff, and both mine.
(1) The
AI_REVIEW_PROMPTclaim. I pasted the script's PASS line and then wrote a sentencedescribing what it proves — "the committed-vs-live
AI_REVIEW_PROMPTequality" as "part of thisclass's emitted-artifact boundary" — without reading the comparison's inputs. I had read the script
earlier and quoted its line-65 comment ("The committed AI_REVIEW_PROMPT block of
action-review/charly.yml, dedented"), which names its own scope, and still described a differentone. That is measuring at one scope and describing another: the check never touches
AGENTS.md.Missed control: the self-audit pasted gates but never asked, for each pasted line, which files
is this line about? A pasted PASS is evidence only for the inputs the pasting agent has named.
Root fix, applied here: the R7 bullet now names
committedPrompt()and the exact comparison,and the "How tested" section attributes each PASS to its inputs.
(2) Summary/scope contradiction. The summary said the change "retires a repo class and moves the
skills the org already ships", and the same body later said the moves are NOT in this PR. Both
sentences were written by me in one sitting. Missed control: no pass for claims a body makes
about the body's own scope — precisely the
git-workflowrule that "fixing a claim means findingevery instance of it" and that a body-wide claim is a property of the WHOLE body. Root fix:
the summary now states that the diff is prose only and names the follow-up unit explicitly; the
"moves no skills" statement stays, so the two agree instead of one being softened.
(3) The non-blocking note, fixed rather than rebutted. The rewrite left one
*Detail:*pointerwhere the paragraph covers two artifact classes. Both pointers are restored in
4ab028f(
/charly-internals:skillsfor the authored-content contract,/charly-internals:agentsfor what aharness loads and binds) — a fix, not a rebuttal, because the
agentshalf was real guidance thatthe rewrite deleted.
A3 — attribution evidence, as delivered in this session
The runtime's own system message reads, verbatim:
and
(The checkout path is given with its operator home directory elided — it is not a secret, but a
public PR body does not need it.)
Harness
DeepSeek Harness, modeldeepseek-v4.1-flash— the pair the footer names. This runtime isthe one #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)