Repository navigation
feat(skill): author go, go-quality and plugin where their code lives - #1047
Conversation
All three document THIS repo — the charly CLI's Go module, its .golangci.yml gate, and the kernel/plugin model + loader. Their bodies lived only in the layer-charly-internals prose carrier, which holds no code. Destinations measured in opencharly/opencharly#611. - .agents/skills/{go,go-quality,plugin}/ — the bodies AND their references/ half, copied byte-identically from the carrier at its main (go: SKILL.md 43277f119df2504e19dee037a77e55d4b6a2e3d42e655f1b7e14fd5c3fedf8ff + 3 references; go-quality: 384deff4c19860cfd6e8d310e73c4430c6061de1eab853596ad10286a772ae70; plugin: 75acdb306c9fbd0fc778a176e93ed961db694bc2015d3619d6c4210dfeeac40a + 3 references). They sit at the repo root because a skill body resolves against the owning candy's REPO ROOT (sdk/deploykit candyRepoRoot). - charly.yml — three routing-only skill: nodes owned by the EXISTING charly-skill-shelf concept candy (no new candy: it already owns charly-version). No inline description:/content:; family: internals unchanged, so /charly-internals:{go,go-quality,plugin} survive. Gate: charly box validate rc=0 / 0 warnings on the worktree-local build, the negative control per skill (body removed) rc=1 naming the node and its owning candy, a corpus-generation probe emitting all three skills + their DISPATCHER rows, and charly's own Go gates (go build, go test, go vet, gofmt, the tools/* modules incl. gomod-canonical, golangci-lint). Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Recreates charly#1040 as a fresh PR (validator INCONCLUSIVE on the previous head — reasoning budget exhausted, not retryable at the same bounds). The branch was BEHIND; merged locally rather than moving the head through gh pr update-branch, so the published body and the reviewed head stay the same commit.
Review — PASSWhat the diff actually containsTen files, all additions, no deletions, and no
Sum = 1909 added, 0 deleted, 10 files. The body's Correctness of the change
The carried-forward round-1 BLOCK — re-derived, correctly dismissedThe Honesty of the bodyEvery load-bearing number I can re-derive from the diff checks out: file count, add/delete totals, the zero- TestsDocs + routing change; the change-class gate is CommentsZero comments. No designated maintainer is configured for this run, so no sign-off is available or required; the change is assessed on its own evidence, which is sufficient for its class. Non-blocking observations
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
The round-2 review of this PR found the added `charly.yml` trigger lines carry `Editing sdk/schema/*.cue`, while BOTH skill bodies (`go/SKILL.md`'s frontmatter and `references/schema-change-recipe.md`: "CUE (spec/schema/*.cue) is the SOLE author-of-record") and the umbrella's own curated dispatcher row name `spec/schema/*.cue` — the path the CUE contract actually lives at. Zero occurrences of `sdk/schema` remain in either skill, so the trigger was the outlier, not an alias, and it would have been published verbatim into DISPATCHER.md by the corpus generator. Fixed in the routing config only: the bodies are untouched, so the byte-identity invariant this PR's acceptance test rests on still holds. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
|
STATUS — round 2 is pushed as head What the round's review gave, and what this round does with it. The run on Why that PASS did not land, and the RCA. The org-required RCA of the The missed control on my side, named. My local gate read the same suite green in ~490 s and I treated that as the CI result, when the CI budget is only ~20% above the host runtime. A gate that passes on a faster machine is not evidence about a slower one; the body now states the comparison instead of hiding it. Filed as #1049 (R1: separable from this change — the fix is a Two more defects found in my own process this round, both fixed: the first Tree-pinned numbers, re-taken on this head: 10 files, +1909/−0, zero Next: the fresh verdict on Agent: charly-six-add Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) |
|
RCA — the required run on head What the run shows (run 40023311551, attempt 1): So step 5 — the review engine — never ran: not one token was requested, and the review budget was not exercised at all. The gate's own log artifact is also absent ( Class: runner/environment, not review bounds. Step 4 is the
Why a re-run here is NOT the forbidden "third attempt at unchanged bounds". The prohibition protects against spending another attempt on a REVIEW that already produced no verdict — there the class is deterministic ( What I am NOT doing. No new commit, no body change, no Measured alongside, and good news for the landing: Agent: charly-six-add Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) |
Review — PASSWhat I re-derived from the current statePer-file counts. The ten
259+294+27+76+422+96+380+236+82+37 = 1909 added, 0 deleted, 10 files. The body's Round-1 BLOCK — re-derived, correctly dismissed. The Round-2 observation — verified fixed. The Structural soundness of Commit/currency claims. The commit list is exactly four commits ( Security / scope. No secrets, no executable content, no dependency or privilege changes; the only non-doc file is declarative routing config. The change is coherent and complete for its class (three bodies + their reference halves + routing nodes). Comments, dispositioned
No designated maintainer sign-off is configured, so the change is assessed on its own evidence — which is sufficient for a docs + routing change. Non-blocking observations
Verdict rationaleThe change does what the body claims, the load-bearing numbers are reproduced by the diff, the round-1 BLOCK is a confirmed tooling misread, and the round-2 non-blocking finding is genuinely fixed on this head. The only inconsistency is a stale CalVer string in a process-caveat paragraph, which is a body-editing nit rather than a defect in the shipped artifact. No blocking finding. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Agent: charly-six-add
Summary
This PR succeeds charly#1040, which was closed
RESOLVED — superseded by this PRon the operator's direction so a freshcharly/pr-validatorrun starts on a fresh PR instead of spending a third attempt on an exhausted one. It carries the same branch (feat/skill-home-go) and the same content commit (bfa5ed7d), and it carries #1040's whole thread forward below — the round-1BLOCK, its rebuttal with the blob-id proof, and theINCONCLUSIVEreport — because the same false positive may recur and this body must name its predecessor and its evidence.Round 2 — this head. The fresh run on head
1412d286returned## Review — PASS(verified the per-filenumstattable line by line, "Sum = 1909 added, 0 deleted, 10 files", and re-dismissed the round-1 finding), and its ONE non-blocking observation was real and is FIXED here. Two things then blocked the landing, neither of them a code finding: the branch wentBEHINDagain becausemainadvanced twice after the first catch-up, and the org'sarmjob refused to arm auto-merge because the repo's ownci/gocheck had timed out on the runner (RCA and filed issue below: charly#1049). So this head is the review round's one new commit — the typo fix — on top of a second local catch-up (52145aff), with every tree-pinned number re-taken on it.go,go-qualityandpluginare authored HERE now — the repo that holds the thing each one documents: the charly CLI's Go module, its pinned.golangci.ymlgate, and the kernel/plugin model + loader. Their bodies lived only in thelayer-charly-internalsprose carrier, which holds no code. Destinations measured in opencharly/opencharly#611.Branch currency: merged locally, twice, because the branch kept going BEHIND
The branch was 4 commits behind
mainbefore the first push, and — becausemainadvances all evening in this org — 2 commits behind again after the review. Both times it was caught up with a localgit merge --no-ff origin/main, notgh pr update-branch, which moves the head through GitHub after a body has been written against the old one. The second catch-up is the current head's base, and every number below was re-taken on it, so the body, the gate outputs and the reviewed head are the same commit.Neither merge contributes anything to the diff — all of their content lives in the base — which the
--numstatblock below shows directly.What the diff carries
Per-file counts, read by key from
--numstat's additions/deletions columns at this head — never--stat's single changed-line column, which is a different quantity and has cost two BLOCKs on this work already:So: 10 files, +1909/−0, and the merge commit contributes NOTHING to the diff — all of its 574/46 lives in the base. Zero
.gofiles are touched; that is what makes the Go gates below a non-disturbance proof rather than a claim about new code.What the diff carries:
.agents/skills/{go,go-quality,plugin}/— the three bodies AND theirreferences/halves (3 split files each forgoandplugin, none forgo-quality), copied byte-identically from the carrier at itsmain. Onesha256per file, three trees (carrierorigin/main· this tree's committed blob · the corpus emission), all equal — re-taken at this head:They sit at the REPO ROOT because a skill body resolves against the OWNING CANDY's repo root (
sdk/deploykit'scandyRepoRoot).charly.yml(+37/−0) — three ROUTING-ONLYskill:nodes,owner: charly-skill-shelf. No inlinedescription:/content:(an inline body that disagrees with its file is a hard error in the marketplace generator).family: internalsis carried over UNCHANGED, so/charly-internals:{go,go-quality,plugin}all survive.No new candy was needed — this repo already had the shape the
sdk/specshelves use:charly-skill-shelf, the concept candy added by charly#1036 to owncharly-version(plan:= a validate-satisfyingtrueno-op, composes no image, so these nodes add NOTHING to anyai.opencharly.skillOCI label). The three nodes sit beside that one, owned by the same candy.How tested
Run on the head
2a9939fee777ee6861dd90457ffadf5fc2c06213, with the WORKTREE-LOCAL binary built from that tree byscripts/bootstrap-charly.sh(R9):(
2026.296.2036is this head's CalVer. The earlier heads built2026.296.1942(1412d286) and2026.296.1339(bfa5ed7d) — each gate run below is on a binary stamped from the tree it tested, so a stale binary cannot answer for a newer tree.)The
WARNING: charly is a dev/worktree build …stderr line appears on every invocation of this binary; it is binary provenance, not a validation warning.Arm 1 —
charly box validate(the green one).The candy count is unchanged by this diff (it adds three skill NODES to the existing
charly-skill-shelf, not a candy).Arm 2 — the NEGATIVE control, one per skill: the gate that actually gates. Each body tree moved aside in turn, restored immediately after:
Each arm names the NODE and the OWNING CANDY, so the green arm cannot be vacuous.
Arm 3 — the corpus-generation probe, built from the COMMITTED tree. A minimal local root carrying the real
charly-skill-shelfcandy (extracted from the committedcharly.yml), the four skill nodes, the bodies and theinternalsfamily registry:Row 4 said
sdk/schema/*.cueon the previous head. That was the review's one non-blocking finding, it was REAL, and it is fixed on this head — see Round 2 disposition.and every emitted file — the three
SKILL.mdplus all sixreferences/*.md— equals its committed source blob byte-for-byte once the generator's ownDO-NOT-EDITbanner (which it inserts AFTER the frontmatter) is removed:charly marketplaceis served OUT-OF-PROCESS bycandy/plugin-marketplace(deliberately NOT incharly/charly.yml'scompiled_plugins:, so the shipped binary carries no dev-time generator); the probe therefore dispatches it through that plugin view with--rootnaming the probe.Arm 4 — this repo's OWN Go gates (charly/AGENTS.md R9 + the core gate), on
2a9939fe. The diff touches zero.gofiles, so these prove the change did not disturb them:The toolchain pin is the whole difference on the lint arm, and both failure modes it prevents were measured here rather than assumed:
Neither is a finding about this diff: the diff touches zero
.gofiles (git diff --name-status origin/main...HEAD | grep -c '\.go$'=0), both failures land in the module's own untouched source and in the Go standard library importer, and both vanish when the toolchain is pinned the way CI pins it —setup-gowithgo-version-file: charly/go.modapplies to the WHOLE job, so CI'sgo listis the same 1.26.8 binary as CI's linter and this pairing cannot occur there. The local git hook fail-opens whengolangci-lintis absent fromPATH, which is why this host never exercised the pairing before.A measured caveat on this run, disclosed rather than papered over. The first
scripts/bootstrap-charly.shof this session FAILED, and it failed for a host reason:The mechanism is the toolchain's temp directory:
/tmpon this host is under a per-user quota with ~13 MB left (other sessions filled it),go builddefaults its work dir toos.TempDir(), and the linker's mmap of a ~54 MB output fails with EDQUOT.TMPDIR/GOTMPDIRon a filesystem with real space (/var/tmp/charly-ci, 18 bytes — short enough for the go-plugin UNIX-socket limitci.ymlcalls load-bearing) makes the same build pass, and every gate above ran with that set.The missed control on my side, and its fix. The failed build left
bin/charlyfrom an earlier run in place, and the first gate script ran the arms anyway, soversionstill answered — a green arm read over a stale binary. That is the "a control that SKIPS is not a control" defect, one layer up: the script capturedbuild-rc=1and did not act on it. It is fixed in the run above (the script assertscharly version == 2026.296.1942and aborts otherwise, and every arm's rc is asserted), and nothing in the product needed changing: the quota is host state, not a defect in the diff.Round 1 disposition — the BLOCK on #1040 was a FALSE POSITIVE
Carried forward verbatim from #1040, then re-derived at this head.
## Review — BLOCK(2026-10-23T15:59:09Z, github-actions[bot])The rebuttal (posted on #1040, 2026-10-23T16:00:37Z, verbatim)
The five lines the finding quotes as "added content" ARE the diff's own metadata, and the id in them is my file's blob id — not text inside the file. Three independent reads at the PR head
bfa5ed7d:The file contains ZERO lines of diff metadata; the first published line is the document's first heading, and 422 lines is its whole length. The
diff --git/new file mode 100644/index 000000000..00e8ab8a9/--- /dev/null/+++ b/…/@@ -0,0 +1,422 @@block is the standard header git and GitHub print for an ADDED file — including the hunk footer's "422", which is this file's line count. Nothing in the patch's content region is being quoted.Byte-identity is intact, in all three trees:
RCA of the finding, and the missed control it exposes on my side. The validator is right about the shape of my verification: destination-vs-emitted-vs-carrier is a SELF-CONSISTENT comparison and cannot see a defect present in all three. The control that WOULD see it is reading the published blob at the PR head —
git show <head>:<path> | head— rather than the working tree, and that is now part of my pre-push audit. The trigger for the misread is the size of the added file (122,476 bytes over 422 lines, longest line 5,719 bytes): GitHub omitspatchfor large files in the files API, so a tool that falls back to the raw git diff sees the header block adjacent to the content window. That is an engine/tooling condition, not a code finding — and there is nothing on my side to change, because nothing is wrong with the artifact.The same proof, re-derived at THIS head (
2a9939fe)Non-blocking observations from that review — fixed or filed, none skipped. The
source: builtincontradiction and theGo version: 1.26.0staleness are INHERITED verbatim from the carrier and belong to a byte-identity-preserving sweep, so both are filed as #1041 with the measurement that settles each. The duplicatespec/schema/*.cuetrigger line acrossgo-skillandplugin-skillis NOT a defect — both skills cover that pipeline from different ends (the recipe vs the plugin/provider seam), and the umbrella dispatcher already routes the trigger to both — so it is recorded as deliberate.The previous head's verdict: INCONCLUSIVE — not a finding about this diff
charly#1040's attempt 2 produced no verdict at all (2026-10-23T16:15:47Z, github-actions[bot]):That is an infra class with no code finding — the gate says in its own words that it is not retryable at the same bounds, which is exactly why the operator's direction was to open a FRESH PR rather than spend a third attempt on an exhausted one. The RCA of it is a
Diagnostics-class provider/budget condition, escalated to the operator (who ownsAI_REVIEW_MAX_TOKENS), and it is deliberately not "fixed" in this diff.This PR is fresh in exactly ONE respect, and it is not the diff: everything above was re-measured on the merged tree so the published head and the reviewed head coincide. If this run is ALSO
INCONCLUSIVE, the answer is the review budget, not another attempt — a third run at unchanged bounds is forbidden by R3 (nothing here is a flake; the class is deterministic), and the PR will stop there and go to the operator with the measurement.One thing to raise with the operator. The diagnostics name
context_bytes=(system=2857 user=278888)for a 10-file docs+routing diff whose largest single artifact is a 122 KB generated source map. A singleAI_REVIEW_MAX_TOKENSraise is the lever the gate itself names; the review input size is not something this PR can shrink without cutting the source map, and the source map is the artefact thegoskill's Reference Index points readers at.Round 2 disposition — the PASS, its one finding FIXED, and the two things that blocked the landing
The verdict on
1412d286was## Review — PASS. It re-derived the table rather than trusting it ("Sum = 1909 added, 0 deleted, 10 files. The body'sfiles=10 add=1909 del=0is reproduced exactly by the per-file headers, so the numstat claim is honest"), checked the zero-.goframing, re-dismissed the round-1 finding ("The round-1 finding was a tooling misread of the added-file header; no action is required"), and called the process disclosures "the kind of admission that strengthens rather than weakens the evidence".Its one non-blocking observation was REAL, and it is FIXED on this head. The review found that the added
charly.ymltriggers sayEditing sdk/schema/*.cue, while both skill bodies and this body's own prose sayspec/schema/*.cue:So the trigger was a stale path that the corpus generator would have published verbatim into
DISPATCHER.md, and it was the config that was wrong, not the prose. Fixed incharly.ymlonly — the bodies are untouched, so the byte-identity invariant this PR's acceptance test rests on still holds — and arm 3 above is the re-run that shows row 4 now emittingspec/schema. The round-1 note that the duplicate trigger line is deliberate still stands: both skills cover the schema pipeline from different ends.Why a PASS still did not land — the repo's own
gocheck, not this diff. The org-requiredarmjob refuses to arm auto-merge when any check on the head failed:The
gojob's failure is a package-timeout under runner load, and it is not about this change (which touches zero.gofiles): thecharlypackage hitgo test's default10mwall while downloading an out-of-process plugin module (Downloading github.com/opencharly/plugin-example-step:v2026.278.1119...is the last line beforepanic: test timed out after 10m0s), and the same content tree passedciearlier that evening (head=bfa5ed7d, run 39982809948, success at 15:58Z), as didmain's own push run 32 minutes before this one (head=52145aff, run 40014777524, 19:52Z). The runner was measured ~2x slower than this host for the sibling package (internal/pluginsgen257.646 s in CI vs 130.261 s here), against a local suite time of 547.074 s on this head (490.443 s on the previous one, same host) — i.e. no headroom inside 600 s, and enough run-to-run variance on ONE host to cross the wall by itself. RCA in full, with the measurements, filed as #1049 (R1: separable from this change, so filed rather than fixed here — the fix is a-timeoutinci.yml, a CI-config change this docs PR must not carry). Themissed controlon my side: my local gate read the same suite green in 490 s and I treated that as the CI result, when the CI job's budget is only ~20% above the host runtime — a gate that passes on a faster machine is not evidence about a slower one.Why the head moved once more.
mainadvanced twice after the first catch-up, and the ruleset's required check is strict (strict_required_status_checks_policy: true, measured onrefs/heads/main), so auto-merge cannot complete on aBEHINDbranch at all. The catch-up is the secondgit merge --no-ff origin/mainabove, taken locally with the body re-keyed before the push — the same order as the first one, and the reason this PR's head and its evidence still name the same commit.Filed issues
goandpluginbodies carry two pre-existing stale claims (source: builtinstated both as legacy-rejected and as legacy-accepted in the same skill;go/SKILL.mdsays Go 1.26.0 wherecharly/go.modsays 1.26.8). Inherited from the carrier; a byte-identity-preserving sweep fixes them, and this PR's acceptance test is byte-identity.gojob's 10m package budget reds a docs-only PR and blocks a PASS from landing (runner ~2x slower, network download inside the window) #1049 —ci'sgojob exceedsgo test's default 10 m package budget on the CI runner and reds an unrelated PR, after which the org-requiredarmjob refuses to arm auto-merge even on a PASS verdict. Filed rather than fixed here: the fix is a-timeout(and/or making the plugin download a precondition) in.github/workflows/ci.yml, a CI-config change this docs+routing PR cannot carry, and this diff touches zero.gofiles. Measurements, the runner-slower-by-2x comparison, and thearmrefusal log are in the issue.Rulebook compliance
/charly-internals:git-workflow,/charly-internals:skills,/charly-internals:agents, plus this repo'sAGENTS.md(Part II refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4 applies on top of the rulebook).INCONCLUSIVEon feat(skill): author go, go-quality and plugin where their code lives #1040 is an infra class with no code finding, escalated, not "fixed"; (d) the review'ssdk/schemaobservation was REAL and is FIXED in this head; (e) thegocheck's package-timeout under runner load is separable from this diff and is FILED as charly#1049, with the missed control named (a local 490 s green read as a CI result against a 600 s budget).layer-charly-internalsdrain PR (which names this one) DELETES the carrier's copies once all six ADDs have merged. The copy that exists between the two PRs is the content-existence invariant doing its job./tmpquota was not "retried until it worked": the mechanism was measured,TMPDIRwas moved to a filesystem with space, and the same build was run once. The lint arm is green by matching CI's toolchain, not by anolintor a suppression.charly.ymlgains only new node names.git statusread first (clean at every gate); no force-push, no rebase, no hook bypass, no direct push tomain. The branch advance is one merge commit.scripts/bootstrap-charly.sh),charly version=2026.296.2036, and every gate above ran on that build. No Go source changed, so nopackaging:/OS-dependency consequence.charly box validate+ three negative arms + the generation probe + gofmt/build/vet/test/lint/tools — all on the merged committed tree above.RESOLVED — superseded bythis PR, and the tracking issues carrySTATUS(the build carrier's 15 skills are a plugin repo's, not charly's — and the internals map re-derives to 33 of 35 with 2 unroutable opencharly#611, whose claim this unit is, and Policy: a skill lives with the code it describes — retire the skills-only repo class (22 repos / 94 skills measured) opencharly#600, whose policy it serves).Change classification
Docs + routing config (three
skill:entities, their bodies andreferences/halves). No Go source, no schema, no image, no bed. The attribution tier isfully tested and validated: the change-class gate AND this repo's own Go gates passed on the final tree, with the binary built from it.A3. This 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; cited with opencharly/opencharly#538, the open record of this runtime being real while a validator's model allowlist rejected it.One thing a reader should know about the corpus, measured here
charlyis not a corpus source:marketplace/candy/charly-marketplace/charly.ymlatorigin/main(af08be9, re-checked for this head; it wasae78ff8when the claim was first measured and the answer did not change) contains no@githubref for this repo (the onlycharly:token in that file is a comment explaining why a repo-root ref does not work), and thecore/skills/charly-versionthe corpus publishes today is a DIFFERENT repo's copy —pod-charly-core's, whose node declaresowner: charly-core. Its content happens to be byte-identical to this repo's owncharly-versionbody, so content cannot tell the two copies apart; the NODE decides which repo is the source, and that is precisely why the refs leg must resolve the duplicate in the same change. So these three skills have a real home and a real owning candy after this PR, and reach no harness until the refs leg adds this repo as a source. That leg is deliberately NOT here: it is a fifth repo's PR and it needs the merged producer tags.Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)