Skip to content

docs(spec): the comment described a Kong no-op that no longer exists - #15

Merged
atrawog merged 4 commits into
mainfrom
fix/kong-name-tag-comment
Aug 4, 2026
Merged

atrawog merged 4 commits into
mainfrom
fix/kong-name-tag-comment

Conversation

@atrawog

@atrawog atrawog commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

Two comments in this repo explained flag behaviour in terms of a mechanism a companion cutover
removes. 3 files, 3 commits.

File Was Is
spec/deploy_key.go:39-43 justified BundleDelArgv emitting --assume-yes by noting "the long:"yes" tag is a Kong no-op in the separate-tag form" describes the name:"assume-yes" declaration, keeping the history in one clause
spec/deploy_executor.go:207 "the host target's --yes" --assume-yes — there is no --yes flag; charly bundle add --yes exits 80
CHANGELOG/2026.216.0717.md — records both

spec/deploy_executor.go:207 was found only after the first comment was corrected: the same false
belief, about the same field (EmitOpts.AssumeYes), in the same repo, on the surface this PR
exists to fix. The neighbouring --dry-run in that clause is accurate — DryRun derives to
--dry-run under either tag form.

Why the claim became false. long: is go-flags syntax; Kong ignores it and derives the flag
from the Go FIELD NAME. opencharly/charly PR #206 converts all 328 such tags to Kong's
name:, so the declaration now states what ships instead of documenting an intent the binary
never 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:

charly bundle del --help   ->  -y, --assume-yes   Skip confirmation prompts   rc=0
charly bundle del x --yes                                                     rc=80
charly bundle del x --force                                                   rc=80
charly status --json                                                          rc=0
charly status --j-s-o-n                                                       rc=80

long: is inert; name: is the tag Kong reads. The --json probe also shows Kong collapses
consecutive 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/charly
fix/box-new-box-candy-flag at d1d8fa7f, candy/plugin-bundle/bundle_cmd.go:86 reads
AssumeYes bool `name:"assume-yes" short:"y"` . Round 1 caught that this was true of no pushed
commit 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:

276 files enumerated, 276 read, 0 read failures
patterns: --yes --candy --from-stdin --no-autodetect --persistent --run
          --skip-secret-service --volume     (all eight divergent intents)
hits: 2, both spec/deploy_key.go:39,43 — inside the corrected comment, asserting
      that --yes/--force are NOT accepted (correct negatives, not survivors)

Companion-branch survivor count, with its pathspec stated — an earlier revision of this body
gave the first number and described it as the second:

git grep -c 'long:"' <branch> -- 'candy/**.go' 'charly/**.go'  -> 1 file  (the gate's own strings)
git grep -c 'long:"' <branch>                                  -> 3 files, 4 hits (+2 CHANGELOG samples)

Cross-reference review: no /charly-<plugin>:<skill> references in this repo; nothing to
dangle.

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 -l clean · 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 or
config 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

  • R0 — /charly-internals:go, /charly-internals:plugin, /charly-internals:git-workflow loaded before editing.
  • R1 — the false claim was RCA'd to its cause (a go-flags tag Kong never read) before rewriting, and swept claim-keyed rather than string-keyed, which is what surfaced the deploy_executor.go sibling.
  • R2 — the sibling landed here, not parked. No finding deferred.
  • R3 — no duplicated prose; each comment states its own scope.
  • R4 — N/A, no commands or config.
  • R5 — claims removed, not softened; sweep above, surviving hits are correct negatives.
  • R6 — additive commits only; no force-push, no amend of a pushed branch, no direct push to main.
  • R7 — N/A for comments; the described behaviour is probe-proven above.
  • R8 — N/A, no build artifacts.
  • R9 — N/A, no binary.
  • R10 — documentation-only gate as above; no bed required, none claimed.
  • SDD — no schema change; no .cue touched, so no regeneration.
  • Cookbook pillar — this is that pillar applied: a comment is a copy, and this one had drifted from the code it describes.

Landing

Two-leg cutover, spec first — and the ordering is forced, not preferred. spec is a separate
module; opencharly/charly #206 carries the conversion and its spec gitlink bump together, so
charly-first would require bumping to a spec commit that does not yet exist. Spec-first also
keeps the superproject tree from ever holding both files in a contradictory state.

opencharly/charly #206 follows, then a plugins doc leg and a docs regeneration.

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

`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)
@atrawog

atrawog commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

charly/pr-validator = failure — CHANGES REQUESTED

Fresh independent evaluation. The premises check out; the sweep does not.

Premises — all VERIFIED, none taken from the diff

Instrument: a standalone micro-spike built against the exact pinned github.com/alecthomas/kong v1.15.0 (charly/go.mod:7, sdk/go.mod:7, spec/go.mod:7), mirroring the real struct tags byte-for-byte; corroborated by the pacman /usr/bin/charly (built 2026-08-02, i.e. pre-conversion), exit codes captured without a pipeline.

kong flags for `long:"yes"`       : [--help --assume-yes]
kong flags for `name:"assume-yes"`: [--help --assume-yes]
kong flags for bare JSON field    : [--help --json]

old(long:"yes")        --assume-yes -> ACCEPTED     --yes -> REJECTED: unknown flag --yes
old(long:"yes")        -y           -> ACCEPTED     --force -> REJECTED: unknown flag --force
new(name:"assume-yes") --assume-yes -> ACCEPTED     --yes -> REJECTED: unknown flag --yes
new(name:"assume-yes") -y           -> ACCEPTED     --force -> REJECTED: unknown flag --force
acronym JSON           --json       -> ACCEPTED     --j-s-o-n -> REJECTED: unknown flag --j-s-o-n
$ charly bundle del --help      ->  -y, --assume-yes   Skip confirmation prompts   (rc=0)
$ charly bundle del x --yes     ->  rc=80
$ charly bundle del x --force   ->  rc=80
$ charly status --json          ->  rc=0
$ charly status --j-s-o-n       ->  rc=80
  1. long: is inert, name: is the tag Kong reads — confirmed. long:"yes" and name:"assume-yes" produce the identical flag set. The conversion is a genuine no-op; the new comment's "only ever --assume-yes by accident of Kong's field-name derivation" is exactly right.
  2. The replacement comment is true of the code it describes — candy/plugin-bundle/bundle_cmd.go:86 reads AssumeYes bool `name:"assume-yes" short:"y"` (see sequencing note 3 below).
  3. The surviving --yes/--force clause — accurate. Neither spelling is accepted, under either tag form. No field named Yes and no tag yielding --yes exists anywhere (git grep -nE '\bYes\s+(bool|string)\b' and git grep -nE 'name:"yes"|long:"yes"' over charly/**.go candy/**.go, both rc=1, on a pathspec proven live by a positive control matching AssumeYes in 10 files).
  4. Acronym caveat holds — Kong collapses consecutive capitals, so JSON → --json. Acronym fields are genuinely unaffected.

Gate

gofmt -l clean · go build ./... rc=0 · go vet ./... rc=0 · go test -count=1 ./... all packages ok (24 packages, PIPESTATUS[0]=0, not the pipeline's status).


BLOCKING 1 — the sweep missed a survivor of the same false claim

spec/deploy_executor.go:207:

// EmitOpts carries cross-cutting toggles passed by command-line flags.
// Gates are checked per-step by the target; target-specific options (the
// container target's registry auth, the host target's --yes, --dry-run)
// are bundled here too.

--yes is not a flag. The field it describes is EmitOpts.AssumeYes (line 216), fed by BundleAddCmd.AssumeYes, whose real flag is --assume-yes — charly bundle add --yes exits 80, charly bundle add --help shows -y, --assume-yes. This is not a near-miss in a different subject area: it is the same long:"yes"-derived misconception, about the same field, in the same repo, on the surface this PR exists to correct. (--dry-run in the same clause is fine — DryRun derives to --dry-run either way.)

Per R1's claim-keyed transitive sweep, the fix for the changed surface and its sibling set is blocking and lands in this cutover.

How the survivor was found — the subject-level sweep, for the record. Every long: tag on main was enumerated and each compared against Kong's field-derived name; 8 tags diverge, i.e. 8 spellings that any doc naming the long: value would get wrong:

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)
@atrawog

atrawog commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌ (round 2, supersedes the round-1 verdict)

Head validated: 307c34da52df3588346b5e146b7289c358b37c88 (via git ls-remote, not headRefOid)
Change class: documentation-only (two Go comments + one CHANGELOG/ entry; no behaviour, no generated code)

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 inherited

Probes on the pacman /usr/bin/charly (2026.214.0537, pre-conversion), exit codes captured without a pipeline:

$ charly bundle del --help          ->  -y, --assume-yes   Skip confirmation prompts   (rc=0)
$ charly bundle del <x> --yes       ->  rc=80
$ charly bundle del <x> --force     ->  rc=80
$ charly status --json              ->  rc=0
$ charly status --j-s-o-n           ->  rc=80

A binary whose tag still reads long:"yes" ships --assume-yes and rejects --yes — long: is inert, Kong derives from the field name. The acronym caveat holds independently (JSON → --json, not --j-s-o-n).

Instrument note: charly status --help prints only the out-of-process pass-through grammar, so a grep -c over it is not evidence about a plugin's own flags. I discarded one such reading rather than report it; every negative above rests on an rc=80 from the real parse.

Round-1 blockers — all three VERIFIED FIXED

# Round-1 blocker Re-verified
1 deploy_executor.go:207 carried the same false --yes Fixed. Now --assume-yes. EmitOpts.AssumeYes exists at spec/deploy_executor.go:216 (// skip sudo preflight, confirmation prompts); the neighbouring --dry-run is accurate — DryRun derives to --dry-run under either tag form, and bundle add --help / bundle del --help both show it.
2 No CHANGELOG entry Added (CHANGELOG/2026.216.0717.md). origin/main carries 14 entries and the repo has 14 v0.* tags — the 1:1 invariant is real. No collision with the placeholder CalVer on main, and no v0.2026216* tag exists.
3 Tag count 326 → 328 Correct. git grep -o 'long:"' main | wc -l → 328 (33 files, all .go, none in CHANGELOG/).

The replacement comment is true of pushed code

origin/fix/box-new-box-candy-flag is at d1d8fa7f (round 1 saw 9017a97a with the conversion still uncommitted — that has since been pushed):

candy/plugin-bundle/bundle_cmd.go:86:  AssumeYes bool `name:"assume-yes" short:"y" help:"Skip confirmation prompts"`

name:"assume-yes", -y short form, on the bundle del grammar — exactly what spec/deploy_key.go:39-44 now asserts. The surviving --yes/--force clause is accurate under both tag forms (rc=80 each), and the "deploy-del-flag regression test" it cites is real: candy/plugin-bundle/ephemeral_test.go:263-270 asserts spec.BundleDelArgv("myapp") == [bundle del myapp --assume-yes].

Claim-keyed sweep — re-derived by an independent method, and extended

Rather than trust the eight-intent list, I derived the divergent set from the companion's own conversion, comparing every long:"X" on main against the name:"Y" at the same file+field on d1d8fa7f (209 tag sites / 328 occurrences):

field old long: shipped name: direction
AssumeYes yes assume-yes shipped flag preserved
NoAutoDetect no-autodetect no-auto-detect shipped flag preserved
Candies candy candy shipped flag CHANGES (--candies → --candy)
FromIn from-stdin from-stdin changes (--from-in → --from-stdin)
Persist persistent persistent changes (--persist → --persistent)
SkipSS skip-secret-service skip-secret-service changes (--skip-ss → --skip-secret-service)
VolumeFlag volume volume changes (--volume-flag → --volume)

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 spec comment naming either the old shipped name or the old inert tag could be falsified. I censused every --flag token in spec's Go sources (57 distinct) and intersected against both columns:

  • --yes — 2 hits, both inside the corrected deploy_key.go comment, both asserting --yes is not accepted. Correct negatives, confirmed by rc=80.
  • --candy / --candies, --from-stdin / --from-in, --persistent / --persist, --skip-secret-service / --skip-ss, --volume / --volume-flag, --no-autodetect / --no-auto-detect, --run / --run-id — zero hits in spec, in either direction.

The sweep's conclusion is sound and the sibling set is closed. (RunID is an arg:"" with name:"run" on both sides, not a diverging long: tag — round 1's table listed it as one.)

Gates (re-run by me, in spec, at this head, clean tree)

gofmt -l .                rc=0, no output
go build ./...            rc=0
go vet ./...              rc=0
go test -count=1 ./...    rc=0 — 24 packages, all ok

Sequencing — I agree, and it is forced, not merely preferable

spec must land first. #206 carries the conversion and the spec gitlink bump in one commit, so the superproject tree never holds the two files in a contradictory state. The reverse order is not even available: charly-first would have to land the gitlink bump to a spec commit that does not exist. Spec-first is correct.


BLOCKING 1 — the body supplies no executed evidence, and is not the template

The org template's own preamble: "FILL EVERY SECTION with EVIDENCE, not promises — the pr-validator FAILS a body that leaves any applicable section blank." The body is a commit-message paste plus a corrections list. Concretely missing:

  • Change class — never declared as such (prose says "comment-only", which is not the section).
  • How R10-tested — absent entirely. For docs-only the template names the gate explicitly: "the R5 grep self-test result + the cross-reference/markdown review", with the commands and their output pasted. Nothing is pasted anywhere in this PR. I ran gofmt/build/vet/test and the whole claim-keyed sweep myself; that is my re-derivation, not the PR's evidence, and the burden is the PR's.
  • Attribution tier — no section; the trailer line stands in for it.
  • Rulebook compliance — no section; not one rule answered with a HOW.
  • The footer. An AI-authored body must end with the italicized *Assisted-by: <Harness> <Provider Full Model Name> (<confidence>)*. Here the line sits mid-body, unitalicized, followed by ## Round-2 corrections.

BLOCKING 2 — an unpasted sweep claim, and it is wrong

Two claims are asserted with no executed output:

  1. "276 files enumerated, 276 read, 0 failures" — true in conclusion (I reached the same result by a different route), but no command and no output appear anywhere. A sweep claim needs its real invocation and real output; a plausible-reading claim that was never re-run at the final head is precisely the failure class this gate exists for.
  2. "one file still matches long:", the gate's own detection strings" — false at the head it describes. At d1d8fa7f:
$ git grep -n 'long:"' origin/fix/box-new-box-candy-flag
CHANGELOG/2026.216.0557.md:9        (code sample — sanctioned history)
CHANGELOG/2026.216.0608.md:3        (prose — sanctioned history)
charly/kong_flag_tag_test.go:7      (the gate's detection string)
charly/kong_flag_tag_test.go:115    (the gate's detection string)

Three files, four hits. Round 1 saw one file at 9017a97a; the branch moved and the figure was carried forward instead of re-derived — the same failure mode as the 326/328 count this PR exists partly to correct. R1's claim-keyed sweep binds the cutover's own new prose; being newly authored is not an exemption. Either re-derive the sentence or drop it.

BLOCKING 3 — the CHANGELOG H1 is not a CalVer

$ head -1 CHANGELOG/2026.216.0717.md
# PLACEHOLDER — comments describing a Kong no-op that no longer exists

The filename is a valid placeholder CalVer; the H1 must byte-equal # <filename-without-.md> — <title>. A literal PLACEHOLDER breaks that check at the committed state. Write # 2026.216.0717 — <title>; the merge-time CalVer is then rewritten into both filename and H1 at Phase 3.


Comments considered: one — the round-1 pr-validator failure verdict (atrawog, 2026-08-04T07:06:56Z). Every one of its three blockers re-verified independently as genuinely fixed: verified-non-blocking. Two of its incidental figures I could not confirm and did not adopt: the eight-tag divergence table (five of those eight do not diverge post-conversion — #206 adopts the tag spelling) and RunID as a long: divergence (it is an arg: already using name:) — unverified-dismissed, neither affects this verdict.

Cross-PR interactions considered: opencharly/charly#206 (fix/box-new-box-candy-flag) — the companion carrying both the 328-tag conversion and this repo's gitlink bump. verified-non-blocking for this PR: it is the dependent, spec-first is the forced and correct order, and the comment under review is true of #206's pushed head d1d8fa7f. No coordination comment posted — downstream sequencing is explicitly the team lead's, and #206 already depends on this merge. No other PRs open in opencharly/{spec,sdk,plugins} or opencharly/distro-fedora.

Decision: Not merged, not tagged, no CalVer finalized. The change itself is right — the comments are true of the code they describe, the sweep is closed in both directions, and the gates are green under my own re-run. What is missing is the PR's own proof. Push fix commits to fix/kong-name-tag-comment (the status resets and a fresh validator re-runs); do not close and recreate.

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

atrawog added 2 commits August 4, 2026 09:29
…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)
@atrawog
atrawog merged commit 6ac5af7 into main Aug 4, 2026
@atrawog
atrawog deleted the fix/kong-name-tag-comment branch August 4, 2026 07:40
atrawog added a commit to opencharly/charly that referenced this pull request Aug 4, 2026
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)
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