Skip to content

Commit 03b4d2d

Browse files
docs(qa): re-point 17 checklist items in studio-authoring, search and ux-conventions (#33981)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi984k4kwEnf4Y5P19cDN49bQ)_ Fixes #33964 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:平台测试清单里 17 个条目的步骤文字(studio-authoring 15 个、search 1 个、ux-conventions 2 个),每条 revision +1 并加一行 history。 - 为什么改:18.5.0 发版测试时跑手按原文走不通或读错的地方(锚卡 #33761 账本批次 B),不改的话下一轮跑手会重复踩坑。 - 风险与回滚:只动 docs/qa 下三个 JSON 文本,不动产品代码;回滚就是 revert 本 PR。 - 先看:studio-authoring.json 的 no-entry-property-matrix(删掉 deleteBehavior 一行)、ux-conventions.json 的 write-feedback(改动最多)、search.json。 - 两分钟验证:`pnpm check:platform-checklist`,预期最后一行 `check-platform-checklist: OK — 16 areas, 429 items`。 - 需要你做的:无,席位落地。 ## What changes Batch B of the v18.5.0 close-out ledger (comment 6896511848 on #33761): the item-text re-point rows for `studio-authoring.json`, `search.json` and `ux-conventions.json`, 22 rows over 17 items. Each row was re-read at `origin/main` `895783a1` and the edit starts from the residue measured there; where the item text was checkable against source, the reading is named in the table. No clause (acceptance `clause`) changed; one `verify` was respelled (hooks-tab-authoring). Every edited item has `revision` +1 and one `history` row. The area files were edited as text spans by a script and never re-serialised. | Ledger row(s) | Item | Clause edited | What changed | |:--|:--|:--|:--| | 31 | search.global-search-skips-unreadable | steps[4] | A second row-scope pair on the member's own invoice (q = its `QA-` name, which `scripts/qa/qa-fixture.mjs` stamps `QA-` + timestamp). The member reads none of INV-1001..1012, so `q=INV` alone gives two empty sets on the member side | | 158 | studio-authoring.access-facets-runtime | steps[2], fixtures.requires[1] | A CHECK-only policy is saved with `using: ''` (the tab seeds new policies with an empty USING, `PermissionAdvancedFacets.tsx`) and restricts no read; the package needs an app so the record half of acceptance[0] can be read (else "This app can't be opened"). The record calls the RLS step steps[3]; it is steps[2] in the file | | 161 | studio-authoring.automations-rail-and-new-flow | steps[2] | The disable leg needs a publish before 'Switched off' enters the legend | | 162 | studio-authoring.doc-on-app-menu | steps[5] | `/apps/APP/docs` → `/apps/PKG/docs`; the route is `/apps/:packageId/docs` (`ui/apps/console/src/AppContent.tsx`) | | 163, 226, 227 | studio-authoring.draft-publish-lifecycle | steps[0], steps[2], fixtures.requires[1] | The writable package declares `dependencies: { 'com.example.showcase': '^0' }` or the dataset query answers 409 (dependency closure); the Draft chip is per item, so a gone chip does not mean a clean package; a draft-only name is discarded through `discard-drafts`, since DELETE answers 200 "nothing to delete" and leaves it. Rows 163 and 226 are one edit | | 164 | studio-authoring.expression-editors | steps[1], fixtures.requires[0] | `record.quantity * record.unit_price` dropped as the proven-number example. Measured at `895783a1` with `inferExpressionType` (`packages/formula`): that expression infers `unknown`, `record.est_hours * 1.1` infers `number` | | 167 | studio-authoring.held-edit-leave-guard | steps[4] | From the Automations pillar, departure (a) is another pillar's link; the Automations link is a no-op there. The record calls it steps[2], where (a) is defined | | 169 | studio-authoring.hooks-tab-authoring | acceptance[3].verify | The retry log prints `{"attempt":1,"maxRetries":2}` on a "[hook] retrying after failure" warn (`packages/objectql/src/hook-wrappers.ts`), not a literal '1/2' | | 171 | studio-authoring.metadata-diagnostics-sweep | fixtures.knownGaps[0] | Plant on `list.columns[0]` (how a view with list keys is stored); the sweep reports `config.columns.0`; the plant shows within about a minute (cache) | | 172 | studio-authoring.no-entry-property-matrix | variants, fixtures.knownGaps[0] | The `field.deleteBehavior` row leaves the matrix as step 4 says: the field inspector offers the control (`offeredDeleteBehaviors`, `ObjectFieldInspector.tsx`). Variants after it shift down by one. `flow.errorHandling` names its observable: three failed runs in `/runs`, one per attempt (`retryExecution`, `engine.ts`) | | 174 | studio-authoring.package-customize-restore-display | steps[1], steps[7] | Customize sends no write (the canvas re-runs a read); the view's end-user render is `/apps/com.example.showcase/showcase_task/view/VIEW`, not the 'In-Progress Tasks' nav entry, which is a filtered object entry (`nav_slice_in_progress`) | | 175 | studio-authoring.packaged-automation-studio-lock | steps[3] | The New dialog opens on 'When a record is created' and needs an Object; the scratch flow picks 'When a button or another automation starts it'. The ITEM_LOCKED wording is product #33345, not edited | | 176 | studio-authoring.picklist-bound-select | fixtures.requires[0] | A `/tmp` copy with symlinked `node_modules` and `packages` is the default; the linked-worktree recipe stays as the alternative (it writes the shared `.git`) | | 177 | studio-authoring.summary-field-authoring | steps[0] | The type is labelled 'Rollup' (`engine.fieldType.summary`), stored as `summary` | | 228 | studio-authoring.flow-status-matches-runtime | steps[4] | The launch entry is the canonical boot with `OS_AUTOMATION_SCHEDULED_WORK_ENABLED=1` on a fresh DB; any port does (`.claude/launch.json` read) | | 180 | ux-conventions.disabled-control-reason | variants[5] | 'Reassign…' renders disabled for the admin and is not rendered for a plain member, so the member leg records it not offered | | 182, 229, 230, 231 | ux-conventions.write-feedback | steps[1], [2], [5]; variants[4], [6], [8], [11] | Update-mode import shows an inline result, no toast; the settings PUT is `/api/settings/localization`, outside `/api/v1`; import Undo answers with an 'Undone' label; Mark Done patches only `done`/`progress` (`MarkDoneAction`), so Status keeps its value; the record title link opens the subject record's page, where Approve also sits; Studio autosave needs a record and the column's 'Edit field properties' (`grid-edit-column-FIELD`); the stock currency is locked, so save another key. Row 229's "steps[2]" is the Studio autosave row, variants[8] in the file | No row was already right at `895783a1`, and none moved to another carrier. The note on `search.command-palette-navigation` (revision 6 is not stale) needed no edit. Forced test changes: none. ## Tests No code changed. `pnpm check:platform-checklist` and the gate families `node scripts/pm/dispatch-gates.mjs --commands` derives for this diff were run on the final head; the commands, exit codes and the `--ran` reconciliation are in the os-dev-report comment on #33964. ## Acceptance notes - `ux-conventions.disabled-control-reason`'s steps[1] probe (the disabled reason sits on a wrapper several levels above the control) and `studio-authoring.access-facets-runtime`'s capability chips (shown only after '+ Add capability') were in the QA records but not on this card's ledger rows; not edited. - Structural proof: a script compared each area file at `origin/main` with this branch. Every non-edited item is value-equal, the area headers are equal, each edited item changes only the fields in the table plus `revision` and one appended `history` row. ## Verification - `pnpm check:platform-checklist` → `check-platform-checklist: OK — 16 areas, 429 items (421 active, 3 planned)`. --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmRzueQbhTjuUYw8rma)_ <!-- signed: domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent aec637b commit 03b4d2d

3 files changed

Lines changed: 136 additions & 50 deletions

File tree

‎docs/qa/platform-checklist/areas/search.json‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@
709709
"title": "Global search (GET /api/v1/search) skips what the caller cannot read instead of failing: an unreadable object is never queried, named or counted; a readable object is searched only on fields the caller may query; row scope still narrows every searched object",
710710
"since": "v17",
711711
"status": "active",
712-
"revision": 6,
712+
"revision": 7,
713713
"priority": "P1",
714714
"surface": "api",
715715
"personas": [
@@ -738,7 +738,7 @@
738738
"positive control as admin: GET /api/v1/search?q=T&objects=W,showcase_invoice hits in W. A W with no matching row proves nothing about skipping",
739739
"as the member, an UNSCOPED search: GET /api/v1/search?q=T. Capture the status and the full body text, and check truncated is false: the sweep stops at the overall hit limit (limit, default 20, max 100) before later objects are scanned or counted (packages/metadata-protocol/src/protocol-record-reads.ts, searchAll), so choose T, or pass limit=100, so the limit is not hit. Otherwise W's absence and totalObjects reflect the stop, not the gate",
740740
"as the member, a mixed scope: GET /api/v1/search?q=T&objects=showcase_invoice,W. Then W alone: objects=W; then a name that matches no object: objects=qa_no_such_object. Capture all three bodies",
741-
"row scope: as the member, GET /api/v1/search?q=INV&objects=showcase_invoice&perObject=25; as admin, the identical query. ⚠ perObject is required here: searchAll caps each object at 5 hits by default (max 25 — metadata-protocol protocol.ts searchAll), newest updated first, and `truncated` describes only the overall limit, so without it the admin's 5 hits omit INV-1003 and read like acceptance[3]'s admin half failing (QA run #24593). q=INV-1003 is the narrower alternative. Compare the hit sets against each persona's readable rows",
741+
"row scope: as the member, GET /api/v1/search?q=INV&objects=showcase_invoice&perObject=25; as admin, the identical query. Then the same pair with q set to the member's own invoice name (the recipe's step 5 row; scripts/qa/qa-fixture.mjs names it QA-<timestamp>, so q=QA-2026 finds it and no seeded invoice). The q=INV pair alone cannot show the narrowing keep a readable row: the member reads none of INV-1001..INV-1012, so the member's hits and readable rows are both empty there. The q=INV pair carries the admin's INV-1003 half, the own-row pair the member's non-empty half. ⚠ perObject is required here: searchAll caps each object at 5 hits by default (max 25 — metadata-protocol protocol.ts searchAll), newest updated first, and `truncated` describes only the overall limit, so without it the admin's 5 hits omit INV-1003 and read like acceptance[3]'s admin half failing (QA run #24593). q=INV-1003 is the narrower alternative. Compare the hit sets against each persona's readable rows",
742742
"hidden field: as admin, read a sys_user row and pick a value V from an admin-only search column (on a fresh boot: `role` = `user`, fixtures.requires[2]) that appears in no column the member may query (premise guard). As admin, GET /api/v1/search?q=V&objects=sys_user must hit (positive control). Then as the member, the identical query",
743743
"run the pins: the dogfood file and the metadata-protocol unit file in automated.ref"
744744
],
@@ -834,6 +834,12 @@
834834
"date": "2026-11-14",
835835
"change": "steps[2] and acceptance[0].verify re-pointed (stale spec, QA run #33081, comment 6850173588; ledger row 186 of #32908). searchAll stops sweeping at the overall hit limit before later objects are scanned or counted (protocol-record-reads.ts), so an unscoped probe must not hit the limit or W's absence proves nothing. The clause is unchanged. Read at base 82838e83",
836836
"ref": "#33328"
837+
},
838+
{
839+
"revision": 7,
840+
"date": "2026-11-15",
841+
"change": "steps[4] adds a second row-scope pair on the member's own invoice (q = its QA- name). The contributor-bound member reads none of INV-1001..INV-1012, so q=INV compares two empty sets on the member side and cannot tell narrowing from a blackout (QA run #33829, comment 6893937847; ledger 6896511848 of #33761 row 31). The clause is unchanged. Read at base 895783a1",
842+
"ref": "#33981"
837843
}
838844
]
839845
}

0 commit comments

Comments
 (0)