docs(spec): re-anchor the dead tracker citations in migrations/entries to the commits that decided them (stage 10) - #20750
Conversation
…s to the commits that decided them Every dead tracker number in the hand-written migration entries (131 sites over 21 numbers, all comments; one in entries/README.md) now cites the commit that decided it, in ruling C+D form C, with the decision in words where the number alone carried it. The anchors are the ones earlier stages chose for the same numbers. Lit citations on the same lines stay. Comment text only: no entry id, literal, order or code token moves. Claude-Session: https://claude.ai/code/session_014EJ1ED8X4MMrT18BhVx4tx Co-authored-by: Claude <noreply@anthropic.com>
…ntries gen:migration-registry output only. The 128 changed lines are the entry comment lines the generator carries, re-indented; no line outside the generated regions moves. spec-changes.json and the upgrade guide are unchanged, because entry comments are never projected into them. Claude-Session: https://claude.ai/code/session_014EJ1ED8X4MMrT18BhVx4tx Co-authored-by: Claude <noreply@anthropic.com>
…ents Claude-Session: https://claude.ai/code/session_014EJ1ED8X4MMrT18BhVx4tx Co-authored-by: Claude <noreply@anthropic.com>
…grations-citations
…grations-citations
📓 Docs Drift CheckThis PR changes 1 package(s): 1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
What this run could not see
Coarse fallback — 137 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 3d26556ab74c39abd96cd3056f0605693de27cd3 && git checkout 3d26556ab74c39abd96cd3056f0605693de27cd3
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 97005aed04a069abc2d2fa82fd6c1594aebd7cd1 1ee5841c092cdc7d2c446ab1e7cf933b940e3e25 && git checkout -B drift-repro 97005aed04a069abc2d2fa82fd6c1594aebd7cd1 && git merge --no-ff 1ee5841c092cdc7d2c446ab1e7cf933b940e3e25
node scripts/docs-audit/affected-docs.mjs --json 97005aed04a069abc2d2fa82fd6c1594aebd7cd1
|
Contract reviewServed-tier: Read: card #20234, body and all 41 comments (the C+D path decision ① Derived judgmentsThe claim says no accept-set or public-surface move. Each judgment below is from the diff and the git objects, not the dev's prose.
② Semver level
③ Boundary flags
Check-runs on the head, read once in the first CI wave (the newest concluded run at the read was Implemented-by: VERDICT: PASS Generated by Claude Code |
Part of #20234
Clause-②: no
Stage 10 of the dead-citation sweep: the migration registry's hand-written entries. Every tracker number in
packages/spec/src/migrations/entries/**that no longer exists on the board now cites the commit that decided it, in ruling C+D form C (ruling5749154545on #19123). Where the number alone carried the meaning, the line now says what was decided. That is 131 sites over 21 numbers. All of them are comments; the entries' string literals carry no dead number.migrations/registry.tsmoves only bygen:migration-registry. No entry id, literal, order,conversionIdsor code token moves, and no live citation is removed.Boundary
entries/**. The gate's census reads 117 sites there, under the claim's ~120 slicing threshold, so there is no slice. My raw walk finds 14 more comment sites that the census does not count (see Census below), which gives 131 in total. They are the same dead card on the line after a counted site, plus one README line, so they are rewritten with it.migrations/registry.ts, 128 lines.spec-changes.jsonanddocs/protocol-upgrade-guide.mddo not move, because entry comments are never projected into them. Bothcheck:scripts pass with no regeneration.registry.ts's hand-written parts. They still hold 13 dead sites, listed under Acceptance notes. The six18.*-unit-in-key.tsentries that PR chore(objectui): bump the console pin to db11afd4967c (carries objectui#11119, the objectui#11105 fix) #20706 edits carry no dead site, and I did not touch them. I did not touchconversions/or other lanes' sites.The anchors (one per number, reused from earlier stages where they anchored the same number)
re-charter #13135)RestServerConfigkeyscontributesmembersdeadrowsthemescarrier andThemeSchemaconnector.errorMappingcursoron both halvesz.partialRecordproposal that commit's changeset recorded; the retirement leaves no record to reshapeunreadCountfix"contributes.routes(Option B)oauth.*binding, which leftapplications.deleteout as a behaviour change (PR #15445 kept)Two lines change without a number, so the sentence still reads:
patterns' follow-on line and theoauthanchor block's continuation line. In total 133 lines are removed and 133 added in 86 files, and every file is balanced.Verification record (final head
1ee5841c09; basefbec216e2d)Census (the gate's own
check-issue-citations.mjs --census --json, board enumerated, 186 pages):entries/retired-keysentries/retired-defsentries/semanticregistry.ts, generated regionsregistry.ts, hand-written partschain.ts,types.ts,index.ts,spec-changes.ts, testsmigrations/packages/spec/srcplugin-audit's, frommain's docs(plugin-audit): re-anchor the dead tracker citations to the commits that decided them #20737. 0 sites are only at head.registry.ts's hand-written rationale (see Acceptance notes).issues/Nwithout following redirects, over all 302 distinct in-repo numbers of 100 or more inmigrations/. 277 answer 200 and 25 answer 404. Controls were read at start, every 50 and end: lit packages/spec/src: 1,277 comment lines still cite 170 deleted tracker numbers (1,295 sites) — the staged remainder of ruling C+D on #19123, measured by PR #20226 #20234 200 (8/8), dead Does a DEACTIVATEDsys_positionstill receive sharing-rule shares?expandPositionUsersnever reads the catalogue row, so today it does #8710 404 (8/8).re-charter #13135, becauseNON_CITATION_HEADSreadsre-charter #Nas an ordinal.entries/README.md, which is outside the gate'spackages/**/src/**/*.tssurface.${…}placeholder syntax in memory persistence.path / persistence.key at publish (#8495) #8666, [finding] spec ships a three-layer metadata-customization protocol (MetadataOverlaySchema, field-level change tracking) with zero consumers — published reference docs describe an unimplemented customization architecture #12057,additionalTypesonMetadataPluginConfigis authorable, documented as THE way a plugin declares a metadata type, and has no reader — a plugin cannot declare a kind at all #8586, [finding] HotReloadManager.startWatching watches nothing and logs "File watching started" at info; watchPatterns has no reader and watchHandles is never populated #12428, Composed-branch twin of #9041:external.credentialsRefbound + discrete mongo fields naming nousernameis the same silent no-op, unrefused #9147 and fix(client)!: bind the oauth.* family to the wire shapes better-auth sends #15445. The diff-scoped gate judges them: "every citation this change adds resolves".Residue (scratch walker over the TypeScript parser, per file, base vs head, 86
.tsfiles):67c1f6db944e93ed.Regeneration (
gen:migration-registry):check:migration-registryexits 1 before and 0 after.check:spec-changesandcheck:upgrade-guideexit 0 with no regeneration.Build and tests (under
os-verify-lock):turbo run buildover./packages/*and./packages/*/*, 71 of 71, at845e90fea4and again at1ee5841c09.check:generated: all 15 artifacts up to date, at both heads.localproject: 576 files, 16,991 passed and 1 todo, at both heads.repoproject: 41 of its 45 files, 666 passed, at both heads.typecheck: exit 0; 53 files / 251 errors / 138 pinned signatures held.Gates:
dispatch-gates --commandsderives 82 gates, and the derivation is identical before and after the second merge. At1ee5841c09all 82 exit 0.--ranreconciles: 82 derived, 82 run, 0 NOT-MEASURED, a derived zero.Lint (a proven narrowing):
eslint --no-inline-config --format jsonover the 86 touched.tsfiles: 86 files, 0 errors, 0 warnings.isPathIgnoredis false for all 86.eslint.config.mjs:327-328states that type-aware linting is never enabled, so a comment edit cannot move an untouched file's verdict.Changeset:
patch.dist, the new wording (for example "the precedent of commit 4bfe1a5, PR feat(spec): refuse${…}placeholder syntax in memory persistence.path / persistence.key at publish (#8495) #8666") appears indist/migrations/index.jsand.mjs, and the old wording appears in 0 files.@objectstack/spec/migrationsentry carries these comments.Merges:
origin/mainwas merged twice throughscripts/pm/os-regen-merge.sh. Neither merge left a regeneration to commit.mainhas advanced to97005aed04, and none of those commits touchespackages/spec.merge-treeprobes (from a bare--sharedscratch clone with nomerge.*config) exit 0 against thatmainand against PR chore(objectui): bump the console pin to db11afd4967c (carries objectui#11119, the objectui#11105 fix) #20706's headd8bac3877d.Acceptance notes
registry.ts's hand-written parts. They are outside this claim, which saysregistry.tsis regenerated only.:5940[finding][spec] memory-driver persistence.path / persistence.key still accept unresolved${…}placeholders — the #8336 shape one surface over, deliberately outside its connection-material class #8495, the step-18 doc comment on the persistence placeholder refusal.:22819[spec] View-Management 五方法(listViews/getView/createView/updateView/deleteView)是零实现零路由的声明面 —— 已导致 #5948 把它的响应 schema 误当成线上路由的契约 #6239, theRETIRED_DEFS_BY_MAJOR[17]doc comment.:344cli/runtime: explicit driver(--database-driver/OS_DATABASE_DRIVER)在 CLI 与 standalone stack 之间仍有三处分叉(#6265 后续) #6345. It projects intodocs/protocol-upgrade-guide.md:68, so that stage regenerates the guide.:5121integration/ErrorMappingConfig+ErrorMappingRuleare 11 authorable keys with zero consumers — and one of them is nameduserMessage, colliding with the live #9934 channel #14676,:5455Narrow the per-optiondefaultkey OUT of the form-view options vocabulary — the object-field face keeps it (enforced, #7246), the form-view face parses-and-ignores it (ruled on objectui#6263) #12868,:5526spec(data): mappinglookuptransform params (object / fromField / toField / autoCreate) are authorable and read by nothing #10329,:5544[finding][spec] memory-driver persistence.path / persistence.key still accept unresolved${…}placeholders — the #8336 shape one surface over, deliberately outside its connection-material class #8495,:5555Retire the paper metadata-customization protocol with its full coupling set — spec module, authorable customizationPolicies/mergeStrategy keys, metadata API §5, optional IMetadataService overlay methods, unreachable packages/metadata limb (re-charter of #12057) #13135,:5742Retire the nine dead members of the plugin-manifestcontributesblock (events/menus/themes/translations/actions/drivers/fieldTypes/functions/commands) — tombstone route,kindssurvives #10724,:5745Plugin-manifestcontributes.themesdeclares a theme-contribution channel nothing reads — same declared-but-unenforced shape as the retired stackthemescarrier #10627,:5752contributes.routeshas zero readers, yet a published skill, an ADR row and the dispatcher's own doc all present it as the way to serve a code-handler endpoint — enforce-or-remove fork #10726,:5799defineStack({ themes })is parsed, ingested and never applied — the last hop from a storedthemeitem to the theme engine does not exist #10485,:5816i18n: component-translationsubmitLabelcopy key lost its only declared carrier whenelement:formretired (#9249) — decide retire vs re-anchor #10926. These are not projected into either artifact yet.NON_CITATION_HEADSskipsre-charter #Neven where N is a tracker card..mdfiles underpackages/**/srcare outside the surface.scripts/build-schemas-check-mode.test.tshit the foreground cap alone (exit 124 after 560 s, no output). It parsesregistry.ts's source; the residue check above shows that source's code and string tokens are unchanged.repo-project files (def-key-collisions,publish-smoke-boot-failure,publish-smoke-port-collision) were not run, as in stages 8 and 9.scripts/doc-authoring-prose-id.baseline.jsonhas nopackages/specrow, because its leg excludespackages/spec.check:doc-authoringreads strings only, so a comment-only diff cannot move it. It read 808 sites across 229 files at845e90fea4and 794 across 227 at1ee5841c09. The difference ismain's own re-anchor commits; this diff touches no row.Generated by Claude Code