Repository navigation
docs(qa): re-point 17 checklist items in studio-authoring, search and ux-conventions - #33981
Merged
Merged
Conversation
… ux-conventions Item-text corrections from the v18.5.0 sweep's parked accuracy findings (batch B of the close-out ledger), each re-read at origin/main 895783a. Every edited item bumps its revision and appends one history row; the area files are edited as text spans, not re-serialised. Claude-Session: https://claude.ai/code/session_01ADHkmRzueQbhTjuUYw8rma Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRzueQbhTjuUYw8rma Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z 席位核对 · ACCEPT · head
|
This was referenced Nov 15, 2026
scbdzhwl
pushed a commit
to scbdzhwl/objectstack-analysis
that referenced
this pull request
Nov 16, 2026
…ss-security, api-backend, approvals, ai, attachments-storage, dashboards) (objectstack-ai#34016) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9TTF1z3CcGg2atxzEGqXsh6)_ Fixes objectstack-ai#33967 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:平台测试清单 7 个 area 文件里 27 个条目的步骤/夹具/核对文字(批次 E 的 26 个条目,加 objectstack-ai#33968 交回的 1 个 SSO 条目),每条 revision +1 并加一行 history。 - 为什么改:18.5.0 发版测试时跑手按原文走不通或读错的地方(锚卡 objectstack-ai#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 objectstack-ai#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 objectstack-ai#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 objectstack-ai#33936, objectstack-ai#33929, objectstack-ai#33931 and objectstack-ai#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`, objectstack-ai#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 objectstack-ai#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 objectstack-ai#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 objectstack-ai#33967, source objectstack-ai#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 objectstack-ai#33997 (`qa-fixture.mjs oidc-stub`) is not merged at the base, so no item cites the script | | found while doing objectstack-ai#33967, source objectstack-ai#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 objectstack-ai#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](https://claude.ai/code/session_01ADHkmRzWLM3UvUUerHXiy9)_ <!-- signed: domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z --> --------- Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Steve · project thread
Fixes #33964
Clause-②: no
Metadata-protocol: none
维护者速读
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.jsonandux-conventions.json, 22 rows over 17 items. Each row was re-read atorigin/main895783a1and 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 (acceptanceclause) changed; oneverifywas respelled (hooks-tab-authoring). Every edited item hasrevision+1 and onehistoryrow. The area files were edited as text spans by a script and never re-serialised.QA-name, whichscripts/qa/qa-fixture.mjsstampsQA-+ timestamp). The member reads none of INV-1001..1012, soq=INValone gives two empty sets on the member sideusing: ''(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/apps/APP/docs→/apps/PKG/docs; the route is/apps/:packageId/docs(ui/apps/console/src/AppContent.tsx)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 throughdiscard-drafts, since DELETE answers 200 "nothing to delete" and leaves it. Rows 163 and 226 are one editrecord.quantity * record.unit_pricedropped as the proven-number example. Measured at895783a1withinferExpressionType(packages/formula): that expression infersunknown,record.est_hours * 1.1infersnumber{"attempt":1,"maxRetries":2}on a "[hook] retrying after failure" warn (packages/objectql/src/hook-wrappers.ts), not a literal '1/2'list.columns[0](how a view with list keys is stored); the sweep reportsconfig.columns.0; the plant shows within about a minute (cache)field.deleteBehaviorrow leaves the matrix as step 4 says: the field inspector offers the control (offeredDeleteBehaviors,ObjectFieldInspector.tsx). Variants after it shift down by one.flow.errorHandlingnames its observable: three failed runs in/runs, one per attempt (retryExecution,engine.ts)/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)/tmpcopy with symlinkednode_modulesandpackagesis the default; the linked-worktree recipe stays as the alternative (it writes the shared.git)engine.fieldType.summary), stored assummaryOS_AUTOMATION_SCHEDULED_WORK_ENABLED=1on a fresh DB; any port does (.claude/launch.jsonread)/api/settings/localization, outside/api/v1; import Undo answers with an 'Undone' label; Mark Done patches onlydone/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 fileNo row was already right at
895783a1, and none moved to another carrier. The note onsearch.command-palette-navigation(revision 6 is not stale) needed no edit.Forced test changes: none.
Tests
No code changed.
pnpm check:platform-checklistand the gate familiesnode scripts/pm/dispatch-gates.mjs --commandsderives for this diff were run on the final head; the commands, exit codes and the--ranreconciliation 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) andstudio-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.origin/mainwith this branch. Every non-edited item is value-equal, the area headers are equal, each edited item changes only the fields in the table plusrevisionand one appendedhistoryrow.Verification
pnpm check:platform-checklist→check-platform-checklist: OK — 16 areas, 429 items (421 active, 3 planned).Generated by Claude Code