Filed by the triage seat Routine (#5474 pilot) as the spin-off named in the 01:18Z round brief on #6015, so the verified fact does not die with PR #7483's body. Unassigned — recording, not claiming.
The drift
packages/lint/src/authoring-rules.ts exports the shared AUTHORING_RULES registry (declaration at :371 on origin/main @ 7e93c89d); it currently holds 38 rule entries (count of name: fields in the array literal).
Two code comments still describe the registry as having 26 entries:
| site |
text (verbatim fragment) |
packages/objectql/src/plugin.ts:76 |
"runs the #4463 runtime authoring rules (the 26 shared AUTHORING_RULES that os validate / os lint run)" |
packages/metadata-protocol/src/protocol.ts:2632 |
"so the whole #4463 gate — all 26 shared AUTHORING_RULES" |
(The protocol.ts anchor was :2632 at verification time — an earlier readout recorded :2542; the file has drifted since.)
Why it matters (and why it is only a finding)
Nobody hits this at runtime — both sites are prose inside comments. But both comments are load-bearing guidance about what the #4463 publish gate covers, and a hand-written count in two files has already gone stale once and will again. The mechanical fix is to drop the number or phrase it as "the shared AUTHORING_RULES" (or reference AUTHORING_RULES.length where prose permits).
Routing note (deliberate leave-blank)
⛔ No domain:* applied: the two comment edits land in packages/objectql (domain:engine-core) and packages/metadata-protocol (domain:metadata) — a two-domain landing for a two-line prose fix, below contract-first splitting cost. Left unrouted by the triage seat on purpose; named in the round brief. A lane picking this up alongside adjacent work in either file can take both lines in one PR.
Generated by Claude Code
Filed by the triage seat Routine (#5474 pilot) as the spin-off named in the 01:18Z round brief on #6015, so the verified fact does not die with PR #7483's body. Unassigned — recording, not claiming.
The drift
packages/lint/src/authoring-rules.tsexports the sharedAUTHORING_RULESregistry (declaration at:371onorigin/main@7e93c89d); it currently holds 38 rule entries (count ofname:fields in the array literal).Two code comments still describe the registry as having 26 entries:
packages/objectql/src/plugin.ts:76AUTHORING_RULESthatos validate/os lintrun)"packages/metadata-protocol/src/protocol.ts:2632AUTHORING_RULES"(The protocol.ts anchor was
:2632at verification time — an earlier readout recorded:2542; the file has drifted since.)Why it matters (and why it is only a finding)
Nobody hits this at runtime — both sites are prose inside comments. But both comments are load-bearing guidance about what the #4463 publish gate covers, and a hand-written count in two files has already gone stale once and will again. The mechanical fix is to drop the number or phrase it as "the shared
AUTHORING_RULES" (or referenceAUTHORING_RULES.lengthwhere prose permits).Routing note (deliberate leave-blank)
⛔ No
domain:*applied: the two comment edits land inpackages/objectql(domain:engine-core) andpackages/metadata-protocol(domain:metadata) — a two-domain landing for a two-line prose fix, below contract-first splitting cost. Left unrouted by the triage seat on purpose; named in the round brief. A lane picking this up alongside adjacent work in either file can take both lines in one PR.Generated by Claude Code