Repository navigation
docs: R4a sweep — task-target residue on reader-facing published pages - #285
Conversation
Fixes the non-development half of the published skill corpus where a page told the reader to run something that needs a charly checkout, and carries the two producer legs plus the pin they require. R4a permits NAMING a repository-maintenance command as maintenance this project performs; it forbids presenting one as a step the reader runs. Measurement is keyed to the actual Taskfile target namespace (every real target from `task --list-all` on the superproject plus spec/Taskfile.yml, plus the three names the docs used that are not real), together with ./bin/charly and GOWORK=off. A shape-based pattern is unusable: a loose `task [a-z:]+` matches English prose, and the tighter `task [a-z]+:[a-z:]+` silently misses the colon-less `task install-portable`. 44 occurrences across 10 non-development published pages before, 31 after; every survivor is descriptive or now carries an audience declaration. The charly-internals bucket is out of scope by audience — the site declares it under "## Development — contributor internals" on the index linking to every one of those pages. Defects fixed, all in candy skill: entity prose: - charly-build/build — "Host Bootstrap (First Time)" was the Install page duplicated into a commands-bucket card. Replaced by "Host Prerequisites": binary + container engine, the native-package path, a pointer to Install for building from a source tree, and `charly box build` as the one command. Three troubleshooting entries drop task-based rebuilds and a checkout-only `git log` diagnostic for `charly version` / `which charly`. - charly/charly — "Updating the Binary — dual-path gotcha" told the reader of an IMAGES-bucket page to `cd charly && go build`. Now opens with the audience declaration; it is this candy's build contract, not reader instructions. - charly-build/migrate — "Adding a future cutover" and "Standing rule" gain the same declaration and stay where they are: this skill owns the migration table. - docs-site — gains a page-level declaration; it describes the candy that builds this site, and carried no contributor framing of its own. False-claim class, verified by running the targets rather than reading them: `task cue:vendor` exists nowhere, `task install-portable` is really `build:install-portable`, and `task setup:builder` does not exist — nothing in the repo creates a buildx builder, so it was removed rather than replaced with an invented command. Capability note: `charly docs generate` is NOT available to a binary-only reader (plugin-docs is in neither compiled_plugins: nor pkg/host-command-plugins.txt), so docs-generation occurrences are reframed as maintenance rather than re-spelled as a charly verb the reader also could not run. Closes the drift on main: plugins#174 landed the generated half of this sweep while the authoring half sat unpushed, so `charly marketplace drift` has been exiting 1 on main. This commit carries the candy sources AND the pointer advance atomically, which is what closes it. - plugins gitlink 396e4bfe -> aa80ca9f (plugins#174, v2026.227.1410) - docs gitlink 93085fb9 -> ee3d162e (docs#57, v2026.227.1412) - DOCS_REF re-pinned to ee3d162e at BOTH occurrences, read from the merged docs main rather than predicted; `task docs:pin` asserts both. Both gitlinks are their submodule's current tip, so the bump is a plain forward move. Change class is CONFIG, not documentation-only: the DOCS_REF re-pin changes the clone layer's cache key, so the docs-site box builds different bytes. The rulebook's enumeration grants a docs-only gitlink bump and stops there; a candy var: is outside it. Gate is therefore `charly box validate` plus the check-docs bed, both green, with `charly check run check-docs: PASS (steps=13)` and zero warnings across every run log. Placeholder CalVer — the pr-validator finalizes it at merge. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
|
| Claim in the section | Measured on 4762c6e3 |
|---|---|
"no candy skill: entity in this repository produces it, and no open superproject PR carries one" |
candy/charly-internals/charly.yml:4378 → - name: evidence-and-freshness |
pasted marketplace drift: 3 generated artifact(s) are stale |
marketplace drift: clean (400 artifact(s) match the committed tree) rc=0 |
"any charly marketplace generate deletes the page" |
regeneration is a no-op; the page is reproduced, and plugins/internals/skills/git-workflow/references/evidence-and-freshness.md is present |
| "it is in flight as charly#284" | #284 state=MERGED, mergedAt 2026-08-15T14:27:22Z, merge 80a662bc |
This is not a pre-existing divergence: the branch was rebased onto 80a662bc at 16:30:51, and line 135 of the same file already discards the pre-#284 bed run because #284 landed. The sweep updated the gate section and stopped there — the claim-keyed sweep R1 mandates ("binds to the cutover's OWN new prose too… being newly authored is not an exemption") did not reach this section. By R2's separability test the tree is not correct without the fix, so it is blocking rather than batchable.
Fix: rewrite the section in past tense as a resolved finding — #284 landed it and became this PR's base; the 3 stale artifacts measurement is superseded by clean (400). Push it as an additional commit; the branch fast-forwards, no force-push needed.
Everything else verified and passing
Closure, proven with a negative control (the point of the PR):
source reverted to main, plugins left at aa80ca9f:
marketplace drift: 8 generated artifact(s) are stale: EXIT=1
build/skills/build/SKILL.md · build/skills/migrate/SKILL.md
internals/skills/agents/references/parallel-bed-testing.md
internals/skills/egress/SKILL.md · internals/skills/go/SKILL.md
tools/skills/charly/SKILL.md · tools/skills/cue/SKILL.md
tools/skills/docs-site/SKILL.md
final tree:
marketplace drift: clean (400 artifact(s) match the committed tree) EXIT=0
Exactly the 8 named artifacts, mapping 1:1 to the 8 skill: entities edited. Clean because the source produces them, not from a revert — plugins 396e4bf..aa80ca9f has 0 deletions.
Pins — both are identical to their submodule's main tip, so ancestry and containment both hold with no gap:
plugins aa80ca9f → identical ahead_by=0 behind_by=0; docs ee3d162e → identical ahead_by=0 behind_by=0.
Both DOCS_REF sites — charly.yml:44 (var:) and :82 (the docs-site-pinned-commit matcher), the only two 40-hex occurrences, both ee3d162e. task docs:pin: "DOCS_REF and the pinned-commit matcher both match the gitlink".
Deletions, landed recipe (merge-tree --write-tree … | head -1), base tip not merge-base: merged tree 29b13429, 0 deletions. origin/main == PR base, and the merged tree is byte-identical to the head tree.
Bed run is valid for the final tree. The run (2026.227.1432, 16:32–16:38) executed on bb3ce657; the one later amend (16:45 → 4762c6e3) touched only CHANGELOG/2026.227.1340.md — candy/docs-site/charly.yml, docs and plugins are all byte-identical between the tested tree and the head. On-disk summary.yml: ok: true, 14 true / 0 false, total_seconds: 360; warning sweep across all 11 run logs: 0. Rebuild legs present: update, check-live-rebuild, feature-run-rebuild. image-build.log carries ee3d162e and no 93085fb.
Gates re-run on my own worktree (binary built from this tree, charly version 2026.227.1445 — R9):
charly box validate rc=0
task docs:pin both sites match the gitlink
task skills:drift clean (400 artifact(s)) · skills: no drift.
task docs:drift walking 6 repo root(s) · 891 generated pages · no-op · docs: no drift.
(A first docs:drift failed on /reference/box/fedora/tutorial-shell/; RCA — my worktree lacked the box/* submodules, "walking 1 repo root(s)". Clean after initializing them. Not a PR defect.) $TMPDIR verified present, so no warn-skip false pass.
R5 grep self-test — task cue:vendor, task install-portable, task setup:builder return live hits in none of superproject/plugins/docs; every hit is CHANGELOG/ history. Existence re-verified by execution, reproducing the entry's block exactly: the three do not exist; build:install-portable and setup:all do.
Measurement re-derived independently: 44 occurrences / 10 files → 31 / 9. Matches exactly; 44−31=13. "Four occurrences in build/SKILL.md" = 4. The internals-bucket figure I measure as 65 vs the entry's 61 — the entry already declares that bucket out of scope and the delta unreconciled, so nothing turns on it.
Change class re-derived as CONFIG, not documentation-only — agreed. DOCS_REF is a candy var: feeding the clone layer's cache key; the rulebook enumerates "docs-only gitlink bump" and stops there. The decidable-from-the-diff test is sound.
R6 — exactly one push (16:45:15, 4762c6e3), no force-push; all rebases/amends were pre-push, which is legal authoring.
Claims spot-checked true: recipes/index.md:426 "## Development — contributor internals"; plugin-docs absent from both compiled_plugins: and pkg/host-command-plugins.txt (so "reframe, never re-spell" is correct); #278's pins are indeed non-ancestors of the tips.
Re-push and I will re-validate.
This review was produced by an AI agent acting as the fresh independent PR evaluator.
The "Escalated finding" section described charly#284 as live and in flight. #284 merged at 14:27:22Z as 80a662b — this branch's own base — so all four of that section's present-tense assertions were disproved on this tree: - "no candy skill: entity produces it" -> candy/charly-internals/charly.yml:4378 carries `- name: evidence-and-freshness` - pasted `marketplace drift: 3 generated artifact(s) are stale` -> the tree measures `clean (400 artifact(s) match the committed tree)` - "any charly marketplace generate deletes the page" -> regeneration is a no-op - "it is in flight as charly#284" -> MERGED Rewritten as resolved-during-this-cutover, keeping the finding that outlives it: the breakage was confined to skills:drift and never reached docs:drift, because collectSkills reads the plugins projection rather than the candy entities — a two-hop chain breaks at the hop nearest the missing source, not at every hop. Swept the whole file rather than the section named in review. That caught a second instance: the correction itself cited the gate section by LINE NUMBER, which the rewrite above invalidated within one edit. Now cited by content, for the same reason a line number in a generated file is worthless. Records the pattern rather than quietly fixing it — this is the rule the cutover carries, sprung on the document carrying it ("re-running the bed is half the fix; the prose still cites the superseded state"), and the fourth instance in one day of a claim true when written and false when read. The sweep key is the STATE, never the string: a cutover that changes its own base mid-flight invalidates prose that never mentions the base. CHANGELOG-only; no code, config, gitlink or DOCS_REF change, so the gate evidence in the entry stands unchanged and the branch fast-forwards. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
|
Both were true-sounding facts about shared mutable state, asserted without the identifiers that would have made them falsifiable. 1. "main is drift-red" — FALSE, and it was never true. main pins plugins at 396e4bfe, and aa80ca9f (#174) is NOT an ancestor of it, so the gitlink predates #174: main's candy sources are pre-sweep AND its pinned plugins tree is pre-#174, two halves of one older state, which is what a clean drift check reports. The eight-artifact red only appears in a checkout with plugins/ ahead of the gitlink and candy sources not yet swept — an ordinary working tree, never a committed state of main. Recorded as a rule, because the mechanism generalises: `charly marketplace drift` and `charly docs drift` answer a question about the CHECKOUT they ran in — candy sources on disk versus the submodule tree on disk — not about any commit. A submodule checkout floats independently of its gitlink, so "the gate is red on main" means nothing until main's exact tree is reconstructed (superproject commit plus each submodule at its PINNED sha). The urgency framing this produced is removed from the entry and the PR body: the generated half was pending at the plugins tip, which is a queue, not a breakage. 2. "both gitlinks are their submodule's current tip" — half false, and already false when written. docs ee3d162e was the tip; plugins aa80ca9f was not — 4458a400 (#176) had merged minutes earlier, and ab1f93d3 has landed since. The pin is a strict ancestor of the tip, so the FORWARD MOVE claim (the one that matters for correctness) stands unchanged; only the word "tip" was wrong. Restated as "descendant of what main carries", which does not decay. Both corrections applied to the CHANGELOG and the PR body, and the whole entry re-swept for sentences leaning on the removed premise rather than only the two quoted in review. That re-sweep caught a third, smaller instance: this correction's own cross-reference said "see below" for a section that sits above it. Now cited by heading, per the same rule. CHANGELOG-only; no code, config, gitlink or DOCS_REF change, so the bed run and every gate figure in the entry stand unchanged. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
|
1. `ab1f93d3` is not a commit — the correct abbrev is `ab1f93d9`. A 7-hex prefix with a wrong 8th character, introduced in transcription. Same fictitious-identifier class as the three non-existent `task` targets this entry documents, and it would have shipped permanently to main. Swept EVERY sha-like token in the entry, not just the reported one, by resolving each with `git cat-file -t` against all five repos from full clones (`--is-shallow-repository` = false, since "this sha does not exist" is unfalsifiable from a shallow one). All 14 now resolve. Did the same for the PR body, which carried the same bad sha plus three that resolve in sdk/spec rather than here; its one remaining unresolvable token is a PID inside a pasted error path, not an identifier. 2. Recorded that the queue does NOT empty when this lands. Stated in the durable form rather than as an artifact list: the list decays (measured at 3 stale, then 5, within one afternoon), so enumerating it would ship a figure wrong by the time anyone read it — the exact failure this entry already documents three times. The stable facts: a superproject leg pins the submodule at the merge of its OWN producer leg, never at the tip (pinning the tip drags in generated artifacts whose candy sources the commit does not carry — the same source-behind-projection inversion, pointed the other way); and `tools/skills/docs-site/SKILL.md` is both in the pending stale set and rewritten by this cutover, so the next leg advancing plugins past aa80ca9f inherits the obligation to carry the candy source for everything the advance drags in. CHANGELOG-only; no code, config, gitlink or DOCS_REF change, so the 2026.227.1432 bed run and every gate figure still describe the final tree. Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated) Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
|
Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
Brings #285 in and resolves the one conflict: the `plugins` submodule gitlink. The conflict is not a divergence. In the submodule, merge-base(bcbfdcbc, aa80ca9f) == aa80ca9f — main's pin IS the merge-base, so ours is a strict fast-forward and resolving to bcbfdcbc is the only option that does not rewind. Taking theirs would drop three commits (4458a400, ab1f93d9, bcbfdcbc) and three producers' projections. git could not compute that itself, and the reason is diagnosed rather than worked around: `docs` and `plugins` are structurally identical two-sided cases, and git fast-forwarded docs while failing plugins. docs' theirs (ee3d162e) is ours' DIRECT PARENT, so ancestry needs no walk; plugins' advance spans three commits, so it must walk, and it dies on the first intermediate reached from our side (ab1f93d9) because the superproject's object store cannot read submodule objects. The tool never names the second intermediate (4458a400), which is what confirms a walk stopping at first failure rather than a wholesale read failure. `git submodule update --init --recursive` was run first as a negative control — every submodule was already initialised and clean, so it moved nothing, and the error persisted exactly as predicted. Persistence classifies nothing: persistent error and provable fast-forward were observed together in two independent trees. Intermediate merge on the feat branch; the pass's R10 (check-docs bed, config change class per B6a step 4) runs on the final tree before the PR is updated. Assisted-by: Claude Code Anthropic Claude Opus 5 (syntax check only) Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
…sources First of the sources this leg carries as the forced union. Adds the landing mechanics to git-workflow-skill and the re-pin cross-reference to docs-site-skill; their projections are already on docs main, which is why this leg must carry the source that produces them. Applied as a PATCH onto the merged base, never as a file copy. That distinction is load-bearing here: #285 added six lines at docs-site-skill:201, so this patch's `@@ -230` hunk lands near 236, and a whole-file copy taken from the pre-#285 base would have used the old numbering and silently dropped them. The same operation cost another leg three reverted entities (parallel-bed-testing, egress, go) that it then counted as drift. Verified rather than assumed: strict `git apply --check` passes against the merged base with no 3-way fallback, the diff against origin/main is 62 insertions and 2 deletions with both deletions being this patch's own line-continuation replacements, and all six lines #285 added are positively present in the working file afterwards. Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
Second and last of the sources this leg carries. Adds the content-scoped execution rule, the PROVENANCE clause, the symptom table and the rerunnable merge-tree fixture to git-workflow-skill. This one was load-bearing beyond its own additions. Before it, regenerating evidence-and-freshness.md at this tree removed 152 lines: plugins carried those four sections as a PROJECTION introduced at ab1f93d9, while their candy source existed in no superproject tree at all — not origin/main, not this branch, not the merge-base. Landing the projection's pin without this source would have reverted another leg's work as ordinary generator output. Verified as a gate rather than an expectation: after applying, all four previously source-less sections are present, patch 1's additions are intact, and all six lines #285 contributed are still present. Applied as a patch on top of patch 1, measured in between, so an unattributable artifact would have been caught against one source rather than two. The 7 trailing-whitespace warnings are pre-existing blank lines inside a YAML block scalar; --whitespace=fix is deliberately NOT used, since stripping that indentation would change the rendered page. Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
… final bed Names all four cutovers this leg carries, because a squash would otherwise bury three other authors' provenance: the build-scope verdict resolver (this leg), the git-workflow landing-mechanics leg, the merge-tree-guard leg (source carried as c144ad1), and the R4a residue sweep whose source #285 landed ahead of all of it. The union was forced, not chosen. A mirror leg that lands ahead of its own superproject leg makes the mirror unpinnable by any state the superproject can reach, so the constraints bind simultaneously and the first leg through the gate must carry every source. Two authors pinned plugins short of the tip; both applied the rule as written and got the only pin it permits. What is recorded is a repository state the rules did not anticipate, not a mistake anyone made. Sweeps what this change invalidated rather than appending to it: the "11 stale artifacts, expected drift" section is replaced by the resolution, the pin table now reads the derived pair with the reason the earlier pair stopped being right, and the main-pins-396e4bfe measurement is anchored to its moment instead of stated in the present tense about a ref that has since moved. Adds the DOCS_REF defect with its root cause — five commits moved the docs gitlink and none carried the pin that names it — and the final-tree bed verdict, cited by the build log's ENV DOCS_REF line rather than by a PASS line that never echoes what it asserted. Claude-Session: https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
…uilt (#278) `charly check box <box>` could run against an image that was not the one you had just built, report every step green, and give no sign. A gate that certifies the wrong artifact is the highest-severity defect this system has, because a false pass is indistinguishable from a real one. Two independent causes compounded, both traced against the real image store. The render labelled an imported box's image with the namespace-qualified Generator key while tagging the ref with the leaf name, so a fresh build was invisible to a resolve of its own image name. And the election's primary key is the content-derived version label, so an image built from a differently-versioned source tree outranked a newer build regardless of when either was produced. The three build-scope verdict verbs — `charly check box`, `charly box feature run` and `charly box labels` — now resolve through the guarded `kit.ResolveBuiltImageRef`, which refuses a short name whose election is not the newest local build and names both refs plus the pinned re-invocation. Build recency keys on the image's CREATION TIME, the only key total over the tags charly mints (`--tag` REPLACES the CalVer tag, so every bed build reads as no CalVer at all). All three verbs print their `Image:` provenance FIRST on every path, including the no-plan path that previously bailed before printing one; for `box labels` it goes to stderr so `--format`'s single raw stdout value stays byte-unchanged. `candy/plugin-clean`'s retention sort shared the same blind spot and is folded in rather than named separately, because it is the one surface here that DESTROYS an artifact instead of mis-answering: a group of bed-tagged images had no usable ordering key, so `keep_images: N` kept an arbitrary N and could delete the newest build. This commit carries FOUR cutovers' candy sources, and the union was forced rather than chosen. The docs mirror had been regenerated at a projection no reachable superproject state reproduced, so the first leg through the gate had to carry all of them: the build-scope verdict resolver, the git-workflow landing-mechanics leg (#176), the merge-tree guard (#177, source `c144ad11`), and the R4a task-target sweep (#285). Named so a squash does not bury other authors' provenance. Advancing the `sdk` gitlink forces a spec-floor sweep across 90 `candy/*/go.mod` files: under MVS every module depending on `sdk` and requiring `spec` directly must match, and `go.work` masks the defect in-tree while these plugins ship out-of-workspace. The standing gate this adds is a `GOWORK=off` per-module build; it reports 91 modules with one failure, `candy/plugin-dsh`, which fails identically on `main` for an unrelated `go`-directive cause and joins a named module-hygiene batch with a measured scope. Gates, re-derived independently at merge: `check-agent-pod` run 2026.227.1451 (13 steps, 365s) against a byte-identical final resolver; `check-docs` run 2026.227.1835 (13 steps, 492s) on the final tree at zero warnings, with the build log showing it cloned the `DOCS_REF` commit it then asserts. `marketplace drift` clean at 400 artifacts and `task docs:drift` a no-op over 6 repo roots and 891 pages — the first of those perturbation-tested to confirm it can actually fail. Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
Closes the R4a residue sweep. Carries the candy
skill:sources whose regenerated output already landed asplugins#174anddocs#57, both gitlink advances, and theDOCS_REFre-pin.This pins a generated half that is pending at the plugins tip
plugins#174landed the generated half of this sweep; this commit carries the authoring half and pins it, so the two travel together.Correction (this PR previously claimed
mainwas drift-red — it is not, and never was).mainis self-consistent: it pinspluginsat396e4bfe, andaa80ca9f(#174) is not an ancestor of it, so the gitlink predates #174.main's candy sources are pre-sweep and its pinnedpluginstree is pre-#174 — two halves of the same older state, which is what a clean drift check reports. The eight-artifact red only appears in a checkout withplugins/ahead of the gitlink and candy sources not yet swept: an ordinary working tree, never a committed state ofmain.charly marketplace driftanswers a question about the checkout it ran in, not about any commit. There is no active-gate breakage and no urgency here — the generated half is queued, not broken.Two other sessions hit that drift independently and correctly refused to sweep it in: a peer working
plugins#175/docs#58on the same skill committed only its own file rather than the eight, andcheck-verb-correctnessreported rather than regenerated from its own tree. Both refusals were right — the eight artifacts were left intact deliberately, not missed — and this commit is what makes the refusals unnecessary going forward.The sweep
R4a's standard: every command a reader is told to run must work with nothing but the
charlybinary installed. A page may NAME a repository-maintenance command as maintenance this project performs; it may not present one as a step the reader runs.44 occurrences across 10 non-development published pages before, 31 after. Measurement is keyed to the actual Taskfile target namespace — every real target from
task --list-allplusspec/Taskfile.yml, plus the three names the docs used that are not real — together with./bin/charlyandGOWORK=off. A shape-based pattern is unusable: a loosetask [a-z:]+matches English prose, and the tightertask [a-z]+:[a-z:]+silently misses the colon-lesstask install-portable(four occurrences in one file).The
charly-internalsbucket is out of scope by audience — the published site declares it itself under "## Development — contributor internals" on the index linking to every one of those pages.Defects fixed, all in candy
skill:prose: thebuildskill's "Host Bootstrap" section (the Install page duplicated into a commands-bucket card) and three of its troubleshooting entries; audience declarations oncharly's dual-path section,migrate's schema-cutover sections, and thedocs-sitepage.Three
tasktargets named in the docs do not exist — verified by running them, not by readingTaskfile.yml:cue:vendor(nowhere; the egress skill headed a section after it),install-portable(reallybuild:install-portable),setup:builder(nothing in the repo creates a buildx builder, so it was removed rather than replaced with an invented command).Capability note:
charly docs generateis not available to a binary-only reader —plugin-docsis in neithercompiled_plugins:norpkg/host-command-plugins.txt. So docs-generation occurrences are reframed as maintenance rather than re-spelled as a charly verb the reader also could not run.Change class: CONFIG, not documentation-only
The prose is documentation but the commit re-pins
DOCS_REF, a candyvar:feeding the clone layer's cache key — so thedocs-sitebox builds different bytes. The rulebook's enumeration grants "docs-only gitlink bump" and stops there.The general test, worth reusing: a change class must be decidable from the diff. If "the referenced content is documentation" were the test, classifying this would require cloning a remote repo at a named commit and reading it — the class would be a property of someone else's tree. Consequence beyond this PR: the standard multi-repo sequence ends with "re-pin
DOCS_REFafter the docs leg merges", so any cutover doing that takes the config gate.Gate — final tree, rebased onto
80a662bcsummary.yml:ok: true, 14 step flags true / 0 false. Warning sweep across every run log in the run directory: 0.[update]is the fresh-rebuild leg and the two*-rebuildsteps re-prove the deployment after it, so this covers R10's rebuild requirement rather than first-boot only.An earlier run against the pre-#284 tree was discarded, not cited — #284 changed
candy/docs-site/charly.yml, acheck-docsbuilder-chain input, so it measured a tree that will not be merged.That last check is run against the merged tree, per
/charly-internals:git-workflow→references/evidence-and-freshness.md("The gate that matters at merge is the merged tree's, not the head's"). Neitherorigin/main..HEADnororigin/main...HEADanswers it: three-dot diffs from the merge-base and under-reports, two-dot over-reports on any branch whosemainhas moved. A "rebase first, then two-dot" form was drafted and discarded — rebasing a pushed branch requires the force-push this project forbids, so it could never be run by a validator on an open PR.Pins and merge order
Both gitlinks move forward — each pin is a descendant of what
maincarries:Not claimed: that either pin is the current tip. An earlier revision of this description said so, and it was already false for
pluginswhen written —4458a400(#176) had merged minutes earlier, andab1f93d9thenbcbfdcbchave landed since. "Tip" is a fact with a shelf life of minutes; "forward move" is stable and is what actually matters for correctness.Pinning at its own merge is correct, not conservative. A superproject leg pins the submodule at the merge of its own producer leg, never at the tip — pinning the tip would drag in generated artifacts whose candy sources this commit does not carry, which is the source-behind-projection inversion this PR's entry documents, pointed the other way.
Standing obligation for the next leg. The queue does not empty when this lands:
pluginskeeps carrying artifacts ahead ofaa80ca9f, and at least one —tools/skills/docs-site/SKILL.md— is both in that pending set and rewritten by this cutover. Whichever superproject leg next advancespluginspastaa80ca9fmust carry the candyskill:source for everything the advance drags in, not only the file it set out to change. Today's stale list is deliberately not enumerated here: it measured 3, then 5, within one afternoon.Note for
charly#278: its pins (70f4cded,829b6ca2, plus39fc0996andfd239582) are siblings of the tips, not ancestors or descendants — their merge-bases withmainare61f5e9bfandb3c08a46. Those shas are unmerged producer heads that will never appear onmain, since a squash-merge mints a new sha. They cannot be fixed by choosing a descendant; they must be re-derived after those producers merge, and whatever they re-derive must be a descendant of this PR's pins or it is a regression. (Same root cause as a defect caught in this branch pre-push: both branches were cut from the superproject gitlinks while the submodule mains were already ahead.)Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
https://claude.ai/code/session_01Rt9KMZF6v3x1iL24M74dN2
Addendum — the static gates are not vacuous (paired controls)
A non-existent
$TMPDIRmakes charly's static verbs report success while silently dropping content: an out-of-process plugin dies before its handshake, charly warn-skips thekind:node, and exits 0. Sincecharly box validate,marketplace driftanddocs generateall have that failure mode, a directory-existence check is not enough — here is the discriminating pair, run against this tree.Negative control — deliberately bogus
TMPDIR, to prove the failure mode is visible at all:Note the upstream text blames architecture, libraries, permissions or handshake — never
TMPDIR.Positive control — the
TMPDIRevery gate in this PR actually ran with (/home/atrawog/.cache/charly-gotmp, present and writable):The second line is itself corroboration rather than a separate claim:
plugin-marketplaceis a runtime plugin, deliberately absent fromcompiled_plugins:. It could not have reported 400 matching artifacts if the out-of-process plugin path were broken. The same holds forcharly docs generate, which emitted 891 pages duringdocs:drift.So the gate lines quoted above exercised the mechanisms they name.