Skip to content

feat(scenarios): score the seven capability tags the mid-tier cards declare and the closed tag table left unscored - #31098

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-30984-scenario-tag-rows
Nov 7, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-30984-scenario-tag-rows

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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

维护者速读

  • 改了什么:场景评分器的封闭能力标签表新增 7 行(公式字段、校验规则、多级审批、动态审批人、行级安全、报表、AI 可调用动作),六张中阶卡声明的这 7 个标签不再显示 unscored。
  • 为什么改:中阶卡正是为考这些能力而写,原先 Build 半场完全不检查它们,得分说明不了 app 是否真有卡片要考的能力。
  • 风险与回滚:只影响私有 devx 包 @objectstack/scenarios 的评分,不发布;新增声明依赖 @objectstack/formula(本就在 full 评分入口的依赖闭包内);回滚即 revert 本 PR。
  • 先看:packages/qa/scenarios/src/score/scenario-tags.ts(7 行新规则,风险最高的是 rowSecurityGap 与 approvalSequence)、src/score/scenario-expressions.ts(「能编译」一律问平台自己的校验器)、test/score/scenario-tags.test.ts。
  • 两分钟验证:pnpm --filter @objectstack/scenarios test,预期 23 个文件全绿;其中 the library 一组证明六张中阶卡上这 7 个标签都被评分(空 build 上为 fail,不是 unscored)。
  • 需要你做的:无,席位落地。

What changes

Seven rows join CAPABILITY_TAG_CHECKS, one per tag the mid-tier cards declare and the closed table left unscored. Each row reads the built artifact through the platform's own schemas and helpers, and each carries the table's discrimination test: the rich build passes it, and one defect per stated reason fails exactly that tag. No area prefix is matched anywhere.

Tag Checks Read through
records-forms.formula-field computed-field-exists; per computed field formula:OBJECT.FIELD->compiles validateExpression('value', …) at record scope over the object's declared and injected columns (resolveInjectedSystemColumns) and declared field types, traversalHydration on: the validator os build runs on a formula
records-forms.validation-rule per rule with a predicate validation:OBJECT.RULE->compiles (condition, a conditional rule's when, nested then / otherwise rules); validation-rule-binds-expected-object (an active, severity: 'error' rule on an object the card names) validateExpression('predicate', …), same hint
approvals.multi-step-approval multi-step-approval-binds-expected-object: a flow bound to a card-named object the build carries, where a second Approval node follows the first on its approve branch APPROVAL_NODE_TYPE, APPROVAL_BRANCH_LABELS; the walk mirrors the engine's traverseNext (approve-labelled out-edges, or every out-edge when none is labelled; never fault)
approvals.dynamic-approver-routing per record-routed approver approver:FLOW.NODE[i]->routes; dynamic-approver-binds-expected-object APPROVER_VALUE_BINDINGS sources trigger-field / auto / expression are record-routed; a field (or a manager's subject: its value field, else owner_id, as plugin-approvals resolves it) must hold a user (referenceTargetOf, injected columns via injectedSystemColumnDefs); an expression must parse over APPROVER_EXPRESSION_ROOTS (collectCelRootIdentifiers)
access-security.row-level-security per scoped object row-level-security:OBJECT->enforced, for every persona that scopes it row-scope's three routes, each held to enforce: private (effectiveSharingModel); controlled_by_parent only when its master (controlledByParentMasterOf) is itself kept so for that persona; or a read policy on the persona's set. Every applicable read policy must lower to a filter (isSupportedRlsExpression)
dashboards.report per report report:NAME->resolves (its dataset exists and declares every selected measure and dimension; a joined report per block); report-binds-expected-object (a report's dataset object is card-named) ReportSchema dataset / values / rows / columns / blocks, DatasetSchema object / measures / dimensions (ADR-0021)
ai.agent-actions the checks gradeAgentActions runs for run.agentActions (exists, ai.exposed, ai.requiresConfirmation where confirm) unchanged reader, so the tag and the agent-action half judge an action by one rule

Where measurement sharpened the card's suggested checks (the suggestions were not rulings):

  • Formula field accepts a stored computed field. The spec's expression on a non-formula field is computed and stored "so a summary can roll the column up"; a formula field is virtual. The mid-tier cards sum computed line amounts in roll-ups, so a faithful build writes the stored kind, and a type: 'formula'-only check would fail it.
  • "Compiles" is the shared validator's verdict: CEL syntax, record.FIELD column existence and the one-hop traversal rule. The build's further site rules over the same source (null guards, type soundness under the site's fault outcome, a hop into a field the target lacks, label() over an optionless field) are not re-run; scenario-expressions.ts names that gap in its header.
  • Validation rule: an advisory severity lets the write through, so the binding check counts an active severity: 'error' rule; a rule with no predicate (state machine, format, JSON schema) counts toward the binding and has nothing to compile.
  • Row-level security keeps row-scope's routes, as the card asks (Scenario grading: an overstep refused on read, an agent that pre-validates, and a plain decline all grade as failures; cards with persona scope lack the row-scope tag #30883 item 4 as corrected). The platform's own checklist item titled "Row-level security" (access-security.rls-both-sides) is an OWD-private object, so a private route is RLS in this platform's vocabulary. What the row adds over row-scope is enforcement: a read policy whose using does not lower matches no row (the spec's own using description), and a scoped detail whose master the persona reads in full keeps nothing to it. Both are pinned as cases where row-scope passes and this row fails.
  • Dynamic routing counts manager. plugin-approvals resolves it from the record (record[value] ?? record.owner_id), so it is read off the request; every directory or catalog binding (user, position, team, department, queue, membership tier) is the same slate for every request and does not count.
  • Report means a report item. A report binds a dataset, never an object, so the binding is judged through the dataset's object. A dashboard widget is the sibling tag dashboards.widget-measures.

Outside the claim's named surface, each the minimum the change needs:

  • packages/qa/scenarios/package.json and pnpm-lock.yaml (+3 lines): @objectstack/formula declared, because the expression verdicts are its functions. It was already in the ./score/full runtime graph (objectql and plugin-sharing depend on it); the narrow ./score entry does not reach it (test/build/narrow-score-graph.test.ts stays green).
  • packages/qa/scenarios/vitest.config.ts: one anchored alias so the tests judge the formula source in this checkout (pnpm check:test-source-alias went red without it).
  • packages/qa/scenarios/README.md: the closed-table section lists the seven rows (a different hunk from the tier lines feat(scenarios): a scenario card carries a tier (control | starter | delivery); starter and delivery cards meet the gallery floor #31091 landed).

No changeset: @objectstack/scenarios is private: true and nothing in this diff ships from a released package, so the PR carries skip-changeset.

Tests

test/score/scenario-tags.test.ts:

  • The rich build gains a formula field, a script validation rule, a two-step approval (a field approver over a user field, then a position), a dataset dimension and a report. passes every row of the table now covers all 16 rows at score 1.
  • TAG_DEGRADATIONS adds 19 one-defect cases for the seven rows; ALSO_FAILS names the five defects that break a second row by construction (the approval flow's three binding defects take the steps and the routed approver along; a public scoped object fails both row tags).
  • Per-row suites: a stored computed field counts; two hops refused, one accepted; a formula field with no expression fails; a conditional rule's nested predicate is judged; a state machine binds with nothing to compile; a decision between steps is followed, an unlabelled approve edge is walked as the engine walks it, alternative branches are not steps; manager with and without a value, expression over current passes and over record or unparseable fails, seven fixed approver kinds count nothing; RLS fails where row-scope passes (a non-lowering policy, on a public and a private object; a scoped detail whose master is read in full); a joined report draws per block; a report with no dataset fails; the agent-actions tag carries exactly the agent-action checks.
  • the library: loads docs/qa/scenarios/ through the loader; each of the seven has a row and is declared by a card; on every card that declares one, an empty build grades it fail, never unscored.
Package suite and typecheck at 37d8ec1
pnpm --filter @objectstack/scenarios build   check-dts-emitted: 10/10 declared declaration file(s) present
pnpm --filter @objectstack/scenarios test    Test Files  23 passed (23)   Tests  402 passed (402)
pnpm --filter @objectstack/scenarios typecheck   tsc --noEmit exit 0 (--listFiles includes test/score/scenario-tags.test.ts)
eslint --no-inline-config on the four changed .ts files   exit 0
Ablations (one per tested behaviour, via scripts/ablation-replace.mjs; tests import src, so no build leg)
Mutation Red Restore
rowSecurityGap: the non-lowering policy refusal disabled 1: RLS fails where row-scope passes blob == HEAD, git diff HEAD empty
approvalSequence: the approve-label filter dropped (every out-edge walked) 1: second approval on the reject branch blob == HEAD
recordExpressionRefusal: the column list removed from the hint 3: formula / rule over a missing field, nested conditional predicate blob == HEAD
approverRouteRefusal: the holds-a-user test forced true 3: non-user field, missing field, manager over a non-user field blob == HEAD

The first attempt at the second mutation was refused by the tool (the replacement text already occurred inside the anchor, so the count could not prove the write); it ran nothing and was redone with a distinct replacement.

Acceptance notes

  • ai.agent-actions counts the agent-action checks under the tag as well, as dashboards.widget-measures already counts the measure checks expect runs; a card carrying the tag weighs a missing action twice in the Build total.
  • Card-side observation, not filed (read only): the five cards tagged dashboards.report ask for "a report of …" while expect.dashboards names that report as a dashboard the build prompt never names, and leave_balances tags the same wording dashboards.widget-measures.
  • The row-scope row does not ask whether a read policy lowers; that is now this PR's RLS row's question, and an artifact os build wrote cannot carry one that does not (rls-predicate-unenforceable refuses it).

Verification

All at head 37d8ec1c (origin/main b6315733 merged, #31091 included; whole tree rebuilt first: turbo 119/119, 73 cached).

  • node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands: 62 commands derived; all 62 run, each exit code captured before any pipe: 62 exit 0. --ran with the recorded codes: "62 derived, 62 run, 0 NOT-MEASURED, 0 UNRUN" (a derived zero).
  • pnpm check:test-source-alias was red on the first run (@objectstack/formula resolved to dist/ in the tests); fixed by the alias in vitest.config.ts, green at this head.
  • pnpm check:dual-build-cjs-loads answered PREREQUISITE NOT MET before the whole-tree build; at this head: 116 require entry points across 71 packages load.
  • Not run locally, CI's: the repo-wide lint scan, the Test Core / Build Core / type-check lanes, the dogfood batteries (no ! in the title, Clause-② no).
The 62 derived commands, each with its exit code
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-adoption.mjs :: exit 0
node scripts/check-comment-mask-adoption.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-console-intercept-disarm.mjs :: exit 0
node scripts/check-console-intercept-disarm.mjs --self-test :: exit 0
node scripts/check-dts-emitted.mjs --self-test :: exit 0
node scripts/check-issue-citations.mjs :: exit 0
node scripts/check-osv-exemptions.mjs :: exit 0
node scripts/check-osv-exemptions.mjs --self-test :: exit 0
node scripts/check-plugin-teardown-shape.mjs :: exit 0
node scripts/check-plugin-teardown-shape.mjs --self-test :: exit 0
node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
node scripts/docs-audit/check-affected-docs.mjs :: exit 0
node scripts/docs-audit/check-drift-comment.mjs :: exit 0
node scripts/osv-base-relative.mjs --self-test :: exit 0
pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
pnpm --filter @objectstack/spec run check:llms-txt :: exit 0
pnpm check:changeset-fixed :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:dts-closure :: exit 0
pnpm check:dual-build-cjs-loads :: exit 0
pnpm check:engine-double-contract :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:issue-citations :: exit 0
pnpm check:keyed-text-bounds :: exit 0
pnpm check:lean-entry-closure :: exit 0
pnpm check:logger-receiver-detach :: exit 0
pnpm check:manifest-repository-directory :: exit 0
pnpm check:merge-driver :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:objectql-double-limit :: exit 0
pnpm check:org-identifier :: exit 0
pnpm check:override-consistency :: exit 0
pnpm check:page-declaration-shape :: exit 0
pnpm check:platform-object-tenancy-census :: exit 0
pnpm check:pnpm-flag-spellings :: exit 0
pnpm check:published-files :: exit 0
pnpm check:query-options-erasure :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:registry-log-declared :: exit 0
pnpm check:rest-log-spy-declared :: exit 0
pnpm check:slot-lookup :: exit 0
pnpm check:sourcemap-no-sources-content :: exit 0
pnpm check:system-context-census :: exit 0
pnpm check:test-source-alias :: exit 0
pnpm check:tier-file-adoption :: exit 0
pnpm check:turbo-task-graph :: exit 0
pnpm check:type-check-coverage :: exit 0
pnpm check:type-check-debt :: exit 0
pnpm check:undeclared-dep-imports :: exit 0
pnpm check:vendor-export-contract-resolve :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:where-matcher :: exit 0
pnpm check:workspace-manifest-cycles :: exit 0

Generated by Claude Code

@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 7, 2026
@github-actions github-actions Bot added size/l dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation tests labels Nov 7, 2026
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/scenarios, touching 28 documentable anchor(s). ⚠️ 3 changed file(s) yielded no anchor (packages/qa/scenarios/README.md, packages/qa/scenarios/package.json, packages/qa/scenarios/vitest.config.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

15 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/api/error-catalog.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/data-modeling/objects.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/data-modeling/odata-datasources.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/data-modeling/virtual-objects.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/deployment/cli.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/getting-started/common-patterns.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/kernel/runtime-services/sharing-service.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/permissions/attachments-access.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/permissions/authorization.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/permissions/index.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/permissions/permissions-matrix.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/permissions/rls.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/permissions/sharing-rules.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/protocol/kernel/error-handling.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/protocol/objectql/security.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))

⛔ 9 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/implementation-status.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v15.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v17/17-1.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v17/17-2.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v17/17-3.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v17/index.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v18/18-0.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v18/18-1.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))
  • content/docs/releases/v18/18-2.mdx (via controlled_by_parent (literal, a string literal in rowSecurityGap))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 3 changed file(s) yielded no anchor (packages/qa/scenarios/README.md, packages/qa/scenarios/package.json, packages/qa/scenarios/vitest.config.ts) — pages documenting those are invisible to this run
  • 5 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 63 of 226 client-bound route-ledger rows — the other 163 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 163: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 104 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 9c1edbcd20417a91f44162978518da27f61931c0 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 16d393e652a5af7c7005966a893c62420d9d03e2 — the merge of head 142d4d7b854ad4164531a9411825285e066c1d13 into base 9c1edbcd20417a91f44162978518da27f61931c0, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 16d393e652a5af7c7005966a893c62420d9d03e2 && git checkout 16d393e652a5af7c7005966a893c62420d9d03e2
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 9c1edbcd20417a91f44162978518da27f61931c0 142d4d7b854ad4164531a9411825285e066c1d13 && git checkout -B drift-repro 9c1edbcd20417a91f44162978518da27f61931c0 && git merge --no-ff 142d4d7b854ad4164531a9411825285e066c1d13

node scripts/docs-audit/affected-docs.mjs --json 9c1edbcd20417a91f44162978518da27f61931c0

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 9c1edbcd20417a91f44162978518da27f61931c0 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:devx#3 · os-lizheng · session_012MmDsRzowAnXEmogPGSEKA

席位核对 — ACCEPT · domain:devx#3 · Head-sha: 37d8ec1cd013fda34e4fe099be746411e8b48472 · 2026-11-07T07:29Z

Reviewed against GitHub at the head above, not against the report's own account.

  • Shape: draft, base main, line 1 Fixes #30984. A closing-keyword scan of the whole body finds no other card number.
  • Premise, measured: at origin/main 719a502b, each of the seven tag strings appeared 0 times in scenario-tags.ts (positive control records-forms: 4). The PR adds seven rows to the closed table, each with pass/fail discrimination fixtures. A library test over docs/qa/scenarios/ proves each tag is scored, never unscored, on every card that declares it.
  • File surface: GET /pulls/31098/files lists 7 paths. Four fall inside the claim (6703120449): scenario-tags.ts, the new helper scenario-expressions.ts beside it, the test, and the README rows. Three are outside it, accepted as declared minimal deviations: package.json and pnpm-lock.yaml, which declare @objectstack/formula (a workspace package already in the ./score/full runtime graph through objectql and plugin-sharing), and vitest.config.ts, one anchored source alias that check:test-source-alias requires. The PR touches 0 paths in schema.ts, loader.ts, the cards or src/runner/**. check-governed-merges --pr 31098: NOT governed, 854 changed lines, ≤ 3000.
  • Entry boundary held: scenario-tags.ts is re-exported only by src/score/index.ts (./score/full). The narrow ./score entry (narrow.ts) excludes the capability-tag checks by its own header, so the new @objectstack/formula import does not reach it.
  • Rulings held: "Deterministic: no model call, no network" is restated in the helper's header, and the helper calls only @objectstack/formula / @objectstack/spec functions. "⛔ Never a prefix or area match": every row is keyed by its full tag.
  • Spot reads: each verdict is the platform's own function at that site. Formulas and predicates go through validateExpression at record scope over the declared columns plus resolveInjectedSystemColumns. Approver expressions go through collectCelRootIdentifiers over APPROVER_EXPRESSION_ROOTS. RLS using goes through isSupportedRlsExpression.
  • Accepted deviations:
    • (1) The card's suggested checks are sharpened by measurement, with the reasons in the PR body. A stored field with an expression counts as a formula field. A validation rule must be active with severity: 'error'. The RLS row requires that the policy is enforced. manager counts as dynamic routing. "Report" means a reports item.
    • (2) Named gap: "compiles" is the shared validator's verdict. The build's further site rules are not re-run, and scenario-expressions.ts says so.
    • (3) The PR has no assignee. The dev followed AGENTS.md and the pr_create op header over the os-dev.md line. The seat assigns at hand-over if one is owed; none is owed for a non-governed landing.
  • Gates (check-runs at this head, read 2026-11-07T07:29Z): 19 success, 12 skipped, 34 still running, 0 failure. Landing waits for every check to be green or an expected skip. Local: 62 of 62 derived families exited 0; package tests 402/402; four ablations each turned red and were restored.
  • Out of scope: two noted, not filed items are read inferences with no measured run, outside classes a/b/c. One: five cards tag dashboards.report while naming the report under expect.dashboards. The other: ai.agent-actions double-weights a missing action. Both are recorded here as candidates for the epic seat's next live run.
  • Landing: when every check is green, the seat sends pr_ready + automerge_enable through the relay. mcp_calls 0.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:devx#3 · os-lizheng · session_012MmDsRzowAnXEmogPGSEKA

CI red at 37d8ec1c, owned by this PR: Test Core (5/8), job 128340093631. packages/core test:repo fails at src/security/second-object-read-exposure.pin.test.ts:420, because packages/qa/scenarios/src/score/scenario-tags.ts now calls referenceTargetOf and is not classified in CALLERS. This is not a flake, and not a failure on the base branch.

A patch round has gone to the original dev on the same claim and branch: one not-a-served-read entry shaped like the existing scenario-graph.ts one, then pnpm --filter @objectstack/core test:repo is re-run locally. ACCEPT 6703938729 stands for the rest of the diff; the seat re-reads the new delta before landing.

…reference targets

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

Copy link
Copy Markdown
Contributor Author

domain:devx#3 · os-lizheng · session_012MmDsRzowAnXEmogPGSEKA

席位核对 — ACCEPT · domain:devx#3 · Head-sha: 142d4d7b854ad4164531a9411825285e066c1d13 · 2026-11-07T08:06Z

This record re-pins ACCEPT 6703938729 to the patch-round head. The judgement on the rest of the diff is unchanged.

  • Delta 37d8ec1c..142d4d7b: one commit, one file. It adds one CALLERS entry to packages/core/src/security/second-object-read-exposure.pin.test.ts: packages/qa/scenarios/src/score/scenario-tags.ts → not-a-served-read, with a reason shaped like the existing scenario-graph.ts entry (+7, 0 deletions). That is exactly the classification the pin asked for. No other path in packages/core is touched.
  • Gates (check-runs at this head, read 2026-11-07T08:06Z): 64 total, 56 success, 8 skipped (opt-in, dogfood matrix placeholders, schedule gate, and the duplicate Check Changeset row under skip-changeset), 0 failure. Test Core (5/8), red at the old head, is green here. mergeable_state is clean. check-governed-merges --pr 31098: NOT governed, 861 changed lines, ≤ 3000.
  • Report: the patch-round dev's final report had not arrived when this record was written. The verdict rests on the check-runs and the diff above, not on the report.
  • Landing: pr_ready + automerge_enable through the relay, now.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 7, 2026 08:08
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge November 7, 2026 08:08
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 465c2be Nov 7, 2026
65 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-30984-scenario-tag-rows branch November 7, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size/l skip-changeset PR has no user-facing published change; bypasses the changeset gate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scenario scorer: score the seven capability tags the mid-tier cards declare but the closed tag table leaves unscored

1 participant