Repository navigation
docs(spec): page-record-no-component-refused entry names the console's explanation panel - #33315
Conversation
…s explanation panel The ADR-0087 semantic entry said a stored record page that places no component still opens on a blank panel; the console now draws an explanation panel naming the page and the three fixes. Prose only. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5piGTS7XkkfRsBof8p
📓 Docs Drift Check1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 172 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 6dd6a7d43e8fc5158a22941eefe0076fb856ef72 && git checkout 6dd6a7d43e8fc5158a22941eefe0076fb856ef72
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 24f2f4014d0c9bbd43ec6928942fa44b21c1dff6 bdb029939b57820bccfa2fb91ce59dcbb3303141 && git checkout -B drift-repro 24f2f4014d0c9bbd43ec6928942fa44b21c1dff6 && git merge --no-ff bdb029939b57820bccfa2fb91ce59dcbb3303141
node scripts/docs-audit/affected-docs.mjs --json 24f2f4014d0c9bbd43ec6928942fa44b21c1dff6 |
|
domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag Contract reviewServed-tier: PR #33315 · card #32759 · net diff against ① Derived judgments
② Semver levelClause-②: no — correct. No accept set widens or narrows and no export moves. The changeset is ③ Boundary flags
④ Design judgment
Sentence by sentence:
Attempts to break it: a row that also carries off-spec Findings:
No must-fix, no should-fix. Nits only: the round ends. Implemented-by: VERDICT: PASS |
|
domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag ACCEPT · PR #33315 (#32759) · head
|
Requested by Leehom · project thread
Fixes #32759
Clause-②: no
Metadata-protocol: none
维护者速读
page-record-no-component-refused这一条(记录页没放任何组件会被拒绝)的两句话:reason末尾原说「已存成这样的页面在修好或删掉之前,控制台仍画空白面板」,改为「打开该对象的记录时,控制台在详情处画一个说明面板,写明页面名和三种修法:往区域里放组件、改成 slotted、删掉页面」;acceptanceCriteria末尾「不是空白面板」改为「不是那个说明面板」。os migrate meta与升级指南会告诉作者错误的现状。@objectstack/specpatch changeset;id、surface、replacement、规则、schema 与运行时一概不动。回滚即 revert。packages/spec/src/migrations/entries/semantic/18.page-record-no-component-refused.ts的reason最后一句与acceptanceCriteria最后一句。git diff origin/main -- packages/spec/src/,预期只有这两句字符串变化。What changes
Release text only, measured against the Console change PR #32693 landed (
ui/packages/app-shell/src/views/RecordDetailView.tsx, theassignedPage && recordPagePlacesNoComponent(resolvedPage)branch: anEmptypanel, test idrecord-page-places-no-component, titled "This record page has nothing to show", whose description names the page and says an administrator can add components to a region, make the page slotted, or delete the page).packages/spec/src/migrations/entries/semantic/18.page-record-no-component-refused.ts,reason, last sentence: "until it is fixed or deleted, the console still draws the blank panel for its object" now reads "until it is fixed or deleted, opening a record of its object in the console draws an explanation panel in place of the detail view, naming the page and the three fixes: place components in a region, make the page kind slotted, or delete it".acceptanceCriteria, last clause: "… shows its detail view — the default record page, or the components you placed — not a blank panel" now ends "not the explanation panel that names the page and its fixes"..changeset/32759-page-record-no-component-entry-text.md:'@objectstack/spec': patch. The entry ships in the package (dist, and the generatedspec-changes.jsonandprotocol-upgrade-guide.mdinfiles[]).Unchanged: the entry's
id,surface,replacementand every rule, schema and runtime answer. The past-tense sentences describing what such a page did before the refusal (header comment, and thereasonsentence "opened every record of its object on a blank detail panel") and the one describing what the refusal message says ("saying that every record would open on a blank panel") stay: they remain true. Noregistry.ts.templaterationale fragment exists for this entry (grep: 0 hits), and every projection of the entry (registry.ts,spec-changes.json,protocol-upgrade-guide.md,content/docs/protocol-upgrade/18.md) is gitignored and regenerated, so nothing else is committed.Tests
No behaviour change, so no test is added and none is ablated. The only pin on the entry,
packages/spec/src/ui/page.test.ts(step 18 test), asserts its presence and emptyconversionIds, not its text. Thepage.test.tstitle "naming the blank panel and the fixes" is about the parse refusal's message, which still says that, so it is left alone. Afterpnpm --filter @objectstack/spec build,gen:spec-changesandgen:upgrade-guide: the regeneratedregistry.ts,spec-changes.jsonandcontent/docs/protocol-upgrade/18.mdeach carry the new sentence and no "still draws the blank panel".Acceptance notes
packages/spec/CHANGELOG.mdentry for 18.4.0 (thepage-record-no-component-refusednarrowing, its Unchanged bullet) also says "until it is fixed or deleted the console still draws the blank panel". It was true when 18.4.0 shipped;CHANGELOG.mdis release-owned, so a correction is a dedicated docs-only PR (AGENTS.md, Documentation Guardrails), not a rider here. Noted for the seat.Verification
Local gates on head
bdb02993(basefd7b378c): 78 derived bydispatch-gates --commands, 77 exit 0, 1 NOT MEASURED (check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET: it needs every package'sdist, which CI builds).--ranreconciles 78 accounted, 0 unrun.pnpm --filter @objectstack/spec test: Test Files 840 passed, Tests 26832 passed (1 todo).pnpm --filter @objectstack/spec typecheck: exit 0.check-changeset-no-majorandcheck-empty-changesetreplayed as apull_requestevent carrying this body: exit 0. Full list in the card'sos-dev-report; CI runs the full set.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5piGTS7XkkfRsBof8p