Commit ce97faa
committed
docs(spec,lint): record the intentional
Two sets answer "is this field name record-title-ish", and they differ by
exactly one entry, `code`:
packages/lint/src/data-model-rules.ts NAME_LIKE_FIELDS — has 'code'
packages/spec/src/data/display-name.ts NAME_ISH_EXACT — does not
Per the maintainer's 2026-08-10 ruling on #6734 ("document the gap, no
behavior change"), both sets stay exactly as they are. What was defective
was that the divergence was invisible, not that it exists — so it is now
written down where both sets are defined, each pointing at the other:
- lint R9 (`object/missing-name-field`) asks the looser "will records be
anonymous?" question — any readable face counts, so `code` counts;
- ADR-0079 derivation (`resolveDisplayField`) asks "what IS the title?" —
an identifier is not a title, so `code` is deliberately absent from
tier 1/2 and a `code`-only object derives at tier 3 instead.
`skills/objectstack-data/SKILL.md` taught the lint spelling as the
contract, so the drift was being taught; it gains the same distinction
note.
Nothing user-visible turns on the gap (R9 is `severity: 'suggestion'` and
the `Record #<id>` floor guarantees a title regardless).
ZERO behavior change: the diff is comments and prose only — no code path,
no test file, no generated output moves.
`docs/adr/**` is deliberately untouched: ADR-0079 records this as its open
question 4, and closing that ledger entry is a maintainer-merged ADR edit.
Closes #6734code divergence between the two name-like sets (#6734)1 parent f188ed6 commit ce97faa
3 files changed
Lines changed: 64 additions & 1 deletion
File tree
- packages
- lint/src
- spec/src/data
- skills/objectstack-data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
36 | 62 | | |
37 | 63 | | |
38 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
134 | 157 | | |
135 | 158 | | |
136 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1106 | 1120 | | |
1107 | 1121 | | |
1108 | 1122 | | |
| |||
0 commit comments