Skip to content

Commit cc9ae86

Browse files
committed
docs(lint): backlink R11's doc comment to #8323's measured cross-tenant oracle
lintUnscopedDeclaredIndexes (unique/unscoped-declared-index, R11, ADR-0120 D5a) already ships the publish-time advisory for the bare `unique: true` declared-index spelling that materializes a global unique index. The concrete harm that warning exists to prevent — the cross-tenant 409-vs-201 oracle — was measured end to end on #8323, but the connection lived nowhere in the tree, which is why part 3 of the #8323 ruling was drafted without knowing R11 already delivered its substance (#8379). One doc-comment line closes that gap for the next sweep or ruling. Fixes #8584 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jqe56GnYFddggeAyfkZFVz
1 parent 8c433a8 commit cc9ae86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/lint/src/data-model-rules.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ function indexUniqueScope(u: unknown): 'organization' | 'global' {
157157
* 17.x: warning. Protocol 18 rejects the spelling at validate/publish (#5082).
158158
* Advisory — never fails a build in 17.x.
159159
*
160+
* Concrete harm: #8323 measured the cross-tenant 409-vs-201 oracle end to end.
161+
*
160162
* Wiring: own AUTHORING_RULES entry (validate/build), and `lintDataModel`
161163
* calls it for `os lint` — each command reports each finding exactly once.
162164
*/

0 commit comments

Comments
 (0)