Repository navigation
Commit b926d37
docs(qa): checklist scratch bodies use the protocol-19 action location words (#38482)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XRLyER3ima3gr7KMGmSaAvw)_
Part of #38046 — this PR does acceptance items 1 and 2. Item 3 (the `git
grep` over `docs/qa/**` finds the four words only in prose that names
them as retired) stays open: the remaining hits are prose that describes
today's placement in the old words, listed under Acceptance notes.
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 用户无感:平台测试清单里三份送去保存或安装的样例,把动作位置的旧词换成了 19 版的新词,跑清单时这几步不会再被拒。
- 为什么做:动作位置改名(列表与记录两类新词)之后的收尾,清单不再出现假失败。
- 出错会怎样:只改测试清单文本,不碰产品代码;有问题直接撤回即可。
- 要你做什么:无
## What changes
Three bodies under `docs/qa/platform-checklist/areas/` that a checklist
runner sends to a door still carried the page-part location words
protocol 19 retired. Each now uses the word the 19 rewrite names (the
#36495 rulings as
`packages/spec/src/conversions/entries/19/action-locations-acted-on.ts`
quotes them: `list_item` beside `record_header` → `record`;
`record_header` or `record_more` → `record_page`).
| Body | Door | Was | Now |
|:--|:--|:--|:--|
| `records-forms.json` fixtures recipe `qaact-placement-specimen`, step
1 manifest: `qaact_control`, `qaact_visible_throws` | `POST
/api/v1/marketplace/install-local` | `["list_item", "record_header"]` |
`["record"]` |
| `records-forms.action-preflight-panel` fixtures.requires[1]:
`qa_pf_probe`, `qa_pf_fail` | `PUT /api/v1/meta/action/…` | `locations:
['record_header']` | `locations: ['record_page']` |
| `studio-authoring.action-preflight-authoring-refusals`
fixtures.requires[1]: `qa_pf_base` (every variant edits it) | `PUT
/api/v1/meta/action/…` | `locations: ['record_header']` | `locations:
['record_page']` |
Text that reads those bodies follows them: the recipe's step 2 `expect`
(the actions read back as `[record]`), its knownGaps[0] (the control
declares no `list` location), and the preflight item's knownGaps[1] (a
runtime action at `record_page` is not drawn on the task page). The two
items bump `revision` (4 → 5, 1 → 2) with one history row each. The
recipe gains knownGaps[2], recording the install verdict below.
## Why
At protocol 19 `ActionLocationSchema` refuses the four words with a
prescription (`packages/spec/src/ui/action.zod.ts`,
`PAGE_PART_LOCATIONS_RETIRED`), and a body sent to the save door is not
converted, so these provisioning steps fail before the step they exist
for and read like a platform defect.
**The install-local recipe (acceptance item 2), measured from source at
d89d3e2: it does not replay through the 19 conversion, so it is
rewritten.** The install converts a package body forward once
(`packages/cloud-connection/src/marketplace-install-local-plugin.ts`,
`handleInstall`, `this.convertPackageBodyForward(ctx, manifest)`), and
that lands in
`packages/objectql/src/engine-package-registration.ts#convertPackageBodyForward`,
whose second line is `if (resolveDeclaredRange(body) === null) return
body;`. `resolveDeclaredRange`
(`packages/metadata-core/src/protocol-handshake.ts`) reads
`engines.protocol`, then `engines.platform`, then `engine.objectstack`;
the recipe's inline manifest declares none of them, so its body is
registered as sent, with the old words. No live install was run.
The recorded builds `docs/qa/scenarios/builds/order_to_cash.json` and
`travel_expense.json` are not touched: they declare `engines.protocol:
^19`, and the card itself rules them out of scope.
## Tests
Docs-only. No test reads these bodies; `pnpm check:platform-checklist`
validates the files (JSON shape, revision/history pairing).
<details><summary>Gates at f486327 (content identical at the merge head
c504263)</summary>
`node scripts/pm/dispatch-gates.mjs --commands` derived 17 families;
each ran with its exit code captured before any pipe, all exit 0:
```
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:platform-checklist :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0 (after building @objectstack/lint's closure under os-verify-lock, VERDICT command-exit 0)
```
`--ran` reconciliation: `17 derived, 17 run, 0 NOT-MEASURED, 0 UNRUN`.
Control-byte self-scan of both files: no hits. `overlap-check`: `VERDICT
clean exit 0` before the push.
</details>
## Acceptance notes
- **Acceptance item 3 is not met by this PR.** After it, `git grep` over
`docs/qa/**` still finds the four words in prose that describes today's
placement, not as retired:
- `records-forms.json`, the action placement item (lines ~2238–2418):
its whole variants matrix is the six page-part locations. Re-pointing it
means re-deriving the item against protocol 19 (`record` / `record_page`
/ `record_row` plus the object's `actionLayout`), a re-derivation rather
than a word swap.
- Source citations that may now be stale: `access-security.json:3084`
(sys_permission_set's actions), `i18n.json:202` (sys_session's
`revoke_my_other_sessions`), `ux-conventions.json:233` (Archive's
placement), `records-forms.json:6332` and `:7683` (showcase task
actions).
- History rows (`approvals.json:1084`, `ux-conventions.json:311`,
`records-forms.json:7356`) are records of what was true and stay as
written.
- Not a new defect: the save door already refuses the old words loudly;
these were stale checklist text.
## Verification
Two-minute check: `git grep -nE "perRecord', locations:
\['record_header'\]|^ +\"list_item\",$" --
docs/qa/platform-checklist/areas/` prints nothing; on `origin/main`
before this PR it prints four lines (the two preflight fixture lines and
the recipe's two manifest actions).
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(not touched)
- [x] 2. Every name I added uses the casing for its kind. (none added)
- [x] 3. No formatter ran; `pnpm lint` passes. (CI)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (nothing
published: `skip-changeset`)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (not touched)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English.
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01FEkQ5p5TNvCBS9kf5cu4HS
Co-authored-by: Claude <noreply@anthropic.com>1 parent 65d9617 commit b926d37
2 files changed
Lines changed: 23 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
105 | | - | |
| 103 | + | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
122 | 120 | | |
123 | 121 | | |
124 | 122 | | |
125 | | - | |
| 123 | + | |
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
138 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
7266 | 7265 | | |
7267 | 7266 | | |
7268 | 7267 | | |
7269 | | - | |
| 7268 | + | |
7270 | 7269 | | |
7271 | 7270 | | |
7272 | 7271 | | |
| |||
7276 | 7275 | | |
7277 | 7276 | | |
7278 | 7277 | | |
7279 | | - | |
| 7278 | + | |
7280 | 7279 | | |
7281 | 7280 | | |
7282 | 7281 | | |
7283 | 7282 | | |
7284 | 7283 | | |
7285 | | - | |
| 7284 | + | |
7286 | 7285 | | |
7287 | 7286 | | |
7288 | 7287 | | |
| |||
7369 | 7368 | | |
7370 | 7369 | | |
7371 | 7370 | | |
| 7371 | + | |
| 7372 | + | |
| 7373 | + | |
| 7374 | + | |
| 7375 | + | |
| 7376 | + | |
7372 | 7377 | | |
7373 | 7378 | | |
7374 | 7379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5360 | 5360 | | |
5361 | 5361 | | |
5362 | 5362 | | |
5363 | | - | |
| 5363 | + | |
5364 | 5364 | | |
5365 | 5365 | | |
5366 | 5366 | | |
| |||
5370 | 5370 | | |
5371 | 5371 | | |
5372 | 5372 | | |
5373 | | - | |
| 5373 | + | |
5374 | 5374 | | |
5375 | 5375 | | |
5376 | 5376 | | |
| |||
5432 | 5432 | | |
5433 | 5433 | | |
5434 | 5434 | | |
| 5435 | + | |
| 5436 | + | |
| 5437 | + | |
| 5438 | + | |
| 5439 | + | |
| 5440 | + | |
5435 | 5441 | | |
5436 | 5442 | | |
5437 | 5443 | | |
| |||
0 commit comments