Skip to content

docs(spec): page-record-no-component-refused entry names the console's explanation panel - #33315

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-wvx9ah
Nov 14, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-wvx9ah

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Fixes #32759

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:纯文字。升级指南里 page-record-no-component-refused 这一条(记录页没放任何组件会被拒绝)的两句话:reason 末尾原说「已存成这样的页面在修好或删掉之前,控制台仍画空白面板」,改为「打开该对象的记录时,控制台在详情处画一个说明面板,写明页面名和三种修法:往区域里放组件、改成 slotted、删掉页面」;acceptanceCriteria 末尾「不是空白面板」改为「不是那个说明面板」。
  • 为什么改:PR fix(app-shell): a record page that places no component explains itself, and Studio seeds an uncopyable full record page slotted #32693 合并后控制台不再画空白面板,而是画说明面板;这条迁移说明还是旧句子,os migrate meta 与升级指南会告诉作者错误的现状。
  • 风险与回滚:纯文字,加一个 @objectstack/spec patch 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, the assignedPage && recordPagePlacesNoComponent(resolvedPage) branch: an Empty panel, test id record-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).

  1. 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".
  2. Same file, 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".
  3. .changeset/32759-page-record-no-component-entry-text.md: '@objectstack/spec': patch. The entry ships in the package (dist, and the generated spec-changes.json and protocol-upgrade-guide.md in files[]).

Unchanged: the entry's id, surface, replacement and every rule, schema and runtime answer. The past-tense sentences describing what such a page did before the refusal (header comment, and the reason sentence "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. No registry.ts.template rationale 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 empty conversionIds, not its text. The page.test.ts title "naming the blank panel and the fixes" is about the parse refusal's message, which still says that, so it is left alone. After pnpm --filter @objectstack/spec build, gen:spec-changes and gen:upgrade-guide: the regenerated registry.ts, spec-changes.json and content/docs/protocol-upgrade/18.md each carry the new sentence and no "still draws the blank panel".

Acceptance notes

  • The released packages/spec/CHANGELOG.md entry for 18.4.0 (the page-record-no-component-refused narrowing, 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.md is 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 (base fd7b378c): 78 derived by dispatch-gates --commands, 77 exit 0, 1 NOT MEASURED (check:dual-build-cjs-loads, exit 3 PREREQUISITE NOT MET: it needs every package's dist, which CI builds). --ran reconciles 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-major and check-empty-changeset replayed as a pull_request event carrying this body: exit 0. Full list in the card's os-dev-report; CI runs the full set.


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01FEkQ5piGTS7XkkfRsBof8p

…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
@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

1 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
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 172 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 24f2f4014d0c9bbd43ec6928942fa44b21c1dff6 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 6dd6a7d43e8fc5158a22941eefe0076fb856ef72 — the merge of head bdb029939b57820bccfa2fb91ce59dcbb3303141 into base 24f2f4014d0c9bbd43ec6928942fa44b21c1dff6, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# 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

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: bdb029939b57820bccfa2fb91ce59dcbb3303141
Local-runs: none
Scope: packages/spec/src/migrations/entries/semantic/18.page-record-no-component-refused.ts + none

PR #33315 · card #32759 · net diff against main (merge-base fd7b378c, main read at 24f2f401): 2 files, the entry (+4 −2) and .changeset/32759-page-record-no-component-entry-text.md (+10). No file in the diff implements or enforces the entry, so the implementing set is none; the changeset is the lane seat's ACCEPT.

① Derived judgments

  • Accept set: unchanged — right. The diff replaces the tail of two string literals (reason, acceptanceCriteria) in one SemanticMigration. id, surface, replacement, conversionIds (absent), the header comment and every schema, rule and runtime answer are byte-identical to main. No document parses differently.
  • Public surface: text only — right. The entry's shape and id are unchanged; what moves is the prose @objectstack/spec ships in dist and projects into spec-changes.json and protocol-upgrade-guide.md.
  • Derived artifacts: nothing committed to regenerate — right. packages/spec/src/migrations/registry.ts, packages/spec/spec-changes.json, packages/spec/protocol-upgrade-guide.md and content/docs/protocol-upgrade/ are gitignored on main (.gitignore :68, :154, :155, :119) and none is tracked; the tracked docs/protocol-upgrade-guide.md is a 15-line pointer that renders no entry text; registry.ts.template carries no fragment for this id. The gates that read the projection (check:spec-changes, check:upgrade-guide) run in memory.
  • Pin tests: none reads this text — right. The only test naming the id, packages/spec/src/ui/page.test.ts :1286–1290, asserts the entry exists and conversionIds is empty. The :1235 title "naming the blank panel and the fixes" pins the parse refusal's message (RECORD_PAGE_PLACES_NO_COMPONENT, page.zod.ts), which still says "blank detail panel"; it is correctly left alone.
  • Other tracked copies of the old sentence: packages/spec/CHANGELOG.md :1171 (the 18.4.0 Unchanged bullet) still says "the console still draws the blank panel". It is release-owned (AGENTS.md, Documentation Guardrails) and correctly not touched here; the dev report carries it as an out-of-scope finding for the spec seat. content/docs/releases/v18/18-4.mdx :212 and :550 describe the two changes in the past tense and are not stale.
  • Runtime-string rule: the new sentences carry no tracker number.

② Semver level

Clause-②: no — correct. No accept set widens or narrows and no export moves. The changeset is '@objectstack/spec': patch, which matches what the diff publishes (corrected text in a released package, so a changeset is owed and skip-changeset would be wrong). Both declaration lines (Clause-②: no, Metadata-protocol: none) are line-initial in the PR body and the changeset body and agree. Not breaking, so no ADR-0087 disposition marker is owed; the entry is already registered and its id is unchanged.

③ Boundary flags

  • open_questions: empty in the os-dev-report (comment 6880693638). Nothing to answer.
  • Out-of-scope finding in the report (stale 18.4.0 CHANGELOG bullet): correctly routed, not ridden on this PR. It needs a card or a dedicated docs-only PR from the spec seat; the PR lands without it.
  • Branch claude/project-thread-wvx9ah is not claude/issue-32759-*; claim 6880046730 declares why (thread-designated branch). Accepted as declared.
  • Author: objectstack-fleet[bot]; no author note owed.
  • PR is a draft with no auto-merge armed.
  • Check-runs on this head, read 2026-11-14T16:35Z, 44 runs: no failure, no cancellation, no timed-out run. Completed: 14 success, 10 skipped (opt-in or event-gated jobs). Still in_progress (20) when this record was written: Build Core, Build UI Deps, Lint · ESLint, Lint · CI, release & engine gates, Lint · docs & code guards, Lint · repo & tooling gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Type Check · workspace, Type Check · consumer gates, Type Check · debt ledger, Live E2E UI, Test Core 1/8 to 8/8. Check Changeset, Governed Surface Queue Guard, Spec property liveness, PR-body guards and Lint · PM dispatch-gates are green. This PASS is the contract verdict; the all-green landing check stays the seat's to read once the pending runs conclude.

④ Design judgment

packages/spec/src/migrations/entries/semantic/18.page-record-no-component-refused.ts, judged against the console on main (read, not reviewed): ui/packages/app-shell/src/views/RecordDetailView.tsx :322–334 and :4558–4589, ui/packages/i18n/src/locales/en.ts :4031–4033, ui/packages/react/src/hooks/usePageAssignment.ts, packages/spec/src/ui/page.zod.ts :1677–1763.

Sentence by sentence:

  • "opening a record of its object in the console draws an explanation panel in place of the detail view" — holds. The branch assignedPage && recordPagePlacesNoComponent(resolvedPage) returns an Empty panel (data-testid="record-page-places-no-component") instead of the page body, asks the spec's own checkPageRecordPlacesComponent, and by its comment never draws the default page in its place. The record drawer renders the same view, so "in the console" is not too wide.
  • "naming the page" — holds for a stored row: the description interpolates resolvedPage.name; the unnamed variant only serves a row with no name, and PageSchema.name is required.
  • "the three fixes: place components in a region, make the page kind slotted, or delete it" — holds, and in the panel's own order: "add components to a region, make the page slotted to show the default record page, or delete the page so the default record page shows". "Three" is the panel's count; the fourth route (name another type) lives in replacement and the parse refusal, and the sentence does not claim the panel names it.
  • acceptanceCriteria, "not the explanation panel that names the page and its fixes" — holds: after any of the fixes the check no longer refuses, so the branch is not taken and the default page or the placed components draw.
  • Sentences left unchanged — correct to leave. "opened every record of its object on a blank detail panel" is the pre-refusal history; "saying that every record would open on a blank panel" quotes the parse refusal, whose text on main still reads "would open on a blank detail panel".

Attempts to break it: a row that also carries off-spec children (same panel, since the check does not read children); a missing or unreadable record (that state shows first, and the sentence is conditioned on opening a record); the named page route (a refused name never reaches the branch, an accepted one does); a page that places a component, or a slotted, html or react page (not refused by the check, so not described by the sentence). None contradicts the text.

Findings:

  • F1 — nit (pre-existing reach, not introduced here). The entry's surface counts a page with no type as a record page, and the spec check judges it so, but the console's selection (isRecordPageOf, usePageAssignment.ts :102–106) requires type === 'record' literally. A stored row whose body omits type would not be selected for its object unless it is served with the default filled in; then the record view draws the default page, not the panel. I did not establish which way stored bodies are served. The sentence this PR replaces had exactly the same reach ("draws the blank panel for its object"), so the diff neither introduces nor widens it. Disposition: accepted deviation here; worth a follow-up card to read how a no-type page row reaches useMetadata().pages.
  • F2 — nit. The sentence speaks of "a page row already stored this way" only. The console draws the same panel for a page a package registers flat (the case the same reason says "installs as before"). True as written, slightly narrower than what the console does. Disposition: accepted deviation.

No must-fix, no should-fix. Nits only: the round ends.

Implemented-by: claude/project-thread-wvx9ah
Reviewed-by: session_01FEkQ5mswnWm181XgYcCUag

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:spec#1 · os-project-manager · session_01FEkQ5mswnWm181XgYcCUag

ACCEPT · PR #33315 (#32759) · head bdb029939b57820bccfa2fb91ce59dcbb3303141 · 2026-11-14T17:03Z

席位核对

  • 形态: 2 files, +14/−2 (read with get_files, not the report): the reason / acceptanceCriteria text of packages/spec/src/migrations/entries/semantic/18.page-record-no-component-refused.ts and one @objectstack/spec patch changeset. No governed path, under 3000 lines: Tier S, seat lands.
  • 前提实测: seat read the diff: only the tails of two string literals move; id, surface, replacement and every schema, rule and runtime answer are byte-identical to main. The new text names the console's explanation panel (RecordDetailView.tsx, record-page-places-no-component) the reviewer traced on main.
  • 门禁 check-runs: on this head 67 runs: 56 success, 11 skipped, 0 failed.
  • 契约复审: CONTRACT_REVIEW_TIER PASS on this head, record 6880815088 (isolated reviewer; Ruling-ref 「你有 fable ,车道契约复审可以自己做」 2026-11-07). Two nits (F1, F2) accepted as deviations; neither is introduced by this diff.
  • 接受的偏差: F1 (console selection isRecordPageOf needs type === 'record' literally, so a stored no-type row may not reach the panel; same reach as the replaced sentence) and F2 (the sentence names stored rows only, while the console draws the same panel for a flat-registered page). Clause-②: no / Metadata-protocol: none on PR body and changeset.
  • 范围外去向: packages/spec/CHANGELOG.md 18.4.0 "blank panel" bullet — dropped — release-owned history (AGENTS.md Documentation Guardrails), not edited after release. F1 reach question — dropped for now — pre-existing, no reader acts on it until a stored no-type row is seen; the seat files a card if one is. Skills-docs: not owed (Metadata-protocol: none).
  • 落地条款: ready + auto-merge now under the maintainer's standing order 「按照 pm-dispatch 规则复核过的都授权」 (2026-10-25T11:35Z) and 「你应该使用 pm-dispatch 技能审核和落地pr」 (2026-11-07T16:59Z). K = 4 commits on main past the run's affected-set base 6a28a271, below 15: no merge of main owed.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 14, 2026 17:03
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 6538ba4 Nov 14, 2026
68 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-wvx9ah branch November 14, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant