Skip to content

docs(qa): re-point 27 checklist items in batch E (identity-auth, access-security, api-backend, approvals, ai, attachments-storage, dashboards) - #34016

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-pqexlr
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-pqexlr

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #33967
Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:平台测试清单 7 个 area 文件里 27 个条目的步骤/夹具/核对文字(批次 E 的 26 个条目,加 checklist runner kit: v18.5.0 sweep runner-environment facts in RUNNER.md and two scripts/qa fixture gaps #33968 交回的 1 个 SSO 条目),每条 revision +1 并加一行 history。
  • 为什么改:18.5.0 发版测试时跑手按原文走不通或读错的地方(锚卡 [sweep] v18.5.0 release test sweep #33761 账本批次 E),不改的话下一轮跑手会重复踩坑。
  • 风险与回滚:只动 docs/qa 下 7 个 JSON 文本,不动产品代码;回滚就是 revert 本 PR。
  • 先看:api-backend.json 的 automation-namespace-address(flow 改为按命名空间一个持有者后整段改写)、identity-auth.json 的 SSO 三条(本地 IdP 何时才需要 OS_TRUSTED_ORIGINS)、dashboards.json 的 cube-query(缺席分支没有现成入口)。
  • 两分钟验证:pnpm check:platform-checklist,预期最后一行 check-platform-checklist: OK — 16 areas, 429 items。
  • 需要你做的:无,席位落地。

What changes

Batch E of the v18.5.0 close-out ledger (comment 6896511848 on #33761): the item-text re-point rows for identity-auth.json, access-security.json, api-backend.json, approvals.json, ai.json, attachments-storage.json and dashboards.json, 31 rows over 26 items, plus the two out-of-scope lines the runner-kit card #33968 handed back (report 6897030673). Every row was re-read at origin/main (the branch starts at bc6b7ffd; no area file changed between the ledger's 895783a1 and it except by the carriers #33936, #33929, #33931 and #33981, none of which touches these items) and each edit starts from the residue measured there. 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. One clause (acceptance clause) changed wording without changing what it requires: identity-auth.workspace-org-switch acceptance[3] now says "a role-neutral /meta read"; every other edit is steps, fixtures, verify, negative or automated text.

Ledger row(s) Item Clause edited What changed
2, 184 api-backend.query-contract-matrix acceptance[8].verify States the count: 30 rows, the 22 op:* variants (both spellings each) and the 8 param:* rows, as variants lists them. Rows 2 and 184 are one edit
3 access-security.rls-both-sides acceptance[4].verify QA read showcase_invoice adopted too and showcase_invoice_line no longer adopted; the verify now says to read the adopted set from the report lines, not from a list. summary.holes must still be 0
19 api-backend.action-activation-door-contract automated.ref The 4-segment 404 is ROUTE_NOT_FOUND (the pin's assertion, action-activation-door-live.dogfood.test.ts), not byte-identical to an unmounted path, which answers ENDPOINT_NOT_FOUND (plugin-hono-server adapter.ts). The test file's own header comment says the same stale thing; it is code and is not edited here
20 api-backend.client-sdk-namespace-address fixtures.knownGaps[0] The bare /actions 409 with candidates is reachable live with the family's two-package action fixture (api-backend.actions-namespace-address); the gap now says this item's fixture does not stage it and names the one that does
21 api-backend.actions-namespace-address fixtures.requires[0] qa_b's stack is defineStack(…, { strict: false }): the strict parse refuses a standalone action whose objectName is not in its own stack ("Action 'escalate' references object 'qa_a_ticket' which is not defined in objects.", packages/spec/src/stack.zod.ts)
23 ai.mcp-namespace-faces fixtures.requires[0], automated.ref Adds a third scratch package qa_c whose standalone escalate on qa_a_ticket derives qa_a's face qa_a_ticket-escalate (OBJECT-ACTION, face-name.ts deriveAiFaceName), so negative[2] is drivable live; a namespace named after the object is refused at install (ADR-0150 D6)
24 access-security.permission-set-address-in-execution-context fixtures.requires[2] The qa_a_ticket record is owned by M (owner_id); on a private scratch object an admin-owned row reads 0 rows for M
25 access-security.record-view-read-audit steps[0] The audit read uses the JSON filter form $filter={"action":"read"} (or the AST); OData text answers 400 INVALID_FILTER (the normalizer parses $filter as JSON, protocol-data-crud.ts)
27 attachments-storage.orphan-tombstone-reap steps[1] A restart sweeps at the first tick only when sys_lifecycle_state row lifecycle last_swept_at is older than one interval (1 h) (lifecycle-service.ts runFirstScheduledSweep, #29918); the step ages it before each restart
28 attachments-storage.upload-session-abort steps[3] The sweep leg names the same watermark rule
29 dashboards.analytics-exposure-gate-and-measure-aggregate steps[1] The filter key is where; filters is refused 400 naming where
30 identity-auth.idp-group-permission-set-mapping fixtures.requires[1] Leave OS_SSO_DOMAIN_VERIFICATION unset (opt-in, ADR-0135 D6); with it true SSO sign-in is refused "Provider domain has not been verified"
32 identity-auth.auth-gate-held-session-raw-host-families fixtures.requires[1] Warns that saving mfa_required=everyone with grace 0 also holds the admin who saved it
45 api-backend.route-ledger-live-parity title, fixtures.requires[1], steps[3] SEVENTEEN ledgers, not sixteen: packages/services/service-storage/src/attachment-removal-route-ledger.ts (one row, DELETE /api/v1/attachments/:id). steps[3] samples it with an unknown id, which the own-row door answers 404 RECORD_NOT_FOUND (own-row-delete-routes.ts), never with a real id
46 access-security.share-link-capability-tokens steps[6] The record-gone leg deletes the brief as the admin; the minter persona gets 403
58, 193 api-backend.automation-namespace-address fixtures.knownGaps[0], negative[3] Since #31696 flow (and connector) is one holder per namespace (NAMESPACE_SCOPED_BARE_NAME_TYPES, read at the base), so a second namespace's holder installs; each namespaced address serves its own holder, and only the bare path, _env and a third namespace answer 409 naming both (QA run #33910). The disabled-holder cases still rest on the runtime unit pins, named. Rows 58 and 193 are one edit
66 dashboards.cube-query steps[0] analytics is on PLATFORM_ALWAYS_ON_CAPABILITIES, mounted on every served boot unless --preset minimal (capability-composition.ts resolveServedCapabilities), so the absent-slot arm has no stock door; a run without a minimal-preset boot records it skipped with that reason. Whether the showcase boots under --preset minimal was not measured
67 access-security.security-catalog-one-holder-and-boot-report acceptance[1].verify, fixtures.requires[1] A permission set holds one name per namespace (security-catalog-namespace.ts, ADR-0150 D2/D9), so the conflicting manifest declares no namespace or the holder's; with its own namespace the 422 names only the position
68 approvals.record-page-decisions steps[9] Click the name text in the New approver option row (the row also carries a mailto link and a copy button)
69 approvals.request-page-reply-and-reader-visibility acceptance[2].verify The external member for the 403 leg is mintable on a stock boot: invite-member with role external, sign-up with invitationId, accept-invitation (both routes in auth-route-ledger.ts), replacing "record that leg not exercised"
71 dashboards.global-filters-rescope fixtures.requires[2] The scratch package body is {id, name, version: '0.1.0', type: 'app'} (label is refused by the strict manifest); a scratch dashboard gives its account widgets a filterBindings before the first save, else 422 dashboard-filter-field-unknown
92, 94 identity-auth.auth-method-matrix fixtures.requires[0], steps[3] The generic OIDC variant has no env switch: read it on identity-auth.linked-accounts-social's scratch-copy OIDC boot (row 92). The PROD leg is objectstack serve with OS_DATABASE_URL, OS_AUTH_SECRET and OS_SECRET_KEY (row 94)
95, 96 identity-auth.console-two-factor-prompt-phone-doors acceptance[3].verify, fixtures.requires[2] The rendered wrong-password text has no period; the period-ended literal is ui/packages/auth/src/createAuthClient.ts's no-token fallback (row 95). Read the code from the log line's body: field; a six-digit grep catches the dev-sms-EPOCHMS-N messageId digits (sms-service.ts) (row 96)
97, 98 identity-auth.linked-accounts-social fixtures.requires[1], steps[5] The IdP test identity carries the caller's email (else error=email_does_not_match) (row 97). The data door serves no aggregate route at the base (no /aggregate route in the REST or runtime source): GET answers 404 RECORD_NOT_FOUND, POST 405; the stale "bare aggregate 400" is dropped (row 98)
104 identity-auth.sso-enforced-first-paint fixtures.requires[1] Not a bespoke-env item: a stock showcase with OS_SSO_ENABLED, OS_AUTH_SSO_ONLY and a runtime-registered provider satisfies it
105 identity-auth.workspace-org-switch acceptance[3].clause, acceptance[3].verify Names a role-neutral /meta read (/meta/object/showcase_task); /meta/app filters apps by the caller's per-org grade. The clause still requires deployment-level metadata
found while doing #33967, source #33968 report 6897030673 (line 1) identity-auth.sso-provider-groups-claim, plus the same wording in identity-auth.idp-group-permission-set-mapping fixtures.requires[1] and identity-auth.auth-method-matrix fixtures.requires[2] fixtures.requires[0] A dev boot (os dev) already trusts http://localhost:* (packages/cli/src/commands/serve.ts adds it when the boot is a dev boot; @better-auth/sso's validateOIDCEndpointUrl skips a trusted origin), so OS_TRUSTED_ORIGINS is needed only on a production boot or another private origin. PR #33997 (qa-fixture.mjs oidc-stub) is not merged at the base, so no item cites the script
found while doing #33967, source #33968 report 6897030673 (line 2) api-backend.actions-namespace-address, api-backend.automation-namespace-address negative[2]; fixtures.knownGaps[0] Where the item removes an installed package (actions negative[2]) or names why one cannot be removed (automation knownGaps[0]), it names DELETE /api/v1/marketplace/install-local/MANIFEST_ID; DELETE /api/v1/packages/ID answers 422 WRITABLE_PACKAGE_REQUIRED. api-backend.client-sdk-namespace-address has no removal step, so nothing is added there

No row was already right at the base, and none moved to another carrier.

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 #33967.

Acceptance notes

  • Structural proof: the span editor asserted, per area file, that the new document equals the old one plus the declared operations (value-equal), that every other item is value-equal, and that the text outside the edited items is byte-identical.
  • Not on this card's rows, noted only: access-security.permission-set-address-in-execution-context fixtures.knownGaps[0] still says two packages each shipping qa_a_reader is not reachable through install, but a permission set has been one name per namespace since ADR-0150 D2/D9 (security-catalog-namespace.ts), so two namespaces can now each hold it; and the header comment of packages/qa/dogfood/test/action-activation-door-live.dogfood.test.ts (line 19) still says "byte-identical to an unmounted path" while its own assertion reads ROUTE_NOT_FOUND.
  • QA readings the edits rest on and that were not re-driven live here: rows 3, 32, 46, 68, 69, 92, 94, 95, 97, 104 and 105 (each names its QA run); the source half of each was re-read at the base.

Verification

  • pnpm check:platform-checklist → check-platform-checklist: OK — 16 areas, 429 items (421 active, 3 planned).

Generated by Claude Code

Item-text re-points of the v18.5.0 close-out ledger, batch E: 27 items
across identity-auth, access-security, api-backend, approvals, ai,
attachments-storage and dashboards. Each edited item gains revision +1
and one history row. Edited as text spans by a script, never
re-serialised; every other item is value-equal and the text outside the
edited items is byte-identical.

Claude-Session: https://claude.ai/code/session_01ADHkmRzWLM3UvUUerHXiy9
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 15, 2026
Swap the placeholder history ref for the pull request number.

Claude-Session: https://claude.ai/code/session_01ADHkmRzWLM3UvUUerHXiy9
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

席位核对 · ACCEPT · head 3965f6dd39 · 2026-11-15T16:33Z

  • Shape: draft to main, first line Fixes #33967 after the requested-by line, Clause-②: no / Metadata-protocol: none at line start, skip-changeset. Seven files under docs/qa/platform-checklist/areas/ (identity-auth +57/-24, api-backend +48/-17, access-security +37/-12, dashboards +24/-6, attachments-storage +16/-4, approvals +12/-5, ai +9/-3), the batch-E family of the [sweep] v18.5.0 release test sweep #33761 split and nothing else. check-governed-merges --pr 34016: NOT governed, 274 lines.
  • Coverage of the card: all 31 ledger rows over 26 items edited at base bc6b7ffd (docs(qa): judge sign-out leftovers by who wrote them in console-sign-out-and-ended-session #33936 in), each revision +1 with one history row whose ref is #34016; 0 already-right, 0 moved. The seat's dispatch added the runner-kit card's two item-text findings (checklist runner kit: v18.5.0 sweep runner-environment facts in RUNNER.md and two scripts/qa fixture gaps #33968 report 6897030673): the identity-auth.sso-* OS_TRUSTED_ORIGINS sentence now says an os dev boot trusts http://localhost:* and only a serve / start boot (or another private origin) needs it, applied to sso-provider-groups-claim, idp-group-permission-set-mapping and auth-method-matrix; the install-local removal door is named in actions-namespace-address negative[2] and automation-namespace-address knownGaps[0] (client-sdk-namespace-address has no removal step, not added). PR docs(qa): v18.5.0 sweep runner kit — qa-fixture --help and oidc-stub, RUNNER.md runner facts #33997 was not merged at the base, so no item cites qa-fixture.mjs oidc-stub yet.
  • The one clause edit, judged not narrowing: identity-auth.workspace-org-switch acceptance[3] now compares a role-neutral /meta read before and after the switch. The tenant half (old-org row ABSENT under isolated, new-org write under group) is unchanged; a role-filtered /meta read can differ across orgs where the user's role differs, so the old "exactly as before" was false for it, not lenient.
  • History rows: the one changed line in an existing row (auth-method-matrix revision 12) is the trailing comma the appended revision 13 needs; no prior history text changed.
  • Gates: check-runs on 3965f6dd: 27 success, 19 skipped (path-filtered for a docs-only diff), 0 failure, 0 pending; K = 0 behind base bc6b7ffd; the dev's dispatch-gates derived 16 families, all exit 0, --ran 0 NOT-MEASURED; check:platform-checklist OK (429 items) (report 6897619969).
  • Accepted deviations: none. The cube-query note that --preset minimal is the only boot without analytics is stated in the body as not booted with the showcase. The seat adds the signed footer.
  • Out of scope: access-security.permission-set-address-in-execution-context knownGaps[0] (two packages' same-name permission sets "cannot install", while permission sets are namespaced since ADR-0150 D2/D9) goes to coverage card checklist coverage: v18.5.0 sweep surfaces with no checklist item (writeRequiresMasterRead, renamedFrom holder carry, cross-object where, and others) #33969 as a scope addition, since a stale gap keeps a drivable item blocked; action-activation-door-live.dogfood.test.ts's header still saying "byte-identical" is parked for the next sweep (code comment, outside the file surface).

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

2 participants