Skip to content

docs(qa): seven record-page checklist items test the pinned details and the tab-by-default master_detail rule, not the retired right rail - #36284

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-36188-checklist-rail-retired
Nov 22, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-36188-checklist-rail-retired

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread
Fixes #36188

Clause-②: no
Metadata-protocol: none

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Takes over #36188 PR B from seat repo:objectstack#1 (hand-over 7073956497)

维护者速读

  • 用户无感:只改内部测试清单里七条记录页测试项的文字,产品本身不变。
  • 记录页去掉右侧摘要栏、主从子表改为默认作页签之后,这七条仍按旧布局写,照着跑会把正常的产品判成失败;属于记录页重做专题。
  • 出错只会让测试员照错误的步骤操作、得出错误结论,不影响任何用户,改回文字即可撤回。
  • 无。

What changes

Seven platform-checklist items still described the record page's right summary rail (retired by the ruling on the layout card, comment 7064066204: fields pinned in the left column when 320 + 400 fit; landed in 48c732c4), its 最近动态 card, the first tab's old name 概览, or the e2e spec under its old name. One of them also asserted the master_detail rule f3c9d426f replaced. Each is rewritten in place, with revision bumped and a history row (README "Lifecycle — Change"); none is retired, because every subject is still live.

Item Rev Change
records-forms.crud-roundtrip 21 → 22 steps[5], acceptance[4].verify: stream from the Activity tab or ?related=timeline; first tab 详情; the account page never pins (its 'primary' body tables)
records-forms.related-list-server-pagination 14 → 15 steps[0–2,5,7], acceptance[2,5].verify: no 其他相关 cards; Contacts read as its tab; today's relatedList describe quoted
records-forms.record-edit-undo 8 → 9 steps[2]: stream from the Activity tab; a wide full page pins the details with no 详情 tab
records-forms.field-history-tracking 14 → 15 steps[3], acceptance[2].verify: the audit read at open rests on historyConsumerOnScreen, not the retired card; the drawer half, which named the rail, is dropped
records-forms.master-detail-body-tables 1 → 2 rewritten to the tab-by-default rule: fixture showcase_expense_report (group lines places showcase_expense_line); the table sits at the group's position, keeps its tab, the page never pins; Tasks on a project stays as the tab-only contrast in the drawer
records-forms.related-tab-arrangement 1 → 2 概览 → 详情 throughout; e2e spec renamed record-tabs-rail-35595.spec.ts → record-tabs-35595.spec.ts; Northwind never pins
attachments-storage.download-authz-both-sides 12 → 13 steps[6]: the panel is the face of the 附件 tab, beside the pinned details or on the one-column row

Sources for every rewritten assertion (all at base 28ba01fe):

  • Pinning: recordPagePinsDetails and RECORD_PAGE_PIN_MIN_WIDTH (320 + 24 + 400) in ui/packages/plugin-detail/src/synth/recordPageColumns.ts; pinned by RecordPageColumns.test.tsx ("pins: details left at 400 px…", "a page whose field groups place a related table among the fields does not pin", "a drawer or pane (no fullPage) never pins").
  • Tab row and markers: RecordPageColumns.tsx (data-record-page-pinned, data-record-columns-shown, tabs without 详情 when pinned, the implied first tab), RecordTabRow.tsx (data-record-tab); 详情 is detail.recordTabOverview in every locale.
  • Audit read at open: RecordDetailView.tsx historyConsumerOnScreen; pinned by RecordDetailView.recordOpenWaves-13010.test.tsx ("a trackHistory record reads the audit log at open…").
  • Tab by default / group placement / keeps its tab / declared relatedLists drops it: deriveRelatedLists.ts (keepsTab), buildDefaultPageSchema.ts#bodyTablePlacement; pinned by buildDefaultPageSchema.bodyTables-27055.test.ts, deriveRelatedLists.test.ts, deriveRelatedLists.relatedListsOrder-27069.test.ts, RecordDetailView.harness.test.tsx (the five relation-type cells).
  • Fixture: examples/app-showcase/src/data/objects/expense-report.object.ts (fieldGroups report / lines / totals) and the seed's EXP-2001 lines. showcase_invoice was not used: its default record page is the authored kind: 'full' invoice document, drawn as written on the desktop full page.
  • Attachments tab: RecordPageColumns.tsx (RECORD_TAB_ATTACHMENTS), drawn by record-attachments-renderer.tsx as RecordAttachmentsPanel.

This also covers released card #35846 (the master-detail item now asserts the merged rule). Text only: no code, no skills/** (PR #36222 did that).

Tests

Docs only: no test file changes. The checklist's own validator is the gate.

check:platform-checklist and the derived gate families (head 3039436; rework head 28973d3: check:platform-checklist OK, 16 areas, 436 items; 17 derived families, 17 run, 0 not measured)
check-platform-checklist: OK — 16 areas, 436 items (428 active, 3 planned) … symbol anchors: 1749/1759 resolved (base: 1745/1755; unresolved stays at the 10 on the named residual)
dispatch-gates --ran: 17 derived famil(ies) accounted for — 17 run, 0 NOT-MEASURED (a DERIVED zero — all 17 recorded an exit code and none of them is 3)

All 17 exited 0: check-adr-links (+ self-test), check-closing-keyword-parity (+ self-test), check-comment-mask-corpus, plan-test-core-shards self-test, lint check:doc-formula-expressions (first run exit 3 PREREQUISITE, re-run exit 0 after building formula + lint), check:adr-anchors, check:ci-filter-parity, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:gitlink-declared, check:nul-bytes, check:platform-checklist, check:refd-timer-probe, check:watch-hint-literal.

Net lines: +111 / −57 (net +54, budget 60).

Acceptance notes

  • Overlap (resolved 2026-11-22): PR docs(spec): two upgrade-guide entries state the record page rules as merged #36273 merged first (d953558b9). This branch merged origin/main at 1cd47628e as merge commit 28973d379, with no rebase. In related-list-server-pagination steps[1], the quote is now main's relatedList describe word for word, re-read at 1cd47628e, and the item stays at one revision bump on top of main (14 → 15). After the merge, overlap-check is clean. Rework report: card comment 7075633975.
  • skip-changeset: docs/qa/** sits in the private root package and in no package's files[], so nothing publishes.
  • Not filed (polish/naming): several test titles still say 「概览」 for the tab that now reads 详情; the docblocks of RECORD_PAGE_WIDE_MIN_WIDTH / RECORD_PAGE_TWO_COLUMN_MIN_WIDTH and the tier comment in RecordDetailView.tsx still describe a right column.
  • Revision 1 of master-detail-body-tables opened showcase_project's full page, whose default record page is an authored kind: 'full' page; the rewrite reads Tasks in the drawer, which draws the standard page.
  • Not measured: whether Northwind's tab row holds three side lists today (related-tab-arrangement fixture); the example list now names only what the showcase declares.

Verification

Read first: records-forms.json item master-detail-body-tables (the full rewrite), then related-list-server-pagination steps[1], then attachments-storage.json download-authz-both-sides steps[6].

Two-minute check: pnpm check:platform-checklist prints check-platform-checklist: OK — 16 areas, 436 items.


Generated by Claude Code

…y-default master_detail rule, not the retired right rail

records-forms: crud-roundtrip, related-list-server-pagination, record-edit-undo,
field-history-tracking, related-tab-arrangement re-pointed (first tab 详情,
stream from the Activity tab, Contacts as a tab, renamed e2e spec);
master-detail-body-tables rewritten to the group-placed body table that keeps
its tab, on showcase_expense_report. attachments-storage:
download-authz-both-sides reads the panel off the 附件 tab.

Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797
Co-authored-by: Claude <noreply@anthropic.com>
Resolves the records-forms.json conflict with d953558 in
related-list-server-pagination steps[1]: the rail-retired wording of
this branch stays, and the field.zod.ts quote is main's quote of the
relatedList describe kept verbatim, with the 'primary' clause beside
it. One revision bump (15) on top of main's 14; this branch's history
row says so.

Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797
Co-Authored-By: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Final green head · area a4-I · 2026-11-22T07:13Z
Head: 28973d3795 — 28 check-runs success, 22 expected skips, 0 failed, 0 pending; mergeable_state clean (pr-state.mjs); overlap-check clean.
Carries #36188 PR B (Fixes #36188): seven record-page checklist items in records-forms.json and attachments-storage.json now test the pinned details column and the #35921 rule (a master_detail child is a tab by default and a body table where a parent field group places it). The retired right rail is gone from them. This also covers released card #35846.
This round merged origin/main after #36273 landed (no rebase). The related-list-server-pagination steps[1] quote is main's relatedList describe word for word (rework report 7075633975).
Next: L1-b reads this head. Not governed (docs/qa/**, 168 lines): the area lands it after ACCEPT.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5oVqoTJkrRZcyZS4xd
L1-b · 2026-11-22T07:14Z

席位核对 — ACCEPT · head 28973d3

  • Shape: l1-face.mjs --pr 36284 is clean at 28973d3, with 28 success, 22 expected skip, 0 failed and mergeable_state clean.
    • The diff is docs/qa/platform-checklist/ only: records-forms.json and attachments-storage.json. It is unpublished, so no changeset is owed. Nothing is governed, so the area lands it.
  • Fixes #36188 is right. Item 1 (the skills rule) is already met on main: skills/objectstack-ui carries no ⊟, ⌘⇧, or right-rail text at this head. Item 2 is this PR. Item 3 (after feat(record-page): on a wide full page the details are pinned left beside the record's tabs; the right summary rail is retired (#35890) #36136) holds.
  • Every item it touches no longer tests the retired rail.
    • The tab row is read as 详情 first, with one tab per related list, Attachments, Approvals, and 动态 last behind 'More N'. The 最近动态 card, the 'Related' toggle and the width tiers are gone.
    • Pinning is read as recordPagePinsDetails. I checked it at this head: a full page pins only when it is wide enough, has a tab beside it, and its details hold no related-list body table. So the showcase account, with its primary Invoices and Projects tables, never pins, and the steps say so.
  • The feat(spec, ui): a master_detail child is a tab by default; a field group puts it in the overview and the form #35921 item (title and steps rewritten, revision 1 to 2) now tests "tab by default, a body table where a parent field group names it". Its fixture is real: showcase_expense_report's fieldGroups place { key: 'lines', relatedList: 'showcase_expense_line' } between report and totals. The task/project contrast is read in the drawer, which draws the standard page.
  • Cited anchors exist at this head:
    • recordPagePinsDetails, data-record-page-pinned / data-record-columns-shown and ENLARGED_PAGE_SIZE in plugin-detail.
    • historyConsumerOnScreen in RecordDetailView.tsx, and the named recordOpenWaves-13010 case.
    • The steps[1] field.zod.ts quote is main's relatedList describe, word for word, after the main merge with docs(spec): two upgrade-guide entries state the record page rules as merged #36273.
    • The retired bodyTablePlacement is no longer cited by any added line.
  • Revisions: each touched item bumps its revision and adds a dated change entry with ref: #36188 that states "No clause changed", except the feat(spec, ui): a master_detail child is a tab by default; a field group puts it in the overview and the form #35921 item, whose clause change is the card's own. The platform-checklist anchor check is green in CI.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

Landing (area a4-I, non-governed self-land) at head 28973d3795a84af1f43c7d26cf58b51cc2bd9eaf, 2026-11-22T07:15Z.

Probe Reading
check-governed-merges.mjs --pr 36284 NOT governed; 168 changed lines ≤ 3000
landing-k.mjs --pr 36284 OK: K = 1 < 15

L1-b ACCEPT 7075806848 is at this head. The PR changes docs/qa only and has no spec or contract face. State: ready for review and auto-merge armed; #36188 closes on merge (Fixes).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 22, 2026 07:16
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit e850a8b Nov 22, 2026
51 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36188-checklist-rail-retired branch November 22, 2026 07:36
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
…merged (objectstack-ai#36273)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XC63go34oEMBFaBgqpoDC8N)_

Fixes objectstack-ai#35701
Fixes objectstack-ai#36211

Clause-②: no
Metadata-protocol: semantic
Skills-docs: none — no skill teaches either entry's text;
`skills/objectstack-ui/rules/record-page.md` §4 already says a `kind:
'full'` page is drawn on the desktop full page only, and no skill names
the field-group refusal's shapes

## 维护者速读

- 用户能看到什么变化:作者运行升级命令时看到的两条升级说明改成与现行规则一致;界面和检查都不变。
- 为什么做:主从子表与字段分组的规则、以及完整记录页只在桌面完整页按原样显示的规则都已合入,两条已发布的升级说明还写着旧说法。
- 出错会怎样:只改说明文字,不改任何检查、拒绝或数据,可直接撤回。
- 要你做什么:无。第三张卡(objectstack-ai#35846,检查清单里主从子表那一项)不在本 PR:它已被 objectstack-ai#36188 的 PR objectstack-ai#36284
取代并关闭,那条清单项在那边按新规则重写。

Seat: `repo:objectstack#4 · os-project-manager ·
session_01FEkQ5kDGa1ViantgrfH797`, area a4-I. Card 35846 was folded into
this dispatch and is **left out of this PR on purpose**: see Acceptance
notes.

## Read first

1.
`packages/spec/src/migrations/entries/semantic/18.field-group-related-list-side-card-refused.ts`:
the riskiest hunk is the `reason` parenthetical and the "Ruling B keeps
the FK's declared relatedList authoritative" sentence. Check them
against `isGroupPlaceableRelationship` / `fieldGroupBodyTableRefusal` in
`packages/spec/src/data/related-list-body-table.ts`.
2.
`packages/spec/src/migrations/entries/semantic/18.page-slots-tabs-retired.ts`:
the `replacement` tail now reads like `PAGE_SLOTS_TABS_REMEDY` in
`packages/spec/src/ui/page.zod.ts`.
3. `packages/spec/liveness/object.json`: one dated sentence was added to
the `fieldGroups[].relatedList` note.

Two-minute check: `pnpm --filter @objectstack/spec exec vitest run
--maxWorkers=2 src/ui/page-slots-tabs-retirement.test.ts
src/migrations/migrations.test.ts`. Both files should pass. The D3 pin
still finds `` `kind: 'full'` `` and no tracker number in any field
shown to authors.

## What changes

- **`field-group-related-list-side-card-refused`** (card 35701). Since
the body-table predicate was widened, a field group may place a
`master_detail` FK that declares no `relatedList`, with or without
`inlineEdit`, and the group makes it a body table.
`isGroupPlaceableRelationship` accepts this shape, and so do the
`defineStack` and publish-door refusals. The entry still listed it as
refused. Changes:
- `surface`: the shape "a plain master_detail with no inlineEdit" is
removed from the refused list.
- `replacement`: "for an inline-edited master_detail remove an explicit
`relatedList: true`" becomes "for a master_detail …".
- `reason`: the old predicate in the parenthetical is replaced by the
merged one. The text matches the refusal sentence: "`relatedList:
'primary'`, or a master_detail FK that declares no relatedList, which
the group makes a body table".
  - The entry's header comment is corrected the same way.
  - The `id`, `acceptanceCriteria` and every predicate are unchanged.
- **`page-slots-tabs-retired`** (card 36211). The `replacement` tail and
the `acceptanceCriteria` now say a `kind: 'full'` page is drawn as
authored on the desktop full record page, and that a phone and the side
preview draw the standard record page with the composed strip. This
matches the remedy and describe as merged in `92e0475e`. The pin file's
docblock line says the same.
- **Stale notes from 35701, comment only:**
- `packages/spec/liveness/field.json`: the `relatedList` evidence now
says "absent on a master_detail FK that a parent field group places".
- `packages/spec/liveness/object.json`: the `fieldGroups[].relatedList`
note gains one dated sentence about the widened placeable set. Verdict
unchanged: LIVE.
- **Checklist quote (scope addition 7027500679):** in
`docs/qa/platform-checklist/areas/records-forms.json`, item
`records-forms.related-list-server-pagination` steps[1] quotes the
`relatedList` describe. The quote now matches the describe as it stands
on `main`. This is the only edit in that file. No other item and no
revision changes: it is a correction to a quote, and what the step asks
the grader to do is unchanged.
- Changeset `.changeset/35701-shipped-text-after-body-tables.md`:
`@objectstack/spec` minor. The kind is `semantic`, and per AGENTS.md
step 3 a kind other than `none` takes at least minor. PR `92e0475e` used
the same level for its describe-only change.

`os migrate meta` lists the same entries for the same stacks.
`relevantWhen` is keyed on top-level stack keys and is untouched, and
the edit is in place: no new entry and no superseding entry.

## Tests

<details><summary>Spec unit tests and gates (filled from the local run,
see Verification)</summary>

At head `483e6f51f` (all under `scripts/pm/os-verify-lock.sh`, VERDICT
command-exit 0 each):

- `pnpm --filter @objectstack/spec test`: Test Files 869 passed (869),
Tests 27877 passed, 1 todo. This includes
`src/ui/page-slots-tabs-retirement.test.ts` (the D3 entry pin) and
`src/migrations/*.test.ts`.
- `pnpm --filter @objectstack/spec typecheck`: exit 0; `registry.ts is
current (638 semantic, 307 retired-key, 249 retired-def)`.
- `pnpm --filter @objectstack/cli exec vitest run --maxWorkers=2
test/migrate-meta-engine-guidance.test.ts` (the os migrate meta guidance
pin), after building the cli closure: Test Files 1 passed, Tests 3
passed.
- No ablation: no tested behaviour changed (text only).

</details>

## Acceptance notes

- **Card 35846 not done (its premise was overtaken).** Its Done-when
asks the item to cite "the 2026-11-20 ADR-0035 note". That note was PR
35845, which was closed unmerged by maintainer ruling on 2026-11-20
22:08Z: 「35845 和新规则冲突,直接关闭作废」. The ADR on `main` has no such note.
Separately, `f3c9d426f` (2026-11-21) made a plain `master_detail` child
a tab by default. It is a body table only where a parent field group
places it, and it is then drawn at that group's position. The item
`records-forms.master-detail-body-tables` assumes the old default
throughout: **Resolved 2026-11-22:** the seat closed objectstack-ai#35846 as
superseded by objectstack-ai#36188; PR objectstack-ai#36284 rewrites the item to the objectstack-ai#35921 rule (no
citation of PR 35845).
- its title says "a table in the record overview by default … never a
tab";
- its fixture is `showcase_task.project`, which no `showcase_project`
field group names;
  - clause [2] and the negatives say the list has no tab;
  - its rule cells read "no relatedList → body".

Writing only the new order would leave the item false, so this PR makes
no edit to it. The next step is in the report's `open_questions`.
- **Scope addition, quote target.** The addition asked for the describe
"as merged by objectstack-ai#35691". `f3c9d426f` has since replaced that describe: its
"absent = 'primary' on a master_detail field" no longer holds. The quote
therefore uses the describe on `main` at `c30ce97c`. Quoting the older
text would have added a false statement.
- **35701's stale-note list, measured at `c30ce97c`:**
- Already current, no edit made (refreshed by the objectstack-ai#35889 / objectstack-ai#35921 work):
ObjectFieldInspector (`readRelatedListMode` docblock, now at about line
3058) and the ObjectGroupInspector `RelatedTablePlacement` docblock. The
`lint data-model-rules` notes at :292 and :1012 already cite the group
rule.
  - Skipped by order: RecordDetailView (seat 1 is editing it).
- Left alone, under `ui/` and outside this claim:
`ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts:306`
"drawn as authored" (docblock).
- **Not touched, by rule:** `packages/lint/CHANGELOG.md` near line 2317
still states the old remedy in a released entry. Package changelogs are
release-owned. Correcting a released entry takes its own docs-only PR.
- **Remaining wording drift, out of scope:**
`field-group-related-list-side-card-refused` still says "side card in
the related column". Since the tab row work, a non-body list is a tab
with a rail card. The card asked only for the predicate.

## Verification

Gate families derived by `node scripts/pm/dispatch-gates.mjs --commands
--repo objectstack-ai/objectstack` at `483e6f51f`: 92 commands, all run
under the lock; `--ran` reconciliation: 92 derived, 92 run, 0 UNRUN.

- 87 exited 0 on the first pass, among them `check:spec-changes`,
`check:upgrade-guide`, `check:docs` (249 generated files in sync),
`check:liveness`, `check:platform-checklist` (16 areas, 436 items OK),
`check:doc-authoring`, `check:nul-bytes`, `check:issue-citations`,
`check:adr-0087-registration`.
- 3 answered PREREQUISITE NOT MET (exit 3 or 1, an unbuilt package) and
exited 0 after `pnpm --workspace-concurrency=2 --filter
'@objectstack/cli...' build`: `migrate-meta-engine-guidance.test.ts`,
`check:doc-formula-expressions`, `check:lean-entry-closure`.
- NOT MEASURED: `check:dual-build-cjs-loads`, which needs a full
workspace build (105 packages without dist). CI's Lint & Repo Gates runs
it.
- NOT MEASURED: `check-plugin-teardown-shape.mjs --self-test`, whose
positive control is pinned to a commit this shallow clone cannot reach.
It is checker health only and cannot judge this diff.
- `generated references`: `content/docs/references/**` embeds neither
entry (`git grep` finds both ids only in release notes), so nothing was
regenerated. The upgrade guide and spec-changes are gitignored
projections, checked in memory above.
- Overlap: `node scripts/pm/overlap-check.mjs`: VERDICT clean (PRs 36233
and 36223 share `records-forms.json` and merge cleanly).

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797)_


<!-- signed: repo:objectstack#4 · os-project-manager ·
session_01FEkQ5kDGa1ViantgrfH797 -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

record page: skills rule and QA checklist items still describe the right summary rail and its shortcut retired by #35890

2 participants