From 549d5a6bfbf9c4e5d57facfd0c3b417575a060f7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 15:00:13 +0000 Subject: [PATCH 1/5] qa(checklist): re-point two clauses to the field-naming unique refusal (card 33032) records-forms.field-unique-enforcement r14: acceptance[0] and automated.ref expect the bare `unique: true` collision on the live SQLite leg to name the field ('A record with this SKU already exists', developerMessage '... a unique constraint on 'SKU' already holds this value.', `field` 'sku'), as 28a15270 made it and the dogfood pin already asserts. api-backend.error-sentences-and-unique-violation-wire-code r9: acceptance[2] and automated.ref expect details exactly {developerMessage, field, object} with field = the duplicated column. Item 3 of the card (ai.mcp-read-file-pdf-word-extraction acceptance[3]) is already satisfied at this base: 29f9d3c6 landed its r2 (60 ms budget, the zero-page shape named as a fixture signal, showcase_invoice_line.receipt) after the reading the card was drafted from. No edit. Claude-Session: https://claude.ai/code/session_017xRBcRZn9wGkMSrznVX4JS Co-authored-by: Claude --- docs/qa/platform-checklist/areas/api-backend.json | 14 ++++++++++---- .../qa/platform-checklist/areas/records-forms.json | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/docs/qa/platform-checklist/areas/api-backend.json b/docs/qa/platform-checklist/areas/api-backend.json index 00e2aef5e8a..73748db748c 100644 --- a/docs/qa/platform-checklist/areas/api-backend.json +++ b/docs/qa/platform-checklist/areas/api-backend.json @@ -3312,7 +3312,7 @@ "title": "Error answers made honest on v18: a hook refusal on a hand-built write route answers 400 with the hook's own sentence, a crash answers a generic 500 that withholds the caught message, and a unique-constraint refusal is 409 UNIQUE_VIOLATION with details at the action door, MCP and sandboxed bodies too", "since": "v18", "status": "active", - "revision": 8, + "revision": 9, "priority": "P2", "surface": "api", "personas": [ @@ -3345,9 +3345,9 @@ "evidence": "the body" }, { - "clause": "the duplicate insert through the action door → 409 UNIQUE_VIOLATION with `details` in the composite shape: exactly `object` (the object's name) and `developerMessage`, no `field` — a field's `unique: true` is a tenancy-scoped composite index, so the driver names no single column (`field` is added only when the refusal states one)", + "clause": "the duplicate insert through the action door → 409 UNIQUE_VIOLATION with `details` exactly `developerMessage`, `field` and `object`: `object` the object's name and `field` the duplicated column. A field's `unique: true` is the tenancy-scoped composite index (organization_id, FIELD), whose organization part is the implied scope, so the refusal names FIELD (`field` is added only when the refusal determinably states one column)", "oracle": "api", - "verify": "status + error.code + the key set of error.details (exactly developerMessage and object) + details.object. error-sentences-live.dogfood.test.ts asserts all four over HTTP: a declarative `operation: 'update'` action whose patch repeats a `unique: true` email, POST /api/v1/actions/OBJECT/ACTION → 409 UNIQUE_VIOLATION, and the row keeps its own email. dispatcher-unique-violation-wire-code.test.ts holds the same answer at the engine layer (HttpDispatcher over a real ObjectQL engine and SqlDriver, no Hono adapter)", + "verify": "status + error.code + the key set of error.details (exactly developerMessage, field and object) + details.field (the duplicated column, email) + details.object (packages/types/src/unique-violation.ts#uniqueViolationField). error-sentences-live.dogfood.test.ts asserts all five over HTTP: a declarative `operation: 'update'` action whose patch repeats a `unique: true` email, POST /api/v1/actions/OBJECT/ACTION → 409 UNIQUE_VIOLATION, and the row keeps its own email. dispatcher-unique-violation-wire-code.test.ts holds the same answer at the engine layer (HttpDispatcher over a real ObjectQL engine and SqlDriver, no Hono adapter)", "evidence": "the body" }, { @@ -3359,7 +3359,7 @@ ], "automated": { "kind": "dogfood", - "ref": "packages/rest/src/rest-write-route-hook-refusal-sentence.ledger.test.ts + packages/rest/src/rest-hook-script-fault-envelope.test.ts + packages/runtime/src/dispatcher-unique-violation-wire-code.test.ts + packages/services/service-storage/src/storage-routes.server-fault-withheld.test.ts (acceptance[0], unit and engine; the first two also hold acceptance[1]'s HOOK_ABORTED below HTTP — the nested-envelope rows at 400 HOOK_ABORTED, and mapDataError's HOOK_ABORTED with no declaredCode) + packages/qa/dogfood/test/error-sentences-live.dogfood.test.ts (acceptance[1]–[3] over HTTP on the scratch app packages/qa/dogfood/test/fixtures/error-sentences-fixture.ts: the hook's sentence at 400 with code HOOK_ABORTED on the /data doors, 409 UNIQUE_VIOLATION with details exactly developerMessage + object at the action door, and a storage route's 500 INTERNAL withholding the caught text)" + "ref": "packages/rest/src/rest-write-route-hook-refusal-sentence.ledger.test.ts + packages/rest/src/rest-hook-script-fault-envelope.test.ts + packages/runtime/src/dispatcher-unique-violation-wire-code.test.ts + packages/services/service-storage/src/storage-routes.server-fault-withheld.test.ts (acceptance[0], unit and engine; the first two also hold acceptance[1]'s HOOK_ABORTED below HTTP — the nested-envelope rows at 400 HOOK_ABORTED, and mapDataError's HOOK_ABORTED with no declaredCode) + packages/qa/dogfood/test/error-sentences-live.dogfood.test.ts (acceptance[1]–[3] over HTTP on the scratch app packages/qa/dogfood/test/fixtures/error-sentences-fixture.ts: the hook's sentence at 400 with code HOOK_ABORTED on the /data doors, 409 UNIQUE_VIOLATION with details exactly developerMessage + field + object at the action door, and a storage route's 500 INTERNAL withholding the caught text)" }, "source": [ "packages/types/src/sandbox-business-message.ts#sandboxBusinessMessage", @@ -3416,6 +3416,12 @@ "date": "2026-11-10", "change": "steps[0]: the per-object /batch door's status for a report with a failed row is 207 Multi-Status, no longer 200 (the bulk doors answer 207 when any row failed and 200 when none did; bulkReportStatus in packages/rest/src/batch-routes.ts). The door still never answers the clause's 400, so it stays out of the doors this item reads. No clause changed", "ref": "#32280" + }, + { + "revision": 9, + "date": "2026-11-14", + "change": "acceptance[2] (clause, verify) and automated.ref re-pointed to the widened details (stale spec, QA run #33025 acceptance[2], card #33032 item 2; the same clause #33086 lists as still open, done once here). 28a15270 (#32935) made the 409 UNIQUE_VIOLATION details for a duplicate in an organization-scoped unique field {developerMessage, field, object}: the composite key (organization_id, FIELD) now names FIELD (packages/types/src/unique-violation.ts#uniqueViolationField). r8 expected exactly developerMessage and object, no field. Both pins already assert the new set: packages/qa/dogfood/test/error-sentences-live.dogfood.test.ts ('details exactly { developerMessage, field, object }', field 'email') and packages/runtime/src/dispatcher-unique-violation-wire-code.test.ts. Status, code and the row keeping its email are unchanged. Read at base e540baf8", + "ref": "#33032" } ] }, diff --git a/docs/qa/platform-checklist/areas/records-forms.json b/docs/qa/platform-checklist/areas/records-forms.json index 2e8d606a13b..56b7ea93ec5 100644 --- a/docs/qa/platform-checklist/areas/records-forms.json +++ b/docs/qa/platform-checklist/areas/records-forms.json @@ -4923,7 +4923,7 @@ "title": "Field-level `unique` on the write path: colliding writes refused 409 UNIQUE_VIOLATION on both driver families, NULL-distinct, organization-scoped by default, whole-batch refusal, autonumber resync converges", "since": "v17", "status": "active", - "revision": 13, + "revision": 14, "priority": "P1", "surface": "api", "personas": [ @@ -4952,9 +4952,9 @@ ], "acceptance": [ { - "clause": "a colliding create is REFUSED, not landed: status 409, code UNIQUE_VIOLATION (ADR-0112 envelope), whose developerMessage NAMES THE OBJECT by its declared label ('Duplicate record refused on 'LABEL': …'), by its API name ('qauniq_item') only where the object declares no label, and states 'No record was written.', while the user-facing `error` names the field by its label ('A record with this LABEL already exists') where a single offending column is reported and the field has a label, and is otherwise generic ('A record with this value already exists') — never by its API key, which stays on `field`; NEITHER carries a driver prefix, a driver statement or bound values — and the row count is unchanged. On the live SQLite leg the field is named only when the driver reports a single offending column (a tenant-scoped unique index is composite, so the sentence reads 'a unique constraint already holds these values'); the `object.field` wording is the memory driver's and stays a memory-pin assertion", + "clause": "a colliding create is REFUSED, not landed: status 409, code UNIQUE_VIOLATION (ADR-0112 envelope), whose developerMessage NAMES THE OBJECT by its declared label ('Duplicate record refused on 'LABEL': …'), by its API name ('qauniq_item') only where the object declares no label, and states 'No record was written.', while the user-facing `error` names the field by its label ('A record with this LABEL already exists') where a single offending column is reported and the field has a label, and is otherwise generic ('A record with this value already exists') — never by its API key, which stays on `field`; NEITHER carries a driver prefix, a driver statement or bound values — and the row count is unchanged. On the live SQLite leg the field is named on BOTH stock indexes: the single-column 'global' index reports its one column, and the tenant-scoped index of a bare `unique: true` is the composite (organization_id, FIELD) whose organization part is the implied scope, so FIELD is named there too: `error` 'A record with this SKU already exists', developerMessage 'Duplicate record refused on 'LABEL': a unique constraint on 'SKU' already holds this value. No record was written.', and `field` the API key 'sku' (packages/types/src/unique-violation.ts#uniqueViolationField). The generic sentences ('A record with this value already exists', 'a unique constraint already holds these values') are left for a key that determinably names no single authored column, such as a composite of two authored columns, which no step here drives. The `object.field` wording is the memory driver's and stays a memory-pin assertion", "oracle": "api", - "verify": "the refusal body — status, code, and the developerMessage naming the object, read from developerMessage, not from the user-facing `error` — + a post-refusal count; the SQL-family envelope is single-sourced at packages/objectql/src/duplicate-record-error.ts (buildDuplicateMessage / envelopeUniqueViolation); the memory driver's `object.field` sentence (memory-unique-constraint.ts uniqueViolationError) is asserted by memory-unique-constraint.test.ts, not live", + "verify": "the refusal body — status, code, the developerMessage naming the object (read from developerMessage, not from the user-facing `error`), and on both the sku and the gsku collision the field named by its label in `error` and developerMessage and by its API key on `field` — + a post-refusal count; the SQL-family envelope is single-sourced at packages/objectql/src/duplicate-record-error.ts (buildDuplicateMessage / envelopeUniqueViolation); the memory driver's `object.field` sentence (memory-unique-constraint.ts uniqueViolationError) is asserted by memory-unique-constraint.test.ts, not live", "evidence": "refusal response + before/after counts" }, { @@ -4999,7 +4999,7 @@ ], "automated": { "kind": "dogfood", - "ref": "packages/qa/dogfood/test/field-unique-rest-refusal.dogfood.test.ts, at the REST data doors of a booted stack on the stock SQL family (bootStack's SQLite datasource), on the scratch object the fixtures prescribe (sku unique:true, gsku unique:'global', nick): acceptance[0], negative[0] and negative[1] (a colliding create is 409 UNIQUE_VIOLATION; the developerMessage names the object by its label and says 'No record was written.'; on the tenant-scoped composite index the error is the generic 'A record with this value already exists', on the single-column global index it names the field by its label ('Global SKU'), the API key 'gsku' only on `field`; no driver prefix, statement or bound value; the colliding row is not stored), acceptance[1] (two rows with no sku both land), acceptance[2] (a PATCH onto a taken value is 409 and the row keeps its value; a PATCH leaving sku alone, or re-sending its own value, is 200) and acceptance[3] with negative[2] at the REST door that stamps one value onto two rows, POST /data/OBJECT/updateMany with options.atomic (its per-row report refuses both, ROLLED_BACK then UNIQUE_VIOLATION, and both rows re-read unchanged; REST has no predicate-update door, so the engine's predicate updateMany stays the memory pin's). packages/drivers/driver-memory/src/memory-unique-constraint.test.ts — acceptance[4]'s memory-family legs (the \"[#13197] scoping matches driver-sql's ADR-0120 D1/D3 rule\" describe), acceptance[5] ('the refusal is recognisable to the ENGINE, so the autonumber resync converges'), negative[2]'s predicate half ('updateMany refuses BEFORE mutating anything — no half-applied batch') and negative[3]'s memory-family half, at the memory driver; + packages/drivers/driver-sql/src/sql-driver-8577-tenant-scoped-declared-unique.test.ts + packages/drivers/driver-sql/src/sql-driver-declared-index-organization-respelling.test.ts — acceptance[4]'s SQL-family legs and negative[3]'s SQL-family half, at SqlDriver over better-sqlite3, through a test-local createAsApi mapping; driver-level evidence beside acceptance[0]–[3], never their pass" + "ref": "packages/qa/dogfood/test/field-unique-rest-refusal.dogfood.test.ts, at the REST data doors of a booted stack on the stock SQL family (bootStack's SQLite datasource), on the scratch object the fixtures prescribe (sku unique:true, gsku unique:'global', nick): acceptance[0], negative[0] and negative[1] (a colliding create is 409 UNIQUE_VIOLATION; the developerMessage names the object by its label and says 'No record was written.'; on both indexes the error names the field by its label and developerMessage says 'a unique constraint on 'LABEL' already holds this value': 'SKU' on the tenant-scoped composite (organization_id, sku) index, whose organization part is the implied scope, and 'Global SKU' on the single-column global index, the API keys 'sku' and 'gsku' only on `field`; no driver prefix, statement or bound value; the colliding row is not stored), acceptance[1] (two rows with no sku both land), acceptance[2] (a PATCH onto a taken value is 409 and the row keeps its value; a PATCH leaving sku alone, or re-sending its own value, is 200) and acceptance[3] with negative[2] at the REST door that stamps one value onto two rows, POST /data/OBJECT/updateMany with options.atomic (its per-row report refuses both, ROLLED_BACK then UNIQUE_VIOLATION, and both rows re-read unchanged; REST has no predicate-update door, so the engine's predicate updateMany stays the memory pin's). packages/drivers/driver-memory/src/memory-unique-constraint.test.ts — acceptance[4]'s memory-family legs (the \"[#13197] scoping matches driver-sql's ADR-0120 D1/D3 rule\" describe), acceptance[5] ('the refusal is recognisable to the ENGINE, so the autonumber resync converges'), negative[2]'s predicate half ('updateMany refuses BEFORE mutating anything — no half-applied batch') and negative[3]'s memory-family half, at the memory driver; + packages/drivers/driver-sql/src/sql-driver-8577-tenant-scoped-declared-unique.test.ts + packages/drivers/driver-sql/src/sql-driver-declared-index-organization-respelling.test.ts — acceptance[4]'s SQL-family legs and negative[3]'s SQL-family half, at SqlDriver over better-sqlite3, through a test-local createAsApi mapping; driver-level evidence beside acceptance[0]–[3], never their pass" }, "source": [ "packages/drivers/driver-memory/src/memory-unique-constraint.ts#scope (#13197/#13249, commit 56c093c — single judgment point; scope table read off driver-sql, arm for arm)", @@ -5087,6 +5087,12 @@ "date": "2026-10-31", "change": "fixtures.requires[1], steps[0], steps[1], acceptance[0] and knownGaps[0] rename the scratch object qa_unique → qauniq_item under a declared namespace, and steps[0] spells the install. From QA run #27438 (W3-C2b, at c4c515ad; wave anchor #27377, wave-3 accuracy slice S1). A package's objects must carry its namespace prefix, so the old 'PUT /api/v1/meta/object/qa_unique' answers 422 NAMESPACE_PREFIX under any package that does not own 'qa', and 'qa' belongs to attachments-storage's qa-scratch-authz. steps[0] now spells the package install and the PUT the way the area's qa-feeds-disabled recipe does. Read at base a0f865491d against that recipe and packages/spec/src/kernel/namespace-prefix.ts. Only the object's name and the authoring call changed; no clause's contract changed", "ref": "#27438" + }, + { + "revision": 14, + "date": "2026-11-14", + "change": "acceptance[0] (clause, verify) and automated.ref re-pointed to the field-naming duplicate sentence (stale spec, QA run #33025 acceptance[0], card #33032 item 1). 28a15270 (#32935) made an organization-scoped unique field's composite key (organization_id, FIELD) name FIELD (packages/types/src/unique-violation.ts#uniqueViolationField), so on the live SQLite leg the bare `unique: true` collision now answers 'A record with this SKU already exists', developerMessage '… a unique constraint on 'SKU' already holds this value. No record was written.' and `field` 'sku', where r13 expected the generic sentence. The dogfood pin packages/qa/dogfood/test/field-unique-rest-refusal.dogfood.test.ts already asserts these bodies for both sku and gsku. Status 409, UNIQUE_VIOLATION, the object naming, 'No record was written.' and the driver-anonymity bar are unchanged. Read at base e540baf8", + "ref": "#33032" } ] }, From ef784857253989febdb1beca434c3a1e85290ca3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 15:02:19 +0000 Subject: [PATCH 2/5] qa(checklist): re-point three api-backend and cli clauses that lag the product (card 33086) api-backend.rest-metadata-config-contract r10: the `maintenance` radius is four (POST {prefix}/_migrate-record-currency-codes joined it) and `item` is fourteen (GET {prefix}/:type/:ns/:name rides the item read), as packages/rest/src/rest-config-mount-table.pin.test.ts measures. steps[5] to [7], acceptance[2] and the two variant rows re-counted; the duty to enumerate each switch's radius from a route-table diff is kept. api-backend.second-object-exposure-and-internal-fields r4: automated.ref names the moved position pin in packages/objectql and the door's delegation twin in packages/metadata-protocol, in place of a file that no longer exists. cli.validate-v18-authoring-verdicts r3: the controlled_by_parent 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 (an omitted `required` on the only master_detail) moves to a new `os lint` clause, acceptance[3]. The card's fourth note, error-sentences acceptance[2], is the same clause as item 2 of card 33032 and was re-pointed once, in that card's commit. Claude-Session: https://claude.ai/code/session_017xRBcRZn9wGkMSrznVX4JS Co-authored-by: Claude --- .../platform-checklist/areas/api-backend.json | 30 +++++++++++++------ docs/qa/platform-checklist/areas/cli.json | 27 ++++++++++++----- 2 files changed, 41 insertions(+), 16 deletions(-) diff --git a/docs/qa/platform-checklist/areas/api-backend.json b/docs/qa/platform-checklist/areas/api-backend.json index 73748db748c..87e8958b467 100644 --- a/docs/qa/platform-checklist/areas/api-backend.json +++ b/docs/qa/platform-checklist/areas/api-backend.json @@ -2733,7 +2733,7 @@ "title": "RestServerConfig.metadata is the metadata surface's construction contract: prefix moves every metadata mount and their discovery advertisement, four endpoint switches each gate exactly the face its name states (#15542/#15854), maskObjectFields is the ADR-0106 D8 disclosure gate, and both tombstones refuse at construction", "since": "v17", "status": "active", - "revision": 9, + "revision": 10, "priority": "P1", "surface": "api", "personas": [ @@ -2759,9 +2759,9 @@ "as the restricted persona (a member bound to the showcase_client_liaison position) GET /api/v1/meta/object/showcase_project and diff the served fields against the admin's copy of the same document", "harness: construct with { metadata: { prefix: '/metadata' } } and confirm every metadata mount re-bases and the discovery body advertises the new prefix", "harness: construct with { metadata: { endpoints: { types: false } } } — GET {prefix} and GET {prefix}/types both disappear (one handler, two paths)", - "harness: construct with { metadata: { endpoints: { items: false } } } and enumerate what leaves: GET {prefix}/:type and NOTHING else — exactly the one mount its describe() names (#15542 moved the whole-store family off this switch; a run that still sees /diagnostics, /_drafts or POST /_migrate-stored leave with it is the old radius returning)", - "harness: construct with { metadata: { endpoints: { maintenance: false } } } and enumerate: GET {prefix}/diagnostics, GET {prefix}/_drafts and the POST {prefix}/_migrate-stored write door — three whole-store operations, the key #15542 created so that closing a listing read stops disarming a migration door", - "harness: construct with { metadata: { endpoints: { item: false } } } and enumerate: the WHOLE per-item face — GET, PUT and DELETE {prefix}/:type/:name, /:type/:name/references, /:type/:name/layers, the history family (/history, /audit, /diff, /published, /publish, /rollback), {prefix}/book/:name/tree and the app metadata bundle GET {prefix}/app/:appId/bundle; thirteen mounts, writes included (#15854; the bundle since #27627, which registers it through the same per-item registrar because every bundle member is the item read's own answer)", + "harness: construct with { metadata: { endpoints: { items: false } } } and enumerate what leaves: GET {prefix}/:type and NOTHING else — exactly the one mount its describe() names (#15542 moved the whole-store family off this switch; a run that still sees /diagnostics, /_drafts, POST /_migrate-stored or POST /_migrate-record-currency-codes leave with it is the old radius returning)", + "harness: construct with { metadata: { endpoints: { maintenance: false } } } and enumerate: GET {prefix}/diagnostics, GET {prefix}/_drafts and two write doors, POST {prefix}/_migrate-stored and POST {prefix}/_migrate-record-currency-codes (the record-currency code backfill, ADR-0144 ruling 6670707546 item B, behind this switch as _migrate-stored is) — four whole-store operations, the key #15542 created so that closing a listing read stops disarming a migration door", + "harness: construct with { metadata: { endpoints: { item: false } } } and enumerate: the WHOLE per-item face — GET, PUT and DELETE {prefix}/:type/:name, /:type/:name/references, /:type/:name/layers, the history family (/history, /audit, /diff, /published, /publish, /rollback), {prefix}/book/:name/tree, the app metadata bundle GET {prefix}/app/:appId/bundle and the qualified by-name read GET {prefix}/:type/:ns/:name; fourteen mounts, writes included (#15854; the bundle since #27627, which registers it through the same per-item registrar because every bundle member is the item read's own answer; the qualified read since ADR-0150 D5, #31691, which rides the item read's own handler)", "harness: construct with { metadata: { enableCache: false } } and confirm the item read takes the uncached branch; then with enableCache true against an app-type, a dashboard-type, a draft read, a preview-drafts read, a package-scoped read, a member-addressed read (?member=, #22877) and an audience-gated type — each is a carve-out that bypasses the cached path even when the switch is on", "harness: construct with { metadata: { maskObjectFields: false } }; separately construct with the default and metaType != 'object'", "harness: construct with { metadata: { cacheTtl: 3600 } }, then 0, then -1, then { metadata: { endpoints: { schema: false } } }; capture each refusal text" @@ -2780,7 +2780,7 @@ "evidence": "route table + discovery body at the non-default prefix" }, { - "clause": "each of the FOUR endpoint switches gates exactly the face its name states, and the run must ENUMERATE what each removes rather than trust the describe(): `types` takes two paths (one handler at {prefix} and {prefix}/types), `items` takes exactly one ({prefix}/:type), `maintenance` takes the three whole-store operations INCLUDING the POST {prefix}/_migrate-stored write door, `item` takes the whole per-item face (thirteen mounts, PUT and DELETE, the history family and GET {prefix}/app/:appId/bundle included)", + "clause": "each of the FOUR endpoint switches gates exactly the face its name states, and the run must ENUMERATE what each removes rather than trust the describe(): `types` takes two paths (one handler at {prefix} and {prefix}/types), `items` takes exactly one ({prefix}/:type), `maintenance` takes the four whole-store operations INCLUDING both write doors, POST {prefix}/_migrate-stored and POST {prefix}/_migrate-record-currency-codes, `item` takes the whole per-item face (fourteen mounts, PUT and DELETE, the history family, GET {prefix}/app/:appId/bundle and GET {prefix}/:type/:ns/:name included)", "oracle": "test", "verify": "per-switch route-table diffs against the all-true baseline; the diff sets must be exactly the routes enumerated in the steps, in both directions — a switch that GROWS a route is as much a FAIL as one that loses one. ⛔ The run records the real radius whatever it finds: the describe() strings now claim to be exhaustive (#15542/#15854), so a diff that disagrees with them is a defect in the code or in the declaration, never a reason to relax this clause", "evidence": "the four route-table diffs" @@ -2813,8 +2813,8 @@ "knob:prefix", "switch:endpoints.types (2 mounts)", "switch:endpoints.items (1 mount)", - "switch:endpoints.item (13 mounts)", - "switch:endpoints.maintenance (3 mounts)", + "switch:endpoints.item (14 mounts)", + "switch:endpoints.maintenance (4 mounts)", "switch:enableCache (+6 carve-outs)", "switch:maskObjectFields", "tombstone:cacheTtl", @@ -2891,6 +2891,12 @@ "date": "2026-11-02", "change": "the `item` radius is thirteen mounts, not twelve: #27627 registered GET {prefix}/app/:appId/bundle through the per-item registrar, and packages/rest/src/rest-config-mount-table.pin.test.ts moved to thirteen with it, but steps[7], acceptance[2].clause and the variants row still enumerated twelve, so the 18.3.0 release-candidate run #28929 scored the describe() drift as a FAIL. Triage ruled the radius intended and the declaration wrong (6569524266): steps[7], acceptance[2].clause and the variant now name the bundle, and the title's stale 'prefix moves eleven mounts' (the default table has twenty) says 'every metadata mount', which is what acceptance[1] asserts. Measured at base 135054eb", "ref": "#28934" + }, + { + "revision": 10, + "date": "2026-11-14", + "change": "the `maintenance` and `item` radii re-counted, as the #15542 ruling (comment 5557095147) keeps the item doing: the run still ENUMERATES each switch's real radius from a route-table diff, and only the expected sets moved (stale spec, QA run #33081 acceptance[2], card #33086 item 1). packages/rest/src/rest-config-mount-table.pin.test.ts measures maintenance at FOUR, since the record-currency code backfill POST {prefix}/_migrate-record-currency-codes joined it (ADR-0144, ruling 6670707546 item B), and item at FOURTEEN, since the qualified by-name read GET {prefix}/:type/:ns/:name rides the item read's handler (ADR-0150 D5, #31691). steps[5], steps[6], steps[7], acceptance[2].clause and the two variant rows now name them. The obligation is unchanged: a switch that grows or loses a route against these sets is a FAIL, and a describe() that disagrees with the diff is a defect in the code or the declaration. Read at base e540baf8", + "ref": "#33086" } ] }, @@ -3014,7 +3020,7 @@ "title": "Every read that reaches a NON-addressed object asks that object's own `enable` block (nested-relation filter → 404/405, $expand withheld to the bare id, search skips it), and an `internal: true` field is refused 400 INVALID_FIELD in every evaluate position (filter, sort, groupBy, aggregate, $expand where/orderBy)", "since": "v18", "status": "active", - "revision": 3, + "revision": 4, "priority": "P1", "surface": "api", "personas": [ @@ -3071,7 +3077,7 @@ ], "automated": { "kind": "dogfood", - "ref": "packages/metadata-protocol/src/protocol.relation-condition-target-exposure.test.ts + packages/metadata-protocol/src/protocol.expand-target-exposure.test.ts + packages/metadata-protocol/src/protocol.data-door-internal-field-positions.test.ts + packages/objectql/src/internal-field-positions.test.ts (acceptance[0], protocol and engine) + packages/qa/dogfood/test/second-object-exposure.dogfood.test.ts (acceptance[1]–[3] over HTTP on a booted fixture app: the nested-relation refusal located at filter.REL, the withheld $expand, and the internal field refused in every evaluate position naming object and field, for admin and member) + packages/qa/dogfood/test/internal-field-data-door-positions.dogfood.test.ts (acceptance[3] on sys_api_key.key)" + "ref": "packages/metadata-protocol/src/protocol.relation-condition-target-exposure.test.ts + packages/metadata-protocol/src/protocol.expand-target-exposure.test.ts + packages/objectql/src/protocol-data-door-internal-field-positions.test.ts + packages/metadata-protocol/src/protocol.data-door-internal-field-delegation.test.ts + packages/objectql/src/internal-field-positions.test.ts (acceptance[0], protocol and engine) + packages/qa/dogfood/test/second-object-exposure.dogfood.test.ts (acceptance[1]–[3] over HTTP on a booted fixture app: the nested-relation refusal located at filter.REL, the withheld $expand, and the internal field refused in every evaluate position naming object and field, for admin and member) + packages/qa/dogfood/test/internal-field-data-door-positions.dogfood.test.ts (acceptance[3] on sys_api_key.key)" }, "source": [ "packages/spec/src/data/api-derivation.ts#canServeApiOperation", @@ -3097,6 +3103,12 @@ "date": "2026-10-27", "change": "acceptance[1] and [3] are pinned at the layer their oracle names (the release-18.2.0 Tier 1 sweep #26468 scored a1 half-asserted and a3 partial). second-object-exposure.dogfood.test.ts now asserts the located position `filter.REL` on both doors, and its fixture carries an `internal: true` field on the source object, refused 400 INVALID_FIELD naming object and field in the filter, sort, groupBy and aggregate positions over HTTP for both personas. automated.ref names the dogfood files and both verify texts say what they read. Measured at base 74db43ef. No clause changed", "ref": "#26572" + }, + { + "revision": 4, + "date": "2026-11-14", + "change": "automated.ref re-pointed (stale ref, QA run #33081 acceptance[0], card #33086 item 2): packages/metadata-protocol/src/protocol.data-door-internal-field-positions.test.ts no longer exists, and acceptance[0].verify says a missing file is not a pass. The data door's internal-field evaluate refusal moved into the engine, and its position pin with it, to packages/objectql/src/protocol-data-door-internal-field-positions.test.ts; the door's own half (that it asks the engine's gate, with what, before what) is packages/metadata-protocol/src/protocol.data-door-internal-field-delegation.test.ts, which the ref now names beside it. The move is b388cfeca6 (#29003), read from the commit listing of both paths; the card named bca2a515 (#32128), which touches neither file. No clause changed. Read at base e540baf8", + "ref": "#33086" } ] }, diff --git a/docs/qa/platform-checklist/areas/cli.json b/docs/qa/platform-checklist/areas/cli.json index 73a1c885fd6..3f2623052e8 100644 --- a/docs/qa/platform-checklist/areas/cli.json +++ b/docs/qa/platform-checklist/areas/cli.json @@ -2315,10 +2315,10 @@ }, { "id": "cli.validate-v18-authoring-verdicts", - "title": "`os validate` / `os build` verdicts new on v18: an unknown seed record key (with did-you-mean), a misspelt record[…] / previous[…] field, a duplicate stack entry name, a controlled_by_parent object without exactly one required master_detail (also through objectExtensions), a component-props finding (now an error), and a credential in stack email/sms config each fail the build", + "title": "`os validate` / `os build` verdicts new on v18: an unknown seed record key (with did-you-mean), a misspelt record[…] / previous[…] field, a duplicate stack entry name, a controlled_by_parent object with no master_detail or with two required ones (also through objectExtensions), a component-props finding (now an error), and a credential in stack email/sms config each fail the build", "since": "v18", "status": "active", - "revision": 2, + "revision": 3, "priority": "P1", "surface": "cli", "personas": [ @@ -2332,8 +2332,9 @@ ] }, "steps": [ - "for each arm run `os validate --json` and `os build`, recording exit code + rule id + path: seed key created_atx; record[\"typo\"] in a validation; two datasources named alike; a cbp object whose master_detail is not required; an object-grid with defaultFilters; email:{apiKey:\"x\"}", - "controls: seed key created_at, record.name == \"record.typo\", email.provider — all pass" + "for each arm run `os validate --json` and `os build`, recording exit code + rule id + path: seed key created_atx; record[\"typo\"] in a validation; two datasources named alike; a cbp object with no master_detail; a cbp object with two master_details both declared required: true, once inline and once with the second arriving through objectExtensions; an object-grid with defaultFilters; email:{apiKey:\"x\"}", + "controls: seed key created_at, record.name == \"record.typo\", email.provider, and a cbp object whose ONLY master_detail declares required: false (the optional master, ruling A of #30905) — all pass", + "the os lint arm: in the scratch app author a cbp object as a plain object literal (not through ObjectSchema.create(), which forces an omitted required to true) whose ONLY master_detail omits `required`; run `os lint`, then `os validate --json` and `os build`, recording each exit code and rule id" ], "acceptance": [ { @@ -2352,17 +2353,23 @@ "clause": "the controls pass", "oracle": "build", "verify": "exit 0", - "evidence": "three lines" + "evidence": "four lines" + }, + { + "clause": "the lint-only shape is `os lint`'s verdict, not the build's: a cbp object whose ONLY master_detail omits `required` fails `os lint` with relationship/master-detail-required at error, while `os validate` and `os build` accept it", + "oracle": "build", + "verify": "`os lint` exits ≠ 0 naming relationship/master-detail-required at the master_detail's path (it is a lintDataModel rule, packages/lint/src/data-model-rules.ts#RELATIONSHIP_MASTER_DETAIL_REQUIRED, which `os lint` runs and `os validate` / `os build` do not); `os validate --json` and `os build` exit 0, because the parse reads the parsed `required: false` and admits the optional master (packages/spec/src/data/controlled-by-parent-master.ts#controlledByParentMasterRefusal, ruling A of #30905). An explicit `required: false` on the ONLY master_detail is the optional master and passes all three (a control, steps[1]); the rule's cases are pinned at unit by packages/lint/src/data-model-rules.master-detail-required.test.ts, acceptance[0]'s pin", + "evidence": "the os lint, os validate and os build exits + the lint finding line" } ], "automated": { "kind": "unit", - "ref": "packages/spec/src/data/define-seed-record-keys.test.ts + packages/formula/src/validate-field-existence-spellings.test.ts + packages/spec/src/stack-duplicate-entry.test.ts + packages/lint/src/data-model-rules.master-detail-required.test.ts + packages/spec/src/stack-cbp-extension-master.test.ts + packages/lint/src/validate-component-props.test.ts + packages/spec/src/stack-email-sms.test.ts — acceptance[0] ONLY, the clause that scores these seven spec, formula and lint unit files themselves. None of them runs `os validate` or `os build`, so no pin covers acceptance[1] (each arm's `os validate` exit and rule at its path, and the build refusing) or acceptance[2] (the controls pass): drive them by hand with the CLI" + "ref": "packages/spec/src/data/define-seed-record-keys.test.ts + packages/formula/src/validate-field-existence-spellings.test.ts + packages/spec/src/stack-duplicate-entry.test.ts + packages/lint/src/data-model-rules.master-detail-required.test.ts + packages/spec/src/stack-cbp-extension-master.test.ts + packages/lint/src/validate-component-props.test.ts + packages/spec/src/stack-email-sms.test.ts — acceptance[0] ONLY, the clause that scores these seven spec, formula and lint unit files themselves. None of them runs `os validate` or `os build`, so no pin covers acceptance[1] (each arm's `os validate` exit and rule at its path, and the build refusing), acceptance[2] (the controls pass) or acceptance[3] (the os lint arm's three exits): drive them by hand with the CLI" }, "source": [ "packages/spec/src/data/seed.zod.ts#defineSeed", "packages/spec/src/stack.zod.ts#collectDuplicateEntryErrors", - "packages/spec/src/data/controlled-by-parent-master.ts#controlledByParentMasterRefusal", + "packages/spec/src/data/controlled-by-parent-master.ts#controlledByParentMasterRefusal (the parse refuses no master_detail, two required ones, two with none required and a readonly / system master; ADR-0055 §1 as amended by ruling A of #30905 admits the ONLY master_detail declared required: false as an optional master)", "packages/spec/src/system/email-config.zod.ts#StackEmailConfigSchema", "v18 changesets (.changeset/pre/, consumed into 18.0.0-next.*): 22149-define-seed-record-keys, 22212-lint-sibling-spellings, 22428-field-existence-every-spelling, 22386-spec-object-attached-on-read, 22386-validator-attached-on-read-leaf, 22902-stack-functions-array-duplicate-name-refused, 22934-stack-collection-duplicate-entry-refused, 23210-cbp-extension-merged-master, 9139-cbp-master-detail-required-error, 23100-cbp-one-required-master, 23026-retired-component-prop-refused, 23147-component-props-every-finding-refused, 22748-stack-email-sms-door" ], @@ -2378,6 +2385,12 @@ "date": "2026-10-20", "change": "automated.ref narrowed per clause — checklist-accuracy finding C8 of QA run #24786 (wave anchor #24579 round 13, round 6's theme-B rule): the ref listed seven spec, formula and lint unit pins with no clause qualifier, though acceptance[1] and acceptance[2] need os validate and os build. None of the seven runs the CLI (read at base 7697ddcf94). The pins are acceptance[0]'s own subject, so `automated` stays, narrowed to it. No clause changed", "ref": "#24850" + }, + { + "revision": 3, + "date": "2026-11-14", + "change": "the controlled_by_parent arm re-worded and its lint-only shape moved to a new `os lint` clause, acceptance[3] (stale spec, QA run #33081 acceptance[1], card #33086 item 3). Ruling A of #30905 admits a cbp object's ONLY master_detail declared required: false as an optional master (packages/spec/src/data/controlled-by-parent-master.ts#controlledByParentMasterRefusal, asked by ObjectSchema's refuseControlledByParentWithoutOneMaster), so steps[0]'s arm 'a cbp object whose master_detail is not required' passes `os validate` and `os build`, as QA reproduced twice. steps[0] and the title now plant the shapes the parse refuses: no master_detail, and two required master_details, inline and through objectExtensions. steps[1] gains the optional master as a control, so acceptance[2] reads four lines. The shape only a lint rule reports, an omitted `required` on the only master_detail, is relationship/master-detail-required (packages/lint/src/data-model-rules.ts#RELATIONSHIP_MASTER_DETAIL_REQUIRED), which `os lint` runs and validate and build do not, so it moves to acceptance[3] with oracle build and a new steps[2]; automated.ref and source[2] follow. Read at base e540baf8; the os lint exits are read from the rule's reach note and its unit pin, not driven live by this edit", + "ref": "#33086" } ] }, From 55058038a50dcc6ba4187acfe3112f5e755722a1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 15:03:08 +0000 Subject: [PATCH 3/5] qa(checklist): re-point flow-status acceptance[1] to the worded not-running cause (card 33054) studio-authoring.flow-status-matches-runtime r6: for a known unboundCause the rail and header title read the worded cause (on a default boot, deployment_policy), and the platform's reason verbatim is the Problems note's detail, which describeFlowRunStatus does on purpose. acceptance[1], steps[3], the title, automated.ref (adds the runStatus unit pin) and source[0] follow; the note still counts as no problem, and negative[] is untouched. Claude-Session: https://claude.ai/code/session_017xRBcRZn9wGkMSrznVX4JS Co-authored-by: Claude --- .../areas/studio-authoring.json | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/qa/platform-checklist/areas/studio-authoring.json b/docs/qa/platform-checklist/areas/studio-authoring.json index 79dda597f0c..81227310c7a 100644 --- a/docs/qa/platform-checklist/areas/studio-authoring.json +++ b/docs/qa/platform-checklist/areas/studio-authoring.json @@ -2669,10 +2669,10 @@ }, { "id": "studio-authoring.flow-status-matches-runtime", - "title": "The flow state Studio shows is the state the deployment runs: the rail dot and the header read what GET /api/v1/automation/_status reports — Switched on, Switched off, Not running here with the platform's reason — and an enabled record-triggered flow actually runs", + "title": "The flow state Studio shows is the state the deployment runs: the rail dot and the header read what GET /api/v1/automation/_status reports — Switched on, Switched off, Not running here with its cause and the platform's reason — and an enabled record-triggered flow actually runs", "since": "v18", "status": "active", - "revision": 5, + "revision": 6, "priority": "P1", "surface": "mixed", "personas": [ @@ -2690,7 +2690,7 @@ "on the default boot open /_console/studio/PKG/automations; for every flow read the rail dot's words (the visually hidden text and the row title) and the header's status, then GET /api/v1/automation/_status and pair each flow's row (enabled, bound, reason)", "enable the record-triggered flow with the header switch (it was Off by default); read the toast ('Switched on — publish to apply', engine.studio.auto.enabledToast); publish; re-read the rail, the header and _status", "create a record of the watched object (POST /api/v1/data/OBJ) and read the flow's runs for it", - "read the schedule flow on the default boot: its dot and header read 'Not running here', titled with the platform's reason, and Problems carries a note (not counted as a problem); _status answers bound: false with that same reason", + "read the schedule flow on the default boot: its dot and header read 'Not running here', titled with the cause line (the worded unboundCause where _status names a known one, on a default boot deployment_policy: 'This deployment keeps scheduled work that comes with a package switched off. Whoever operates this deployment can switch it on.'; otherwise the platform's reason), and Problems carries a note (not counted as a problem) whose detail, the hover title of its cause line, is the platform's reason verbatim; _status answers bound: false with that reason and its unboundCause", "boot the launch entry showcase-scheduled-work-3778 (OS_AUTOMATION_SCHEDULED_WORK_ENABLED=1) beside the default boot and author the schedule flow there; re-read the schedule flow in Studio and _status, and wait for its first run", "on the default boot, disable the record-triggered flow; publish; create another record and confirm no new run" ], @@ -2702,10 +2702,10 @@ "evidence": "the pairing table" }, { - "clause": "Not running here carries the platform's own reason verbatim — in the rail title, the header and the Problems note — and the note is not counted as a problem", + "clause": "Not running here carries a cause line in the rail title and the header (the worded `unboundCause` when the platform names a known one, otherwise the platform's reason), and the platform's reason verbatim on the Problems note (its detail), and the note is not counted as a problem", "oracle": "dom", - "verify": "after a screenshot confirms the pillar rendered, the schedule flow's title text equals _status's reason string; Problems lists it as a note with a zero problem count", - "evidence": "the title / note text beside the _status reason" + "verify": "after a screenshot confirms the pillar rendered, the schedule flow's rail and header title equals the worded cause for _status's unboundCause (engine.studio.auto.unboundCause.CAUSE in the console's locale) where the row names a known cause, and _status's reason string where it names none; the Problems note (data-testid flow-run-status-note) shows the same cause line, and its detail, that line's title attribute, equals the reason string verbatim (ui/packages/app-shell/src/views/metadata-admin/previews/flow-problems.ts#describeFlowRunStatus words the title from the cause and keeps the reason as detail); Problems lists it as a note with a zero problem count", + "evidence": "the rail and header titles and the note's text and detail, beside the _status reason and unboundCause" }, { "clause": "the switch is the runtime switch: enabled and published, the record-triggered flow runs on a create; disabled and published, it does not", @@ -2730,10 +2730,10 @@ ], "automated": { "kind": "unit", - "ref": "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.flowStatusTruth-11779.test.tsx + FlowStatusDot.test.tsx + StudioDesignSurface.railUnboundReason-11281.test.tsx: jsdom pins of the reading against a _status double — evidence for acceptance[0] and [1] at the component layer; the live pairing and the runs stay the run's" + "ref": "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.flowStatusTruth-11779.test.tsx + FlowStatusDot.test.tsx + StudioDesignSurface.railUnboundReason-11281.test.tsx + ui/packages/app-shell/src/views/metadata-admin/previews/flow-problems.runStatus-11779.test.ts ('a known cause reads its designer row in zh and en; the platform sentence moves to the detail'): jsdom and unit pins of the reading against a _status double — evidence for acceptance[0] and [1] at the component layer; the live pairing and the runs stay the run's" }, "source": [ - "ui/packages/app-shell/src/views/studio-design/AutomationsFlowRail.tsx (FlowStatusDot and flowRailStatus: green On, grey Not running here titled with the reason, amber Refused, hollow Off; objectui#11779, #11281, #12454)", + "ui/packages/app-shell/src/views/studio-design/AutomationsFlowRail.tsx (FlowStatusDot and flowRailStatus: green On, grey Not running here titled with the cause line describeFlowRunStatus words (the known unboundCause's designer row, else the reason), amber Refused, hollow Off; objectui#11779, #11281, #12454)", "packages/services/service-automation/src/engine.ts (getFlowRuntimeStates — the rows GET /automation/_status passes through)", "RUNNER.md environment facts (package-authored scheduled work is OFF unless OS_AUTOMATION_SCHEDULED_WORK_ENABLED=1)", "cross-ref: the API kill switch ({enabled} at the automation door) is automation.flow-toggle-kill-switch; scheduled-work policy itself is the RUNNER.md fact, not a defect" @@ -2768,6 +2768,12 @@ "date": "2026-11-04", "change": "fixtures.requires[2] and steps[4] name the .claude/launch.json entry showcase-scheduled-work-3778 as the schedule leg's second boot. QA run #29672 could not reboot with the switch, because a runner that starts servers only from launch.json had no such entry. That entry has its own port and DB, so it runs beside the default boot, the step authors the schedule flow again there, and steps[5] stays on the default boot. acceptance[3].clause now reads 'a schedule flow authored the same way' instead of 'the same schedule flow', since that boot holds a re-authored copy; what it asserts is unchanged", "ref": "#29819" + }, + { + "revision": 6, + "date": "2026-11-14", + "change": "acceptance[1] (clause, verify, evidence) re-pointed with steps[3], the title, automated.ref and source[0] (stale spec, QA run #33048 acceptance[1], card #33054). For a known unboundCause the console words the rail and header title from the cause code and keeps the engine's sentence as the Problems note's detail, on purpose (ui/packages/app-shell/src/views/metadata-admin/previews/flow-problems.ts#describeFlowRunStatus; pinned by flow-problems.runStatus-11779.test.ts, now in automated.ref). QA read the default boot's schedule flow so: _status reason 'disabled by deployment policy — …' with unboundCause deployment_policy, the titles reading engine.studio.auto.unboundCause.deployment_policy, the reason on the note's hover title. r5 asked for the reason verbatim in all three places. The clause now asks for the cause line in the rail and the header, the reason verbatim as the note's detail, and still no problem counted; a row naming no known cause keeps the reason as its title. negative[] is unchanged (ruling 6545938831 item ① on #28345). Read at base e540baf8", + "ref": "#33054" } ] }, From c6c56d4f2a131bc37f84b28f1dcd40e253456282 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 15:04:26 +0000 Subject: [PATCH 4/5] qa(checklist): re-point record-page-decisions acceptance[4] to the 404 a non-reader's forged decision gets (card 33060) approvals.record-page-decisions r6: the step's contributor-bound member can read the project but not its request, and every door that acts on a request answers such a caller REQUEST_NOT_FOUND, exactly as a missing id (ApprovalService.refuseUnreadableRequest), so the forged approve answers 404 and the request stays pending. 403 FORBIDDEN stays the answer to a reader who holds no slot. steps[8], acceptance[4] (clause, verify, evidence) and source[5] follow; negative[2] is unchanged. Claude-Session: https://claude.ai/code/session_017xRBcRZn9wGkMSrznVX4JS Co-authored-by: Claude --- docs/qa/platform-checklist/areas/approvals.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/qa/platform-checklist/areas/approvals.json b/docs/qa/platform-checklist/areas/approvals.json index ad095de2667..babdccc7f37 100644 --- a/docs/qa/platform-checklist/areas/approvals.json +++ b/docs/qa/platform-checklist/areas/approvals.json @@ -951,7 +951,7 @@ "title": "Approve/Reject render on the record page from sys_approval_request's declared actions; Reject fires after ONE dialog; a locking approval hides inline edit", "since": "v16", "status": "active", - "revision": 5, + "revision": 6, "priority": "P2", "surface": "browser", "personas": ["dev admin (holds the showcase_manager position, so showcase_budget_approval's manager_review routes to them — a pending approver standing on the record page)"], @@ -971,7 +971,7 @@ "fill the comment and Confirm; capture POST /api/v1/approvals/requests/:id/reject — :id is the REQUEST's id, never the project's — with the comment in its body; re-read GET /api/v1/approvals/requests/:id (status=rejected) and GET /api/v1/approvals/requests/:id/actions (the reject row carries the comment). The bar re-reads the approvals after the decision (refreshAfter) and draws nothing once no request is pending", "approve path: PATCH another project's budget to e.g. 200000; on its record page click Approve → one dialog (titled Approve, described 'Approve this request? Your approval is recorded, and the request moves on once this step has the approvals it requires.', optional Comment and Attachments) → Confirm → POST /api/v1/approvals/requests/:id/approve → re-read (status=approved; at or under 500000, needs_exec ends the run at approved)", "lock contrast: PATCH a third project's budget above 500000 (e.g. 600000) and approve its manager_review from the record page as in step 7 — needs_exec routes the run to exec_review (position 'showcase_exec', the admin again; lockRecord:true), a NEW pending request whose row reads lock_record: true; once the page re-reads (the decision's refresh, or a reload), screenshot — the header's Edit button stays RENDERED but DISABLED (disabled, not hidden, so the user sees the affordance is off: RecordDetailView.tsx, framework#3794), the inline-edit pencils are gone (approvalLocked, from resolveApprovalLock over recordLockedByApproval of the pending request → InlineEditProvider canEdit false), and the approval band reads 'Locked for approval' (amber, a lock icon; detail.lockedByApproval)", - "both-sides gate, closed side: open the step-8 project's record page (its exec_review is pending) as a member who can READ the project but is not on the slate, did not submit and holds no override — e.g. a contributor-bound member (the search:qa-contributor-bound-member recipe; RUNNER.md's self-registration entry says how to mint one). Capture the member's own GET /api/v1/approvals/requests?object=showcase_project&recordId=:id: it serves no row for this record (the approvals door serves a request to its participants and the override actor, and the record-reader tier is off: no showcase object declares enable.approvalsVisibleToReaders), so the page draws no declared decision action at all. Then forge the decision: as the member, POST /api/v1/approvals/requests/:id/approve with the id from the admin's read → 403, code FORBIDDEN ('is not a pending approver'), and the request re-reads still pending. ⛔ Not the dev admin: the admin holds the override (step 10), so the admin cannot prove the gate's closed side", + "both-sides gate, closed side: open the step-8 project's record page (its exec_review is pending) as a member who can READ the project but is not on the slate, did not submit and holds no override — e.g. a contributor-bound member (the search:qa-contributor-bound-member recipe; RUNNER.md's self-registration entry says how to mint one). Capture the member's own GET /api/v1/approvals/requests?object=showcase_project&recordId=:id: it serves no row for this record (the approvals door serves a request to its participants and the override actor, and the record-reader tier is off: no showcase object declares enable.approvalsVisibleToReaders), so the page draws no declared decision action at all. Then forge the decision: as the member, POST /api/v1/approvals/requests/:id/approve with the id from the admin's read → 404, code REQUEST_NOT_FOUND, the answer an id naming no request gets (the member cannot read the request, and every door that acts on one answers such a caller as if it did not exist), and the request re-reads still pending. 403 FORBIDDEN ('is not a pending approver') is the answer to a caller who CAN read the request and holds no slot, which this member is not. ⛔ Not the dev admin: the admin holds the override (step 10), so the admin cannot prove the gate's closed side", "override contrast (the admin off the slate): on a pending manager_review (PATCH a fourth project to e.g. 200000), Reassign the step to another user through the bar's New approver picker — e.g. the seeded Ada Auditor (demo) persona (examples/app-showcase/src/security/demo-personas.ts) — so the request waits on that user and the admin holds no slot. Re-read the row (viewer.can_act false, viewer.can_override true) and screenshot the bar. The record page FOLDS the override levers for an override-only viewer (RecordDetailView.tsx passes foldOverrides; DeclaredActionsBar.tsx, objectstack#25877). The bar shows a 'Pending · Waiting on …' status line naming the approver the override would bypass, Reply as a plain button (the admin holds it as the submitter), and ONE amber menu trigger, a shield plus an overflow glyph, data-testid declared-actions-override-menu, labelled 'Admin override'. Open that menu and screenshot it. It lists 'Override Approve', 'Override Reject' and 'Override Reassign' (data-override-decision='true'), and Recall under its plain label: the admin holds Recall as the submitter, so it carries no override framing, yet it folds with the rest because its declared visible gate ORs in can_override. Send back and Request info are gone (their predicate reads can_act alone). That is the override arm of the same declared predicates, not the gate failing" ], "acceptance": [ @@ -1000,10 +1000,10 @@ "evidence": "two record-page screenshots (locked vs editable) + the two request rows' lock_record" }, { - "clause": "the decision actions are gated by the SERVER's viewer block, not by a client check: a viewer who is not a pending approver, not the submitter and holds no override is offered no decision action, and the server refuses the decision a forged request makes; an organization administrator off the slate is offered the OVERRIDE framing of the levers the override arm admits, which is a different control, not this gate failing", + "clause": "the decision actions are gated by the SERVER's viewer block, not by a client check: a viewer who is not a pending approver, not the submitter and holds no override is offered no decision action, and the server refuses the decision a forged request makes: a non-participant who cannot read the request gets 404 REQUEST_NOT_FOUND (its existence never leaks) and a reader who holds no slot gets 403 FORBIDDEN, the request staying pending either way; an organization administrator off the slate is offered the OVERRIDE framing of the levers the override arm admits, which is a different control, not this gate failing", "oracle": "api", - "verify": "as the member (step 9): the member's GET /api/v1/approvals/requests?object=showcase_project&recordId=:id serves no row for the record; after a screenshot confirms the page rendered, its DOM holds no declared-action-* button; a forged POST /api/v1/approvals/requests/:id/approve answers 403 with code FORBIDDEN, and the request re-reads pending. As the admin off the slate (step 10): the row's viewer block reads can_act false and can_override true, and the bar folds the override levers into the 'Admin override' menu (declared-actions-override-menu). Opened, the menu lists Override Approve, Override Reject and Override Reassign (data-override-decision='true') and a plain Recall, while Reply stays an inline button and Send back and Request info are absent. Record it separately", - "evidence": "the member's approvals read + the record-page screenshot and its declared-action DOM list + the forged POST's 403 body; the admin's off-slate row read + the bar and the opened override menu screenshots" + "verify": "as the member (step 9): the member's GET /api/v1/approvals/requests?object=showcase_project&recordId=:id serves no row for the record; after a screenshot confirms the page rendered, its DOM holds no declared-action-* button; a forged POST /api/v1/approvals/requests/:id/approve answers 404 with code REQUEST_NOT_FOUND (packages/plugins/plugin-approvals/src/approval-service.ts#refuseUnreadableRequest, asked before the slate), and the request re-reads pending. A 403 FORBIDDEN here means the member could read the request: record which tier admitted them, since no showcase object declares enable.approvalsVisibleToReaders. As the admin off the slate (step 10): the row's viewer block reads can_act false and can_override true, and the bar folds the override levers into the 'Admin override' menu (declared-actions-override-menu). Opened, the menu lists Override Approve, Override Reject and Override Reassign (data-override-decision='true') and a plain Recall, while Reply stays an inline button and Send back and Request info are absent. Record it separately", + "evidence": "the member's approvals read + the record-page screenshot and its declared-action DOM list + the forged POST's 404 body; the admin's off-slate row read + the bar and the opened override menu screenshots" } ], "negative": [ @@ -1018,14 +1018,15 @@ "objectui packages/app-shell/src/views/RecordDetailView.approvalDeclaredActions.test.tsx (objectui#3055, blob 9519ae70f743 at the console pin cf153eb2e535: the record page runs sys_approval_request's declared decision actions, and 'folds a declared decision output into the nested `outputs` body' asserts that a decision's comment and declared outputs reach the POST to the request) + packages/plugins/plugin-approvals/src/sys-approval-request.object.test.ts ('the confirm question rides `description`, not `confirmText`, so one decision opens one dialog (#7278)'). Between them they hold what the deleted RecordDetailView.approvalDecisionActions.test.tsx pinned, the decision params and one dialog per decision; objectui 99782f961 deleted that file before both console pins", "examples/app-showcase/src/automation/flows/index.ts#BudgetApprovalFlow (BudgetApprovalFlow — manager_review lockRecord:false / exec_review lockRecord:true on showcase_project)", "packages/plugins/plugin-approvals/src/sys-approval-request.object.ts#approval_reject (the declared actions: approval_approve 'primary' and approval_reject 'danger', each with optional comment and attachments params and its confirm question as description, never confirmText, #7278; approval_reassign, approval_send_back, approval_request_info, approval_remind, approval_recall, approval_resubmit and approval_comment; all at record_section, every visible predicate over record.viewer, the attachedOnRead block) + packages/plugins/plugin-approvals/src/approval-service.ts#attachViewers (can_act: pending and the caller takes a slot; is_submitter; can_override: pending and isOverrideActor)", - "packages/plugins/plugin-approvals/src/request-read-gate.ts (header: the approvals door serves a request to its participants and the override actor, and to a record reader only where the object declares enable.approvalsVisibleToReaders, which no showcase object does) + packages/plugins/plugin-approvals/src/approval-service.ts#decide (a caller who takes no slot and holds no override: FORBIDDEN, answered 403 by packages/rest/src/approvals-routes.ts)" + "packages/plugins/plugin-approvals/src/request-read-gate.ts (header: the approvals door serves a request to its participants and the override actor, and to a record reader only where the object declares enable.approvalsVisibleToReaders, which no showcase object does) + packages/plugins/plugin-approvals/src/approval-service.ts#refuseUnreadableRequest (every door that acts on a request, decide included, answers a caller who may not READ it REQUEST_NOT_FOUND, exactly as a missing id, answered 404 by packages/rest/src/approvals-routes.ts) + packages/plugins/plugin-approvals/src/approval-service.ts#decide (a reader who takes no slot and holds no override: FORBIDDEN, answered 403)" ], "history": [ { "revision": 1, "date": "2026-08-08", "change": "initial — the record-page approval surface (distinct from the inbox-drawer items): header Approve/Reject, one-dialog Reject (#3126), decision round-trip, and the lockRecord-driven inline-edit hide (#2902)", "ref": "claude/platform-test-checklist-ocwugl" }, { "revision": 2, "date": "2026-10-17", "change": "the both-sides clause and step 9 named no persona, and the natural choice — the dev admin on a record routed away from them — sees 'Override Approve' / 'Override Reject' (#23878 checklist-accuracy finding), so it can never show the closed side; the step and clause 5 now name a non-override member. The record route in step 3 is the served /_console/apps/showcase_app/showcase_project/record/:id (the shorthand form redirects to it). Re-run on main c91af8ed6 with the console at objectui f8267df93aba: on a project whose budget approval is pending for the admin, the admin's header shows Approve and Reject; a contributor-bound member's header shows neither; with the admin's slot reassigned away the admin's header shows Override Approve and Override Reject", "ref": "#24036" }, { "revision": 3, "date": "2026-10-20", "change": "source[2] re-pointed, and fixtures.knownGaps[0] added. PR #24982's pin finding: source[2] cited objectui's RecordDetailView.approvalDecisionActions.test.tsx, absent at both console pins. Read in a full objectui clone: objectui 99782f961 (objectui#3055) deleted it, and that commit is an ancestor of 616df6598b42 and of cf153eb2e535 (exit 0 both; control, cf153eb2e535 as an ancestor of 99782f961: exit 1). The same commit retired buildApprovalDecisionActions and moved the record page's decisions onto sys_approval_request's declared actions. At cf153eb2e535, RecordDetailView.approvalDeclaredActions.test.tsx holds the params half (the comment and declared outputs reach the POST to the request), and this repository's sys-approval-request.object.test.ts holds the one-dialog half. The knownGap tells a runner that the rest of the item still describes the retired header buttons. steps[0] respelled: 'boot showcase isolated' → 'boot the showcase on its own port and DB'. Round 12's out-of-scope finding (landing record 6287983829 on wave anchor #24579): the phrase 'showcase isolated' named the dogfood §0 own-port boot, and a runner read it as the `isolated` tenancy posture (OS_TENANCY_POSTURE=isolated). The new spelling names that boot by what it is, in RUNNER.md's own words for it (the trap table's counter: own port/DB, skill §0), and names no posture. Read at base e4d604efd3. No clause changed", "ref": "#25003" }, { "revision": 4, "date": "2026-10-21", "change": "Re-derived against the shipped record page. PR #25003's carried finding (round 17 of wave anchor #24579; ACCEPT 6304389370, landing record 6304641541): the steps, clauses, fixtures.requires[1] and source[0]–[1] still described the record header's hand-written Approve/Reject — buildApprovalDecisionActions, approve_request / reject_request in record_header, ordered -100 / -99, behind a client-side canDecide — which objectui 99782f961 (objectui#3055) retired before both console pins. Read at objectui cf153eb2e535 (RecordDetailView.tsx, DeclaredActionsBar.tsx, recordApprovalActions.ts, useRecordApprovals.ts, useConsoleActionRuntime.tsx, approvalOverride.ts) and at base 93e6c1a5f8 (sys-approval-request.object.ts; approval-service.ts attachViewers and decide; request-read-gate.ts; approvals-routes.ts; the showcase budget flow and approval seed): the record page runs sys_approval_request's declared record_section actions through DeclaredActionsBar above the page body, each gated by its visible predicate over the server's viewer block. title, fixtures.requires[0]–[1], steps[1]–[8], the verify and evidence of every clause, clauses [0], [1], [2] and [4] (whose oracle moves dom → api: the gate is the server's), negative[2] and source[0]–[1] rewritten; steps[9] (the off-slate admin's override framing) and source[4]–[5] (the server's declarations, viewer block, read gate and refusal) added; fixtures.knownGaps[0] removed, the retired text it warned about being gone. No automated ref is added: neither pin holds a clause whole at its layer (the objectui test mounts the page in jsdom over a fetch double, with a hand-written definition and the param dialog mocked; sys-approval-request.object.test.ts reads the declarations). The live verdicts at the pin are NOT MEASURED: the sources were read, not run", "ref": "#25018" }, - { "revision": 5, "date": "2026-10-31", "change": "Two findings of QA run #27441. First, steps[9] and acceptance[4]: for the override-only admin, who is also the submitter, the record page folds the override levers into one 'Admin override' menu (data-testid declared-actions-override-menu; RecordDetailView.tsx foldOverrides, DeclaredActionsBar.tsx, objectstack#25877). The menu holds Override Approve, Override Reject, Override Reassign and a plain Recall. The bar keeps the status line and Reply. The items said the three Override buttons rendered in the bar. Second, steps[3], steps[7] and acceptance[3]: under a locking approval the header Edit stays rendered but disabled (framework#3794) while the inline pencils are hidden, and the band text is named: 'Locked for approval' locked, 'In approval · editable' not locked (DetailView.tsx). The items said the affordances were absent. acceptance[3] is stronger, not weaker: a hidden Edit now fails it. Read from source at base 22ce3d13. Wave anchor #27377, wave-3 accuracy slice S5 (#28339); findings parked in anchor comment 6490438726", "ref": "#27441" } + { "revision": 5, "date": "2026-10-31", "change": "Two findings of QA run #27441. First, steps[9] and acceptance[4]: for the override-only admin, who is also the submitter, the record page folds the override levers into one 'Admin override' menu (data-testid declared-actions-override-menu; RecordDetailView.tsx foldOverrides, DeclaredActionsBar.tsx, objectstack#25877). The menu holds Override Approve, Override Reject, Override Reassign and a plain Recall. The bar keeps the status line and Reply. The items said the three Override buttons rendered in the bar. Second, steps[3], steps[7] and acceptance[3]: under a locking approval the header Edit stays rendered but disabled (framework#3794) while the inline pencils are hidden, and the band text is named: 'Locked for approval' locked, 'In approval · editable' not locked (DetailView.tsx). The items said the affordances were absent. acceptance[3] is stronger, not weaker: a hidden Edit now fails it. Read from source at base 22ce3d13. Wave anchor #27377, wave-3 accuracy slice S5 (#28339); findings parked in anchor comment 6490438726", "ref": "#27441" }, + { "revision": 6, "date": "2026-11-14", "change": "acceptance[4] (clause, verify, evidence), steps[8] and source[5] re-pointed: the forged decision of a member who cannot read the request answers 404 REQUEST_NOT_FOUND, not 403 FORBIDDEN (stale spec, QA run #33058 acceptance[4], card #33060). ApprovalService.refuseUnreadableRequest (packages/plugins/plugin-approvals/src/approval-service.ts) answers a caller who may not READ a request exactly as a missing id, before any slate check, so the request's existence never leaks; FORBIDDEN is for a reader who holds no slot. The step's contributor-bound member reads the project but not its request (the approvals door serves participants and the override actor, and no showcase object declares enable.approvalsVisibleToReaders), so QA read 404 on /approve, /reject and the action door with the request still pending. The rest of the clause held and is unchanged: no row for the member, no decision button, and the admin's override folding. negative[2] is unchanged: a viewer whose row carries a viewer block can read the request, so its forged POST is the 403 case. Read at base e540baf8", "ref": "#33060" } ] }, { From 51098eec19aacfbde7d249fe7b2d68314390925a Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 15:05:42 +0000 Subject: [PATCH 5/5] qa(checklist): re-point bare-name-one-holder-refusal from webhook to connector (card 33091) platform-core.bare-name-one-holder-refusal r4: webhook (e55347d2) and tool (c747cf05) both joined NAMESPACE_SCOPED_BARE_NAME_TYPES, so at this base the one covered type still held once per deployment is connector. acceptance[0] and [3], the title, fixtures, steps[1], negative[0], the variant and source[4] now drive a connector catalog descriptor qa_conn; webhook joins the per-namespace leg of acceptance[1] beside flow and agent, with the fixture note that a webhook-declaring package declares requires: ['webhooks', 'realtime']. acceptance[0] names the driven type as the complement of NAMESPACE_SCOPED_BARE_NAME_TYPES within the covered types, so the next narrowing reads as a re-check rather than a stale FAIL. Claude-Session: https://claude.ai/code/session_017xRBcRZn9wGkMSrznVX4JS Co-authored-by: Claude --- .../areas/platform-core.json | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/docs/qa/platform-checklist/areas/platform-core.json b/docs/qa/platform-checklist/areas/platform-core.json index 237c76ebef0..5be4539c52a 100644 --- a/docs/qa/platform-checklist/areas/platform-core.json +++ b/docs/qa/platform-checklist/areas/platform-core.json @@ -4467,36 +4467,36 @@ }, { "id": "platform-core.bare-name-one-holder-refusal", - "title": "A covered bare name has one package holder: installing a second package that holds a webhook, connector or tool name is refused 422 naming both, the narrowed types (picklist, mapping, dataset, api, object-less action, function, flow, email template, agent and skill) are held per namespace, and a clash an earlier deployment already holds boots with a warning", + "title": "A covered bare name has one package holder: installing a second package that holds a connector name (the covered types NAMESPACE_SCOPED_BARE_NAME_TYPES does not list: connector alone at revision 4) is refused 422 naming both, the narrowed types (picklist, mapping, dataset, api, object-less action, function, flow, webhook, email template, agent, skill and tool) are held per namespace, and a clash an earlier deployment already holds boots with a warning", "since": "v18.4", "status": "active", - "revision": 3, + "revision": 4, "priority": "P1", "surface": "mixed", "personas": ["admin (the seeded admin): every install"], "fixtures": { "app": "showcase", "requires": [ - "two scratch packages, each its own scratch app directory (never the shared examples): qa_a (manifest id com.qa.addr-a, namespace qa_a) and qa_b (manifest id com.qa.addr-b, namespace qa_b), each a defineStack({ manifest: { id, namespace, version, type: 'app' }, … }) project compiled with `objectstack build` and installed into the boot with `os package install DIR/dist/objectstack.json` (admin credentials), so the registry holds every item under its package. Neither declares a dependency on the other unless a step says so. Both hold a webhook qa_hook (declared inactive, isActive: false, so nothing is ever posted), a flow qa_sync and an agent qa_helper; qa_a also holds an email template auth.password_reset (a name the platform's email service ships as an overridable baseline)", - "for the cold-boot leg: a scratch app that registers two code packages which both hold the webhook qa_hook (the doors judge nothing during a boot, so both register), booted on its own port and file DB" + "two scratch packages, each its own scratch app directory (never the shared examples): qa_a (manifest id com.qa.addr-a, namespace qa_a) and qa_b (manifest id com.qa.addr-b, namespace qa_b), each a defineStack({ manifest: { id, namespace, version, type: 'app' }, … }) project compiled with `objectstack build` and installed into the boot with `os package install DIR/dist/objectstack.json` (admin credentials), so the registry holds every item under its package. Neither declares a dependency on the other unless a step says so. Both hold a connector qa_conn (a catalog descriptor: name, label and type 'api', no provider and enabled: false, so nothing is materialized or dispatched), a webhook qa_hook (declared inactive, isActive: false, so nothing is ever posted; a package that declares a webhook also declares requires: ['webhooks', 'realtime'], which the stack schema refuses it without), a flow qa_sync and an agent qa_helper; qa_a also holds an email template auth.password_reset (a name the platform's email service ships as an overridable baseline)", + "for the cold-boot leg: a scratch app that registers two code packages which both hold the connector qa_conn (the doors judge nothing during a boot, so both register), booted on its own port and file DB" ] }, "steps": [ "install qa_a, then qa_b; record each answer and GET /api/v1/packages", - "rebuild qa_b without the webhook qa_hook (keep the flow qa_sync and the agent qa_helper) and install it again; record the answer", + "rebuild qa_b without the connector qa_conn (keep the webhook qa_hook, the flow qa_sync and the agent qa_helper) and install it again; record the answer", "boot the cold-boot app and read the boot log" ], "acceptance": [ { "clause": "the second package holding a covered name is refused 422 naming both packages and a rename, and leaves nothing installed", "oracle": "api", - "verify": "installing qa_b answers 422 PLUGIN_REGISTER_FAILED whose message carries the registry's refusal naming webhook qa_hook, com.qa.addr-a, com.qa.addr-b and a rename (packages/cloud-connection/src/marketplace-install-local-plugin.ts answers a register refusal of an inline manifest so; the registry's own error is packages/objectql/src/registry.ts#BareNameConflictError, 422 NAMESPACE_CONFLICT; packages/objectql/src/bare-name-one-holder.ts#suggestedBareNameRename). webhook is not in packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES, so two namespaces do not lift it; qa_b is absent from the package list", + "verify": "installing qa_b answers 422 PLUGIN_REGISTER_FAILED whose message carries the registry's refusal naming connector qa_conn, com.qa.addr-a, com.qa.addr-b and a rename (packages/cloud-connection/src/marketplace-install-local-plugin.ts answers a register refusal of an inline manifest so; the registry's own error is packages/objectql/src/registry.ts#BareNameConflictError, 422 NAMESPACE_CONFLICT; packages/objectql/src/bare-name-one-holder.ts#suggestedBareNameRename). connector is the one covered type (packages/core/src/package-scoped-resolution.ts#BARE_NAME_ONE_HOLDER_TYPES) that packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES does not list at this revision, so two namespaces do not lift it. Re-read that complement before the run: a covered type still outside the list is the type this clause and acceptance[3] drive, and a type the list has gained is now acceptance[1]'s; qa_b is absent from the package list", "evidence": "the 422 body and the package list" }, { - "clause": "the narrowed types are held per namespace: two packages in two namespaces may each hold the flow qa_sync and the agent qa_helper", + "clause": "the narrowed types are held per namespace: two packages in two namespaces may each hold the webhook qa_hook, the flow qa_sync and the agent qa_helper", "oracle": "api", - "verify": "the rebuilt qa_b installs 200 while both hold qa_sync and qa_helper (packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES, re-exported by packages/objectql/src/bare-name-one-holder.ts: agent and skill #31973, flow #31696); webhook, connector and tool are still one holder per deployment", + "verify": "the rebuilt qa_b installs 200 while both hold qa_hook, qa_sync and qa_helper (packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES, re-exported by packages/objectql/src/bare-name-one-holder.ts: agent and skill #31973, flow #31696, webhook #32577, tool #33124); the covered types that list lacks, connector alone at this revision, are still one holder per deployment", "evidence": "the 200 answer" }, { @@ -4508,17 +4508,17 @@ { "clause": "a clash the deployment already holds does not stop the boot: it boots and warns once naming both holders and the rename, changing nothing about which holder each caller is served", "oracle": "log", - "verify": "the boot log carries one 'Bare-name conflict at boot' warning naming the webhook qa_hook, both packages and the rename (packages/objectql/src/bare-name-one-holder.ts#BARE_NAME_COLD_BOOT_MODE is 'warn'; packages/objectql/src/registry.ts#sealBareNameHoldersAtColdBoot and #bareNameColdBootWarning)", + "verify": "the boot log carries one 'Bare-name conflict at boot' warning naming the connector qa_conn, both packages and the rename (packages/objectql/src/bare-name-one-holder.ts#BARE_NAME_COLD_BOOT_MODE is 'warn'; packages/objectql/src/registry.ts#sealBareNameHoldersAtColdBoot and #bareNameColdBootWarning)", "evidence": "the warning line" } ], "negative": [ - "the second install answering 200 and the webhook name then serving one of the two is a FAIL", + "the second install answering 200 and the connector name then serving one of the two is a FAIL", "a cold boot refused because of a pre-existing clash is a FAIL while the mode is warn", "reading the rebuilt qa_b's 200 beside qa_a's flow qa_sync as a defect is wrong: flow is held per namespace since #31696, and the bare flow address answers 409 naming both" ], "variants": [ - "the covered types (packages/objectql/src/bare-name-one-holder.ts#BARE_NAME_REGISTRY_TYPES); a run drives webhook (one holder per deployment) and flow and agent (per namespace), and names the types it did not drive" + "the covered types (packages/objectql/src/bare-name-one-holder.ts#BARE_NAME_REGISTRY_TYPES); a run drives connector (one holder per deployment: the covered types NAMESPACE_SCOPED_BARE_NAME_TYPES does not list) and webhook, flow and agent (per namespace), and names the types it did not drive" ], "automated": { "kind": "unit", @@ -4529,7 +4529,7 @@ "packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES (the types narrowed per namespace; objectql's bare-name-one-holder.ts re-exports it)", "packages/objectql/src/registry.ts#BareNameConflictError (422 NAMESPACE_CONFLICT)", "docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md D9 (phase 1 stands until each child B narrows it)", - "#30836, #31006, #31093, #31375, #31661 (phase 1, all after 18.3.0), #31973 (agent and skill per namespace), #31696 (flow per namespace)" + "#30836, #31006, #31093, #31375, #31661 (phase 1, all after 18.3.0), #31973 (agent and skill per namespace), #31696 (flow per namespace), #32577 (webhook per namespace), #33124 (tool per namespace)" ], "history": [ { @@ -4549,6 +4549,12 @@ "date": "2026-11-13", "change": "stale-spec re-point of acceptance[0] and acceptance[3] (with the title, fixtures, steps, acceptance[1], negative[0], variants and source that carried the same type). flow joined the namespace-scoped bare-name types (#31696; packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES), so two namespaces may each hold flow qa_sync and the cold boot has no flow clash to warn about. Both clauses now drive the webhook qa_hook, a covered type still one holder per deployment (absent from that list; the flow-family pin's control cases in packages/objectql/src/registry-bare-name-one-holder-flow-family.test.ts hold it so); acceptance[1] gains flow beside agent; acceptance[3] drops the trigger leg, since the warn mode changes nothing about which holder a caller is served. Found by the 18.4.0 acceptance run #32940 (F-10, R5; wave anchor #32908): qa_b installed 200 holding flow qa_sync, 2 reproductions. Re-read at main 25ee5076. Card #32946", "ref": "#32946" + }, + { + "revision": 4, + "date": "2026-11-14", + "change": "stale-spec re-point of acceptance[0] and acceptance[3] from `webhook` to `connector` (with the title, fixtures, steps[1], acceptance[1], negative[0], variants and source[4]), QA run #33089, card #33091. e55347d2 (#32577) put webhook in packages/core/src/package-scoped-resolution.ts#NAMESPACE_SCOPED_BARE_NAME_TYPES about an hour after r3 re-pointed this item to it, so QA installed both qa_hook holders 200 and the cold boot warned about nothing. The card's proposed replacement, `tool`, is held per namespace too since c747cf05 (#33124), which landed after QA's control at 8e3d4a54; at base e540baf8 the one covered type (BARE_NAME_ONE_HOLDER_TYPES) outside that list is connector, whose one-holder refusal and cold-boot warning the flow-family pin's connector control cases hold (packages/objectql/src/registry-bare-name-one-holder-flow-family.test.ts). The fixtures now give each package a connector qa_conn as an inert catalog descriptor; webhook moves to the per-namespace leg beside flow and agent, with qa#3's note that a webhook-declaring package needs requires: ['webhooks', 'realtime']. Since the item has now gone stale three times as ADR-0150 child B narrows family by family, acceptance[0] names the driven type as that list's complement and tells the runner to re-read it before the run. The connector legs are read from source and pin, not driven live by this edit", + "ref": "#33091" } ] },