Commit 61cc079
* docs(spec): `app.homePageId` 墓碑说清真正的退役理由 —— 「no shell ever read it」是假的 (#4709)
改的是「为什么删」的表述,不是删本身。`homePageId` 依旧退役(`retiredKey`:编译期
`never`、解析期报错),conversion `app-dead-authoring-keys-removed` 的行为、四张
baseline、`os migrate meta --from 16` 的处方一字未动。
#4667 的理由「no shell ever read it」是假的,且与本仓自己的记录矛盾:2026-06 的
AppSchema liveness 审计把 `homePageId` 列在 LIVE 一侧,因为 objectui console 的
`resolveLandingRoute()`(`packages/app-shell/src/console/AppContent.tsx`,
objectui @785b8a5d)一直在读它,而且它是唯一决定 app 落地页的地方。两份文档矛盾
两个月无人发现 —— 假前提会让下一个读者据此做错判断,#4709 立单人正是先信了这句。
真正让它该走的是形状:把落地页编码成指向 `navigation` 的 ID 交叉引用,没有引用
完整性,id 悬空时静默回退到第一项。将来若要「落地页 ≠ 第一项」,正确形状是导航项
自身的标记(`navigation[].landing`),按 enforce-first 设计。
逐处纠正:`ui/app.zod.ts` 墓碑与 docblock、conversion 摘要(经 gen 重生成到
`docs/protocol-upgrade-guide.md` 与 `spec-changes.json`)、生成文档
`content/docs/references/ui/app.mdx`、`content/docs/ui/apps.mdx`、liveness ledger
的 `homePageId` note、`examples/app-showcase` 的过期注释、#4667 未消费 changeset
的论证段;6 月审计加后续注记(原结论不动)。新增 pin 测试防假前提回潮。
objectui 侧的 `if (homePageId)` 死分支另见 objectstack-ai/objectui#3264。
Fixes #4709
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176qgxgCXTJCUv4YFLtusP9
* chore(spec): 与 #4831 同步后整体重生成 spec-changes / upgrade-guide,而非文本合并
`packages/spec/spec-changes.json` 与 `docs/protocol-upgrade-guide.md` 在
`.gitattributes` 里走 `merge=os-regen`。合并 origin/main(含 #4831 退役
activationEvents)后实测:两文件**零冲突标记**地只保留了本分支一侧 ——
`plugin-activation-events-retired` 被静默吞掉(`grep -c` = 0),正是 #4616
预警的失效形态。
按规矩不做文本合并:`git checkout origin/main --` 取回两文件后,从合并后的
**源**(`conversions/registry.ts` 的 summary + `migrations/registry.ts` 的
step17.semantic)整体重新生成,得到正确并集。
重生成后核对:两条条目并存;#4616 的四个删除(system/EmailTemplate、
SMSTemplate、PushNotification、InAppNotification)未复活,幸存的
EmailTemplateDefinition 仍在;#4657/#4831 的 kernel/studio ActivationEvent
def 与 ActivationEventSchema 导出未复活,authorable-surface 里 activationEvents
仅剩 #4831 自己的 `[RETIRED]` 墓碑行。五张 ratchet 重生成后与 main 逐字节一致,
本分支一张未动。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176qgxgCXTJCUv4YFLtusP9
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent cb5a75e commit 61cc079
12 files changed
Lines changed: 120 additions & 25 deletions
File tree
- .changeset
- content/docs
- references/ui
- ui
- docs
- audits
- examples/app-showcase/src/ui/apps
- packages/spec
- liveness
- src
- conversions
- ui
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
21 | 33 | | |
22 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
0 commit comments