Repository navigation
qa(checklist): re-point stale studio-authoring, records-forms and attachments-storage items to the product - #33360
Merged
Conversation
…achments-storage items to the product at 87330e8 Batch B of the v18.4.0 sweep close-out: 33 items re-pointed to what the product does, each re-measured from source on main 87330e8, with one revision bump and one history row per item; the qa-scratch-authz recipe's qa_att_editor set gains sys_attachment allowDelete for the uploader-delete leg. studio-authoring.first-run-loop was already right and is untouched. Claude-Session: https://claude.ai/code/session_01FEkQ5k8t9PUHXHKxWGpqL4 Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
Author
|
domain:devx#4 · os-project-manager · session_01FEkQ5ooRyyS95kdyC2dPEX 席位核对 · ACCEPT · head
|
This was referenced Nov 14, 2026
scbdzhwl
pushed a commit
to scbdzhwl/objectstack-analysis
that referenced
this pull request
Nov 16, 2026
… 18.0 pre-release restore keeps its activity shard (objectstack-ai#33376) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1X5XzfhFryaGx3eajZAWLK24)_ domain:devx#4 · os-project-manager · session_01FEkQ5kWURVLmS49GR3jwxs Part of objectstack-ai#33351 (section A only; this PR lands the two rows that are fixture additions on main today. Section B and the rows listed below as owed, decided or out of scope stay on the card.) Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:示例应用 showcase 给三张外币发票(INV-1007 日元、INV-1009 和 INV-1010 欧元)各补一行发票明细;18.0 预发布数据库的恢复脚本在恢复时把活动日志分片改成“昨天”的日期。 - 为什么改:多币种测试项原先只有两张外币发票金额非零,其余三张只能看到汇率选择、看不到换算;恢复出来的活动日志分片日期停在 10 月 27 日,首次启动就被 7 天保留策略删掉,测试项读不到那 66 行。 - 风险与回滚:只动示例应用种子数据和测试夹具脚本,都不发布(两个包都是 private);回滚即 revert 本 PR。 - 先看:`examples/app-showcase/src/data/seed/index.ts` 新增的三行发票明细;`packages/qa/dogfood/test/upgrade-harness/cli-prerelease-fixture.ts` 的 `restore`。 - 两分钟验证:`pnpm --filter @objectstack/dogfood exec tsx test/upgrade-harness/cli-prerelease-fixture.ts restore --to /tmp/x/n5.db`,预期多打印一行 `re-dated shard sys_activity__r20261027 → sys_activity__r<昨天>`。 - 需要你做的:无,席位落地。卡上另有三个待决问题(第 92、135、263 行,以及 90+153 合并的一问),见下文与报告评论。 ## What changes Two files, fixture space only. 1. **Row 220 · `records-forms.multi-currency-invoice`** (`examples/app-showcase/src/data/seed/index.ts`): one invoice line each under INV-1007 (JPY), INV-1009 (EUR) and INV-1010 (EUR), so all five foreign invoices carry a non-zero total and both rate rows of each currency are exercised. Measured on a stock boot of this head (a throwaway probe, deleted after the run): ``` INV-1004 EUR amount=450 home=500 rate=0.9 INV-1007 JPY amount=95400 home=629.7 rate=151.5 INV-1008 JPY amount=237864 home=1593.73 rate=149.25 INV-1009 EUR amount=2016 home=2191.3 rate=0.92 INV-1010 EUR amount=276 home=300 rate=0.92 ``` Before this PR, INV-1007, INV-1009 and INV-1010 had no lines (amount 0), as the QA record measured. 2. **Row 209 · `cli-18-prerelease-db` restore** (`packages/qa/dogfood/test/upgrade-harness/cli-prerelease-fixture.ts`): `restore` now passes both dumps through the harness's own `fixture-as-of.ts` (`shardRenamesAsOf` + `renameShardTables`), so the restored telemetry sibling's `sys_activity` shard is dated the day before the run and the first boot's rotation retention keeps it. It prints each rename. Measured: at base `d3f3f4ab` the restore writes `sys_activity__r20261027`; at this head it writes `sys_activity__r20261113` (66 rows) on 2026-11-14. Neither `manifest.json` nor the recipe names the shard, so no census read changes. ## Per-row dispositions (all 16 section A rows, re-measured on `origin/main` `d3f3f4ab`) | row | disposition | evidence | |---|---|---| | 80 | already done on main | `packages/services/service-storage/src/attachment-member-grant.ts` contributes read + create on `sys_attachment` to every member's baseline since `fd6374713` (2026-11-13 07:58Z); the QA run was at `ee9ad834` (03:17Z), which does not contain it (`merge-base --is-ancestor fd63747 ee9ad83` exit 1; `fd6374713` in HEAD exit 0; control `ee9ad834` in HEAD exit 0) | | 89 | out of scope (product) | app packages cannot author settings namespaces (spec migration `18.translation-per-app-settings-platform-only`), and no built-in manifest declares `scope: 'user'` (`packages/services/service-settings/src/manifests/*.ts`). A user-scope secret is a platform manifest change, not a fixture | | 90 | needs_decision (with 153) | the item needs one item name held by two installed packages; no stock boot carries a second package, and the showcase is one app package | | 91 | already runnable; item text owed | `identity-auth.self-signup-gate` knownGaps[0] records the env door (`OS_AUTH_AUDIENCE_POSTURE`, `OS_AUTH_AUDIENCE_ALLOWED_EMAIL_DOMAINS`, `OS_AUTH_AUDIENCE_SELF_REGISTRATION_PERMISSION_SET`) measured live; variants[1]/[2] still say blocked(fixture). `identity-auth.json` is held by batch A PR objectstack-ai#33362, so the re-point is owed there | | 92 | premise does not hold; not changed; needs_decision | `showcase_task.assignee` is `Field.text` and the showcase stores an EMAIL in it on purpose: the seed writes persona emails (`seed/index.ts` "objectstack-ai#7746" block), the notify flows read it as a recipient, `invoice.owner` and `private_note.owner` follow the same email convention, and `search.json` / `records-forms.json` tell runners to assign by email. The QA run had PATCHed a user id into it by hand (record 6846028996: "the run had set assignee to a user id"). Switching the rule to ids would hide every seeded task from its assignee | | 135 | needs_decision | Ada holding `showcase_finance` or `showcase_legal` also makes her a required approver of the seeded invoice dual sign-off (`showcase_invoice_signoff`, unanimous over finance + legal, `flows/index.ts`), so the stock demo changes beyond the quorum item | | 151 | out of scope (product) | `mandatoryTopics` is reachable only as a `MessagingServicePlugin` constructor option (`packages/services/service-messaging/src/messaging-service-plugin.ts`); a declarative door is product work. Carrier: objectstack-ai#33352 | | 152 | environment-bound | the agent catalog is served only by the Cloud/Enterprise `@objectstack/service-ai`; `platform-core.keyboard-shortcut-surface` knownGaps[1] already scores that half blocked(environment). Belongs with section B | | 153 | needs_decision (with 90) | measured: a second app (`active: false`) in the showcase is refused at build, "An 'app' package must define at most one app" (defineStack single-app validation, ADR-0019). The fixture needs a module package composed beside the showcase. Tried in `d2faa4b58`, withdrawn in the next commit | | 155 | recipe text owed | the flow is runner-built from `studio-authoring.flow-edge-type-authoring` fixtures.requires[1] ("Start → Decision → two End nodes"); adding a loop is text in `studio-authoring.json`, held by batch B PR objectstack-ai#33360 | | 208 | held | `scripts/qa/qa-fixture.mjs walled-boot` is held by objectstack-ai#33334 | | 209 | **landed here** | see What changes 2. The recipe text in `cli.json` is routed to batch D (objectstack-ai#33330) | | 218 | out of scope (product) | stamping environment rows with a host package is hosted-runtime behaviour, not seed data. Carrier: objectstack-ai#33352 | | 220 | **landed here** | see What changes 1. The item text ("only INV-1004 and INV-1008") lives in `records-forms.json`, held by batch B PR objectstack-ai#33360 | | 227 | recipe text owed | there is no committed 18.3.0 fixture: the file is runner-built (`platform-core.activation-ledger-package-key-upgrade` route (a)/(b)). Planting a connector instance and an assignment rule is recipe text in `platform-core.json` / `cli.json`, held by batch D (objectstack-ai#33330) | | 263 | needs_decision | `records-forms.gantt-interactions`: the stock task gantt view declares no `lockField` / `dependenciesField`; either the showcase task gains them (plus a dependency field and seed), or the item keeps the documented overlay route and narrows | Totals: 16 rows · 2 landed here (209, 220) · 2 already right (80, 91) · 4 needs_decision questions over 5 rows (92; 135; 90+153; 263) · 3 owed as recipe or item text in held area files (155, 227, plus the 91 and 220 text) · 1 held by objectstack-ai#33334 (208) · 3 out of scope as product (89, 151, 218) · 1 environment-bound (152). No `packages/**` outside `packages/qa`, no new door, no area file (every one this card would touch is held by an open batch PR or card: objectstack-ai#33362, objectstack-ai#33360, objectstack-ai#33359, objectstack-ai#33327, objectstack-ai#33330), no RUNNER.md. ## Why The v18.4.0 sweep parked 22 fixture rows (objectstack-ai#32908 ledger `/mnt/project-files/pm-orders/devx/32908-ledger.md`, routed to objectstack-ai#33351 by triage). Section A is the 16 rows that looked like seed or fixture additions. Each was re-measured on main here first; two are fixture additions that hold today and land in this PR, and the rest are answered row by row in the table above. Source records: objectstack-ai#32908 comments 6844741021, 6846028996, 6846283471, 6850382730, 6850413952, 6850460138, 6850495479 and 6852480973. ## Tests <details><summary>showcase suite + typecheck, dogfood typecheck (head 2b2bca1)</summary> ``` pnpm --filter @objectstack/example-showcase test Test Files 48 passed (48) · Tests 545 passed (545) pnpm --filter @objectstack/example-showcase typecheck exit 0 pnpm --filter @objectstack/dogfood typecheck exit 0 os-verify-lock: VERDICT command-exit 0 ``` </details> <details><summary>dogfood suites that boot the showcase and read invoice lines</summary> ``` pnpm --filter @objectstack/dogfood exec vitest run --maxWorkers=2 \ test/showcase-invoice-seed-isolation.dogfood.test.ts test/showcase-invoice-cbp.dogfood.test.ts \ test/showcase-invoice-line-contributor-pair.dogfood.test.ts test/showcase-readonly-when-parent.dogfood.test.ts \ test/showcase-crud-persona-matrix.dogfood.test.ts test/master-detail-batch-atomic.dogfood.test.ts \ test/home-amount-projection.test.ts test/upgrade-harness-fixture-as-of.test.ts test/external-member-directory.dogfood.test.ts Test Files 9 passed (9) · Tests 153 passed | 15 skipped (168) os-verify-lock: VERDICT command-exit 0 ``` </details> No ablation: the diff adds seed rows and changes a fixture script, and pins no new tested behaviour. ## Acceptance notes - Rows 90 and 153 want the same thing: a second package on the stock boot (one holding a name the showcase also holds; one carrying a switched-off app). One module package composed beside the showcase would serve both; that is a choice about the example's shape, so it is a question on the card, not a change here. - Row 92's ruling rested on "`assignee` stores a user id". On main it stores an email by the showcase's own convention, so the rule was left as it is and the question goes back on the card. ## Verification Local subset at head `2b2bca197`, derived by `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (73 changed lines at derivation; 33 after the withdrawn app, same path families): - `dispatch-gates --ran`: 54 derived, 53 run with exit 0, 1 NOT MEASURED: `pnpm check:dual-build-cjs-loads` exit 3 PREREQUISITE NOT MET (reads every package's dist; studio, client-react, scenarios and others are unbuilt here). The diff changes no published package's build output; CI's Build Core runs it. - `check-plugin-teardown-shape.mjs --self-test` first answered exit 3 on the shallow clone (pinned control `621a4876` unreachable); after `git fetch --depth=1` of that commit it answered exit 0, 48 cases. - `pnpm exec eslint --no-inline-config` on both touched files: exit 0. - Changeset: none. `@objectstack/example-showcase` and `@objectstack/dogfood` are both `"private": true`, so nothing publishes (`skip-changeset`). - CI families (Test Core, lint farm, type-check lanes) are read off this PR's check runs by the seat. Full record: `/mnt/project-files/pm-orders/devx/33351-gates-ran.txt`. ## 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. (no names added) - [x] 3. No formatter ran; `pnpm lint` passes. (eslint on both touched files: exit 0) - [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. (publishes nothing: both packages are private, `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. (the 维护者速读 block is the seat's required Chinese summary) - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5kWURVLmS49GR3jwxs)_ --------- 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 Leehom · project thread
Fixes #33329
Clause-②: no · Metadata-protocol: none
维护者速读
pnpm check:platform-checklist退出 0;抽查表格任一行的证据位置。What changes
Batch B of the #32908 re-point sweep. Every row on the card was re-measured on
mainat87330e89by reading the source named in the table; none was driven live. Each re-pointed item gets onerevisionbump and onehistoryrow (ref: "#33329", date 2026-11-14) that names the QA record and comment it came from. Row 202 came from #33331 (batch E) and edits theqa-scratch-authzrecipe, which carries no revision/history, so its provenance sentence records the change instead.Only
docs/qa/platform-checklist/areas/{studio-authoring,records-forms,attachments-storage}.jsonchange (+315 / −114). The files were edited at the text level and each edit was proved by re-parsing the whole file and comparing it with the expected document, so untouched items are byte-identical.studio-authoring.first-run-loopui/packages/app-shell/src/console/AppHeader.tsx:25-33(studio variant),:893-906ProductHomeMark;StudioDesignSurface.tsx:1591-1594records-forms.crud-roundtripdetail.moreActions, componentscontainers.tsx:2651); acceptance[3] list navigation + reload since create lands on the record page (app-shell/src/console/AppContent.tsx:1037); acceptance[5] quick search fromsearch-icon-button(plugin-list/src/ListView.tsx:7138)records-forms.delete-toast-undo-restorebulkActionDefs(examples/app-showcase/src/ui/views/project.view.ts:20;plugin-grid/src/ObjectGrid.tsx:1296-1300effectiveBulkActions) so steps[4] uses All Tasks; acceptance[0] cascade sentence (recordDelete.ts:240, i18nen.ts:4381deleteCascade)records-forms.action-preflight-panelexamples/app-showcase/src/ui/pages/task-detail.page.ts:31isDefault,:57-64header actions by id. Fixture body not rewritten (see Acceptance notes)studio-authoring.currency-home-amount-editorcurrencyConfig.defaultCurrency;currencyis not a field key (packages/spec/src/data/field.zod.ts:746,:1289-1292)studio-authoring.currency-field-repointed-refusalhomeAmountsits insidecurrencyConfig(field.zod.ts:752-769)studio-authoring.save-door-runs-authoring-rulesslots.tabs(packages/spec/src/ui/page.zod.ts:1232, tombstone:2203)attachments-storage.download-authz-both-sidesfield-file-service.ts:64-68claim), steps[5] acl flip is a plain admin PATCH (system-file.object.ts:157), knownGaps[2] uploader bypass (referenceable-file.ts:102)attachments-storage.inline-grid-receipt-cellsrecords-forms.related-list-server-paginationObjectView.tsx:958-961); full page via 'Open as full page' (i18nen.ts:1594) or/record/<id>records-forms.adhoc-filter-sort-buildertoolbar-filter-triggericon button (ListView.tsx:6680); sidebar link is a different surface; Log out purges list state (auth/src/ActiveOrganizationStorage.ts:301-305,AuthProvider.tsx:520)records-forms.concurrent-edit-conflicten.ts:1562-1563); OCC modal Keep editing / Overwrite unchanged (occSave.tsx:58-59)records-forms.record-discussion-mentionsmember-default-explicit-allow.test.ts:300); bell reads sys_inbox_message (useInboxBell.ts:66-114); mentions textarea JSON (sys-comment.object.ts:263); filter options (RecordActivityTimeline.tsx:230-241)records-forms.object-hook-lifecycletask.object.ts:38-40); package-less hook PUT (metadata-plugin.zod.ts:908allowRuntimeCreate)records-forms.field-type-constraintsf_master_detail(field-zoo.object.ts:120)records-forms.cascading-multilevel-and-clearinvalid_optionwith rendered message,option_unavailableis the messageKey (rule-validator.ts:3146-3149)records-forms.field-history-trackingtask.object.ts:118-123)studio-authoring.held-edit-publish-refusalrule-explanations.ts:600; studio i18nen.ts:2278publishAdvisoryTitle)studio-authoring.automations-rail-and-new-flowflowGrouping.ts:130-152); object control is ObjectPicker (StudioDesignSurface.tsx:9603). Identifier sub-claim not added (see Acceptance notes)studio-authoring.flow-status-matches-runtimestatus:'draft'flow is enabled and bound (service-automationplugin.ts:2892;StudioDesignSurface.tsx:8500-8507toggleEnabled); launch entry fixed port (.claude/launch.json, 3778)studio-authoring.interfaces-create-dialogsStudioDesignSurface.tsx:5115if-create-menu; studio i18nen.ts:2461'Add to navigation'); language picker 'Written in' (en.ts:3642)studio-authoring.access-permission-set-lifecyclePermissionSetCloneDialog.tsx:109,:122); acceptance[3] documents 200 on a repeat ensurestudio-authoring.package-customize-restore-displayviewItems(metadata-protocolpackage-unmanaged-install.ts:24,:131)records-forms.field-group-visible-whensharingModel(422 security-owd-unset; specmetadata-create-seeds.ts:116)studio-authoring.doc-on-app-menuui/apps/console/src/pages/DocPage.tsx:241,:249); steps[7] API teardownstudio-authoring.held-edit-leave-guardstudio-home(StudioDesignSurface.tsx:1597); Add-widget popover row prints the type slug (AddWidgetPicker.tsx:120)records-forms.named-import-mappingimport-mapping.ts:224); 'idempotent per caller' since inquiry is private (inquiry.object.ts:30)studio-authoring.flow-edge-type-authoringstudio-authoring.no-entry-property-matrixobjects(permission.zod.ts:1278); roster pointers (rls.zod.tsMembershipKeysSchema); draft-save refusal (dag-traversal.ts:1534-1545)attachments-storage.read-inherits-parent-rlsPOST /data/sys_attachment/query {aggregations:[count]}(rest-route-ledger.ts:334;query.zod.tsaggregations)qa-scratch-authzallowDelete: true; expect + provenance updated (QA run #33081, comment 6850173588)records-forms.crud-roundtripaccount.object.ts:54default:true)studio-authoring.multi-package-item-rowsmetadata-manager.ts:2752-2790collectPackageMembers, #22113); package-less /layers answers 409, so read?package=A/?package=B(protocol-meta-layered-reads.ts:90)studio-authoring.dataset-member-vocabularyDatasetMemberVocabulary.tsx:227,:235andDatasetDefaultInspector.tsx:209,:690(fields behind Advanced)studio-authoring.picklist-bound-selectfield.zod.ts:2921)studio-authoring.access-owd-and-suggestions/suggested-bindings/:id/reopen(security-routes.ts:740,suggestedBindingsApi.ts:144, studio i18nen.ts:2701)Tests
Checklist text only; no product code or test changed.
pnpm check:platform-checklistexits 0, and every gatedispatch-gates.mjs --commandsderives for this diff exits 0 (16 of 16, reconciled with--ran).pnpm lintscoped to touched packages: none touched (docs-only diff), so not applicable.Acceptance notes
needs_decisionrows and no row left for a live drive. Two rows were narrowed rather than guessed. Row 38: the source confirms the default record page lists header actions by id, but which fixture shape QA should use was never driven, so the item gains a knownGaps line instead of a rewritten fixture body. Row 125: the claim that the flow identifier derives without the namespace is not settled by source reading, so it was not added; the rest of the row is re-pointed.Verification
Gates run on the branch head (16 derived, 16 run)
check:doc-formula-expressionsfirst exited 3 (prerequisite:@objectstack/lintand its dependencies unbuilt in a fresh worktree); afterpnpm --filter "@objectstack/lint..." buildit exits 0.node scripts/pm/dispatch-gates.mjs --ran: 16 derived famil(ies) accounted for, 16 run, 0 NOT-MEASURED. Change set: 3 paths, 429 changed lines (under the 3000 human-merge threshold).Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5k8t9PUHXHKxWGpqL4