Repository navigation
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
Conversation
…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>
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Final green head · area a4-I · 2026-11-22T07:13Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5oVqoTJkrRZcyZS4xd 席位核对 — ACCEPT · head 28973d3
|
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Landing (area a4-I, non-governed self-land) at head
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 ( |
…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>
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 rulef3c9d426freplaced. Each is rewritten in place, withrevisionbumped and ahistoryrow (README "Lifecycle — Change"); none is retired, because every subject is still live.records-forms.crud-roundtrip?related=timeline; first tab 详情; the account page never pins (its 'primary' body tables)records-forms.related-list-server-paginationrelatedListdescribe quotedrecords-forms.record-edit-undorecords-forms.field-history-trackinghistoryConsumerOnScreen, not the retired card; the drawer half, which named the rail, is droppedrecords-forms.master-detail-body-tablesshowcase_expense_report(grouplinesplacesshowcase_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 drawerrecords-forms.related-tab-arrangementrecord-tabs-rail-35595.spec.ts→record-tabs-35595.spec.ts; Northwind never pinsattachments-storage.download-authz-both-sidesSources for every rewritten assertion (all at base
28ba01fe):recordPagePinsDetailsandRECORD_PAGE_PIN_MIN_WIDTH(320 + 24 + 400) inui/packages/plugin-detail/src/synth/recordPageColumns.ts; pinned byRecordPageColumns.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 (nofullPage) never pins").RecordPageColumns.tsx(data-record-page-pinned,data-record-columns-shown, tabs without 详情 when pinned, the implied first tab),RecordTabRow.tsx(data-record-tab); 详情 isdetail.recordTabOverviewin every locale.RecordDetailView.tsxhistoryConsumerOnScreen; pinned byRecordDetailView.recordOpenWaves-13010.test.tsx("a trackHistory record reads the audit log at open…").relatedListsdrops it:deriveRelatedLists.ts(keepsTab),buildDefaultPageSchema.ts#bodyTablePlacement; pinned bybuildDefaultPageSchema.bodyTables-27055.test.ts,deriveRelatedLists.test.ts,deriveRelatedLists.relatedListsOrder-27069.test.ts,RecordDetailView.harness.test.tsx(the five relation-type cells).examples/app-showcase/src/data/objects/expense-report.object.ts(fieldGroupsreport / lines / totals) and the seed's EXP-2001 lines.showcase_invoicewas not used: its default record page is the authoredkind: 'full'invoice document, drawn as written on the desktop full page.RecordPageColumns.tsx(RECORD_TAB_ATTACHMENTS), drawn byrecord-attachments-renderer.tsxasRecordAttachmentsPanel.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)
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
d953558b9). This branch mergedorigin/mainat1cd47628eas merge commit28973d379, with no rebase. Inrelated-list-server-paginationsteps[1], the quote is now main'srelatedListdescribe word for word, re-read at1cd47628e, 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'sfiles[], so nothing publishes.RECORD_PAGE_WIDE_MIN_WIDTH/RECORD_PAGE_TWO_COLUMN_MIN_WIDTHand the tier comment inRecordDetailView.tsxstill describe a right column.master-detail-body-tablesopenedshowcase_project's full page, whose default record page is an authoredkind: 'full'page; the rewrite reads Tasks in the drawer, which draws the standard page.related-tab-arrangementfixture); the example list now names only what the showcase declares.Verification
Read first:
records-forms.jsonitemmaster-detail-body-tables(the full rewrite), thenrelated-list-server-paginationsteps[1], thenattachments-storage.jsondownload-authz-both-sidessteps[6].Two-minute check:
pnpm check:platform-checklistprintscheck-platform-checklist: OK — 16 areas, 436 items.Generated by Claude Code