Repository navigation
Commit 5d02911
docs(rest): drop the hand-written translatable-type list from
* docs(rest): drop the hand-written translatable-type list from translateMetaItem
`isTranslatableMetaType` reads `TRANSLATABLE_METADATA_TYPES`, which is derived
from `METADATA_DOCUMENT_TRANSLATORS`' keys. The comment restated those keys by
hand as a six-item parenthetical, so it went stale the moment the table grew:
`translateDataset` registered a seventh key and the parenthetical still named
six.
The sentence's actual point is that the keys are SINGULAR, which needs no list
to make. The enumeration is deleted rather than corrected -- a corrected
restatement rots again on the next registration, and the two lines above
already name both the derived set and the table, which is where a reader
should go. The table's own doc comment states the rule: "Derived from the
dispatch table -- never restate it."
Comment-only: every changed line is a `//` line comment, so the token stream
is unchanged.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N
* docs(permissions): re-anchor the five rest-server system-context citations
The previous commit deleted one comment line from `rest-server.ts`, so the
five absolute line anchors that `content/docs/permissions/system-context.mdx`
row 51 carries into that file were each one line high. A pure positional
shift: `check-system-context-census` reported five `site-without-a-row` and
five `anchor-is-not-a-read-site` findings, each pair differing by exactly one.
Re-anchored by `node scripts/check-system-context-census.mjs --fix`, which
rewrites a pure shift and refuses a population change. Not hand-edited.
Verified structurally rather than by comparing line content (several anchored
lines in that file are the same string, so content proves nothing): the census
was re-derived on both sides of the diff and the population held —
sites 107 = 107, identifierAppearances 873 = 873, classified 463 = 463,
roleCounts.read 113 = 113, staleLedgerRows 0 = 0, and on the position-blind
multiset of (file, receiver, package, text) ARRIVED = 0 and VANISHED = 0.
Control `scannedFiles` = 291 on both sides, non-zero and re-validated in the
same run. The only movement was positional: per-site delta 0 -1 -1 -1 -1 -1,
the one site above the edit unmoved and the five below it shifted by one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N
---------
Co-authored-by: Claude <noreply@anthropic.com>translateMetaItem's comment (#15863)1 parent ad0b3e7 commit 5d02911
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3250 | 3250 | | |
3251 | 3251 | | |
3252 | 3252 | | |
3253 | | - | |
3254 | | - | |
3255 | | - | |
| 3253 | + | |
| 3254 | + | |
3256 | 3255 | | |
3257 | 3256 | | |
3258 | 3257 | | |
| |||
0 commit comments