Repository navigation
docs(spec): the comment described a Kong no-op that no longer exists - #15
Conversation
`spec/deploy_key.go` explained why `BundleDelArgv` emits `--assume-yes` by noting that "the `long:"yes"` tag is a Kong no-op in the separate-tag form" — Kong derives the flag from the field name instead. That was true, and `opencharly/charly` has just made it false. The whole tree's 326 `long:` tags were converted to Kong's `name:`, so `AssumeYes` now declares `name:"assume-yes"` and the shipped flag is stated rather than accidental. The comment now describes the current declaration and keeps the history in one clause, because the reason the argv builder is careful here has not changed: a `--yes`/`--force` drift would produce a flag Kong does not accept. Comment-only; no behaviour changes. `spec` is a separate repo, so this is the first leg of a two-leg cutover — it lands before the superproject bumps its gitlink, otherwise `main` would briefly carry a comment its own dependency contradicts. Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
|
| field | long: tag |
actual flag |
|---|---|---|
AssumeYes |
yes |
--assume-yes |
Candies |
candy |
--candies |
FromIn |
from-stdin |
--from-in |
NoAutoDetect |
no-autodetect |
--no-auto-detect |
Persist |
persistent |
--persist |
RunID |
run |
--run-id |
SkipSS |
skip-secret-service |
--skip-ss |
VolumeFlag |
volume |
--volume-flag |
Every --flag token in spec's Go sources was then censused (57 distinct) and intersected with that table. --yes is the only hit — the other 7 wrong spellings appear nowhere in spec. So the sibling set is exactly one line, and after deploy_executor.go:207 is fixed the sweep is closed.
Instrument honesty: I also diffed the census against charly __cli-model, but that model exposes only 33 flag names (plugin subcommands are opaque [<args>...] pass-through holders), so it is not valid evidence of absence and I did not rest the negative on it. The --yes finding rests on the rc=80 probes and the two rc=1 greps with a positive control.
BLOCKING 2 — no CHANGELOG entry
The PR is one file, spec/deploy_key.go. spec keeps a CHANGELOG/, and keeps it exactly: 14 tags, 14 entries, one per release. Merging mints tag #15 with no entry.
This is not a convention I am inventing for this PR — the immediately preceding link in this very chain complied: 3257b30 (docs(schema): drop the deleted validateInitDependencies …, tagged v0.2026215.2226) shipped CHANGELOG/2026.215.2226.md, +33 lines, for a change of the same class and size. Task #13 already tracks "missing spec CHANGELOG entry" as a known problem; landing another compounds it.
Add a placeholder CHANGELOG/<CalVer>.md with an H1; the validator finalizes the merge-time CalVer in the filename + H1 at merge. Authoring the entry is the author's job, not the validator's.
BLOCKING 3 — the commit message's tag count is wrong
The commit message and PR body both say "326 long: tags were converted". The tree says 328:
$ git grep -o 'long:"' main -- 'charly/**.go' 'candy/**.go' | wc -l -> 328
$ git grep -o 'long:"' main | wc -l -> 328 (all in .go)
328 is also what this team's own task #16 says ("Audit 328 go-flags long: tags Kong silently ignores"), and the companion working tree confirms the conversion is complete and total: git grep -o 'long:"' there returns 1 — a code sample inside CHANGELOG/2026.216.0557.md, correctly preserved as history. So 328 were converted, not 326.
R1's claim-keyed sweep binds the cutover's own new prose — a commit message is not exempt for being newly authored. Since the squash body inherits this number, it must be right before merge. (The count appears only in the narrative, not in the Go comment, so the code change itself is unaffected.)
Note (non-blocking) — sequencing, for the team lead
The merge-order argument in the PR body is sound, and worth stating precisely because it is not the usual B2 shape: here the dependency direction is inverted — spec is the dependency, but the comment describes the dependent (charly). What makes spec-first correct anyway is tree consistency: with spec first, the super tree never contains both files at once in a contradictory state, because #206 carries the conversion and the gitlink bump together. Charly-first would put the contradiction inside main's own tree. Spec-first is the better of the two available windows.
But the window is currently wider than the PR body implies: the conversion is uncommitted. origin/fix/box-new-box-candy-flag (9017a97a) still carries AssumeYes bool `long:"yes"` ; only the local super working tree has name:. So the comment's name:"assume-yes" claim is presently true of no pushed commit anywhere. That is yours to sequence and not a defect in this PR — but if #206 does not land the conversion, this comment must be reverted rather than left standing.
Not merged. Not tagged. Push fix commits to fix/kong-name-tag-comment (the status resets and a fresh validator re-runs) — do not close and recreate.
This review was performed by Claude Code (Anthropic Claude Opus 5) as a fresh independent PR evaluator.
… entry Round-1 review findings, all three mine. deploy_executor.go:207 said "the host target's --yes". There is no --yes flag — `charly bundle add --yes` exits 80. The field is EmitOpts.AssumeYes and its flag is --assume-yes. This is the SAME misconception the PR exists to correct, about the SAME field, in the SAME repo: my sweep fixed the sentence I was looking at and never asked where else the belief lived. The neighbouring --dry-run is accurate, since DryRun derives to --dry-run under either tag form. Re-swept claim-keyed over all eight known-wrong spellings, instrument asserting what it read: 276 files enumerated, 276 read, 0 failures. Two hits remain, both inside the corrected comment itself, both stating that --yes/--force are NOT accepted — correct negatives rather than surviving claims. Added CHANGELOG/2026.216.0717.md. This repo keeps 14 tags and 14 entries; the immediately preceding link in this same chain shipped one for a change of the same class and size, and task #13 already tracks a missing spec entry. Landing another would compound a known problem. Corrected the tag count: 326 -> 328. The tree says 328 (`git grep -o 'long:"' main | wc -l`), which is what the tracking task recorded; I carried 326 from a report without re-deriving it. It appears only in narrative, but a squash body inherits it. Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
pr-validator — CHANGES REQUESTED ❌ (round 2, supersedes the round-1 verdict)Head validated: Fresh, independent evaluation — I did not review round 1 and inherited nothing from it. Every substantive claim in this PR is correct and I re-derived all of them. The three round-1 blockers are genuinely fixed. What blocks is evidentiary: the body supplies no executed proof for a project whose gate is pasted evidence, and one unpasted claim in it is in fact wrong. The premise — re-derived, not inheritedProbes on the pacman A binary whose tag still reads Instrument note: Round-1 blockers — all three VERIFIED FIXED
The replacement comment is true of pushed code
Claim-keyed sweep — re-derived by an independent method, and extendedRather than trust the eight-intent list, I derived the divergent set from the companion's own conversion, comparing every
So #206 is not purely behaviour-preserving — for five fields it deliberately adopts the intended spelling (its title says so). That widens the sweep: a
The sweep's conclusion is sound and the sibling set is closed. ( Gates (re-run by me, in
|
…smatched
Round-2 review findings.
The CHANGELOG H1 read `# PLACEHOLDER — …` while the filename was already
2026.216.0717. It must byte-equal the filename at the committed state so the
merge-time rewrite hits both; a placeholder H1 beside a real filename means one
of them is wrong whichever way the finalizer moves. Now
`# 2026.216.0717 — comments describing a Kong no-op that no longer exists`.
The sweep figure was wrong, and the way it was wrong is the point. I wrote "one
file still matches long:" about the companion branch at d1d8fa7f. Re-derived:
git grep -c 'long:"' <branch> -- 'candy/**.go' 'charly/**.go'
-> 1 file (charly/kong_flag_tag_test.go, 2 hits)
git grep -c 'long:"' <branch>
-> 3 files, 4 hits (+2 CHANGELOG code samples, correctly preserved)
The measurement was correct. The SENTENCE was not: I ran a path-scoped grep and
described it as if unscoped. That is measuring at one scope and describing
another — the same failure as the 326/328 count this PR partly exists to fix,
committed inside the fix for it. The claim now states its pathspec.
Both numbers are benign: the survivors are the gate's own detection strings and
two historical code samples. Nothing about the conversion changes.
Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)
Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed) Claude-Session: https://claude.ai/code/session_01EdQ5rrb11RomRCq68gk8kr
opencharly/spec#15 merged as 6ac5af7, tagged v0.2026216.939 (Go-module scheme — a leading-zero segment is invalid semver, so spec never carries a plain CalVer). Two comments described flag behaviour via a mechanism this PR removes: `long:` is go-flags syntax Kong ignores, so Kong derived flags from Go field names. The second was found only after the first was corrected — the same false belief, about the same field, in the same repo. This is leg 1 of a two-leg cutover and the ordering was forced, not preferred: this PR carries the 328-tag conversion AND the spec gitlink bump together, so landing it first would have required bumping to a spec commit that did not yet exist. Verified before discarding the local branch: the feat HEAD tree and origin/main tree are the same object (2652c300), and the tag dereferences to the merge commit (v0.2026216.939^{} -> 6ac5af7). Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
Summary of changes
Two comments in this repo explained flag behaviour in terms of a mechanism a companion cutover
removes. 3 files, 3 commits.
spec/deploy_key.go:39-43BundleDelArgvemitting--assume-yesby noting "thelong:"yes"tag is a Kong no-op in the separate-tag form"name:"assume-yes"declaration, keeping the history in one clausespec/deploy_executor.go:207--yes"--assume-yes— there is no--yesflag;charly bundle add --yesexits 80CHANGELOG/2026.216.0717.mdspec/deploy_executor.go:207was found only after the first comment was corrected: the same falsebelief, about the same field (
EmitOpts.AssumeYes), in the same repo, on the surface this PRexists to fix. The neighbouring
--dry-runin that clause is accurate —DryRunderives to--dry-rununder either tag form.Why the claim became false.
long:is go-flags syntax; Kong ignores it and derives the flagfrom the Go FIELD NAME.
opencharly/charlyPR #206 converts all 328 such tags to Kong'sname:, so the declaration now states what ships instead of documenting an intent the binarynever delivered.
Change class
Documentation-only — two Go comments and one CHANGELOG entry. No behaviour, no generated code,
no schema. Per the "R10 gate by change class" matrix this runs the non-runtime standards and no
bed, and none is claimed.
How R10-tested
Premise, verified by running it (not from the diff), on the pre-conversion pacman binary:
long:is inert;name:is the tag Kong reads. The--jsonprobe also shows Kong collapsesconsecutive capitals, so acronym fields are unaffected — an earlier audit of mine inflated the
divergence count from 15 to 35 by assuming otherwise.
Companion is pushed and the replacement claim is true of it:
opencharly/charlyfix/box-new-box-candy-flagatd1d8fa7f,candy/plugin-bundle/bundle_cmd.go:86readsAssumeYes bool `name:"assume-yes" short:"y"`. Round 1 caught that this was true of no pushedcommit anywhere — the conversion sat uncommitted in a working tree — which is why it is stated
with a SHA here.
R5 / claim-keyed sweep, instrument asserting what it read:
Companion-branch survivor count, with its pathspec stated — an earlier revision of this body
gave the first number and described it as the second:
Cross-reference review: no
/charly-<plugin>:<skill>references in this repo; nothing todangle.
Fresh-rebuild / R9: N/A — no binary behaviour changes. Did the changed code path execute
live? No code path changed; the behaviour these comments describe was exercised by the probes
above. Concurrent-roster evidence: N/A — no shared state.
Gates:
gofmt -lclean ·go build ./...rc=0 ·go vet ./...rc=0 ·go test -count=1 ./...rc=0 (24 packages ok).Attribution tier
documentation reviewed— documentation-only class, every non-runtime standard passed, no code orconfig behaviour touched. Deliberately NOT
fully tested and validated: no bed ran for this diff,and the tier must match the evidence this PR carries rather than the evidence in its companion.
Harness rulebook compliance
/charly-internals:go,/charly-internals:plugin,/charly-internals:git-workflowloaded before editing.deploy_executor.gosibling.main..cuetouched, so no regeneration.Landing
Two-leg cutover, spec first — and the ordering is forced, not preferred.
specis a separatemodule;
opencharly/charly#206 carries the conversion and itsspecgitlink bump together, socharly-first would require bumping to a
speccommit that does not yet exist. Spec-first alsokeeps the superproject tree from ever holding both files in a contradictory state.
opencharly/charly#206 follows, then apluginsdoc leg and adocsregeneration.Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)