Repository navigation
feat(spec)!: the AI-door confirmation rule binds every AI door, the in-app assistant included - #34001
Conversation
…door Rule 1 of the confirmation contract now covers every AI door that starts a declared-gated action, the in-app assistant included. A new section states the in-app door's own channel (pending-approval card and inbox, not offered when unwired) and its three points: only the person the call ran as decides, only on a signed-in session, and the approved action runs as that person with every gate re-checked. The IAIService pending-action members carry the same points; their signatures do not change. Pins follow the new sentences. Claude-Session: https://claude.ai/code/session_01ADHkmSVGxoq1nRCWLaMKPd Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 1 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 173 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 591a5b74d787473417152b3d9eab376bbea34d30 && git checkout 591a5b74d787473417152b3d9eab376bbea34d30
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin e71ecc1b32cca6a8c56ae1d949c0b9100465475e 9a9adad009b29127e6f551fc959a06adedf0fdf0 && git checkout -B drift-repro e71ecc1b32cca6a8c56ae1d949c0b9100465475e && git merge --no-ff 9a9adad009b29127e6f551fc959a06adedf0fdf0
node scripts/docs-audit/affected-docs.mjs --json e71ecc1b32cca6a8c56ae1d949c0b9100465475e
|
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract-review-claim: session_01ADHkmQjrEpxMVxEiDUJHqC · head 10b5d04 · 2026-11-15T15:47Z |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract reviewServed-tier: Inputs read: card #33808 (body and all four comments), ruling record 6893484458 on #33689, PR #34001 (body, file list, net diff against Check-runs at reading time. Completed, success: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint · PM dispatch-gates, Lint · scoped · tooling self-tests, PR-body guards, Spec property liveness, Dogfood Regression Gate, Flag docs affected by code changes, Auto Label, filter, Plan Test Core shards, Plan Test UI shards. STILL IN PROGRESS, so no verdict from them: Build Core, Build UI Deps, Test Core 1/8 to 8/8 (the shards that run the two pin files), Type Check (workspace, source gates, consumer gates, debt ledger), Lint · ESLint, Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates (carries the ADR-0087 registration gate), Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Live E2E UI. No failed run. The rest are skipped. ① Derived judgments
② Semver level
M1 (must-fix) — the ③ Boundary flags
④ Design judgment
Holds:
Findings: S1 (should-fix) — the scope of the three points is stated two ways. Rule 1 limits the contract to the DECLARED flag, "never the listing heuristic", and the in-app section sits under that rule. The member docblocks bind every item: N1 (nit) —
The changeset and the PR body's prose are not reviewed beyond ② and the declaration lines. Implemented-by: VERDICT: FAIL |
…y queued item The in-app door's three points bind every item in its pending queue, whichever trigger queued it: a row does not record why it was queued and the queue has one decider rule. Pinned beside a control that rule 1 keeps the declared-flag predicate for the MCP doors. The changeset now declares the narrowing, carries the BREAKING-when-implemented banner, and registers the new semantic migration entry in-app-pending-action-decided-by-person so the upgrade guide and os migrate meta carry the notice. Claude-Session: https://claude.ai/code/session_01ADHkmSVGxoq1nRCWLaMKPd Co-authored-by: Claude <noreply@anthropic.com>
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract-review-claim: session_01ADHkmQjrEpxMVxEiDUJHqC · head b091e45 · 2026-11-15T16:39Z |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract reviewServed-tier: Read: round-1 record 6897177404 in full; the seat's corrected claim 6897186176 on card #33808 ( Check-runs on ① Derived judgments
② Semver level
M1 (must-fix, carried from round 1, fixed in the changeset only) — the PR body and title still carry the round-1 declaration. As read now:
③ Boundary flags
④ Design judgment
S1: FIXED. The section now says, directly after the three points: "The three points bind EVERY item in the in-app queue, whichever trigger queued it: an action declaring Nothing new is wrong in the contract text. One observation, not a finding: with every item bound, "not offered when unwired" still speaks of a declared-gated action only, which is correct, since ADR-0011's table decides the heuristic rows and this section does not restate them.
Round-1 nits N1 to N3 are untouched by the delta and stay as follow-ups. Result of the delta: S1 fixed and pinned. M1 fixed in the changeset, the registration and the claim; NOT fixed in the PR title and body, which still declare Implemented-by: VERDICT: FAIL |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract-review-claim: session_01ADHkmQjrEpxMVxEiDUJHqC · head 7af536e · 2026-11-15T17:20Z |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract reviewServed-tier: Read: round-2 record 6897827483 in full; PR #34001 title, body, draft state, labels, head and base as of Check-runs on ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
N4 (nit, PR body only): the Verification heading "Final head b091e45" and the gates heading "derived gates at b091e45 … (merge base 895783a)" are true as run records and stale as head labels. One line would make them exact, for example: "Figures taken at b091e45. Head is now 7af536e, a merge of main only; the PR's diff is byte-identical (same five blobs)." N1 to N3 from round 1 stay as the body's listed follow-ups. Result: the merge commit is content-neutral for this PR (identical diff, identical blobs, empty remerge diff). Main brought nothing into Implemented-by: VERDICT: PASS |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract-review-claim: session_01ADHkmQjrEpxMVxEiDUJHqC · head 9a9adad · 2026-11-15T17:26Z |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Contract reviewServed-tier: Read: round-3 record 6898359414 in full; PR #34001 title, body, draft state, labels, head and base as of Check-runs on ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
N1 to N3 from round 1 stay as the body's listed follow-ups. No new nit. Result: the merge is content-neutral for this PR (one merge commit, empty remerge diff, identical three-dot diff, identical five blobs). Main brought nothing into Implemented-by: VERDICT: PASS |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC ACCEPT · PR #34001 (#33808) · head
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43744184060 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43747954544 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43754681198 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC Requeue · PR #34001 · head
|
…y its read action does not declare, as connector_action does (objectstack-ai#34089) <!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbTGhxJSYAmQXU7efVdNqrpw)_ Fixes objectstack-ai#33894 Clause-②: no (narrowing) — a mapping whose `connectorSource.input`, or the watermark parameter the pull adds to its `query`, carries a key the read action's `inputSchema` does not declare used to pull and send that key to the provider; the pull now fails before the call with `VALIDATION_ERROR`. Nothing published widens: no export, no key, no option is added. First-party mappings affected: 0 (no `connectorSource` under `examples/` or `packages/apps/`). Metadata-protocol: narrowed Skills-docs: none — `git grep -i 'connectorSource|watermark' -- skills/` has 0 hits: no published skill teaches the connector pull door's input ## 维护者速读 - 改了什么:映射的连接器拉取入口(`connectorSource.input`)也像 `connector_action` 节点一样,拒收读取动作 `inputSchema` 未声明的输入键,包括拉取入口自己加进 `query` 的水位参数(如 `since`);拒绝时报 `VALIDATION_ERROR`,点名该键和修法,不调用外部服务、不写入。 - 为什么改:维护者裁决 6896271476「多余参数直接报错」:凡是调用连接器动作的入口,对输入一视同仁;以后新入口直接继承,不再回来要裁决。 - 风险与回滚:收窄。定时拉取没有 fault 边,带多余键的映射每次运行都失败(`sys_sync_run` 记 failed),直到映射或 OpenAPI 文档修好;水位参数只在目标已有值后才发送,所以首拉成功、第二次起失败。第一方受影响 0 处;rest 连接器的 `query` 是开放的,不受影响。回滚 = revert 本 PR。 - 先看:`packages/services/service-automation/src/connector-pull.ts` 的判定段(打开 `refuseUndeclaredKeys`,以及单独判定水位参数以便在拒绝句里点名它);`connector-pull-undeclared-input-key.test.ts`;changeset 的迁移说明。 - 两分钟验证:`pnpm --filter @objectstack/service-automation exec vitest run src/connector-pull-undeclared-input-key.test.ts src/connector-pull.test.ts`,预期全部通过(新文件 6 个用例,翻转后的拒绝 pin 在 `connector-pull.test.ts`)。 - 需要你做的:无,席位落地(合同档复核由区域安排)。 ## What changes - `packages/services/service-automation/src/connector-pull.ts`: the pull door judges the input it is about to send with `judgeConnectorInput(..., { refuseUndeclaredKeys: true })`, as `connector_action` does (ruling 6896271476: every door that dispatches a connector action judges its input alike). The refusal keeps its `VALIDATION_ERROR` 400 `input_schema_mismatch` envelope and appends the pull door's own hint: remove the key from `connectorSource.input` or declare it in the action (for `openapi`, in the OpenAPI document). When the undeclared key is the watermark parameter the door added itself (judged alone against the schema, so the sentence never blames the watermark for an author's key), the refusal names it and says to declare it as an `in: query` parameter of the operation. - `connector-pull.test.ts`: the pin `[objectstack-ai#33553] an undeclared key is not refused here` (formerly 385-398) is flipped in place to a refusal pin: `code` + `status` + `reason`, both undeclared keys named, handler never called, nothing written. - New `connector-pull-undeclared-input-key.test.ts` (named by the card): the door-added watermark key. An openapi-shaped operation that lists only `query.limit`, and one that emits no `query` section, both refuse `since` naming it and the OpenAPI fix; an author's stray key with the watermark declared does not mention the watermark. Controls: the declared watermark is sent; the first pull (nothing stored) sends no watermark and is not refused; a `rest` connector's open `query` takes the watermark as before. - `packages/spec/src/data/mapping.zod.ts` (`connectorSource.input` describe) and the generated `content/docs/references/data/mapping.mdx`: input is judged before the call; an undeclared key is refused, the watermark parameter included. - New semantic migration entry `18.connector-pull-undeclared-input-key-refused` (entry 18 `connector-action-undeclared-input-key-refused`, shipped in 18.5.0, is not touched). - `content/docs/automation/jobs.mdx`: the `connectorSource` run bullet says the input is judged, names the watermark parameter and the OpenAPI fix, and that a scheduled run has no `fault` edge, so the refusal fails every run until fixed. - BREAKING changeset (`minor` on `@objectstack/service-automation` and `@objectstack/spec`) with the ADR-0087 marker and the FROM → TO migration. **For the sync-in owner (ADR-0153 D2, Proposed):** when the pull door starts sending paging parameters (`connectorSource.paging`), they are judged by this same rule, so the design now presumes the read action declares them; a paging parameter an `openapi` operation does not list will be refused like the watermark. ## Tests <details><summary>Touched-package suites and typecheck (head before the last main merge; re-run touched files on the final head where noted)</summary> - `pnpm --filter @objectstack/service-automation test`: Test Files 283 passed (283), Tests 4003 passed (4003). - `pnpm --filter @objectstack/service-automation typecheck` (tsc + check:test-typecheck): exit 0 after typing the new file's handler (first run named TS2493 in the new file, fixed). - `pnpm --filter @objectstack/spec test`: Test Files 842 passed (842), Tests 26961 passed, 1 todo; `pnpm --filter @objectstack/spec typecheck`: exit 0. - `pnpm --filter @objectstack/spec check:generated`: 1 of 14 stale (`check:docs`), regenerated with `--fix`, committed. - The four connector-pull files (unit, new file, integration through the real `rest` connector, service door): 64 passed. </details> <details><summary>Ablations (each red, then restored with blob == HEAD and git diff HEAD empty)</summary> - A, drop `{ refuseUndeclaredKeys: true }` from the door's judge: 4 failed (the flipped pin and three new-file pins), "the pull must refuse, not resolve: expected undefined to be an instance of ConnectorPullError". - B, never name the watermark (`addedUndeclared = false`): 2 failed, "expected ... to contain 'watermark parameter 'since''". - C, make the watermark probe always undeclared: 1 failed, "expected ... not to contain 'watermark parameter'". </details> ## Acceptance notes - First pull edge: the watermark parameter is sent only once the target holds a value, so a mapping whose operation does not declare it pulls once and fails from the second run on. The changeset, the migration entry and the refusal say so; judging it on the first pull too would be a further narrowing not in the ruling. - `connector-input-schema.ts`'s header and `ConnectorInputJudgeOptions.refuseUndeclaredKeys` doc name only the `connector_action` node as the door that opts in; they stay true but incomplete (outside the claim's file surface, left untouched). - `packages/spec/docs/SYNC_ARCHITECTURE.md` says the pull judges required parameters and types "as a `connector_action` flow node's is"; it does not list the undeclared-key refusal (outside the claim's file surface). - The 18.5.0 changeset for the node half ends "The connector pull door (`connectorSource.input`) is unchanged."; released text, true when shipped, superseded by this changeset; not edited here. ## Verification - Hot-file rule: no open PR shares a file with this branch (59 open PRs' file lists read). `git merge-tree --write-tree --name-only` against origin/main and the two PRs that add sibling files in `entries/semantic/` (objectstack-ai#33970, objectstack-ai#34001): exit 0, no conflicted paths. - Dogfood battery and the derived gate subset: see the report comment on the card. --- _Generated by [Claude Code](https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
Requested by Steve · project thread
Fixes #33808
Clause-②: no (narrowing)
Metadata-protocol: semantic
维护者速读
ai-service.ts)写明:规则对所有 AI 入口生效,包括应用内助手;应用内助手保留自己的确认卡和收件箱,并写明三点:只有本人能同意、只认登录状态、同意后按本人权限重查再执行。IAIService的三个待批成员的注释同步写明这三点,签名不变。packages/spec/src/contracts/ai-service.ts新增的「The in-app assistant door」一节(三点、对队列里每一项都生效、未接通则不提供该动作);.changeset/33808-ai-door-confirmation-in-app.md的 BREAKING 说明与 FROM/TO;新迁移条目18.in-app-pending-action-decided-by-person.ts。pnpm --filter @objectstack/spec exec vitest run src/contracts/action-confirmation-contract.pin.test.ts src/contracts/ai-service.test.ts,预期 46 个测试全绿(换回 main 的契约文字时新增的 4 个转红)。What changes
packages/spec/src/contracts/ai-service.ts, contract text only; no export, type or signature moves.AI_ACTION_CONFIRMATION_CAPABILITY) now covers EVERY AI door that starts an action declaringai.requiresConfirmation: true: the MCPrun_actionandresume_runtools and the in-app assistant's action tools (ADR-0011's actions-as-tools runtime). Rules 2 to 4 are named as the MCP doors' channel; rules 5 and 6 bind the in-app door as written.IAIService(inline pending-approval card plus inbox, the tool answerspending_approval); when that channel is not wired it does not offer a declared-gated action as a tool at all. Its three points:ai:approveor any other permission does not let another user decide; a second approver uses the existingheldoutcome (the approvals engine).failed.Neither the model's own confirmation nor the caller's
confirmcounts.held. Rule 1's reach for the MCP doors is unchanged (the declared flag alone).IActionConfirmationServicestay two seams (merging them was not ruled; Contract: merge the in-app pending-action queue into the AI-door confirmation seam (#33689 Q1, option C deferred) #33806).ai:approveholder decides, the routes take whatever credential they authenticate, an approved item goes through ADR-0011's pre-registered dispatcher), beside the MCP doors' existing one.IAIService.proposePendingAction/approvePendingAction/rejectPendingActionstay, signatures unchanged; each docblock now states the points that bind it (approvePendingAction:actorIdmust be the row'sproposed_by, the calling door admits only a signed-in session, the re-dispatch runs as that person with every gate re-checked, a second approver usesheld).proposePendingActionalso namesai.requiresConfirmation: trueas a queueing trigger, as ADR-0011's table already does..changeset/33808-ai-door-confirmation-in-app.md(review M1):feat(spec)!:,Clause-②: no (narrowing)(nothing widens),Metadata-protocol: semantic,@objectstack/specminor, the BREAKING-when-implemented banner and the ADR-0087 markerregistered in-app-pending-action-decided-by-person, matching the Contract: a confirmation-required action on an AI door is confirmed by a human through MCP elicitation, never by the caller's own confirm: true #33689 changeset for the same contract.packages/spec/src/migrations/entries/semantic/18.in-app-pending-action-decided-by-person.ts: the new semantic entry that marker names, written conditionally likeaction-requires-confirmation-elicited, so the upgrade guide andos migrate metacarry the notice.check:generated --fixbuiltpackages/specitself and answered "All 14 generated artifacts are up to date"; the registry is written at build time and git-ignored.Not here, by the card:
docs/adr/**(ADR-0011's amendment note already says the three changes land through #33808), the cloud approve and reject routes (#33809), the seam merge (#33806), the runtime and MCP switch (the implementing card).Why
#33689 Q1 was ruled B: 「新规则对所有 AI 入口生效:只有本人、在登录状态下能同意,同意后按本人权限重查再执行。应用内确认卡保留,管理员代批改走暂挂审批。」 Until the contract says so, the in-app door is a side path around a declared confirmation gate.
First-party exposure of the narrowing (read only, at merge base 895783a)
The narrowing lands with the implementing change; nothing below moves in this PR.
ui/appsandui/packagesname the pending-action seam (git grep -l -E 'pending-actions|PendingActions|usePendingActions|useHitlInChat|AiPendingAction', CHANGELOGs and locale bundles excluded). The card's count of 21 used a different pattern; this one is reproducible. Two of them DECIDE:ui/packages/plugin-chatbot/src/usePendingActions.ts(approve :385, reject :396) andui/packages/plugin-chatbot/src/useHitlInChat.ts(:223-231). Both POST withcredentials: 'include'(the session cookie) and merge caller-suppliedheaders, documented as possibly carryingAuthorization. Exposed once enforced: an inbox operator deciding another user's item is refused, and a host that authenticates the inbox by bearer only is refused.client.ai.pendingActions.approve/reject(packages/client/src/index.ts:7744-7765); its docblock says deciding takesai:approve. An SDK caller on an API key or token is refused once enforced. Docs mirror:content/docs/api/client-sdk.mdx:418-426.examples/app-todo/src/actions/task.actions.ts:143-153 mentions the queue in comments; zero decision call sites.skills/objectstack-ai/SKILL.md:163-166 says "an operator approves or rejects in Studio's AI Pending Actions inbox (or viaGET/POST /api/v1/ai/pending-actions/...)" (the changeset'sSkills-docs:line).Tests
packages/spec/src/contracts/action-confirmation-contract.pin.test.ts: "the rule binds EVERY AI door, the in-app assistant included, through its own channel" (rule 1's new reach with the MCP-only reading as a negative control, the section heading, not-offered-when-unwired, the three points, the every-queued-item sentence with rule 1's declared-flag predicate as its control, the model's own confirmation, two seams, the in-app FROM half). The amended describe's header names it.packages/spec/src/contracts/ai-service.test.ts: a top-level describe pinning the three members' docblocks (oneitper member), plus a control thatlistPendingActionscarries none of the deciding points, so the docblock reader is shown not to answer every member alike.ai-service.tsset to main's 895783a text, the four new member/section tests went red (Tests 4 failed | 36 passed (40), lock VERDICT command-exit 1) and thelistPendingActionscontrol and every pre-existing test stayed green; restored withgit checkout HEAD --, hash equal to HEAD's blob,git diff HEADempty.Acceptance notes
Follow-ups (from contract review 6897177404)
proposedBy);ProposePendingActionInput.proposedBystays optional in this PR (review flag 1, option A).approvePendingAction'sfailedmeans an approved item whose execution failed, so a refusal of another user (and onrejectPendingActionlikewise) has to be a throw; the docblocks could say so.pending, since only that person may reject it. The hand-off text leaves lapse to the host in words; the in-app text could say the same.proposePendingAction's sentence still lists "hasconfirmText" as a danger signal, whileskills/objectstack-ai/SKILL.md:153 saysconfirmTextis dialog copy and not a destructive signal. Older than this PR and outside the card.Verification
Head is now 9a9adad: a merge of
mainonly (e71ecc1, viascripts/pm/os-regen-merge.sh, no rebase, no force-push), made under the seat's K ≥ 15 landing rule becausemainhad moved 15+ commits past the merge base. The figures below were taken at b091e45 (round 1 on top of 10b5d04), on a worktree build of@objectstack/specfrom that head. The PR's own diff is byte-identical:git diff b091e451 9a9adad0over the five PR files is empty, andorigin/main...9a9adad0is still those five files, +294/−8.At the previous merge head 7af536e (main b4ce310, same diff) the readings were: a full
pnpm buildexit 0;@objectstack/spectest exit 0 withTest Files 842 passed (842),Tests 26966 passed | 1 todo; spec typecheck exit 0; the same 88 derived gates all exit 0; and every CI check green or skipped.spec package
pnpm --filter @objectstack/spec build: exit 0.pnpm --filter @objectstack/spec test: exit 0,Test Files 842 passed (842),Tests 26961 passed | 1 todo (26962).pnpm --filter @objectstack/spec typecheck: exit 0.pnpm --filter @objectstack/spec check:generated --fix(it rebuilds spec first): exit 0, "All 14 generated artifacts are up to date", nothing written. A firstcheck:generatedon this head readcheck:docsstale while the gate sweep was regenerating the git-ignoredjson-schema/tree beside it in the same worktree; the standalonecheck:docsgate and the--fixrun that builds its own input both answer clean, andgit statusstayed empty.packages/spec/src/migrations/migrations.test.ts(reads the semantic entries directory, so it reads the new entry) with the two pin files, at b091e45:Test Files 3 passed (3),Tests 198 passed (198), lock VERDICT command-exit 0.it, beside rule 1's declared-flag predicate as their control.dogfood battery (Clause-② now carries the narrowing arm)
pnpm --filter @objectstack/dogfood testunder the lock after a full build of its closure · VERDICT command-exit 0 ·Test Files 467 passed | 3 skipped (470)·Tests 3959 passed | 42 skipped (4001)· no failure.consumers
ui/packages/plugin-chatbot/src/__tests__/spec-symbol-batch6.test.ts(importsPendingActionRow/PendingActionStatusfrom the spec contract), run from the ui root at 10b5d04:Test Files 1 passed (1),Tests 22 passed (22); round 1 moves no type.packages/mcp/src/plugin.tsandpackages/runtime/src/domains/ai.tsimportIAIServicefor chat and the tool registry only; no test in either imports the pending members or these pins, and no type moved.derived gates at b091e45: 88 derived, 88 run, all exit 0 (dispatch-gates --ran: 0 NOT-MEASURED, 0 UNRUN)
Derived with
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack(merge base 895783a, 5 paths). Round 1's migration entry addscheck:spec-changes,check:upgrade-guide,check:role-wordandcheck:settings-bind-windowto round 0's 84.check:type-check-debtfirst answered exit 3 (its build queued behind the dogfood hold and timed out, nothing measured) and was re-run under the lock: exit 0, 0 raw tsc errors, none above its recorded number.