Commit 9b30cc1
fix(lint): teach describe() the live-elsewhere verdict instead of throwing (#14632)
* fix(lint): teach describe() the live-elsewhere verdict instead of throwing
`describe()` in `lint-liveness-properties.ts` mapped three ledger verdicts to
author-facing findings and threw, by design, on anything else. #13483 shipped
the ledger's fifth status — `live-elsewhere` (dead here by measurement,
genuinely enforced in a sibling repo; first row `manifest.runtime`, enforced at
the cloud marketplace publish gate) — without teaching this function about it,
so the day such a row opts into `authorWarn: true` the author gets a crash
instead of an advisory warning.
`live-elsewhere` now has its own branch and its own rule id
(`liveness-live-elsewhere-property`), a message that says the property is
enforced in a sibling repo rather than here, and a default hint that keeps the
property and points at the ledger row's evidence. It must never fall into the
`dead` branch: per #11384 the verdicts imply opposite author actions, and
"Remove it" is exactly the wrong sentence about a key whose enforcement is real
and remote — deleting it tears out a live gate's input.
The sentinel throw stays for genuinely unknown statuses, its enumeration
updated. The suite gains a coverage pin derived from the shipped ledger rows —
not a hand-list — so a sixth status fails by name instead of repeating this
card.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* fix(lint): move the tracker id out of the sentinel's runtime string
`check:doc-authoring` (sibling-package prose-id leg) fails a NEW `#NNNN` inside
a runtime string: an author, an operator or a generated surface reads that
message and cannot resolve a tracker id. The reference moves to the adjacent
`//` comment, where the reader who can resolve it is already looking.
Maintainer ruling 2026-08-12, quoted by the gate:
处理 issue 时犯的错应该总结成经验,保留 issue id没有意义
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* fix(changeset): restore #13483's pending spec changeset, add lint's own at minor
Two defects in the previous commit's changeset, neither in the implementation.
RESTORED. `.changeset/liveness-live-elsewhere-verdict.md` already existed on
`origin/main` — it is #13483's, declaring `@objectstack/spec: patch` and
describing the fifth verdict, its gate-executable criteria, the 180-day
re-attestation discipline and the `manifest.runtime` migration. Writing this
package's note to that path truncated it, which would have dropped the pending
`@objectstack/spec` bump and taken all of that out of the next release notes.
`packages/spec/CHANGELOG.md` has zero hits for `live-elsewhere`, so it is
unconsumed and still owed, not a stale leftover. The file is restored byte for
byte from `origin/main` (blob 5321f1b) and this package's note moves to
`.changeset/lint-liveness-live-elsewhere-rule-id.md`.
LEVEL. `minor`, not `patch`: `LIVENESS_LIVE_ELSEWHERE_PROPERTY` is a new export
on `packages/lint/src/index.ts`, the public entry, and a new public-entry export
is `minor` under the precedent this lane applied today (#14606 took
`@objectstack/types: minor` for three new exports). Nothing narrows, so no
BREAKING banner and no ADR-0087 marker are owed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent bbbac0f commit 9b30cc1
4 files changed
Lines changed: 278 additions & 29 deletions
File tree
- .changeset
- packages/lint/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
751 | 755 | | |
752 | 756 | | |
753 | 757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
933 | 936 | | |
934 | 937 | | |
935 | 938 | | |
936 | | - | |
| 939 | + | |
937 | 940 | | |
938 | 941 | | |
939 | 942 | | |
| |||
1017 | 1020 | | |
1018 | 1021 | | |
1019 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1020 | 1117 | | |
1021 | 1118 | | |
1022 | 1119 | | |
| |||
1027 | 1124 | | |
1028 | 1125 | | |
1029 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1030 | 1137 | | |
1031 | 1138 | | |
1032 | 1139 | | |
| |||
0 commit comments