Repository navigation
qa(checklist): correct five assertion defects from the 18.4.0 acceptance - #33021
Merged
Merged
Conversation
Five platform-checklist items asserted a shape the product does not answer for the fixture they describe; the product is right in each. - access-security.permission-set-address-in-execution-context r3: step 2's row names a package holding no set of the name, a stale column the ledger reads by D3 (switches the holder off); the true two-holder case is scored from its pin. - ai.mcp-read-file-pdf-word-extraction r2: budget raised 1 -> 60 ms, the zero-page shape named; receipt lives on showcase_invoice_line. - cli.deploy-runtime-dry-run-json r2: v1.1.0 renames note -> memo (a suspected rename stops with 409); a dropped field keeps its column. - platform-core.namespace-co-owner-name-refusal r4: os validate does not judge a packages[] residual; scored from the manifest-service pin. - platform-core.namespace-object-name-refusal r2: the drafts door is publish-drafts (200, outcome refused, NAMESPACE_CONFLICT); clause 1 validates a stack composing both packages. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzpuVZ8tLDGYNd8G5G
Contributor
Author
|
domain:devx#3 · os-tesla · session_01L9qibz9SSCGvVmfYUe1Esi 维护者速读
席位意见:可以落地。 席位核对ACCEPT · seat
|
This was referenced Nov 13, 2026
scbdzhwl
pushed a commit
to scbdzhwl/objectstack-analysis
that referenced
this pull request
Nov 16, 2026
… to the product at e540baf (objectstack-ai#33273) Fixes objectstack-ai#33032 Fixes objectstack-ai#33054 Fixes objectstack-ai#33060 Fixes objectstack-ai#33086 Fixes objectstack-ai#33091 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:平台测试清单里 8 个条目的验收文字改成与产品现状一致(唯一键 409 现在报出字段、元数据开关路由数 4/14、内部字段测试文件新路径、`os validate` 的 controlled_by_parent 分支与新的 `os lint` 子句、Studio「未运行」原因的显示位置、非参与者伪造审批得 404、仍按部署唯一持有的类型从 webhook 改为 connector),每条都升了 revision 并补了 history 行。 - 为什么改:这些条目是产品对、清单文字落后,QA 每轮都会把它们误判为失败;不改产品行为。 - 风险与回滚:只改 `docs/qa/platform-checklist/areas/` 下 6 个 JSON 文件,不发布、不进运行时;回滚即 revert 本 PR。 - 先看:`areas/platform-core.json`(bare-name 条目改指 connector,并改为按 `NAMESPACE_SCOPED_BARE_NAME_TYPES` 的补集取类型)、`areas/cli.json`(新增 acceptance[3] 的 `os lint` 子句)、`areas/approvals.json`(acceptance[4] 的 404/403 分界)。 - 两分钟验证:`pnpm check:platform-checklist`,预期最后一行 `check-platform-checklist: OK — 16 areas, 427 items`,symbol anchors 为 `1635/1645 resolved`。 - 需要你做的:无,席位落地。 ## What changes One commit per card; every edited item bumps `revision` and appends a `history` row naming its card and the base it was read at (`e540baf8`). | Card | Item | Rev | What moved | |---|---|---|---| | objectstack-ai#33032 | `records-forms.field-unique-enforcement` | 13 to 14 | acceptance[0] and automated.ref: the bare `unique: true` collision names the field ('A record with this SKU already exists', `field` 'sku'), as 28a1527 made it | | objectstack-ai#33032 | `api-backend.error-sentences-and-unique-violation-wire-code` | 8 to 9 | acceptance[2] and automated.ref: details exactly `{developerMessage, field, object}`, field = the duplicated column. This is also the trailing note on objectstack-ai#33086, done once here | | objectstack-ai#33032 | `ai.mcp-read-file-pdf-word-extraction` | 2 (unchanged) | no edit: 29f9d3c (objectstack-ai#33021) already landed r2 (60 ms budget, the zero-page shape as a fixture signal, `showcase_invoice_line.receipt`) after the reading the card came from | | objectstack-ai#33086 | `api-backend.rest-metadata-config-contract` | 9 to 10 | `maintenance` removes 4 routes (adds `POST {prefix}/_migrate-record-currency-codes`), `item` removes 14 (adds `GET {prefix}/:type/:ns/:name`); steps[5] to [7], acceptance[2], two variant rows. The duty to enumerate each switch's radius from a route-table diff (the objectstack-ai#15542 ruling) is kept | | objectstack-ai#33086 | `api-backend.second-object-exposure-and-internal-fields` | 3 to 4 | automated.ref: the moved position pin `packages/objectql/src/protocol-data-door-internal-field-positions.test.ts` plus the delegation twin in `packages/metadata-protocol` | | objectstack-ai#33086 | `cli.validate-v18-authoring-verdicts` | 2 to 3 | the cbp arm plants the shapes the parse refuses (no master_detail; two required ones, inline and through objectExtensions); the optional master is a control; the lint-only shape moves to a new `os lint` clause, acceptance[3] | | objectstack-ai#33054 | `studio-authoring.flow-status-matches-runtime` | 5 to 6 | acceptance[1]: the rail and header title carry the worded `unboundCause` (else the reason), the reason verbatim is the Problems note's detail; negative[] untouched (ruling 6545938831 item ①) | | objectstack-ai#33060 | `approvals.record-page-decisions` | 5 to 6 | acceptance[4] and steps[8]: a non-participant who cannot read the request gets 404 `REQUEST_NOT_FOUND`; 403 `FORBIDDEN` stays the answer to a reader with no slot | | objectstack-ai#33091 | `platform-core.bare-name-one-holder-refusal` | 3 to 4 | acceptance[0] and [3] drive `connector` (the only covered type outside `NAMESPACE_SCOPED_BARE_NAME_TYPES` at this base); webhook joins the per-namespace leg with the `requires: ['webhooks', 'realtime']` fixture note; the driven type is named as that list's complement | No product code, no changeset (nothing here is in any package's published `files[]`; `skip-changeset` rides the create). `coverage.json` and `FOLLOW-UPS.md` were not touched: the gate neither regenerated nor required them. ## Tests No test file changed. The judging gate and the derived local families, run at head `51098eec`: <details><summary>pnpm check:platform-checklist</summary> ``` check-platform-checklist: OK — 16 areas, 427 items (419 active, 3 planned); coverage: 40 kinds mapped, 4 waived; traps: 19 documented, 19 in use; provisioning: 10 area recipes, 18 item references resolved (5 area-qualified), 10/10 recipes referenced; ... symbol anchors: 1635/1645 resolved by symbol-anchors.mjs ... 10 on the named residual, 18 file floors held ``` At base `e540baf8` the same gate read `1621/1631 resolved`: the 14 new anchors this diff cites all resolve, and the residual stays 10. </details> <details><summary>derived families (node scripts/pm/dispatch-gates.mjs --commands, 16)</summary> All 16 exit 0, each exit captured before any pipe: check-adr-links (+ --self-test), check-closing-keyword-parity (+ --self-test), check-comment-mask-corpus, plan-test-core-shards --self-test, `@objectstack/lint` check:doc-formula-expressions (exit 3 PREREQUISITE NOT MET on the first run, an unbuilt `@objectstack/formula` / `@objectstack/lint`; exit 0 after building those two under the verify lock), check:ci-filter-parity, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:gitlink-declared, check:nul-bytes, check:platform-checklist, check:refd-timer-probe, check:watch-hint-literal. `dispatch-gates --ran`: 16 derived, 16 run, 0 NOT-MEASURED, 0 UNRUN. </details> ## Acceptance notes - **Two mechanism readings relayed with the dispatch were wrong at this base, and the edits follow what was measured.** (1) The internal-field position pin moved in b388cfe (objectstack-ai#29003), read from the commit listing of both paths; bca2a51 (objectstack-ai#32128) touches neither file. (2) `tool` is no longer held once per deployment: c747cf0 (objectstack-ai#33124) put it in `NAMESPACE_SCOPED_BARE_NAME_TYPES` after QA's control at 8e3d4a5, so the one covered type outside that list is `connector`, and objectstack-ai#33091's item drives it. - **Read from source and pins, not driven live by this PR:** the `connector` install refusal and cold-boot warning (held by the connector control cases of `packages/objectql/src/registry-bare-name-one-holder-flow-family.test.ts`), and the new `os lint` clause of the cli item (its rule's reach note in `packages/lint/src/data-model-rules.ts` and its unit pin). The `os validate` / `os build` exit 0 on the omitted-`required` shape is QA's live reading. The next QA run scores these. - **objectstack-ai#33060's sibling readings** (not edited here, for the seat to carry). The approvals door answers 404 `REQUEST_NOT_FOUND` to anyone who cannot read the request (`ApprovalService.refuseUnreadableRequest`, asked by decide, recall, send back, resubmit, reassign, remind, request info and comment). Participants (submitter, current approver, past actor) and the override actor can read it. - `approvals.request-page-reply-and-reader-visibility` acceptance[1] (rev 5): **stale.** The org member, who is neither approver nor submitter on a showcase request, cannot read it (no showcase object declares `enable.approvalsVisibleToReaders`), so the comment POST answers 404 `REQUEST_NOT_FOUND`, not 403 `FORBIDDEN`. - `approvals.quorum-m-of-n` steps[4] (rev 9): **half stale.** The repeat-actor probe by Ada (a past actor, so a reader) answering 403 holds. "A user holding none of the routed positions is refused the same way" does not: that non-participant gets 404. - `approvals.decision-action-matrix` acceptance[6] (rev 10): **under-specified.** "Recall attempted by a non-submitter is FORBIDDEN" holds for a non-submitter who can read the request (a pending approver), but a non-participant gets 404. The clause names no persona. negative[2] (N2) is **not stale**: it judges acceptance, not the refusal code. - **`api-backend.rest-metadata-config-contract`:** the `item` switch's `describe()` (`packages/spec/src/api/rest-server.zod.ts`) still omits `GET /meta/:type/:ns/:name`, though the mount table gates it. The `maintenance` describe() is current. objectstack-ai#33086 names this as its own QA card (card-B-api-5); this PR leaves the spec alone. ## Verification ``` pnpm check:platform-checklist node scripts/pm/dispatch-gates.mjs --commands # 16 families, all run green at 51098ee ``` Session: `session_017xRBcRZn9wGkMSrznVX4JS` (seat `domain:devx#2`). --- _Generated by [Claude Code](https://claude.ai/code/session_017xRBcRZn9wGkMSrznVX4JS)_ --------- 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 Tesla · project thread
Fixes #32945
Clause-②: no
Metadata-protocol: none
维护者速读
docs/qa/platform-checklist/areas/access-security.json(条款 2 语义反转最大),docs/qa/platform-checklist/areas/ai.json(含一个待你裁决的问题),docs/qa/platform-checklist/areas/platform-core.json。pnpm check:platform-checklist,预期OK — 16 areas, 427 items,锚点全部解析。truncated: true的问题见下方 Acceptance notes,裁决可后补)。What changes
Checklist text only. No product code, no pins, no changeset (
skip-changeset: nothing under any package'sfiles[]moves). Each item gets a revision bump and ahistoryrow withref: #32945.access-security.permission-set-address-in-execution-contextr2 → r3, acceptance[1]. Step 2's row namescom.qa.addr-b, which holds noqa_a_reader. That makes it a stale column, not a second holder. The ledger reads a stale column by the D3 rule with no caller and switches off the holder that rule answers (com.qa.addr-a), so M loses the set. The clause now asserts that live (M loses the set; explain saysheld — deactivated; deleting the row restores it). The real two-holder case cannot be reached through install (the item's knownGaps), so it is scored from the pin. steps[1], negative[0] and the evidence line change with it.ai.mcp-read-file-pdf-word-extractionr1 → r2, acceptance[3]. AtOS_MCP_READ_FILE_CPU_BUDGET_MS=1the budget runs out before page one, sopdfAnswer's empty arm answerscontent: 'none'with the budget sentence as the note and notruncated. The fixture budget becomes 60 ms. The step says to raise or lower the budget until some pages are read, and to record the value. The clause names the zero-page shape as a fixture signal, not a verdict. Also, thereceiptfield is onshowcase_invoice_line, so the fixture and steps now name the invoice line.cli.deploy-runtime-dry-run-jsonr1 → r2, acceptance[3]. v1.1.0 used to dropnote. A removed field keeps its column, so nothing asks for confirmation and--jsoninstalls. v1.1.0 now renamesnote→memowith norenamedFrom. That is a suspected rename, which the runtime stops with 409SCHEMA_UPGRADE_CONFIRMATION_REQUIREDand the confirm command. A negative now marks a drop-only fixture as a fixture error.platform-core.namespace-co-owner-name-refusalr3 → r4, acceptance[2].os validateon apackages[]stack with a residualqa_boardexits 0 by design, because the CLI does not judge the residual. The manifest service does. The clause records the exit 0 and scores the judgement frommanifest-service-residual-namespace-name.test.ts. The oracle staysbuild, and the evidence adds the pin's summary line. The ref list gains that pin.platform-core.namespace-object-name-refusalr1 → r2, acceptance[2] (and clause 1's fixture).POST /packages/:id/publishpublishes the package items the metadata service holds, not drafts. On this fixture it answers 200success: false"No metadata items found for package". The drafts door isPOST /packages/:id/publish-drafts. It answers 200 withoutcome: 'refused'andfailed[0].code: 'NAMESPACE_CONFLICT', and keeps the draft. The step and clause now name that route and answer, and spell out the per-item publish route (POST /meta/object/NAME/publish?package=…). Clause 1 now validates a stack whosepackages[]composes both packages, because the clashing directory alone validates 0.Verification
Each new shape was read against
main@cf1b55c0:packages/core/src/security/resolve-authz-context.tsledgerRowHolders, doc: "a null one — or a stale one, whose package no longer serves the name — is read by the D3 rule with no caller, and keeps disabling the holder that rule answers"; and thenot-held-by-qualifierarm: "A stale column the catalog refuses because the holder the rule answers is outside its package's namespace ... still switches that holder off: a switch-off is never read as none." Two-holder pin:packages/plugins/plugin-security/src/permission-set-address.test.ts"a holder of a grant the user does not hold switches nothing off for the one they do".packages/mcp/src/file-content.tspdfAnswer:if (!joined) { return { kind: 'none', reason: budgetNote ?? '...no text layer...' } }; the text arm setstruncated: truncated || parts.length < numPages || budgetNote !== undefined.renderReadFilesetsfacts.truncatedonly forkind === 'text'and setsfacts.content = 'none'; facts.note = extracted.reasonotherwise.cpuBudgetNote: "Reading stopped at the CPU-time budget for one file (${budgetMs} ms) after ${read}...".examples/app-showcase/src/data/objects/invoice.object.ts:receipt: Field.file({ label: 'Receipt' })sits onInvoiceLine(name: 'showcase_invoice_line').packages/metadata-core/src/package-upgrade-verdict.tsschemaUpgradeVerdict: "A suspected rename always needs confirming ... Removed fields, removed objects,safetype changes and seed changes are reported by a dry run and refused by nothing."package-upgrade-plan.tsrecords a suspected rename when a stored field is removed and a stored one added on the same object.packages/cli/src/commands/deploy.tsprintsDeploying this build would stop for your confirmation — ${wouldStop.length} finding(s):andconfirm: os deploy --confirm-upgrade ${findingSet}.marketplace-install-local-plugin.tsanswers409 SCHEMA_UPGRADE_CONFIRMATION_REQUIRED.packages/objectql/src/namespace-co-owner-names.ts: "os validate/os builddo not judge the residual, and need not ...";packages/cli/src/utils/namespace-co-owner-names.ts: "the residual ... is not judged at either door". Pin:packages/objectql/src/manifest-service-residual-namespace-name.test.ts"is refused at the manifest service, naming both holders, and the artifact is put back whole".packages/runtime/src/domains/packages.ts:/publishjudgespackageObjectNames(metadataService, id)thenpublishPackage;/publish-draftsroutes throughprotocol.publishPackageDrafts.packages/metadata/src/metadata-manager.ts: "No metadata items found for package '${packageId}'". Pin:packages/metadata-protocol/src/protocol.namespace-object-name-doors.test.tsexpects{ success: false, outcome: 'refused', publishedCount: 0, failedCount: 1 },failed[0].code: 'NAMESPACE_CONFLICT', the draft still a draft. Per-item route:packages/rest/src/meta-item-history-routes.tsPOST {metaPath}/:type/:name/publish,req.query.package.Derived gates (local, at head 5bc5bf3)
Acceptance notes
read_fileanswerscontent: 'none'with the budget sentence and notruncated. If a stopped read must always carrytruncated: true, that is a product defect inpdfAnswer's empty arm (packages/mcp/src/file-content.ts), not a checklist fix. This PR does not decide it. The clause treats the zero-page shape as no FAIL until it is ruled, and the seat raises the question.cf1b55c0and from the QA run · since:v18.4 (65/65) · 5fb79bc0 · 2026-11-12 · 42 PASS / 1 PARTIAL / 11 FAIL / 11 BLOCKED / 0 NOT-RUN #32940 run bodies. The 60 ms budget is a host-dependent starting point; the step says to adjust it and record the value.permission-set-address.test.ts,manifest-service-residual-namespace-name.test.ts) were not run locally: this diff changes no code they test. CI'sTest Coreruns them.Generated by Claude Code