Skip to content

The withdrawn dist/index.d.ts byte-identity sentence survives verbatim in five released CHANGELOGs — decide whether released records get amended #5913

Description

@claude

Found while implementing #5673 (the docstring correction). Filing rather than absorbing:
#5673's fence is the comment carrying the claim, and this half is a question about
released records, which is a ruling rather than an edit.

What is there

The sentence #5673 withdrew from packages/core/src/types/index.ts was also written into
the #4580 changeset, and the release tooling copied that changeset verbatim into every
dependent package's CHANGELOG. Five copies are in the tree today, all identical, all
carrying the last sentence:

Core's entry surface is unchanged: dist/index.d.ts is byte-identical across the change.

packages/components/CHANGELOG.md:1472
packages/core/CHANGELOG.md:1021
packages/plugin-dashboard/CHANGELOG.md:581
packages/react/CHANGELOG.md:450
packages/types/CHANGELOG.md:705

Search scope: git grep -nI over all 5001 tracked files, patterns index\.d\.ts
(144 hits), byte.identical, entry (type )?surface, and the exact sentence. Control:
is byte-identical across the change — a phrase known present — returned six files
(the five above plus one unrelated i18n test), searched the same way; a
known-absent control string returned exit 1 with zero lines, so an empty result is
distinguishable from a broken search.

Why it is not just noise

The measurement is vacuous for the reason #5673 records: core/dist/index.d.ts is
emitted from a barrel that only forwards the symbol, so it is byte-identical under any
change to a re-exported declaration's shape — measured again in #5673's PR with a probe
that moved the declaring module's .d.ts and left both core files unmoved. A reader who
finds the claim in a CHANGELOG has no way to know it was withdrawn.

Why #5673's PR did not rewrite them

Stated so the decision is made on purpose rather than by omission:

  1. They are release records for a shipped release, and the same text is already published
    to npm on five packages. A repo-side edit cannot recall what shipped; it only makes the
    repo disagree with it.
  2. This repo composes CHANGELOGs from .changeset/*.md at release time. Hand-editing the
    compiled artifact is off that path.
  3. It is a five-file diff on append-heavy files, outside the card's fence.

Options

No recommendation offered — the trade is "accuracy of a released record" against "release
notes are compiled, not edited", and that is a maintainer call.

Filed unassigned.


Generated by Claude Code

Metadata

Metadata

Assignees

Labels

domain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpm:dispatched

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions