Repository navigation
feat(mcp): bound read_file PDF and Word extraction with a CPU-time budget and a concurrency cap - #31848
Conversation
…and a concurrency cap (WIP) Claude-Session: https://claude.ai/code/session_01ADHkmRXBnCezvSh9d2LLK6 Co-authored-by: Claude <noreply@anthropic.com>
… variables Claude-Session: https://claude.ai/code/session_01ADHkmRXBnCezvSh9d2LLK6 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRXBnCezvSh9d2LLK6 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmRXBnCezvSh9d2LLK6 Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 14 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 5 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 12 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 430f835af1c33b97fda8e02228d4206841357f35 && git checkout 430f835af1c33b97fda8e02228d4206841357f35
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 3487ccc12a6ad00dc75450f3f8b29a8a0630701d 645f4183ae460c1cddfb82cfc2b290ebd72c2699 && git checkout -B drift-repro 3487ccc12a6ad00dc75450f3f8b29a8a0630701d && git merge --no-ff 645f4183ae460c1cddfb82cfc2b290ebd72c2699
node scripts/docs-audit/affected-docs.mjs --json 3487ccc12a6ad00dc75450f3f8b29a8a0630701d
|
|
domain:server#2 · os-steve · session_01ADHkmQKZzp4DLtqiCkZZRM Contract reviewServed-tier: Inputs: card #31826 (body, the seat's delta, and ruling 6708423049 on #31100), PR #31848 body and file list, and the net diff of ① Derived judgments
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS |
|
domain:server#2 · os-steve · session_01ADHkmQKZzp4DLtqiCkZZRM 维护者速读
席位核对 — ACCEPT · domain:server#2 · Head-sha
|
…stry carries a native data tool name (objectstack-ai#31873) <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9VBGAc66DtZYVbM24V9d2t2)_ Fixes objectstack-ai#31836 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:MCP 长连接服务器(stdio)上,AI 工具注册表和原生数据工具同名时只留原生数据工具,另一边跳过并记一行 debug 日志。 - 为什么改:企业版打开 stdio 后启动失败("Tool list_objects is already registered"),整个 MCP 插件回滚。 - 风险与回滚:只影响同名工具;不同名的注册表工具照旧桥接。HTTP 本来就只给原生工具,两边现在一致。回滚即撤本 PR。 - 先看:`packages/mcp/src/mcp-server-runtime.ts` 的 `yieldBridgedTool` 与 `bridgeDataTools`;`packages/mcp/src/mcp-stdio-tools.test.ts` 新增的 objectstack-ai#31836 用例。 - 两分钟验证:`pnpm --filter @objectstack/mcp exec vitest run src/mcp-stdio-tools.test.ts`,预期 18 个全绿,其中 6 个 objectstack-ai#31836 用例在 main 上是红的。 - 需要你做的:无,席位落地。 ## What changes - `MCPServerRuntime` keeps the handles of the AI-registry tools `bridgeTools` registered on the long-lived server, and the names `bridgeDataTools` registered there. - The rule, for a name both sources offer: the native data tool is served, the registry tool of that name is not, and one `debug` line names the tool and the source that was skipped. It sits in the runtime where both registrations meet, so it gives the same answer in either call order: - registry first (the order `MCPServerPlugin.start` uses): each native registration first removes a bridged tool of its name (`yieldBridgedTool`, via the SDK's `RegisteredTool.remove()`); - data tools first: `bridgeTools` skips a name already native. - `bridgeTools`' info line now counts the tools it actually bridged. - `plugin.ts` is unchanged. ## Why A licensed host's AI registry carries `list_objects` and data tools of the same names as the native set. `bridgeDataTools` then hit the SDK's duplicate refusal, and the plugin's boot rolled back. Measurement (step 0, on `origin/main` 31ae944): HTTP `/api/v1/mcp` builds each request's server from `wireBridgeTools(bridge)` plus the host's authoring registry under `metadata:write`; it never bridges the AI `ToolRegistry`. So HTTP has always served the native data tool under these names, and stdio now serves the same one. No tool that a caller could reach before is refused now: on the colliding host stdio never booted, and on a host without a collision nothing changes. That is why `Clause-②: no`. ## Tests New top-level `describe` in `packages/mcp/src/mcp-stdio-tools.test.ts` (real `StdioServerTransport`), plus one case in that file's existing plugin-composition `describe` (the card's repro through `MCPServerPlugin.start`). No existing test edited. - tools/list names each tool once, registry bridged first. - `list_objects` reaches the data bridge and not the registry; exactly two debug lines, naming `list_objects` and `query_records`. - Same answer with the data tools registered first. - Over stdio, the `list_objects` entry equals the one HTTP lists for the same bridge. - CONTROL: a registry tool with no native namesake (`summarize_pipeline`) is still listed and its call reaches the registry. - Plugin boot with an `ai` service whose `toolRegistry` carries the colliding names. ## Acceptance notes - Divergence left as it was (noted here, not filed): HTTP never exposes AI-registry tools at all, while stdio exposes those with no native namesake. This card only settles names both offer. - A plugin's own tools registered on `mcp:ready` still meet the SDK's duplicate refusal; this rule covers only the registry bridge and the native data tools. ## Verification Head: 0b9e56b (fix commit ed8186f; merge of `origin/main` 2e9121e after objectstack-ai#31848 landed as ce22396; then 0b9e56b moves the new log helper above the class's doc comment, a comment-position change only). <details><summary>Red on main, green on the fix</summary> On 31ae944, with the new pins only: `Tests 6 failed | 12 passed (18)`, each `Error: Tool list_objects is already registered`. With the fix: `Tests 18 passed (18)`. </details> <details><summary>Ablations (scripts/ablation-replace.mjs, restored blob == HEAD, git diff HEAD empty)</summary> - `yieldBridgedTool` made to return before removing (the skip dropped, plugin order): 5 failed, each `Tool list_objects is already registered`; the data-tools-first case stays green, as expected. - `bridgeTools`' native-name skip disabled: 1 failed (`gives the same answer when the data tools register first`), same error. </details> <details><summary>Package and gates</summary> - `pnpm --filter @objectstack/mcp test`: 62 files, 994 tests passed on 0b9e56b (985 before the merge). `pnpm --filter @objectstack/mcp typecheck` (tsc + check:test-typecheck): exit 0. - `eslint --no-inline-config` on both touched source files: exit 0 (the package has no `lint` script). - `node scripts/pm/dispatch-gates.mjs --commands`: 64 families, run on 0b9e56b and before that on ce22396; all 64 exit 0 on both, `--ran` reconciled: "64 run, 0 NOT-MEASURED". On the pre-merge head ed8186f the same 64 ran with `check:dual-build-cjs-loads` NOT MEASURED (exit 3, no full build then). </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmSheMCfRrgSamoMm75)_ <!-- signed: domain:server#2 · os-steve · session_01ADHkmQKZzp4DLtqiCkZZRM --> --------- Co-authored-by: Claude <noreply@anthropic.com>
… and record-mode currency since 18.3.0 (objectstack-ai#32259) <!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBNP69gnL1YUb368kmLct4Bn)_ Fixes objectstack-ai#32020 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:给 18.4.0 发布测试台账补上 18.3.0 之后落地的三块能力的测试项:回收站(删除后撤销、恢复、清空、Setup 页面)、多币种记录模式金额(本币预览、Studio 本币字段编辑器、改指向货币字段时的 409 拒绝),以及 Redis 多副本部署的启动拒绝和运行期行为。共新增 16 条,并修正一条发票多币种条目。 - 为什么改:发布前的 `since:v18.4` 测试轮只能测台账里有的东西;这三块能力此前没有任何条目,测试员会漏测。 - 风险与回滚:只改 `docs/qa/platform-checklist/` 下的台账文件,没有产品代码、权限或数据语义变化,可直接 revert。 - 先看:`FOLLOW-UPS.md` 的 §17(范围、哪些条目被阻塞及原因),然后是 `areas/api-backend.json` 末尾两条回收站条目。 - 两分钟验证:`node scripts/check-platform-checklist.mjs`(exit 0);`node scripts/checklist-select.mjs since:v18.4` 应列出 34 条,其中 10 条来自本 PR(9 条新增、1 条修订),另有 6 条多副本条目因缺少多节点授权门而标为 blocked,加 `--include-blocked` 后为 40 条。 - 需要你做的:无,席位落地。 ## Premise The card's premise command at the base (`43a51b55`, history deepened to the 18.3.0 subject): ``` $ git -C . log --oneline 83d7e4a..origin/main | wc -l 1159 $ git -C . log --oneline 83d7e4a..origin/main | grep -iE 'replica|recycle|home amount|currency' | wc -l 51 ``` Before this PR, the 24 items carrying `since: "v18.4"` were all M1's (themes 1 and 3), so none covered themes 2, 4 or 5. FOLLOW-UPS §17 accounts for all 51 commits: 23 are covered by an item here, 10 are docs, ADR, skills or test commits with no surface, 17 are outside the card's named list, and one (objectstack-ai#31848) is a false match ("concurrency" contains "currency"). ## Theme 4: the recycle bin (4 items, all active) - `api-backend.recycle-bin-delete-entry-restore` (P1): the delete answer's `recycleBinEntryId`, the listing (cascade snapshot, deletedBy, 30-day retention, purgeAfter), the restore receipt under the original ids, the second restore's 404, and a `sys_` delete that keeps no entry. - `api-backend.recycle-bin-refusals-purge-empty` (P1): `RESTORE_PARENT_IN_RECYCLE_BIN` (naming the parent's entry, then restoring once it is restored), `RESTORE_PARENT_PURGED`, purge, empty, the declared paging and parameter refusals, and the non-manager 403s (via `search:qa-contributor-bound-member`) and the anonymous 401. - `records-forms.delete-toast-undo-restore` (P1): the confirm question without a permanence promise, the toast's Undo restoring through the bin, the list-row Undo, the bulk toast with no Undo, and a platform-object delete that still says it cannot be undone. - `records-forms.setup-recycle-bin-page` (P2): Setup → Recycle bin's object list, entries table, Restore and Empty with its confirm. - Not driven live, recorded in knownGaps and FOLLOW-UPS §17b/§17c: `RESTORE_UNIQUE_VALUE_TAKEN` (no showcase business object declares a unique field), `RESTORE_PACKAGE_UNINSTALLED` (destructive to the boot), and the own-entry half of the restore rule (no stock persona holds `allowRestoreOwnDeleted` without `manageRecycleBin`). All three are pinned by tests. ## Theme 5: record-mode currency (3 active, 1 planned, 1 revision) - `records-forms.home-amount-preview-states` (P2): the preview's converted, home-currency, awaiting-date and awaiting-rate states, and the unreadable-rate message for a member who may not read `sys_exchange_rate`. - `studio-authoring.currency-home-amount-editor` (P2): which fields each picker offers, the three saved pointers, a record stored through them, and clearing them. - `studio-authoring.currency-field-repointed-refusal` (P2): the 409 `DESTRUCTIVE_CHANGE` with the `currency_field_repointed` issue, its remedies, `?force=true`, and an identical pointer raising nothing. - Planned: `records-forms.master-detail-child-follows-parent-currency` (`since: null`). The spec admits the `PARENT_FIELD.CODE_FIELD` path (objectstack-ai#31956), but at the base the engine reads `currencyField` as a field of the same row, so a path reads no code. The engine half is objectstack-ai#31911 (open). FOLLOW-UPS §17a. - Revision: `records-forms.multi-currency-invoice` rev 2. `since` goes from `v18` to `v18.4`: the showcase invoice became the multi-currency example in objectstack-ai#31757, and the hint and preview that `acceptance[5]` reads landed in objectstack-ai#31638 and objectstack-ai#31724, all after 18.3.0. Its knownGaps[0] no longer says a child amount cannot take its parent's currency. No clause changed. ## Theme 2: multi-replica on Redis (8 items, all active, 6 blocked) - Runnable now (both refuse before any gate or Redis is needed): - `cli.serve-multi-replica-local-database-refusal` (P1): `os serve` refuses a SQLite or file database under declared replicas on redis, exit 1, naming a shared Postgres, before anything connects. - `cli.start-multi-replica-auth-secret-refusal` (P1): `os start` refuses without `OS_AUTH_SECRET` and writes no `auth-secret` file; a memory driver is not the declaration. - `blocked: { by: "fixture" }`, each stating its two-replica fixture: - `attachments-storage.multi-replica-local-root-refusal`; - `platform-core.multi-replica-package-change-refusal` (the seven `/packages` doors, install-local both ways, and the clone that would create a customization package); - `platform-core.ready-cluster-driver-health`; - `platform-core.cluster-membership-heartbeat`; - `platform-core.settings-change-reaches-every-replica`; - `platform-core.shared-redis-cache-across-replicas`. - Why they are blocked: the open tree registers no multi-node gate. `checkMultiNodeAllowed` fails closed with none registered, `os serve` falls back to the in-process driver, and the split-brain guard refuses the declared topology, so no declared multi-replica boot on Redis reaches `kernel:ready` on a stock tree. The open-tree route the CLI pin uses (an app whose own `@objectstack/service-cluster` calls `registerMultiNodeGate`, `writeApp` in `serve-multi-node-gate-declaration.integration.test.ts`) is unproven with the real redis driver. The first run that proves it should become an area recipe and lift `blocked` on all six. FOLLOW-UPS §17c. ## What changes - 16 new items across `api-backend`, `records-forms`, `studio-authoring`, `cli`, `attachments-storage` and `platform-core`, each with `source[]` anchors that resolve and a history row citing objectstack-ai#32020. One revision (`records-forms.multi-currency-invoice` rev 2). - `coverage.json`: the recycle-bin items are mapped to `crud_endpoints` (and the refusals item to `permission`); the currency items to `field`, and the re-point refusal to `object` and `metadata_endpoints`; the invoice item, never mapped before, to `field`. The six blocked theme-2 items are mapped nowhere: an item no run can drive does not carry a kind. - `FOLLOW-UPS.md` §17: scope and angles, the item list, 17a (planned, carded), 17b (notes for owners), 17c (fixtures worth adding), 17d (security note). ## Why The 18.4.0 release run selects `since:v18.4`. Before this PR it held nothing for the recycle bin, record-mode currency or multi-replica deployments, which landed after 18.3.0 (epic objectstack-ai#32022, M2). ## Tests No test code changed. Every clause is read from source at `43a51b55` (the merge of `origin/main` at `036a9fbf` was re-checked by the gates below), and each item's `automated.ref` names the pins that hold it today. No live checklist run was made; that is the QA seat's `since:v18.4` run on the release candidate. ## Acceptance notes - **Read from source, not from titles.** Each assertion was read in the code it cites (routes, refusal sentences, codes, constants). Two first drafts were corrected against the code before commit: a storage settings change to the local adapter under declared replicas is not refused at the settings door but logged and not applied by the subscriber (§17b records this as an owner note), and `/me/permissions` is served at `/api/v1/auth/me/permissions`. - **Blocked, not faked.** The order allows a multi-replica item without a fixture only as `blocked` with its reason. The six items state the fixture they need and the premise check (`[cluster] multi-node not authorized (` absent from both boot logs) that proves it was met. - **The doc-formula gate's first run exited 3** (nothing measured: `@objectstack/formula` and `@objectstack/lint` were not built in this fresh container). After `pnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint` it exited 0, and that is the exit recorded below. - **Shared files with objectstack-ai#32233** (open): `api-backend.json`, `platform-core.json` and `records-forms.json`. This PR only appends items at the end of each items array and revises the last item of `records-forms.json`. The seat was told before the push; whichever lands second merges main. - No changeset: `docs/qa/` only, labelled `skip-changeset`. ## Verification On head `a4eaf691` (this branch with `origin/main` at `036a9fbf` merged in): - `node scripts/check-platform-checklist.mjs` → exit 0 (16 areas, 402 items; coverage 40 kinds mapped, 4 waived; 10/10 recipes referenced, 17 item references resolved; symbol anchors 1397/1407 resolved, the other 10 on the named objectstack-ai#16898 residual). - `node scripts/checklist-select.mjs since:v18.4 --json` → exit 0, 34 runnable items, 10 of them from this PR (9 new, plus the revised invoice item): theme 4 × 4, theme 5 × 4 (3 new and the invoice revision), theme 2 × 2. With `--include-blocked`: 40 (the 6 blocked theme-2 items). - `node scripts/pm/dispatch-gates.mjs --commands` → 16 commands, each run with its exit recorded: 16 × exit 0 (see the doc-formula note above). `--ran` on that record: `16 derived famil(ies) accounted for — 16 run, 0 NOT-MEASURED` (exit 0). - Diff: 8 files, +1335 / -8 (1,343 changed lines, under 3,000). ## Human Minimum Each item is one rule from [CONTRIBUTING.md › Human Minimum](https://github.com/objectstack-ai/objectstack/blob/main/CONTRIBUTING.md#human-minimum), which links the AGENTS.md text that states it. - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (`packages/**` is untouched.) - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. (No lintable source changed: JSON and Markdown under `docs/qa/` only.) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (Nothing publishes; labelled `skip-changeset`.) - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (Not touched.) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [ ] 8. Title, body and comments are in English. (All but the `## 维护者速读` block, which the order asks for in Chinese.) - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01WGufzhw1tf6sUQgFxnzeJy)_ Co-authored-by: Claude <noreply@anthropic.com>
Requested by Steve · project thread
Fixes #31826
Clause-②: yes —
read_filegains a new truncated answer (out of CPU budget) and a new retryable refusal (over the concurrency cap) on a door that used to answer every file within its caps in full. Not(narrowing): no input it accepted is now refused for good; the refusal is transient and retryable, the truncated answer is the shape the door already serves at its length and page caps, and under the defaults every file within those caps reads as before (measured below).Metadata-protocol: none
维护者速读
read_file读 PDF / Word 时,每个文件最多耗 2 秒 CPU(到点停,返回已读部分并提示下载);同一进程最多同时抽取 4 个,再来一个立刻回「稍后再试」。两个数都由宿主环境变量设置。@objectstack/mcp,回滚即 revert 本 PR。packages/mcp/src/file-content.ts的withExtractionSlot与两处预算检查;mcp-http-tools.ts的拒绝渲染;plugin.ts的启动读取。pnpm --filter @objectstack/mcp exec vitest run src/mcp-file-tools.test.ts,应见 28 个用例全绿,其中 7 个是新加的预算与并发用例。What changes
packages/mcp/src/file-content.ts:OS_MCP_READ_FILE_CPU_BUDGET_MS, default2000). Process CPU time, read asprocess.cpuUsage()deltas from the extraction's start (ADR-0102 D1's dimension). PDF: checked between pages, never mid-page; the first page is always read. Word: checked between paragraphs ofword/document.xml, every 64 paragraphs (the clock read stays a rounding error on a long body); the body's singleinflateRawSynccannot stop part-way and stays bounded by the existing 32 MiB cap. Out of budget the answer is the text read so far,truncated: true, and anote: "Reading stopped at the CPU-time budget for one file (N ms) after page K of M, so the text is partial. Download the file with the link for the rest." No new answer key:truncatedandnoteare the keys the length and page caps already use. No wall-clock ceiling was added (the ruling makes it optional; extraction does no I/O wait a wall bound would catch).OS_MCP_READ_FILE_MAX_CONCURRENT, default4) on PDF and Word extractions in flight; text files and images are not counted. A counter taken before the extraction's first await and released infinally. Over the cap the call is refused at once, never queued:ReadFileExtractionBusyError, codeSERVICE_UNAVAILABLE, status503, message "…Try again in about N seconds."configureReadFileExtraction()is called fromMCPServerPlugin.init(boot site:packages/mcp/src/plugin.ts). A value that is not a positive integer throws, naming the variable, so the boot fails (the reader follows@objectstack/types'query-read-limits.tsreadLimitVar, the nearest loudOS_*numeric reader). A process that never calls it reads the host's values on its firstread_file, outside the extractors' catch-all, so a malformed value still answers naming the variable.packages/mcp/src/mcp-http-tools.ts: theread_filedoor renders the busy refusal through the samecodedErrorResultthe other coded refusals use, withdetails: { retryAfterSeconds }(the slot the runtime's inbound rate limiter carries the wait in; a tool result has noRetry-Afterheader). Every other throw keepserrorResultWithCode.content/docs/ai/connect-mcp.mdx: both variables, their defaults and why, under "Files:read_fileandcreate_upload_link".Why
#31100 ruling B (6708423049), phase 1. Phase 2 (extraction off the request thread, #31828) is not in this PR.
Tests
New top-level
describeinpackages/mcp/src/mcp-file-tools.test.ts(the file tools' shared harness), plus one boot pin insrc/__tests__/plugin.test.ts. No existing test was edited.' 750 '/'2'taken;0,-5,1.5,abc,2sthrow naming the variable..docxread in full, notruncated, nonote.truncated: true, the note verbatim, link present.unpdfmock): the door answers{ code: 'SERVICE_UNAVAILABLE', status: 503, message, details: { retryAfterSeconds: 3 } }; a text file still reads; the held two finish and a slot is free again..docxis refused the same way when the one slot is held.initwithOS_MCP_READ_FILE_MAX_CONCURRENT=fourrejects naming the variable and registers nothing.Ablations (each mutation landed on disk via scripts/ablation-replace.mjs, test red, restored to HEAD blob)
Tests import
./file-content.jsand./mcp-http-tools.jsfromsrc(no dist leg).if (n > 1 && budget.spent())→if (false)if (false)if (extractionsInFlight >= limits.maxConcurrent)→if (false){ content }, expected the busy error) · 2 failed / 26finallyif (false)details.retryAfterSecondsmissing · 1 failed / 27Every leg:
ok mutation landed: anchor 1 -> 0, thenok restored: blob == HEAD and git diff HEAD is empty.Measurement (card item 1): a 9.21 MiB, 200-page PDF, 2,250 path operators per page, 4-core container
Method from #31100: a 1 ms
setIntervalcounted duringextractFileContent, three runs after one warm-up.Before,
main4ed20928:After,
bd107fb4, default budget (2000 ms): unchanged, the whole file read (8,290 chars,truncated: false):After, budget 100 ms: the hold is bounded by the budget.
Reading: the timer still never fires during an extraction (phase 1 bounds the hold, phase 2 removes it). Process CPU runs ahead of wall time because it also counts V8's helper threads, so the budget stops early, never late, as ADR-0102 D1 accepts.
Acceptance notes
SERVICE_UNAVAILABLE, not a registered extension code: registering one is apackages/specledger edit, outside this card's surface. Listed in the report's open questions.Verification
Head
645f4183, after mergingorigin/main.pnpm --filter @objectstack/mcp typecheck· exit 0pnpm --filter @objectstack/mcp exec vitest run --maxWorkers=2· Test Files 62 passed (62) · Tests 987 passed (987) · lock VERDICT command-exit 0--no-inline-configonpackages/mcp· exit 0node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack→ 98 derived;--ranreconciliation: 97 run, 1 NOT-MEASURED, 0 UNRUN. 96 exit 0. Two not green locally, both prerequisites of the local build, both run by CI on this PR:check:skill-examples· exit 3, PREREQUISITE NOT MET (reads built docs output this container did not build). NOT MEASURED locally.check:dual-build-cjs-loads· exit 1, 122 findings, every one "declares types … which is NOT emitted": the workspace was built withOS_SKIP_DTS=1here, so no package has declarations. Not about this diff (noexportsmap changes); CI builds with declarations.check-plugin-teardown-shape --self-testandcheck:lean-entry-closurefirst answered exit 3 (fixture commit not fetched, objectql not built) and exit 0 aftergit fetchof the fixture and the build.Human Minimum
packages/specholds no runtime logic. (no spec change)pnpm lintpasses.main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code