Skip to content

Commit b01d8f9

Browse files
docs(qa): re-point the withdrawal-layers anchors at the symbol's new home (#37017)
<!-- claude-projects-attribution: {"github_login":"huangyiirene"} --> _Requested by **Irene** · [project thread](https://claude.ai/code/project/chan_01TJXtQ1tVD26ecLDZxFS67x?thread=cmsg_01TJXtQ1tVD26ecLDZxFS67x8Be2AAcUBhodBsvnWLd3Xs)_ Fixes #36827 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:只改内部测试清单里的两处文件指引。 - 为什么做:平台测试清单门禁在主干上变红,因为一个函数搬了家,清单还指向旧位置。 - 出错会怎样:只影响清单门禁,可直接撤回。 - 要你做什么:无。 ## What changes `docs/qa/platform-checklist/areas/access-security.json`, item `access-security.public-form-withdrawal-layers`: the two anchors on `anonymousFormExplicitWithdrawals` (the `verify` text's `Mechanism:` line and the mechanism list) now name `packages/spec/src/ui/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals`, where the function is declared on main. Nothing else moves; the resolution rule and the checklist's meaning are untouched. No revision bump: the gate's revision/history check passes and the item's verify commands are unchanged. ## Tests `pnpm check:platform-checklist` exit 0 on head dbd3e94 (four self-tests + `check-platform-checklist: OK — 16 areas, 437 items`). ## Acceptance notes - `node scripts/pm/overlap-check.mjs`: merges cleanly with main; conflicts with draft #36784 on the same file. That PR also re-points the neighbouring `anonymousFormIntakeWithdrawnIn` anchor (adjacent line), so the hunks touch adjacent lines. Whichever lands second rebases; the two-anchor text here is identical to that PR's. - Local only the checklist gate chain; the rest of the farm is CI's. ## Verification Two-minute check: `node scripts/check-platform-checklist.mjs` prints `check-platform-checklist: OK`. --- _Generated by [Claude Code](https://claude.ai/code/session_01J8VVAjMMU8pcMXmiLEMMG4)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 422df61 commit b01d8f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/qa/platform-checklist/areas/access-security.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@
18411841
{
18421842
"clause": "only an explicit false withdraws (#21835 comment 5994082238, 「不算,写进文档」): another package's body of the view name that keeps the link with enabled true and allowAnonymous absent, or that names no public link, closes nothing, so the open form is still served (GET 200, POST 201)",
18431843
"oracle": "test",
1844-
"verify": "pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/public-form-withdrawal.test.ts, the cases 'only an explicit false withdraws: a body with the link, enabled true and allowAnonymous absent closes nothing' and 'not a withdrawal: another package's body with the public link cleared leaves the form served'; and pnpm --filter @objectstack/metadata-core exec vitest run --maxWorkers=2 src/anonymous-form-intake.test.ts, the cases 'only an explicit false withdraws: an absent switch is not a withdrawal' and 'not a withdrawal: no body of the row, no sharing, the link cleared'. Mechanism: packages/metadata-core/src/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals (a sharing withdraws only when it keeps a non-empty publicLink and sets enabled or allowAnonymous to false). No stock fixture (knownGaps)",
1844+
"verify": "pnpm --filter @objectstack/rest exec vitest run --maxWorkers=2 src/public-form-withdrawal.test.ts, the cases 'only an explicit false withdraws: a body with the link, enabled true and allowAnonymous absent closes nothing' and 'not a withdrawal: another package's body with the public link cleared leaves the form served'; and pnpm --filter @objectstack/metadata-core exec vitest run --maxWorkers=2 src/anonymous-form-intake.test.ts, the cases 'only an explicit false withdraws: an absent switch is not a withdrawal' and 'not a withdrawal: no body of the row, no sharing, the link cleared'. Mechanism: packages/spec/src/ui/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals (a sharing withdraws only when it keeps a non-empty publicLink and sets enabled or allowAnonymous to false). No stock fixture (knownGaps)",
18451845
"evidence": "the two test runs, naming the cases above as passed"
18461846
},
18471847
{
@@ -1880,7 +1880,7 @@
18801880
},
18811881
"source": [
18821882
"packages/metadata-core/src/anonymous-form-intake.ts#anonymousFormIntakeWithdrawnIn (the one judgement the doors make over the environment's list: a body of the same view name withdraws a candidate matched by slot or by slug; the package is not compared)",
1883-
"packages/metadata-core/src/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals (explicit only: a sharing that keeps its publicLink and sets enabled or allowAnonymous to false; a schema-parsed artifact carries the default enabled false, which counts)",
1883+
"packages/spec/src/ui/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals (explicit only: a sharing that keeps its publicLink and sets enabled or allowAnonymous to false; a schema-parsed artifact carries the default enabled false, which counts)",
18841884
"packages/rest/src/form-routes.ts#registerFormEndpoints (resolveFormBySlug: the environment's view list alone, judged against itself as the layer beneath each candidate; the Default Organization's legacy read was deleted with ADR-0131 C7, and the tenancy service is still read for the posture; a withdrawn form answers 404 FORM_NOT_FOUND on both doors)",
18851885
"packages/metadata-protocol/src/protocol.ts#getMetaItems (the environment's view list the doors read: one item per package that ships a view name, ADR-0048; a package-less copy stands in for every package with no copy of its own, packages/metadata-protocol/src/protocol.ts#servedViewExpansion)",
18861886
"packages/metadata-protocol/src/protocol.ts#organizationScopedWriteRefusal (every organization-scoped write refused 403 NOT_OVERRIDABLE, ADR-0131 D6; PR #22515 deleted the intake-specific organization refusals and the row anchor revision 1 cited, and since PR #22447 the /meta doors hand the protocol no organization, so an organization-active administrator's save is environment-wide)",

0 commit comments

Comments
 (0)