Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

docs(changeset): date the rotted "keeps its own copy" clause in the 5993 note - #9822

Merged
os-sales merged 1 commit into
mainfrom
claude/issue-9772-5993-keeps-its-own-copy-rotted
Sep 18, 2026
Merged

os-sales merged 1 commit into
mainfrom
claude/issue-9772-5993-keeps-its-own-copy-rotted

Conversation

@os-sales

Copy link
Copy Markdown
Collaborator

Fixes #9772

Clause-②: no

.changeset/5993-button-shared-icon-resolver.md's final paragraph asserts that
renderers/basic/icon.tsx "keeps its own copy deliberately and is untouched". The first
clause is false today. It was true when written, so this is ROTTED, not BORN FALSE —
the repair keeps the sentence, dates it, and names the falsifier. Correcting it outright
(objectui#9753's repair, for a claim that was never true) would delete the record that the
sentence was once true, and with it the reason this change left ui:icon alone.

This is a pending changeset: the body publishes verbatim into the CHANGELOG at the next
release. The repair lands in the pending body while it is still pending. ⛔ Nothing here
touches release PR objectui#5400 or any file it owns.

Both readings taken here, neither inherited

Write-time ref — 194fae184 (2026-08-25).

git log -L 42,44:.changeset/5993-button-shared-icon-resolver.md --oneline

walks to exactly one commit — 194fae184 refactor(components): resolve ui:button icons through the shared resolver (#6350) — and shows the hunk as --- /dev/null, i.e. the file
was created there and the paragraph has never been edited since. git blame -L 42,44 on the
same file agrees on all three lines.

At that ref the clause was TRUE.

git show 194fae184:packages/components/src/renderers/basic/icon.tsx

That file defines function toPascalCase, holds const iconNameMap carrying the single
Home -> House entry, and resolves with (icons as any)[mappedIconName] against
lucide-react's runtime record. A grep of the same blob for resolve-icon / resolveIcon /
describeIconLookup returns nothing: it imported no part of the shared resolver. So it did
keep its own copy.

Falsifier — e176053094 (2026-09-03), refactor(...): one lucide icon-name seam, seven resolvers down to one (#7491).

Three independent git log -S probes, each scoped to that one file, converge on it and on
no other commit after the write-time ref:

probe first commit after 194fae184
git log -S "from '../action/resolve-icon'" e176053094
git log -S "function toPascalCase" e176053094
git log -S "const iconNameMap" e176053094

Why that one and not another:

  • git log --oneline --reverse 194fae184..HEAD -- packages/components/src/renderers/basic/icon.tsx
    lists exactly four commits, and e176053094 is the first of them — the file was not
    touched at all between the write-time ref and it, so nothing in between can have falsified
    the clause.
  • Its diff on that file removes function toPascalCase, const iconNameMap and
    (icons as any)[mappedIconName], and adds the shared import, in one commit. At
    e176053094^ the own copy is still present and the shared import still absent.
  • The other three commits in that range — e304a4ef76, c6198c27bd and 57c07f0028 — move
    no line matching the own-copy or import pattern. In particular objectui#9770
    (57c07f0028) is not the falsifier
    , though it touched the same file most recently; on a
    card whose subject is provenance, naming it would have been a fresh false statement.

Corroboration inside the thing being described. The file's own docblock beside the lookup
already speaks in the past tense — it says this file carried its own toPascalCase +
iconNameMap + icons[...], and that the guarded name used to reach this file's own
toPascalCase. The changeset was still asserting the opposite in the present tense. The
falsifier's own commit body independently records that it kept ui:icon's SquareDashed
placeholder and objectui#5631 warning at the call site.

Only the first clause was repaired

"Is untouched" is scoped to objectui#5993's own change — that change didn't touch it — not
to "never touched again", so a later commit touching the file does not falsify it. It is left
byte-identical, and the amendment says so explicitly so the next reader does not
re-litigate it. The reason clause (SquareDashed placeholder + objectui#5631 warning, which
the shared resolver does not do) is likewise untouched and still true, per the falsifier's own
body. The diff is append-only: 20 insertions, 0 deletions.

The amendment does not plant a fact that will rot again

It contains no bare present-tense assertion about today's tree. Where it points at the current
implementation it names where to re-derive it — read what renderers/basic/icon.tsx imports
from renderers/action/resolve-icon, and the docblock beside that lookup
— and every
historical reading carries its ref and its date. No path:line citation is added (AGENTS.md
#11); pnpm check:new-line-citations is green.

Before/after probe of the changed prose — whitespace-tolerant, both controls

Changeset prose wraps near 88 columns, so a line-anchored grep -F reads 0 on text that is
plainly present. The instrument therefore normalises every whitespace run to a single space
across the whole file and counts literal occurrences. Same instrument, same corpus
(.changeset/5993-button-shared-icon-resolver.md) at base 42234b1a2 and at the head.

probe before after line-anchored -F, before/after expected
SUBJECT — new prose, spans a wrap 0 1 0 / 0 0 / 1 ✅
SUBJECT-2 — falsifier named, spans a wrap 0 1 0 / 0 0 / 1 ✅
LIT CONTROL — pre-existing sentence, spans the wrap between "ui:icon" and "draws a SquareDashed placeholder" 1 1 0 / 0 1 / 1 ✅
ABSENT CONTROL — in neither tree 0 0 0 / 0 0 / 0 ✅

The lit control spans a wrap deliberately, and the fourth column is the point: the naive
line-anchored instrument reads 0 for a sentence that is verbatim in both trees. Probe exit
code captured to disk before any pipe: PROBE_EXIT=0.

Changeset grade for this change — measured from a build, both controls

@object-ui/components ships files: ["dist", "README.md", "CHANGELOG.md", "LICENSE"]; minus
*.md and LICENSE*, the published executable surface is dist/. Built for real first —
pnpm --workspace-concurrency=2 --filter '@object-ui/components^...' build then
pnpm --filter @object-ui/components build, both under the shared verify lock, both
VERDICT command-exit 0 — then grepped over the 212 files of packages/components/dist:

probe hits exit
new prose (the reason is the half worth releasing) 0 1
falsifier sha e176053094 0 1
positive control — published symbol describeIconLookup 1 file (dist/renderers/action/resolve-icon.d.ts) 0

The positive control lands, so instrument and corpus are live; the subject does not, so nothing
this change moves is published executable source ⇒ no changeset is owed, which is also what
node scripts/check-changeset-presence.mjs prints on its own: "0 of them published source of a
package the release covers … no changeset is owed"
, exit 0.

Stated rather than glossed over: the changeset body does publish, into
packages/components/CHANGELOG.md, which is in files[] — and is excluded from the criterion
as *.md by the repo's own rule. That is the whole reason this repair is urgent rather than
cosmetic, and it is not a changeset-owing surface.

Gates — exit codes captured to disk before any pipe

gate exit
check-changeset-overwrite 0 — reports this as its documented case 2 ("You are CORRECTING a declaration on purpose … prose that no longer matches"): M .changeset/5993-button-shared-icon-resolver.md, declared at base @object-ui/components: patch, declares now @object-ui/components: patch — no declaration lost, frontmatter unmoved
check-changeset-presence 0
check-changeset-claims 0
check-changeset-no-major 0
check-changeset-fixed 0
check-pending-changeset-literals 0
check-control-bytes 0
check-new-cross-file-line-citations 0
grep -naP '[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]' on the changed file 1 (clean)

No test or typecheck is owed: the diff touches one markdown file and no package source. The
repo-wide run belongs to CI.

Serial constraint, re-taken over the open-PR 全集 immediately before the first write

19 open pull requests enumerated through the REST proxy, every one's file list read. Exactly
one touches .changeset/5993-button-shared-icon-resolver.md: objectui#5400, the release
PR, which consumes every pending declaration. Re-taken immediately before the push:
state=open, merged=False, merged_at=None. ⇒ the window is open and no concurrent branch edits
this file. ⛔ objectui#5400 is not touched by this PR. The sibling work on objectui#9781 is on
.changeset/8171-… and shares no file with this.

If objectui#5400 merges before this lands, this card needs re-triage — the remedy channel
becomes a docs-only PR on a release-owned tree.

Acceptance notes

Out-of-scope findings are reported in the hand-back, not filed.


🤖 Generated with Claude Code

https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L


Generated by Claude Code

…993 note

`.changeset/5993-button-shared-icon-resolver.md`'s final paragraph says
`renderers/basic/icon.tsx` "keeps its own copy deliberately and is untouched".
The first clause was TRUE when written and is false now, so the repair dates the
sentence and names its falsifier rather than correcting it: correcting it would
delete the reason this change left `ui:icon` alone, which is the part the
CHANGELOG is publishing.

Readings taken here, not inherited:

  write-time ref  `git log -L 42,44:.changeset/5993-button-shared-icon-resolver.md`
                  walks to exactly one commit, `194fae184` (2026-08-25), which
                  created the file. `git blame -L 42,44` agrees. The paragraph has
                  never been edited since.
  true at write   At `194fae184`, that file defined `function toPascalCase`, held
                  `const iconNameMap` with the single `Home -> House` entry, and
                  read `(icons as any)[mappedIconName]` itself, and imported
                  nothing from `renderers/action/resolve-icon`.
  falsifier       `e176053094` (2026-09-03). Three independent `git log -S` probes
                  over that file -- on the shared import, on `function
                  toPascalCase`, and on `const iconNameMap` -- converge on it and
                  on no other commit after the write-time ref. It is also the FIRST
                  of only four commits to touch the file in that range, so nothing
                  in between could have falsified the clause, and none of the three
                  later ones moves an own-copy or import line.

The "is untouched" clause is scoped to objectui#5993's own change and is left
byte-identical; the reason clause survives too, because the falsifier deliberately
kept the `SquareDashed` placeholder and the objectui#5631 warning at the call site.
Frontmatter untouched -- the declaration is the same `@object-ui/components: patch`
before and after.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L
@os-sales
os-sales marked this pull request as ready for review September 18, 2026 07:27
@os-sales
os-sales added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit aed4b4f Sep 18, 2026
36 checks passed
@os-sales
os-sales deleted the claude/issue-9772-5993-keeps-its-own-copy-rotted branch September 18, 2026 07:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants