Found by flight ⑨ of the published-skills factual sweep (#13658, member card #13840). Filed unassigned.
What was measured
packages/spec/src/shared/retired-key-migrate-sentence.test.ts pins the house tombstone sentence in two populations:
- a source corpus (several roots, judged over string literals), and
- a markdown corpus of exactly one file —
RETIREMENT_SKILL_MD, hard-coded at line 87 to .claude/skills/spec-property-retirement/SKILL.md.
That markdown half carries three assertions, including one whose name states the intent plainly: "[#9529] the withdrawn automatic-rewrite claim is absent from the skill, in every spelling", judged by the WITHDRAWN_CLAIM regex.
The regex works. The population does not reach far enough. skills/objectstack-upgrade/SKILL.md — a published, customer-facing file — carried this in its §3.5 worked example of a tombstone rejection:
Run `os migrate meta --from 16` to
rewrite it automatically.
WITHDRAWN_CLAIM matches that text verbatim. The pin never saw it, because the file is not in the corpus. Confirmed green before the fix: node scripts/check-skills-token-ratchet.mjs and all 14 derived skills/** gate families pass on the uncorrected file — nothing in CI had a reading on it.
The claim is withdrawn for a stated reason (packages/spec/src/shared/retired-key.ts module docblock): the in-place AST codemod is separately commissioned, porting the listed edits is the author's work, and "rewrite it" has one antecedent too many. The published skill was teaching the opposite of its own §1 — "⚠ The one fact that surprises every operator: os migrate meta does not rewrite your source files."
Why this is the same shape as #10848, one population over
#10848 fixed the sentence in the internal retirement skill and built this markdown corpus so it could not come back there. It came back one directory family over, in the corpus that matters most (2026-08-21 ruling: 「对外发布的 skills 是整个平台的最大价值」). The sweep found it by hand; nothing mechanical would have.
Proposed fix
Widen the markdown corpus from one hard-coded path to a discovered set — the internal retirement skill plus every skills/**/*.md — keeping the three existing assertions unchanged. Notes for whoever takes it:
- The anti-vacuity assertion ("teaches BOTH shapes, so the scan judges at least two sites") is written against a file that deliberately teaches both templates. Over a discovered set it should stay pinned to the file that owns the templates, not become a whole-corpus claim — a published skill that names the command once is not a regression.
- The
SKILL_MARKER docblock already explains why the leading Run is required: a skill may NAME the command mid-prose without prescribing a sentence. That property is what makes the wider population safe. WITHDRAWN_CLAIM is English-only by design, so Chinese prose in the wider corpus cannot fabricate a match.
Sibling of #13678 (the named-identifier liveness gate over skills/**): both are "the corpus grew, the gate's population did not".
Refs: #13658 · #13840 · #10848 (closed — the one-file corpus this widens) · #9529 (the withdrawal) · #13678.
Generated by Claude Code
Found by flight ⑨ of the published-skills factual sweep (#13658, member card #13840). Filed unassigned.
What was measured
packages/spec/src/shared/retired-key-migrate-sentence.test.tspins the house tombstone sentence in two populations:RETIREMENT_SKILL_MD, hard-coded at line 87 to.claude/skills/spec-property-retirement/SKILL.md.That markdown half carries three assertions, including one whose name states the intent plainly: "[#9529] the withdrawn automatic-rewrite claim is absent from the skill, in every spelling", judged by the
WITHDRAWN_CLAIMregex.The regex works. The population does not reach far enough.
skills/objectstack-upgrade/SKILL.md— a published, customer-facing file — carried this in its §3.5 worked example of a tombstone rejection:WITHDRAWN_CLAIMmatches that text verbatim. The pin never saw it, because the file is not in the corpus. Confirmed green before the fix:node scripts/check-skills-token-ratchet.mjsand all 14 derivedskills/**gate families pass on the uncorrected file — nothing in CI had a reading on it.The claim is withdrawn for a stated reason (
packages/spec/src/shared/retired-key.tsmodule docblock): the in-place AST codemod is separately commissioned, porting the listed edits is the author's work, and "rewrite it" has one antecedent too many. The published skill was teaching the opposite of its own §1 — "⚠ The one fact that surprises every operator:os migrate metadoes not rewrite your source files."Why this is the same shape as #10848, one population over
#10848 fixed the sentence in the internal retirement skill and built this markdown corpus so it could not come back there. It came back one directory family over, in the corpus that matters most (2026-08-21 ruling: 「对外发布的 skills 是整个平台的最大价值」). The sweep found it by hand; nothing mechanical would have.
Proposed fix
Widen the markdown corpus from one hard-coded path to a discovered set — the internal retirement skill plus every
skills/**/*.md— keeping the three existing assertions unchanged. Notes for whoever takes it:SKILL_MARKERdocblock already explains why the leadingRunis required: a skill may NAME the command mid-prose without prescribing a sentence. That property is what makes the wider population safe.WITHDRAWN_CLAIMis English-only by design, so Chinese prose in the wider corpus cannot fabricate a match.Sibling of #13678 (the named-identifier liveness gate over
skills/**): both are "the corpus grew, the gate's population did not".Refs: #13658 · #13840 · #10848 (closed — the one-file corpus this widens) · #9529 (the withdrawal) · #13678.
Generated by Claude Code