Skip to content

docs: a rename inverted a true retraction (round 7, post-#73) - #75

Merged
atrawog merged 12 commits into
mainfrom
feat/emit-quoting-doc-drift
Aug 17, 2026
Merged

atrawog merged 12 commits into
mainfrom
feat/emit-quoting-doc-drift

Conversation

@atrawog

@atrawog atrawog commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

docs#73 merged at 21:43; this is the round-7 fix that landed on the branch afterwards. Pushing to the merged-and-deleted branch re-created it, so these changes were sitting on a branch with no PR and would have been silently stranded. This PR is that recovery.

Four fixes across 7 files, all at the candy source (opencharly/charly#297), regenerated here:

1. A rename inverted a true retraction. An earlier round wrote a correct negation — "there is no allStepKinds", true because the lowercase form exists in no module. A later lowercase→uppercase sweep hit that token inside the retraction and capitalised it, producing:

the kind list is AllStepKinds (sdk/deploykit/steps.go:104) — there is no AllStepKinds.

which asserts and denies the same symbol in one sentence. AllStepKinds does exist. A mechanical rename does not merely fail to fix a false sentence — it can invert a true one, and this is invisible to every existence check: the symbol resolves, so the sentence passes a grep in both directions.

2. The kubernetes cross-reference pointed at its own refutation — "generating a Kustomize tree host-side" while the section it cites, and the code, say materializeKustomize does it plugin-side (candy/plugin-kube/materialize.go, reaching candy/plugin-k8sgen over verb:k8sgen/OpEmit). Four instances; my first sweep caught one because I keyed on "generates" and three said "generating", so the anchor became the claim rather than the verb.

Change class

documentation-only — generated projection. Source is charly#297; that PR must merge after this one (a projection lands before the source that pins it).

Closes / relates to: follows docs#73 (merged d0ff8763, tagged v2026.229.2141). Source: opencharly/charly#297. Sibling projections: opencharly/plugins#198 (merged) and opencharly/plugins#200.

Breaking change + rollback: none. Plain revert.

How R10-tested — exact gate, commands, and pasted output

  • Gate for this change class: the non-runtime standards. No bed applies.
  • Eval beds run: none — N/A (docs-only).
  • Fresh rebuild: N/A (docs-only) — no binary is involved.
  • Did the CHANGED code path execute live? N/A (docs-only) — no code path changes.
  • Concurrency: N/A.

1. Fresh-rebuild gate output:

N/A — documentation-only; no binary involved.

2. Each changed code path executing:

N/A — documentation-only; the diff changes no code path.

3. Docs-only evidence:

charly box validate           exit 0, 0 warnings   (at the candy source, charly#297)
AllStepKinds exists           sdk/deploykit/steps.go:104 -> spec/install_step_vocab.go:902
allStepKinds (lowercase)      0 files, either module
materializeKustomize          candy/plugin-kube/materialize.go
'Kustomize tree host-side'    0 remaining in both candy sources

Attribution tier

documentation reviewed — the whole diff is generated *.md.

Harness rulebook compliance

  • R0 skills: /charly-internals:generate-source, /charly-internals:go, /charly-internals:git-workflow.
  • R1: both defects root-caused — one to a blind rename inside a negation, one to a verb-inflection-keyed sweep.
  • R2: nothing parked; the residue is in a named batch with failure modes attached.
  • R3: the anchor is the claim, not the wording, so all four instances went together.
  • R4/R4a: code is right, prose was wrong.
  • R5 hard cutover + grep: APPLIES and PASSES — round 8 REMOVED a claim from 9 sites (host-generated, 5 in candy/plugin-kube; the lowercase allStepKinds prose at charly-internals:5490/:6324). git grep host-generated now returns zero across all three repos, and the CHANGELOG carries the reason it vanished — which is what the self-test relies on CHANGELOG/ to hold. An earlier revision claimed N/A — purely additive; that was true of round 7 and false of round 8.
  • R6 git safety: append-only. Note the hazard this PR exists because of: pushing to a merged-and-deleted branch re-creates it silently.
  • R7/R8/R9: N/A — no runtime, no binary. Generated by task docs:sync, never hand-edited.
  • R10: docs-only branch — the non-runtime standards, no bed.
  • Hard cutover: one commit.
  • CHANGELOG: CHANGELOG/2026.229.0000.md, placeholder CalVer.

What is NOT proven

  • The ambiguity of host is resolved at these five sites, not project-wide. The word plausibly
    carries both senses elsewhere; I have not swept for it, because a blanket rename on a word with two
    valid meanings is exactly what converts true statements into false ones — a validator confirmed that
    rewriting deploy.go to "plugin-side" would have destroyed a true host-vs-cluster contrast. It
    wants a named batch and a reading, not a sweep.
  • The legibility set is routed, not fixed: the )) double-close introduced by this diff, the
    kubernetes fact now stated twice in the IR sentence (redundant, not contradictory), undefined wave
    codes, and unexpanded CUE/MCP/RFB/IR/OCI. Named batch, with the cold reader's findings attached.

No longer unproven, corrected from an earlier revision of this body: reference/{candy,plugin}/plugin-kube.md were described as "routed rather than reached across for". Both are in this diff and fixed — that sentence was true of round 7 and became false when round 8 reached them.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)

…I-C quoting

Regeneration of five pages whose source prose described a mechanism the
emitter no longer uses and named two symbols that exist nowhere in the tree.

  emitCmd + $'...' ANSI-C quoting  ->  EmitCmd + a single-quoted <<'OVCMD' heredoc
  shellAnsiQuote(s)                ->  gone; the ANSI-C form required bash
  shellSingleQuote(s)              ->  spec.ShellQuote
  stageInlineContent(...)          ->  StageInlineContent (sdk/deploykit)

Source: the skill: entities in candy/charly-build/charly.yml and
candy/charly-internals/charly.yml. Ground truth read out of
sdk/deploykit/tasks_emit.go and confirmed by a live podman build of the emitted
directive on a busybox base, with the pre-fix bash -c form as the counterfactual
(exit 127).

Regenerated on origin/main and filtered to the attributable files. A wholesale
regeneration also rewrites unrelated pages and ADDS an ollama-cli page;
those are drift from candy sources not yet on superproject main, and reverting
them is deliberate.

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
A validator failed round 1 on the finding that lands hardest: this change's own
thesis is that documentation naming non-existent symbols is a defect, and its
replacement prose named non-existent symbols.

  "tasks.go is a thin shim to deploykit.Generator.EmitTasks"
      -> charly/tasks.go is 64 lines, ONE function invokeOpEmitFragmentOpt, and
         CANNOT shim a deploykit method (P16 import purity forbids charly/
         importing the sdk at all)
  emitPluginFragment  -> zero declarations anywhere; real: invokeOpEmitFragmentOpt
  case "command": emitCmd (RUN bash -c ...)
      -> the retracted form surviving 45 lines above its own retraction
  emitDownload row: bash -c + "curl | extractor"
      -> EmitDownload emits the shell probe and fetches to a content-addressed
         cache file; there is no pipe
  generate.md write: row emitted --from=<layer-stage>
      -> EmitWrite emits no --from=; the source is a build-context path

Root cause: the greps were pointed at the claims being RETRACTED and never at
the claims being ASSERTED. Every Go symbol the corrected prose now names was
verified to exist before pushing -- including method receivers, which a bare
`func <name>` grep misses (that gap is why EmitTasks first read as absent).

Scope grew: 52 lowercase emitter names renamed to the exported forms that exist
in sdk/deploykit. One stale test reference now names the real gate,
TestOpActsInBuildDeploy_PlacementAgnosticBuildEmit.

Regenerated on the current origin/main (plugins caught up to #197 by MERGE, not
rebase) and filtered to the attributable files.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
Round 3, from two validators reviewing plugins#198 and docs#73.

The repeated claim: "EmitTasks (charly/tasks.go) is a thin shim to
deploykit.Generator.EmitTasks" -- asserted at SEVEN sites across both candy
sources, and architecturally impossible at every one. charly/tasks.go is 64 lines
holding one function, invokeOpEmitFragmentOpt, and P16 import purity forbids
charly/ importing the sdk at all, so it cannot call a deploykit method. The
pod-overlay path reaches EmitTasks directly.

Also swept:
  populateCandyFromYAML  -> scanFromParsed (sdk/loaderkit/scan_candy.go:111);
                            the same file elsewhere calls it DELETED, so one diff
                            had a symbol live in one place and deleted in another
  "~380 lines" / "~430 lines" for a 64-line file  -> the real figure
  "Shell-quoting helpers (charly/tasks.go)" + "Two helpers in tasks.go"
                         -> falsified BY this cutover: the helpers are three, in
                            spec and sdk/deploykit, none in tasks.go

Every symbol the corrected prose names was verified to exist before pushing,
method receivers included. box validate exit 0, zero warnings.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
Round 4, both findings from the plugins#198 validator, both verified in code.

NewGenerator has ZERO definitions in any of the three modules -- the code calls
it "the deleted host-side NewGenerator" -- yet charly-build asserted it "connects
the project external plugin candies", FOUR LINES from a note saying `charly box
generate` does NOT call it. Phantom plus self-contradiction. The real seam is
loadProjectPlugins (charly/host_build_buildengine.go:51, check_cmd.go:70).

The source-map row for plugin_step_external.go named four things that do not
exist: the file itself (only the _test.go survives), externalPluginStepProvider
and its in-proc EmitOCI (both recorded in-code as "is gone" / "deleted, R1: zero
live"), and allStepKinds (the real symbol is AllStepKinds, sdk/deploykit/
steps.go:104). Rewritten rather than symbol-swapped, and every path, symbol and
cited line number in the replacement was verified -- checking FILENAMES as paths,
not by grepping file contents for them, which is how the first check misreported.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
Round 5. Two validators converged on the same instrument and it is the one that
closes this class: sweep on the filename, not the sentence. Round 4 keyed on the
phrase "thin shim"; two survivors said just "shim". Keying on the FORM a finding
took is why each round left the next instance wearing a different shape.

`git grep -n "tasks\.go"` over the candy sources = 24 lines. Reading all 24
caught, together:
  - "### Per-verb emitters (single Go file: charly/tasks.go)"   (they are in sdk)
  - "### Emitter helpers (all in charly/tasks.go)"              (same)
  - two surviving "EmitTasks shim" sites that said "shim", not "thin shim"
  - EmitDownload and taskCacheMounts located in charly/tasks.go (both sdk)

Plus a runnable LOCATION-assertion check over every `Symbol` (`path.go`) pair --
the docs73 validator suggested it and it generalises the failure: the renames
verified each name exists SOMEWHERE, while the claims are about WHERE IT LIVES,
so emitTasks->EmitTasks turned a name resolving to nothing into a name resolving
in the WRONG PACKAGE, which passes a global grep while staying false. It checked
55 claims and found 9 bad; the 3 inside this edit surface are fixed here:
  compileSystemPackageSteps -> CompileSystemPackageSteps (sdk/deploykit/install_build.go)
  resolveCascadePackages    -> ResolveCascadePackages    (same file)
  EmitTasks (charly/tasks.go) -> EmitTasks (sdk/deploykit/tasks_render.go)
The 6 outside it are routed, not parked.

Also: the three missed renames (taskCacheMounts, allStepKinds,
renderHostPackageCommand) plus emitVarsEnv, which a token grep passed because a
COMMENT mentions it -- the same reason EmitTasks looked real; the shipped
EmitTasks signature (a method, not a free function; ops []vmshared.Op was
missing, initialUser invented, both returns dropped); Task -> Op in six emitter
rows; the --chmod/--chown order; and the CHANGELOG entry that asserted the false
reality in its Claim->Reality table while retracting it 35 lines later.

box validate exit 0, zero warnings.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
step-kinds asserted in PRESENT TENSE that the external-plugin step provider
"Self-registers via registerDedicatedBuiltin(externalPluginStepProvider{})" --
seven lines below the same file correctly calling it DELETED, and while three
other sites (install-plan, source-map) also called it deleted. registerDedicated
Builtin has zero mentions in any module; externalPluginStepProvider was
documented as deleted in the previous round of this same PR.

The instrument, from the validator, and it is the converse of the filename
sweep: a retraction in one file does not retract the claim in another. After
correcting a claim, re-grep the retracted symbol across the changed files --
the fix CREATES the contradiction if a sibling still asserts it.

Ran it: externalPluginStepProvider + registerDedicatedBuiltin + allStepKinds now
have ZERO live assertions across both candy sources; every surviving hit is a
past-tense retraction. The replacement names what actually happens -- dispatch
relocated to candy/plugin-installstep oci-dispatch (dispatchExternalPluginVerb),
deploy-time via charly/plugin_executor_reverse.go invokeExternalStep -- and cites
charly/plugin_dispatch_reverse.go:63-67, verified.

box validate exit 0, zero warnings.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
Both validators converged on the same upgrade and it is the one that catches
what the previous instruments could not: for a claimed Go symbol, count
occurrences across ALL .go in charly+sdk+spec. Zero means phantom -- no false
negatives from receivers, const blocks, func-typed fields or parameter names,
all of which defeat a `func <name>` grep.

Fixed, each verified to exist before use:
  isExternalStepKind  -> IsExternalStepKind (candy/plugin-installstep/oci_dispatch.go)
  resolveUserSpec     -> ResolveUserSpec    (sdk/deploykit/tasks_emit.go:35)  x3
  tagSections         -> TagSections        (spec.CandyModel field)
  topPackages         -> TopPackages        (same)
  derivePackageSectionsFromCalamares -> scanFromParsed
      (sdk/loaderkit/scan_candy.go:111) -- a PHANTOM whose every occurrence is a
      comment, the emitVarsEnv mechanism exactly: it survives any existence grep
      on the strength of past-tense mentions.
  "task emission pipeline (charly/tasks.go)" / "the verb catalog tasks.go
      implements" -> sdk/deploykit/tasks_emit.go

NewGenerator: four sites, and two were the subtle shape -- "does NOT call
NewGenerator inline" and "connected by NewGenerator s seam". A CONTRAST against a
deleted symbol still asserts it exists to be contrasted with. Zero live
assertions now; every surviving mention is past-tense.

isExternalStepKind is the third instance of "fixed one token, missed its
neighbour in the same sentence" -- it sat on a line whose allStepKinds I had just
corrected.

box validate exit 0, zero warnings.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
The sharpest instance of this review theme, and it is against my own sweep.

Round 4 wrote a CORRECT negation: "there is no `allStepKinds`" -- true, because
the lowercase form exists in no module. The round 5/6 lowercase->uppercase sweep
then hit that token INSIDE THE RETRACTION and capitalised it, producing:

  "the kind list is `AllStepKinds` (sdk/deploykit/steps.go:104) -- there is no
   `AllStepKinds`."

which asserts and denies the same symbol in one sentence. AllStepKinds DOES
exist. A mechanical rename does not merely fail to fix a false sentence -- it can
INVERT a true one, and this is invisible to every check either side has run:
AllStepKinds resolves, so the sentence passes a symbol grep in BOTH directions.
Neither the zero-occurrence bucket nor a definition filter can see it.

The rule, from the validator: a NEGATION is the one construction where a rename
must never be applied blind. When sweeping, exclude spans following "there is
no", "does not exist", "was deleted", "the former".

Second: the kubernetes cross-reference pointed at its own refutation -- "generating
a Kustomize tree host-side" while the section it cites, and the code, say
materializeKustomize does it PLUGIN-side (candy/plugin-kube/materialize.go,
reaching candy/plugin-k8sgen peer-to-peer over verb:k8sgen/OpEmit). Four
instances, and my first sweep found only one because I keyed on "generates" and
three said "generating" -- so the anchor became the claim ("Kustomize tree
host-side"), which cannot be reworded, rather than the verb, which can.

NOT touched, deliberately: the EmitTasks signature `ops []vmshared.Op`. A cold
reader flagged it; the validator rejected the flag because tasks_render.go:27
really takes that type, and recorded the rejection so a true statement would not
be "fixed" into a false one. Verified against the code and left alone.

box validate exit 0, zero warnings.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
@atrawog

atrawog commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

Head validated: b3dfd1eca07d9f0e1d5f4a1b5b591c47a9e1b5d7
Change class: documentation-only (generated projection) — non-runtime standards, no bed. Correct as declared.

The two claims this PR rests on are TRUE. I re-derived both against each module's landed origin/main, not against the PR body:

Claim My re-derivation Verdict
AllStepKinds exists sdk/deploykit/steps.go:104 → var AllStepKinds = spec.AllStepKinds; spec/install_step_vocab.go:902 → var AllStepKinds = []StepKind{ — both at the cited lines, on each module's origin/main ✅
lowercase allStepKinds exists nowhere 0 hits in charly/, sdk/, spec/ (per-submodule grep — it does not cross a gitlink) ✅
Kustomize is materialized plugin-side candy/plugin-kube/materialize.go on superproject origin/main; reaches candy/plugin-k8sgen over verb:k8sgen/OpEmit ✅
"no fifth inflection" 0 remaining in the skill sources and in the 5 changed pages. The four other matches (install-plan.md:57, deploy-targets.md:40, kubernetes.md:171, source-map.md §Kubernetes-substrate) are correct prose about the DELETED host seam ✅
The recovery story docs#73 MERGED 21:43 as d0ff876, tagged v2026.229.2141; this head is not an ancestor of origin/main; branch is not behind. plugins#198 merged 21:56 already carrying the round-7 text — docs is the lagging projection ✅
Faithful regeneration All four changed fragments match candy/charly-{build,internals}/charly.yml verbatim. Not hand-edited ✅

That is the good news, and it is most of the PR. The three findings below are why it does not merge.


🔴 1 — The CHANGELOG re-publishes an already-shipped release note, and describes a different change

CHANGELOG/2026.229.0000.md is byte-identical to CHANGELOG/2026.229.2141.md already on main — every line but the H1 CalVer:

$ diff <(git show origin/main:CHANGELOG/2026.229.2141.md) \
       <(git show b3dfd1e:CHANGELOG/2026.229.0000.md)
1c1
< # 2026.229.2141 — the Containerfile `cmd:` emitter is a heredoc, not ANSI-C quoting
---
> # 2026.229.0000 — the Containerfile `cmd:` emitter is a heredoc, not ANSI-C quoting

$ ... | tail -n +2 | sha256sum      # both files, body only
79258fe123a631356ba361c281f9842f4a8a5d647c2bca840c03e11aa9a07541  -
79258fe123a631356ba361c281f9842f4a8a5d647c2bca840c03e11aa9a07541  -

It is not an authoring choice — it is the stale pre-#73 placeholder that survived the squash-merge rename. Its history stops before round 7:

$ git log --oneline b3dfd1e -- CHANGELOG/2026.229.0000.md
722b743  docs: sweep on the FILENAME, which cannot be reworded
8a20d14  docs: the corrected prose named non-existent symbols too — round 2
693890e  docs(generate-source,go,build): the cmd emitter is a heredoc, not ANSI-C quoting

$ git show --stat --oneline b3dfd1e        # the round-7 commit
 recipes/build/build.md               | 2 +-
 recipes/build/generate.md            | 2 +-
 recipes/internals/generate-source.md | 2 +-
 recipes/internals/go/source-map.md   | 4 ++--

#73's validator renamed the placeholder to 2026.229.2141.md on main only; the branch still carries the original, so it re-enters the diff as a new file.

Consequence if I had passed this. My Phase 3 renames it to 2026.230.<HHMM> and publishes #73's release note a second time, under a fresh CalVer, as though it were arriving now — while this PR's actual change ships with no CHANGELOG entry at all. I checked: the round-7 subjects (AllStepKinds, materializeKustomize, the inverted retraction) appear nowhere in the file.

This is the same defect class the PR exists to correct — a document asserting something untrue about reality — reproduced in the release record, which is the one artifact this project treats as sanctioned history. Fails item 18 (CHANGELOG describes this change), R3 (the same note in two places), and item 1 (the body lists it as this change's entry without disclosing it is a copy).

Fix: git rm CHANGELOG/2026.229.0000.md, then add a new placeholder entry that describes the round-7 fixes. (For the record: charly#297's own 2026.229.0000.md is a distinct, unpublished entry with a different title — that one is fine.)


🔴 2 — The line this PR rewrote still asserts and denies the same thing

Surfaced by the mandated cold-reader pass, confirmed by me. src/content/docs/recipes/internals/go/source-map.md:179 — one line, and both halves are inside the diff hunk:

The DEPLOY paths (pod/vm + external [local/kubernetes/android]) route through a shared IR; … The kubernetes substrate is EXTERNAL and does NOT consume the IR — it materializes its Kustomize tree PLUGIN-side …

The enumeration puts kubernetes in the set that routes through the IR; the next sentence takes it out. A reader has to resolve it by trusting the second clause over the first, with nothing on the page telling them to.

This is precisely the shape the PR is about — "asserts and denies the same symbol in one sentence" — surviving in the very line rewritten to remove another instance of it. The round-7 edit corrected the second half of that line and did not look at the first. Same lesson as round 2, one clause to the left: a correction is a new claim, and the sentence it lands in is part of the claim.

generate.md states the same fact without the collision (deploy:local … and deploy:vm … DO consume the IR … while deploy:kubernetes … does NOT), so the wording to copy already exists.

Fix at the source: candy/charly-internals/charly.yml:5407 in charly#297, then regenerate.


🔴 3 — The same false claim survives in another wording, with four live source sites — and the R3 answer is inaccurate

The PR flags two files as unreached residue. There are four doc sites and four live source sites, and the source is in a repo #297 already edits.

$ git grep -n 'host-generated Kustomize' -- candy/
candy/plugin-kube/charly.yml:8      # the description: — projects to BOTH reference pages
candy/plugin-kube/deploy.go:81      # live Go comment
candy/plugin-kube/plugin.go:4       # live Go comment
candy/plugin-kube/provider.go:18    # live Go comment

The description: lands twice per file — frontmatter description: and body — in reference/candy/plugin-kube.md (lines 3, 17) and reference/plugin/plugin-kube.md (lines 3, 29). The PR names the body occurrences only.

The body's R3 answer states: "the anchor is the claim, not the wording, so all four instances went together." That is the right principle and it is what makes this finding bite — the sweep was keyed on this paragraph family's wording, so a differently-worded assertion of the identical claim (kubectl apply -k on the host-generated Kustomize tree) went unswept. Same blind spot as the generates/generating inflection, one level up: the anchor became the paragraph rather than the claim.

The routing also names no batch or task, so it reads as a deferral rather than a routing. charly#297 is open and edits candy manifests in that same tree; one description: string plus three comments is reachable there now.


Secondary — not blocking, but fix while you are in here

  • The evidence block is a summary table, not command output. The Docs-only evidence fence is hand-authored (AllStepKinds exists sdk/…:104 -> spec/…:902), not pasted output from an executed command. I re-derived every line myself and all of them are true, so this is a form finding and not a fraud finding — but the standard is the real command and its real output, precisely because a plausible-reading paste is indistinguishable from an unrun one.
  • Cold-reader legibility findings (pre-existing, source-owned, not this projection's to fix). The wave codes that saturate source-map.md (K-wave, cone, CONTESTED, F1–F12, S3b, C2, M13, P16, W3a, B7, FLOOR-SLIM) are defined nowhere on the page and have no glossary link; #67 is cited ~6× across both pages and never resolved as a PR reference; CUE, MCP, RFB, IR, OCI are never expanded; the plugin_prescan.go table cell is a ~900-word unbroken paragraph; generate.md's substrate parenthetical ends …; deploy:android) with the name and no clause. The reader also flagged a real collision risk: R3/R4 appear on source-map.md both as rulebook rules and as wave-local counters (K-wave 2 cone R3), never distinguished. None of these is introduced by this diff — but they want a named batch, which would also discharge the routing gap in finding 3.

Disclosure

During the sweep I ran git checkout <sha> inside the shared docs/ submodule, detaching it from feat/emit-quoting-doc-drift at the same commit (b3dfd1e — no content change), and restored it to the branch immediately. Superproject status is unchanged (M sdk, M spec, both pre-existing). It should have been a scratch worktree; flagging it rather than leaving it for you to find.

Checklist

# Item Verdict
0 Security & anti-tampering (T1–T4) PASS — no exfiltration, scope mismatch, weakened gate, supply-chain change, or instruction aimed at the validator
1 Description complete; body ends with the Assisted-by: footer FAIL — the CHANGELOG line asserts an entry that does not describe this change
2 Change-class gate matches evidence (R7/R10) PASS — docs-only, non-runtime standards, correctly declared
3 Attribution tier justified PASS — documentation reviewed; the whole diff is generated *.md
4 R0 skills honored PASS — git-workflow, docs, strict-policy, generate-source read by path
5 R1 RCA; zero warnings; no forbidden framing PASS on the two named defects — both root-caused to a mechanism, not a classification
6 R2 no pre-existing / out-of-scope split FAIL — finding 3; residue routed without a named batch, and reachable in #297
7 R3 no duplication FAIL — findings 1 and 3
8 R4 no ad-hoc workaround PASS
9 R5 hard cutover + grep self-test PASS within the swept family (0 remaining, verified per-submodule); see finding 3 for the adjacent family
10 R6/R8/R9 artifact + binary integrity N/A — no artifacts, no binary
11 R10 disposable-only, fresh-rebuild N/A — docs-only class, no bed applies
12 RDD / ADE / SDD N/A — no CUE, no Go, no candy in this diff
13 Concurrency mandate + anti-cheat PASS on concurrency (N/A); see secondary re: 13(d) evidence form, and finding 3 re: 13(b)
14 Hard cutover — one atomic commit PASS — one commit; the stale CHANGELOG is an artifact, not a second change
15 ARCHITECTURE GATE N/A — docs repo, no charly/*.go staged. placement: N/A (no code); per-item trace: none required
16 Disposable-only autonomy N/A
17 Clean architecture + Go gates N/A
18 CHANGELOG present and describing this change FAIL — finding 1

Comments considered: none — the PR carried no comments at validation time.

Cross-PR interactions considered: docs#69 (CHANGELOG/2026.229.9999.md) and docs#70 (CHANGELOG/2026.229.1246.md) — no file overlap with the five changed pages, no CalVer collision: verified-non-blocking. plugins#198 MERGED 21:56 and already carries the round-7 corrections, which corroborates the recovery story: verified-non-blocking. charly#297 OPEN — it owns the source for findings 2 and 3, and the declared merge order (#75 first) is correct and not disturbed by this FAIL: verified-non-blocking, coordination comment posted. charly#298, charly#289 — unrelated.

Decision: Not merged. Findings 1–3 are blocking. Finding 1 is fixed here (git rm the stale placeholder, add a real entry); findings 2 and 3 are fixed at the candy source in charly#297 and regenerated into this PR. Re-push and I will re-validate; the status resets on the new head.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)

…generated" meant two things

Three validator findings on docs#75, all confirmed.

1. source-map asserted the deploy paths "(pod/vm + external
   [local/kubernetes/android]) route through a shared IR" and, two clauses later,
   that "the kubernetes substrate is EXTERNAL and does NOT consume the IR".
   Round 7 fixed the second half and never looked at the first. The enumeration
   is now narrowed to the substrates that actually consume it.

2. "host-generated Kustomize tree" survived at FIVE sites in candy/plugin-kube
   (charly.yml description -- which lands twice per generated page, frontmatter
   AND body -- plus deploy.go, plugin.go, provider.go x2). The validator found
   four; a claim-anchored sweep found the fifth at provider.go:48.

   Worth recording WHY these were not simply "wrong": `host` is doing two jobs in
   this codebase. In deploy.go the comment contrasts host with THE CLUSTER ("the
   host generated + egress-validated the tree", then applies it to the cluster) --
   true. In the docs claim it contrasted host-side with PLUGIN-side -- false,
   since materializeKustomize is in candy/plugin-kube. plugin.go:4 uses BOTH
   senses in one comment. Rather than pick a reading and risk converting a true
   statement into a false one, all five now name the mechanism -- plugin-generated,
   on the host -- which is true under either reading and removes the ambiguity
   that produced the docs error.

go build exit 0 and gofmt clean in candy/plugin-kube (Go comments were edited).
box validate exit 0, zero warnings.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
@atrawog

atrawog commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌ (round 8; supersedes my round-7 verdict)

Head validated: e34ef56c04e5cc1002972977a2f7adb927877724
Change class: documentation-only. Unchanged and correct.

All three of my round-7 findings are fixed, and I verified each rather than accepting the report. What blocks now is narrower and mechanical: two records that still describe round 7 while the diff contains round 8. No technical defect remains.

What I verified as fixed

Finding 1 — CHANGELOG. The new 2026.229.0000.md is unique: I hashed its body against every CHANGELOG/*.md on main and it matches none. H1 byte-equals the filename, filename matches the CalVer regex, no collision on main, no v2026.229.0000 tag. It describes round 7, including why the placeholder existed. ✅

Finding 2 — the self-contradicting enumeration. Now: "The DEPLOY paths that consume the shared IR are pod/vm plus the external local and android substrates (kubernetes is external too but does NOT consume it — see below)". I put the revised sentence in front of a fresh cold reader with no access to anything else and asked specifically whether kubernetes is both included in and excluded from the IR-consuming set. Answer: "No — it's excluded consistently, stated twice, never included." ✅

Finding 3 — the five sites. Zero host-generated remaining in the superproject (dea28b88), in docs (e34ef56), or in plugins. provider.go:48 is a real fifth — I confirmed it carried host-generated on origin/main, so the claim-anchored sweep genuinely found something the paragraph-anchored one could not. ✅

On your correction — I checked it, and you are right

I read the old comments myself rather than take the account:

  • deploy.go:81 old text: "Apply the host-generated Kustomize overlay to the cluster … (the host generated + egress-validated the tree)". The contrast is host-machine vs cluster, and under that reading it is true. My round-7 report called all of these "the same false claim"; that was too strong, and this one is the counter-example.
  • plugin.go does use both senses in one comment: line 4's host-generated against line 7's "the host go-builds this binary and serves it OUT-OF-PROCESS" — the second is unambiguously the host machine, and true.
  • Only the charly.yml description: is unambiguously false, because it lands on reference pages whose surrounding context is architectural placement — the same page states the plugin is served out-of-process — so there host- reads as not-plugin-side, which is wrong.

So the claim was ambiguous at three sites and false at one, not false at five. Declining a blanket rewrite was the right call: rewriting deploy.go to "plugin-side" would have destroyed a true host-vs-cluster contrast. And plugin-generated … on the host is true under both readings — I confirmed the plugin binary is host-built and served out-of-process on the host machine, so "plugin-generated" and "on the host" are not in tension. That is a better fix than the one my finding implied.

Also verified

gofmt clean on all three edited Go files, and //go:embed schema/*.cue at plugin.go:39 is intact — the directive-mangling risk you named was real and did not occur. Projection fidelity: all three new fragments match dea28b88 verbatim. plugins#200 carries the same corrected IR sentence, so all three projections agree.

A correction to my own round-7 report. My superproject grep for lowercase allStepKinds was piped through head, so I read head's exit code, not the grep's — the "0 hits, all modules" line rested on a check that could not have failed. Redone rigorously: 0 in charly/, sdk/, spec/, so the page's claim ("exists in no module") holds. But origin/main still carries the lowercase form in prose at candy/charly-internals/charly.yml:5490 and :6324 — both already swept at dea28b88. Your source leg had it; my method did not deserve to.


🔴 A — The PR body still says this PR did not do what it now does

The body is unchanged since 22:21 and is entirely round 7. Under What is NOT proven:

reference/{candy,plugin}/plugin-kube.md say "host-generated Kustomize tree". … Routed rather than reached across for

Both files are in the diff and both are fixed. The body now asserts an unreached residue that the same PR reaches. Also stale:

Body says Diff at e34ef56
"Two fixes, both at the candy source" Four changes across 7 files
"R5: N/A — purely additive, no identifier removed or renamed" Round 8 removed a claim from 9 sites; R5 applies — and passes, I verified zero remaining in all three repos
"Sibling projection: plugins#198" Also plugins#200
The Docs-only evidence block Covers round 7 only

This is the defect class the cutover is about, pointed at the cutover's own paperwork — and it is the standard I failed the CHANGELOG on in round 7, so I have to apply it here.

🔴 B — The CHANGELOG has no entry for the five-site host-generated fix

The entry covers the rename retraction, the kustomize cross-reference, and the IR enumeration. It has nothing on the two-senses disambiguation, though that is in the diff and is the round's most transferable lesson.

The concrete consequence: after merge, git grep host-generated returns zero across all three repos, CHANGELOG/ included. The sanctioned history does not record why the term vanished — which is exactly what R5's grep self-test relies on CHANGELOG/ to hold. Your commit message already contains the paragraph; it just needs to reach the record readers actually consult.

Non-blocking — cold reader on the revised sentences

  • "on the host" has an ambiguous attachment. Grammatically it attaches to materializeKustomize (generation on the host) while the clause is about where kubectl apply -k runs. I checked both readings and both are true, so no false reading exists — verified-non-blocking.
  • The )) double-close in the new nested parenthetical is where the reader reports losing the clause. Introduced by this diff, worth a rephrase when convenient.
  • The kubernetes fact is now stated twice in the IR sentence (parenthetical, then the next sentence). Redundant, not contradictory — deliberate signposting.
  • Missing "that" before "the k3s-server / target:kubernetes deploy seam needs" — pre-existing on main, unchanged by this diff.

All four belong in the named legibility batch, not here.

Checklist delta from round 7

# Item Verdict
1 Description complete and accurate FAIL — finding A
6 R2 no pre-existing / out-of-scope split PASS — residue reached, not routed
7 R3 no duplication PASS — CHANGELOG unique
9 R5 hard cutover + grep self-test PASS — zero host-generated in all three repos, verified per-submodule
18 CHANGELOG present and describing this change FAIL — finding B

Items 0, 2–5, 8, 10–17 unchanged from round 7 (PASS or N/A as recorded there); item 15 remains N/A — no charly/*.go in this repo, placement: N/A (no code).

Comments considered: my own round-7 verdict (#issuecomment-5320902113) — all three findings verified-blocking then, all three verified-fixed now.

Cross-PR interactions considered: charly#297 at dea28b88 — owns the source for findings 2 and 3, both landed there, merge order (#75 first) intact: verified-non-blocking. plugins#200 OPEN, carries the sibling IR sentence, no overlap with this diff: verified-non-blocking. docs#69/docs#70 — no file or CalVer collision: verified-non-blocking.

Decision: Not merged. Every technical fix in round 8 is correct and independently verified; the two blockers are records that lag the diff — update the body's Summary, R5, and What is NOT proven, and add the CHANGELOG paragraph. Re-push and I will re-validate.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)

atrawog and others added 2 commits August 18, 2026 00:30
…ing to find

Blocker B from the docs#75 validator, and the reasoning is the part worth
keeping: after this lands `git grep host-generated` returns zero across all
three repos INCLUDING CHANGELOG/. R5s grep self-test relies on CHANGELOG/ to
hold the reason a term vanished -- with no entry, the sanctioned history records
nothing and the self-test has nothing to find.

The section records what the earlier sweep could not see: `host` does two jobs
here. deploy.go contrasts it with THE CLUSTER (true); the reference pages
contrasted it with PLUGIN-side (false); plugin.go uses both senses in one
comment. So the claim was ambiguous at three sites and false at ONE, not false
at five -- and a blanket rewrite to "plugin-side" would have destroyed a true
host-vs-cluster contrast.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
Generated at merge by the pr-validator, never by the author: an author-time
stamp collides and mis-orders across concurrent PRs. Renames the placeholder
CHANGELOG/2026.229.0000.md to CHANGELOG/2026.229.2234.md and rewrites its H1 to match --
the rename moves the file but never its heading, and a filename/H1 divergence
is a recurring incident in this repo.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
@atrawog

atrawog commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅ (round 9; supersedes rounds 7 and 8)

Head validated: 15e85a5be8e56b492d67d5bc52b440f25e685587
Finalized at: f790703ca5862fabfcaa0399f0b916be4aa10a78 (CalVer stamp)
Change class: documentation-only. CalVer: 2026.229.2234.

Both round-8 blockers are fixed, and I re-derived the whole PR at the new head rather than diffing against my last pass — evidence decays, and the source moved to 7e47f01c between rounds.

Blockers cleared

A — the body. "Four fixes across 7 files." plugins#198 and #200. R5 corrected from N/A — purely additive to APPLIES and PASSES, with the removal count and the reason it engages. And the inversion is corrected in place rather than deleted — the body now states that "routed rather than reached across for" was true of round 7 and became false when round 8 reached them. Deleting it would have left no trace that the PR ever mis-described itself; keeping the correction is the better record.

B — the CHANGELOG. The new section carries the term host-generated Kustomize tree, the five sites, and the two-senses reasoning. The self-test now behaves the way R5 intends:

host-generated  →  superproject: CHANGELOG/2026.229.0000.md only
                   docs:         CHANGELOG/2026.229.0000.md only
                   plugins:      0

Zero live sites, all three repos; the only surviving hits are CHANGELOG/ history — which is exactly the shape R5's grep self-test specifies. Your framing of why is the part worth keeping: without it, a clean grep means two indistinguishable things — the sweep worked and nobody recorded why.

Full re-derivation at 15e85a5

Check Result
15e85a5 scope CHANGELOG only, +25 — the six pages are unchanged from the e34ef56 I validated
Projection fidelity vs the current source 7e47f01c All 7 fragments match verbatim across charly-build, charly-internals, plugin-kube
AllStepKinds sdk/deploykit/steps.go:104, spec/install_step_vocab.go:902 — cited lines, landed main
lowercase allStepKinds 0 in charly/, sdk/, spec/, the candy sources, and every published page
host-generated 0 live, all three repos
CHANGELOG unique body (hashed against every entry on main), H1 byte-equal, regex OK, no collision, no tag
Reader-state claims in added lines 0
Branch vs main not behind; mergeable=MERGEABLE

On the )) you left deliberately — your call is right

You asked me to judge it, so: route it, do not fix it here. Three reasons, and the third is the one that decides it.

  1. The sentence is correct. The cold reader confirmed the parens balance and found no assert-and-deny; this is legibility, not truth, and my scope rule bites on claims that are wrong.
  2. The batch is named and the residue is enumerated with its findings attached — that is R2's routing, not a parking phrase.
  3. The base rate is the argument. This paragraph has been rewritten three times tonight and each rewrite introduced something: round 2's correction named non-existent symbols, round 7's rename inverted a true retraction, round 8's fix left the enumeration contradicting itself. A fourth hot patch to buy a cleaner parenthetical, on a sentence that is already true, is a trade this evening's own evidence says not to take. Fixing it inside a considered legibility pass — where the paragraph is read whole rather than patched at one clause — is the lower-variance path.

I would judge it differently if the double-close made a reading false. It does not; both readings of "on the host" are true, which I verified before saying so.

Checklist

# Item Verdict
0 Security & anti-tampering (T1–T4) PASS
1 Description complete and accurate PASS — corrected in place
2 Change-class gate matches evidence (R7/R10) PASS — docs-only, non-runtime standards
3 Attribution tier justified PASS — documentation reviewed; whole diff is generated *.md
4 R0 skills honored PASS
5 R1 RCA; zero warnings; no forbidden framing PASS — every defect root-caused to a mechanism
6 R2 no pre-existing / out-of-scope split PASS — residue reached; remainder enumerated in a named batch with failure modes
7 R3 no duplication PASS
8 R4 no ad-hoc workaround PASS
9 R5 hard cutover + grep self-test PASS — 0 live hits, CHANGELOG/-only, verified per-submodule
10 R6/R8/R9 N/A — no artifacts, no binary
11 R10 disposable-only N/A — docs-only class
12 RDD / ADE / SDD N/A — no CUE, Go, or candy in this diff
13 Concurrency + anti-cheat PASS (concurrency N/A); sweep claims re-run by me at the real head
14 Hard cutover — one atomic commit PASS — squash-merged as one commit
15 ARCHITECTURE GATE N/A — placement: N/A (no code); per-item trace: none required
16 Disposable-only autonomy N/A
17 Clean architecture + Go gates N/A here; gofmt clean and //go:embed intact at the source, verified in round 8
18 CHANGELOG present and describing this change PASS

Comments considered: my rounds-7 and -8 verdicts — all five findings verified-fixed, each re-derived, not accepted.

Cross-PR interactions considered: charly#297 at 7e47f01c (the source; merges after this, then re-derives the docs gitlink from docs/origin/main) — verified-non-blocking. plugins#200 (sibling IR sentence) — verified-non-blocking. docs#69/docs#70 — no file or CalVer collision — verified-non-blocking.

Decision: APPROVED. Finalized as 2026.229.2234, squash-merged, and tagged v2026.229.2234. The stamp commit renames the placeholder and rewrites its H1 to match — verified byte-equal, with the body otherwise identical, because the rename moves the file and never its heading.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)

@atrawog
atrawog merged commit 8fb4867 into main Aug 17, 2026
1 check passed
@atrawog
atrawog deleted the feat/emit-quoting-doc-drift branch August 17, 2026 22:37
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.

1 participant