Description
The class
A CHANGELOG entry is authored under a placeholder CalVer, and the merging validator renames the file
to the merge-time stamp. git mv moves the file and never touches the H1, so the heading keeps
the author-time stamp while the filename and release tag carry the merge-time one.
The validator spec already requires rewriting the heading and self-verifying it. That step is
skippable and gets skipped: plugins#207 exists solely to repair one instance.
Measured — 10 instances, freshly fetched origin/main per repo
Only genuine own-stamp disagreements: the H1 carries a well-formed CalVer that differs from its
own filename. Entries with no version prefix at all (a separate legacy class, ~25 in plugins at
days 185–188) are excluded, as are titles that merely cite another version.
repo n filename H1 says
charly 1 2026.210.1559 2026.210.1445
plugins 1 2026.230.1808 2026.229.9999 <- plugins#207 fixes this one
sdk 6 2026.197.0738 2026.197.0800
2026.197.2042 2026.197.2230
2026.198.2057 2026.198.1944
2026.213.2129 2026.213.2116
2026.223.1626 2026.223.1018
2026.228.0209 2026.227.2115
spec 2 2026.214.0434 2026.214.0900
2026.215.1748 2026.215.1928
docs 0
pkg/* 0
box/* 0
9 survive after plugins#207. They cannot land in that PR — they are in four other repos, and
git grep does not cross a gitlink, which is exactly how the class was reported extinct: a sweep
labelled "the whole tree" that measured one repository.
Discriminating the measurement matters here. A naive "H1 does not start with # <filename>"
check returns 150, because it also catches every legacy no-prefix entry. The count that means
anything is "H1 carries a different CalVer", which is 10. A remediation driven by the first figure
would rewrite ~140 headings that are not defective.
Why the durable fix is not here either
The validator-spec text is generated from candy/charly-internals/charly.yml in the superproject,
and regenerating into plugins is currently destructive (charly#323). The mechanism is already
owned by charly#294, which registers this exact gap — including the observation that the
self-verify reads the working tree rather than the committed object, so it cannot fail. Note
#294's "three bad H1s" is understated; the measured figure today is ten.
So: charly#294 owns the gate, and this issue owns the 9 existing instances so they are routed
rather than presumed extinct.
Fixing them
Each is a one-line H1 rewrite in its own repo, batched per repo — 3 small PRs (sdk 6, spec 2,
charly 1). No content changes; the body of every entry is already correct. Worth pairing each with
a check that the repo's tag for that CalVer exists and points where the filename claims.
The trap that produces it, for whoever fixes these
git mv old new followed by git add old new fails the entire add (pathspec 'old' did not match), landing the rename and silently dropping the H1 edit — while git show --stat still lists
the file as old.md => new.md | 0. Presence passes; the tells are the | 0 magnitude and a leftover
M <new> in git status. Chain the rename and the rewrite in one command, then read back from the
committed object: git show HEAD:CHANGELOG/<VER>.md | head -1.
Found by plugins#207's validator; cross-repo figure independently re-derived.
Activity
atrawog commentedon Aug 18, 2026
Which probe you record matters, and
specis the wrong repo to demonstrate it onThe issue body notes that a loose probe returns 150 and the discriminating one returns 10. A validator landing
spec#39added the practical half, and it is worth having here explicitly.In
specthe two probes AGREE — both return 2 — becausespechas zero entries whose H1 lacks a CalVer prefix. The 150-vs-10 divergence does not manifest there at all; it is concentrated in the repos carrying legacy no-prefix entries (pluginshas ~25 at days 185–188, andcharlyandsdkcarry the bulk).So anyone spot-checking the sweep against
specalone would conclude the two formulations are equivalent, and carry the loose one intosdk, where it is off by a factor of seven. A verification repo that cannot distinguish the two probes provides no evidence about either.Two things follow for whoever picks up these nine:
# <filename>?" is a heuristic that agrees with it only where no legacy entries exist.sdk(42 vs 6) orcharly(74 vs 1) are the useful ones;specanddocsprove nothing either way.This is the general shape of the trap rather than a detail of this issue: a check validated only where it cannot fail carries no information, and picking the validation sample is itself a decision that needs its own justification.
Credit to
spec#39's validator, which raised it against my own caveat rather than accepting it.atrawog commentedon Aug 18, 2026
Direction is a discriminator — but it splits the nine, it does not confirm one cause
sdk#144's validator proposed that every mismatch is backward (H1 earlier than filename), which would be the signature of an author-time placeholder surviving agit mv. I re-derived it and the split is 4 / 2 insdkalone:The direction constrains the cause, which is why this matters for the fix rather than for the tally. A surviving placeholder is an author-time stamp, necessarily earlier than the merge-time filename. So:
A uniform "restamp the H1 to match the filename" pass would silently impose the filename on the two FORWARD cases without anyone having established that the filename is the correct stamp there.
So the remediation is not one batch of nine. It is:
Worth checking the direction split in
charly(1) andspec(2) before those are batched too — I have only measuredsdk's six by direction so far.The idea was sound and I am keeping it, corrected. Direction is a cheap discriminator; it just partitions the set instead of confirming a single cause, and the partition is the informative part. This is the second time on this issue that a plausible whole-set generalization has turned out to describe a subset — the first was the loose-vs-discriminating probe (150 vs 10).
atrawog commentedon Aug 18, 2026
Correction to the "Fixing them" section — FORWARD is nearly half, not two of six
My earlier direction note measured
sdkonly and reported 4 BACKWARD / 2 FORWARD.plugins#207's validator derived it across every repo and the FORWARD class is larger. I re-measured independently and reproduce its figure exactly:Four of the nine, not two. The issue body currently says "Each is a one-line H1 rewrite in its own repo" — applied uniformly, that imposes the filename on four entries where nobody has established the filename is the authoritative stamp.
Why direction decides the remedy, restated because it now governs almost half the batch:
git mv. The filename matches the release tag, so the filename is authoritative and a mechanical restamp is correct.So this is two batches, not one:
This is the third time on this issue that a plausible whole-set generalization has described a subset — first the loose-vs-discriminating probe (150 vs 10), then my sdk-only direction split, now the tree-wide one. The pattern is consistent enough to be worth naming for whoever picks this up: measure per repo and state the scope of every figure, because
git grepdoes not cross a gitlink and a single-repo sample keeps reading as the whole tree.Per-file direction tables are in
plugins#207's round-2 comment and in thesdklisting above this one.build(scripts): a CHANGELOG H1 must name its own file — and charly's …
atrawog commentedon Aug 19, 2026
The population is now mechanically reproducible, and there is a tenth
charly#309addsscripts/verify-changelog-h1.sh, which reads each entry's H1 out of the object (git show <ref>:<path>) rather than the working tree. Run across the four repos it reproduces this issue's hand-counted population exactly:charly 1, spec 2, sdk 6 — matching the title exactly. An independent re-derivation agreeing with a hand count is the evidence that the check is neither over- nor under-reaching.
charly's single instance is fixed in
charly#309, so that repo passes its own guard.sdkandspecare separate repos and stay here.A TENTH instance, and it is the informative one
plugins/mainacquired one while this issue was open:CHANGELOG/2026.231.0144.mdwith an H1 reading# 2026.230.2355 — …. It was committed by thepr-validatorperforming the merge-time stamp onplugins#210, and that validator reported it against itself and filedplugins#211.That matters because it rules out the obvious theory. This is not authors being sloppy about a convention — the agent whose Phase 3 is defined as stamping the CalVer produced the defect while executing that exact step, immediately after blocking another PR three times over the same class.
The mechanism, which is what the fix should target
Identical in every instance:
git mv CHANGELOG/<placeholder>.md CHANGELOG/$VER.md— stages a renamegit commitwithout-aThe rename lands; the H1 edit does not.
git status --shortprintsRM: a staged Rename plus an unstaged Modification. TheMis the half that gets missed, and self-verification withhead -1 <path>reads the working tree — where the fix is present — confirming a commit that does not contain it.So a durable fix is not "remember to rewrite the H1". It is either
git commit -a/git addafter the edit, or a post-stamp check that reads the object. The script is the second; the first belongs in the pr-validator's Phase 3 text.Scope note
The check is deliberately narrow: it fires only when an H1 names a CalVer different from its filename. A first draft flagged anything not matching
# <CalVer> — <title>and returned 35 hits onplugins/mainwhere one was real — 34 entries predate the convention. A check that cries wolf 34 times gets disabled by whoever inherits it.Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
atrawog commentedon Aug 19, 2026
Update: the plugins instance is fixed, and this issue's count needs a correction
plugins#211merged as192f9d96(taggedv2026.231.0159) and fixed the instanceplugins#210's merge-stamp created. Its validator classified all 220 CalVer entries inpluginsby reading each H1 out of the object, and reports the class extinct there: 1 → 0.The correction this issue needs: its title and body say nine, measured after
plugins#207. That count predatesplugins#210, whose merge-stamp created another. So the population was ten at its peak, not nine, and the tenth is now closed. The remaining nine are unchanged: charly 1 (now fixed incharly#309), sdk 6, spec 2.The classification that matters, because a naive fix would damage ~140 entries
plugins#211's validator separated three populations, and only one is this issue's defect:— <title>suffixClasses A and B misstate no date. Editing them would be a content change to merged entries with no correctness driver — which is exactly the case the immutability clause governs — whereas fixing class C restores the filename↔tag pairing that clause exists to protect. That distinction is what makes the repair legitimate rather than a history rewrite.
This matches the methodology already stated in this issue, and it is worth restating because a naive
# <CalVer> — <title>matcher returns ~150 hits across the repos and would rewrite ~140 non-defective headings.A mechanical check now exists
charly#309addsscripts/verify-changelog-h1.sh. It reads each H1 from the object (git show <ref>:<path>) and fires only on class C. Verified against ground truth rather than its own reasoning —plugins/maincarried a live true positive while#211was open:Red on the real defect, green on its fix. My first draft flagged anything not matching
# <CalVer> — <title>and returned 35 hits onplugins/mainwhere one was real — precisely the ~140-entry damage this issue's methodology warns about, which is why the narrowing is the load-bearing part.The mechanism, unchanged and worth targeting directly
git mvstages a rename → the H1 is edited in the working tree →git commitwithout-a. The rename lands, the edit does not.git status --shortprintsRM— staged Rename plus unstaged Modification — and theMis the half that gets missed. Self-verification withhead -1 <path>then reads the working tree, where the fix is present, and confirms a commit that does not contain it.Two agents produced this defect during one cutover, both while executing a Phase 3 whose purpose is the stamp, and both self-reported it. It is not an attention failure; the durable fixes are
git addafter the edit, and a post-stamp check that reads the object.Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
atrawog commentedon Aug 28, 2026
Validation (2026-08-28) — STILL VALID (partially fixed)
Verified against current repos. The charly (1) and plugins (1) instances are fixed, but the sdk and spec instances remain. Measured on fresh clones of
sdkmain andspecmain:Value: LOW-MEDIUM — 8 trivial renames for changelog correctness. Static-verified; no bed needed.
atrawog commentedon Aug 28, 2026
Final validation (2026-08-28) — VERIFIED (confirmed still valid)
Static verification on fresh clones of
sdkmain andspecmain: 8 H1-vs-filename mismatches remain — sdk 6 (2026.197.0738, 2026.197.2042, 2026.198.2057, 2026.213.2129, 2026.223.1626, 2026.228.0209), spec 2 (2026.214.0434, 2026.215.1748). The charly (1) and plugins (1) instances are fixed.Status: VERIFIED — keep open. Value: LOW-MEDIUM (8 trivial renames for changelog correctness; the validator spec requires the H1 to match the filename).
atrawog commentedon Aug 29, 2026
Closing: the fix landed and merged on main. Verified against the current state of main — the fix is present (see the validation comment for the specific evidence).