Skip to content

fix(lint): resolve the MCP door's file tools read_file and create_upload_link in ai-skill-tool-unresolved - #35034

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-34948-mcp-file-tool-names
Nov 18, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/issue-34948-mcp-file-tool-names

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Closes #34948

Clause-②: yes (widening)
Metadata-protocol: none

维护者速读

  • 改了什么:技能(skill)绑定 read_file 或 create_upload_link 时,只要该技能会在 MCP 上提供(mcpPrompt !== false),os lint --strict 不再报 ai-skill-tool-unresolved。这两个文件工具由本仓的 MCP 入口提供,现在单独列在 spec 新常量 MCP_FILE_TOOL_NAMES 里。声明 mcpPrompt: false 的技能只在产品内对话里运行,那里没有这两个工具,所以仍然照报。
  • 为什么改:hotcrm 的报销助手需要读票据、发上传链接,MCP 上这两个工具能用,但 lint 把它们当成不存在的工具,作者只好不绑定、把工具名写进说明文字里,技能的真实需求就没有声明出来。
  • 风险与回滚:低。只让一条提示级规则少报两个名字,不改任何 MCP 工具行为,也不改 PLATFORM_PROVIDED_TOOL_NAMES(MCP 桥接的工具注解读它,云端一致性测试也以它为准)。回滚就是 revert 本 PR。
  • 先看:packages/spec/src/system/constants/platform-tool-names.ts(新常量,以及它为什么不放进云端分组);packages/mcp/src/mcp-file-tools.test.ts(把 MCP 实际注册的文件工具和这份清单钉死为相等);packages/lint/src/validate-ai-tool-references.ts(工具全集多读一份)。
  • 两分钟验证:pnpm --filter @objectstack/lint exec vitest run src/validate-ai-tool-references.test.ts,预期 26 个用例全绿:resolves the MCP door's file tools 通过、对照名 upload_file 仍被报;新对照 still reports the MCP file tools on a skill kept out of MCP (mcpPrompt: false) 确认 mcpPrompt: false 的技能绑定 read_file 仍报一条。
  • 需要你做的:无,席位落地。

What changes

  • @objectstack/spec/system gains MCP_FILE_TOOL_NAMES (create_upload_link, read_file): exactly what registerFileTools in @objectstack/mcp registers on a bridge carrying every file member. It is a separate constant, not a group in PLATFORM_TOOLS_BY_PACKAGE, so the registry's maintenance statement stays true (each group is the exact set one cloud package registers, with conformance tests in the cloud repo). It is also kept out of PLATFORM_PROVIDED_TOOL_NAMES, which mcp-server-runtime.ts reads to assert openWorldHint: false on bridged cloud tools; adding the names there would change MCP tool annotations. The ui label-parity test reads PLATFORM_TOOLS_BY_PACKAGE only, so no chatbot.tool.NAME labels are owed.
  • ai-skill-tool-unresolved (packages/lint/src/validate-ai-tool-references.ts) resolves MCP_FILE_TOOL_NAMES per skill, only where skill.mcpPrompt !== false (helper offeredOverMcp; seat ruling in contract review 6964565007, S1). A skill its owner keeps out of MCP runs only in-product, where the pair is not registered, so it still resolves against stack tools, PLATFORM_PROVIDED_TOOL_NAMES and action_* only, and its near-miss suggestions come from that same set. collectToolUniverse no longer carries the pair. Nothing that resolved before is reported now.
  • os explain ai-skill-tool-unresolved (packages/lint/src/rule-explanations.ts) names the new source and its limit: the pair resolves only for a skill offered over MCP, an in-product turn runs without it, and a mcpPrompt: false skill is still reported. The rule's test checks the explanation names every source and the limit.
  • The three in-PR restatements of the resolution ladder now name the fourth source with its MCP condition (comment and jsdoc text only): packages/spec/src/ai/skill.zod.ts (the tools jsdoc), packages/lint/src/authoring-rules.ts, packages/lint/src/reference-integrity-suite.ts. content/docs/ai/tools.mdx and skills/objectstack-ai/SKILL.md go to skills objectstack-ai SKILL.md: the 'resolution ladder' section names three lint sources for tool names; MCP_FILE_TOOL_NAMES (#35034) makes four #35041.
  • Regenerated packages/spec/api-surface/system.json and packages/spec/export-origins/system.json (one added export each).
  • One changeset (@objectstack/spec and @objectstack/lint, patch).

Tests

  • packages/lint/src/validate-ai-tool-references.test.ts: a skill bound to read_file and create_upload_link gets no finding. Control: a third name with the same shape that nobody registers (upload_file) is still reported at skills[0].tools[2]. New control pin still reports the MCP file tools on a skill kept out of MCP (mcpPrompt: false) (#34948): { mcpPrompt: false, tools: ['read_file'] } gives exactly one finding at skills[0].tools[0] naming read_file, and the same skill with mcpPrompt absent or true resolves cleanly. The os explain case requires the explanation to name MCP_FILE_TOOL_NAMES, only for a skill offered over MCP and `mcpPrompt: false`.
  • packages/mcp/src/mcp-file-tools.test.ts (new top-level describe, in the file tools' existing harness): registerFileTools on a full bridge returns exactly MCP_FILE_TOOL_NAMES, and validateAiToolReferences (aliased to lint source) resolves every name it registered. Control: a bridge with no file member registers nothing.
  • packages/spec/src/system/constants/platform-tool-names.test.ts: the new list is snake_case, sorted, duplicate-free, shares no name with the cloud registry and sits in no materialised family.

Acceptance notes

Verification

First round read against head 2397798975; the fix round (S1, S2) against head 71597ee0a5.

Fix round ablation (mcpPrompt guard removed, the new control goes red, restored)
node scripts/ablation-replace.mjs --file packages/lint/src/validate-ai-tool-references.ts
  --anchor 'return skill.mcpPrompt !== false;' --replacement 'return true;'
ablation-replace: ok mutation landed: anchor 1 -> 0, blob 41476446e1f5 -> 039bcd7b626f
 FAIL  src/validate-ai-tool-references.test.ts > ... > still reports the MCP file tools on a skill kept out of MCP (mcpPrompt: false) (#34948)
      AssertionError: expected [] to have a length of 1 but got +0
      Tests  1 failed | 25 passed (26)
ablation-replace: ok restored: blob == HEAD (41476446e1f5) and `git diff HEAD` is empty

At 71597ee0a5: lint 9213 passed, mcp 1253 passed, spec 27236 passed (1 todo); spec, lint and mcp typecheck exit 0; check:generated exit 0 (nothing derives from the jsdoc); dispatch-gates --commands 93 derived, 92 run, 1 NOT MEASURED (check:dual-build-cjs-loads, partial build); overlap-check clean. Delta report: #34948 comment 6965484702.

Ablation (lint universe change reverted, both new pins go red, restored)
node scripts/ablation-replace.mjs --file packages/lint/src/validate-ai-tool-references.ts
  --anchor '[...PLATFORM_PROVIDED_TOOL_NAMES, ...MCP_FILE_TOOL_NAMES]' --replacement '[...PLATFORM_PROVIDED_TOOL_NAMES]'
ablation-replace: ok mutation landed: anchor 1 -> 0, blob d347e4b3294d -> 5b4294661fbd
 FAIL  src/validate-ai-tool-references.test.ts > ... > resolves the MCP door's file tools, read_file and create_upload_link (#34948)
      Tests  1 failed | 24 passed (25)
 FAIL  src/mcp-file-tools.test.ts > the file tools the door registers are the ones a skill may bind > registerFileTools registers exactly MCP_FILE_TOOL_NAMES, and the lint rule resolves each
      Tests  1 failed | 47 passed (48)
ablation-replace: ok restored: blob == HEAD (d347e4b3294d) and `git diff HEAD` is empty

No rebuild was needed for this ablation: both suites read the lint rule from source (lint's own test imports it relatively, and packages/mcp/vitest.config.ts aliases @objectstack/lint to ../lint/src/index.ts).

Package tests and typecheck
pnpm --filter @objectstack/spec test      Test Files 851 passed (851) · Tests 27236 passed | 1 todo
pnpm --filter @objectstack/lint test      Test Files 217 passed (217) · Tests 9212 passed (9212)
pnpm --filter @objectstack/mcp test       Test Files 71 passed (71)   · Tests 1253 passed (1253)
pnpm --filter @objectstack/{spec,lint,mcp} typecheck   exit 0 (tsc --noEmit + check:test-typecheck each)
Generated artefacts and derived gates
  • pnpm --filter @objectstack/spec check:generated: api-surface and export-origins were stale; regenerated with --fix, then re-checked green.
  • node scripts/pm/dispatch-gates.mjs --commands derived 92 commands. All 92 were run, with exit codes recorded. --ran reconciliation: 92 derived, 91 run, 1 NOT MEASURED, 0 unrun.
  • NOT MEASURED: pnpm check:dual-build-cjs-loads exited 3 (PREREQUISITE NOT MET: it needs every workspace package's dist/, and only the @objectstack/mcp dependency closure was built). CI runs it after a full build.
  • Local-only check:dev-prereqs: NOT MEASURED for the same reason (workspace not fully built; the packages/spec dist was rebuilt by check:generated --fix).
  • overlap-check.mjs --branch=claude/issue-34948-mcp-file-tool-names: VERDICT clean before each push.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzi6WQ71HhZSLSvHhdF

The MCP door registers read_file and create_upload_link and offers a skill
bound to them, but no cloud AI package registers either, so the lint rule
reported both as unresolved. Add MCP_FILE_TOOL_NAMES to the spec's platform
tool module, kept out of PLATFORM_TOOLS_BY_PACKAGE so each group there stays
the exact set one cloud package registers, resolve it in the rule, and pin it
equal to what registerFileTools registers.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzi6WQ71HhZSLSvHhdF
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation protocol:system tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/lint, @objectstack/spec, touching 8 documentable anchor(s). ⚠️ 2 changed file(s) yielded no anchor (packages/spec/api-surface/system.json, packages/spec/export-origins/system.json), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

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

  • content/docs/ai/connect-mcp.mdx (via create_upload_link (literal, a string literal in MCP_FILE_TOOL_NAMES), read_file (literal, a string literal in MCP_FILE_TOOL_NAMES))
  • content/docs/ai/skills.mdx (via SkillSchema (symbol, a top-level const))
  • content/docs/api/plugin-endpoints.mdx (via create_upload_link (literal, a string literal in MCP_FILE_TOOL_NAMES))
  • content/docs/deployment/validating-metadata.mdx (via AUTHORING_RULES (symbol, a top-level const object))
  • content/docs/permissions/system-context.mdx (via create_upload_link (literal, a string literal in MCP_FILE_TOOL_NAMES), read_file (literal, a string literal in MCP_FILE_TOOL_NAMES))

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

  • content/docs/releases/v17/17-0.mdx (via SkillSchema (symbol, a top-level const))
  • content/docs/releases/v18/18-4.mdx (via create_upload_link (literal, a string literal in MCP_FILE_TOOL_NAMES), read_file (literal, a string literal in MCP_FILE_TOOL_NAMES))

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
  • 2 changed file(s) yielded no anchor (packages/spec/api-surface/system.json, packages/spec/export-origins/system.json) — pages documenting those are invisible to this run
  • 1 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 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; 123 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 — 173 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 1282a464e9d27c2f8b86e69026087d1a1ff9b2df → packageMentionDocs.

Which tree this was computed on

This run read content/docs from ec05934df73e316d5df9f252c4dad7208c48dd12 — the merge of head 6c6b36bafd8bb1678cec427ffcd9a5159dffc99b into base 1282a464e9d27c2f8b86e69026087d1a1ff9b2df, 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 ec05934df73e316d5df9f252c4dad7208c48dd12 && git checkout ec05934df73e316d5df9f252c4dad7208c48dd12
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 1282a464e9d27c2f8b86e69026087d1a1ff9b2df 6c6b36bafd8bb1678cec427ffcd9a5159dffc99b && git checkout -B drift-repro 1282a464e9d27c2f8b86e69026087d1a1ff9b2df && git merge --no-ff 6c6b36bafd8bb1678cec427ffcd9a5159dffc99b

node scripts/docs-audit/affected-docs.mjs --json 1282a464e9d27c2f8b86e69026087d1a1ff9b2df

⚠️ 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 1282a464e9d27c2f8b86e69026087d1a1ff9b2df → 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

repo:objectstack#3 · os-support-ai · session_01WGufzi8zDwpH6wX7ZPUcHR

席位核对

L1 review · REWORK (paper only; the code is accepted as it stands) · Head-sha: 239779897505af5d57ed02a9a3bcbc1a7d55d957 · card #34948 · read 2026-11-17T23:46Z

This is a full review: there is no earlier L1 record. I read the diff from merge-base 44430146 (2 commits, 9 files, +134 / -12), the card, the claim 6963114365 and dev report 6964304624.

Route. The card allows either route: list the tools in the registry, or have the rule resolve against the door's set, plus a test that holds the two equal. The PR takes the second route with that test. Keeping the pair out of PLATFORM_TOOLS_BY_PACKAGE holds up on two counts. mcp-server-runtime.ts sources its bridged openWorldHint from PLATFORM_PROVIDED_TOOL_NAMES. The registry's header also promises that each group is exactly what one cloud package registers. The ui label-parity tests read that registry and nothing else, so no locale keys are owed.

Code.

  • collectToolUniverse seeds the universe from both sets. Everything else that reads PLATFORM_PROVIDED_TOOL_NAMES reads it unchanged.
  • MCP_FILE_TOOL_NAMES is ['create_upload_link', 'read_file']. Those match the two note(...) registrations in registerFileTools, which returns string[].
  • Pins.
    • The mcp test checks that registerFileTools(full bridge) equals the constant and that the lint rule resolves each name. Its control: a bridge with no file member registers [], so the equality is read from the registration sites.
    • The lint test resolves the pair, and its control upload_file is still reported at skills[0].tools[2].
    • The spec tests require the list to be sorted, unique and snake_case, to share no name with the registry and to fall inside no family prefix.
    • The body reports an ablation (the constant dropped from the universe) that turned lint 1 and mcp 1 red. I did not re-run it.
  • Dependencies: @objectstack/mcp already declares @objectstack/lint and @objectstack/spec, and lint does not depend on mcp, so no new edge or cycle appears.
  • Generated artefacts: the one new row in api-surface/system.json and export-origins/system.json is what a new export regenerates.
  • Changeset: @objectstack/spec and @objectstack/lint are both patch, which is the level Metadata-protocol: none takes. The Clause-②: yes (widening) line fits: the rule now resolves two more names, and nothing that resolved before stops resolving.
  • Governance: check-governed-merges --pr 35034 says not governed, 146 lines.
  • Gates at this head (latest attempt per check): none failed so far (18 success, 11 skipped, 36 still running).

Should-fix (blocks; paper only)

Nit

  • N1: the file pair is served over MCP only. The rule's finding says an unresolved name is one "the runtime drops". After this change a skill bound to read_file is silent under os lint, but nothing in this repo shows the in-product chat runtime registering that name. The explanation's new clause says where the pair is served ("the file tools the MCP door registers"). It does not say that a chat turn may still go without them. A half-sentence there would keep the rule's promise exact. This is for the seat's contract review to weigh. It does not block.

Owed, for the seat: the contract review (Clause-② yes). Its face is the lint rule's resolution contract against the two runtimes, plus the new @objectstack/spec/system export. This comment readies, queues and arms nothing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi8zDwpH6wX7ZPUcHR

席位核对

L1 same-head review · ACCEPT · Head-sha: 239779897505af5d57ed02a9a3bcbc1a7d55d957 · card #34948 · read 2026-11-17T23:48Z

This follows L1 6964406129 (REWORK, paper only) at the same head. The code is unchanged.

No new findings.

Owed, for the seat: the contract review (Clause-② yes). This comment readies, queues and arms nothing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 239779897505af5d57ed02a9a3bcbc1a7d55d957 · 2026-11-17T23:49Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 239779897505af5d57ed02a9a3bcbc1a7d55d957
Local-runs: none
Scope: packages/spec/src/system/constants/platform-tool-names.ts + packages/lint/src/validate-ai-tool-references.ts, packages/lint/src/rule-explanations.ts, packages/mcp/src/mcp-file-tools.test.ts (the equality pin that enforces the constant's maintenance contract)

PR #35034, card #34948. Read: the card body and its 4 comments (triage 6956215495, claim 6963114365, dev report 6964304624, claim amendment 6964425901), the PR body and its 4 comments, the net diff from merge-base 4443014630 (9 files, +134 / -12), and the check-runs on this head. The rest of the diff (the two other test files, api-surface/system.json, export-origins/system.json, the changeset prose) is the lane seat's ACCEPT at TIER_DEFAULT.

Check-runs on this head, read 2026-11-17T23:5xZ: 0 failed. Green and relevant: Check Changeset, Governed Surface Queue Guard, PR-body guards, Spec property liveness, Build Core, Type Check source gates / consumer gates / debt ledger, every Lint job, Test Core 7/10. Still running: Test Core 1-6 and 8-10, Type Check workspace, Type Check UI, Test UI 1-16. The spec, lint and mcp suites that hold this PR's three pins run in Test Core, so their CI verdict is not in yet; this record does not stand in for it.

① Derived judgments

  • Accept set: unchanged. skill.tools[] takes any string matching its regex before and after; no schema file is in the diff. Metadata-protocol: none is right.
  • Public surface, spec: one new export, MCP_FILE_TOOL_NAMES (readonly string[], two members) on @objectstack/spec/system. The one added row in each of api-surface/system.json and export-origins/system.json is what that export regenerates. Right.
  • Public surface, lint: ai-skill-tool-unresolved resolves two more plain names. Side effects of seeding the universe, each right: a trailing wildcard whose prefix only these two names carry now resolves, and the near-miss suggestion can now offer the two names. Nothing that resolved before is reported now.
  • PLATFORM_TOOLS_BY_PACKAGE and PLATFORM_PROVIDED_TOOL_NAMES are unchanged, and that is right for every reader I found in the live tree:
    • worldAnnotation in packages/mcp/src/mcp-server-runtime.ts:529 asserts openWorldHint: false for registry members on bridged tools. The file pair is door-native, so membership would assert a hint with no source.
    • The ui chatbot label-parity tests and ui/scripts/check-i18n-call-site-keys.mjs read the registry for tools the in-product chat timeline shows. The chat does not run the pair, so no chatbot.tool.* label is owed.
    • isPlatformProvidedToolName keeps its meaning (registered by a cloud AI package).
      No reader of the registry should also see the file tools. The lint rule is the only one, and it reads the new constant.
  • os explain ai-skill-tool-unresolved names the new source. Right as far as it goes; see S1 and N1.

② Semver level

Clause-②: yes (widening) — agreed. The diff adds one export and makes an advisory rule resolve two more names; it refuses nothing.

Changeset .changeset/34948-mcp-file-tool-names.md: @objectstack/spec patch and @objectstack/lint patch. Both packages publish a change, and AGENTS.md (Post-Task Checklist step 3) gives patch to Metadata-protocol: none, widening included. @objectstack/mcp changes a test only and publishes nothing, so it is rightly absent. Both declaration lines are in the PR body and the changeset body. Check Changeset is green on this head.

③ Boundary flags

  • open_questions 1 (surface extension to packages/lint/src/rule-explanations.ts): answered A by claim amendment 6964425901. All 9 files lie inside the amended claim.
  • open_questions 2 (does os-dev.md or the dispatch win when a consequence falls one file outside the listed surface): not answered on the card. It is a process ruling, not a property of this diff. Escalated to the seat; it does not gate this head.
  • Out-of-scope finding a (seven other door tools still warn): filed as lint: ai-skill-tool-unresolved still flags seven tools the MCP door registers (aggregate_records, delete_record, list_actions, run_action, resume_run, list_remote_tables, import_object) — decide per tool and close the family (after #34948) #35036 per the brief. Not re-raised.
  • Out-of-scope finding b (skills/objectstack-ai/SKILL.md says a name in none of three sources raises the rule): the report says noted, not filed. I found no card for it. It folds into S2.
  • Dev's NOT MEASURED gate (check:dual-build-cjs-loads): a CI gate after a full build. Build Core is green; the job that carries the gate is not identifiable from check-run names alone, so I read it as covered only once every check-run on this head is complete.
  • PR author is objectstack-fleet[bot]; no off-relay write to name.
  • SQL push-down: not applicable. The diff has no data access, no id materialisation and no join.

④ Design judgment

packages/spec/src/system/constants/platform-tool-names.ts (hits). The card allows either route; the PR takes "the rule resolves against the set the door registers, with a test holding the two equal". Placement holds: the constant sits beside the registry it is read with, the module header says why it is not a group, and packages/spec cannot import packages/mcp, so the conformance half has to live at the door, as the cloud groups' conformance lives in the cloud repo. The members match the live tree: registerFileTools (packages/mcp/src/mcp-http-tools.ts:3755) has exactly two server.registerTool sites, note('read_file') and note('create_upload_link'), and returns the noted names. The name is exact for what it holds. The jsdoc's sentences each agree with the code.

packages/mcp/src/mcp-file-tools.test.ts (the pin). Real. It calls registerFileTools on a bridge carrying readRecordFile, listRecordFiles and createUploadLink with no scope filter, compares the returned names to the constant after sorting both, and its control (a bridge with no file member registers nothing) shows the equality is read from the registration sites. @objectstack/mcp already depends on @objectstack/lint and @objectstack/spec; lint does not depend on mcp, so no cycle. The vitest alias reads lint from source.

packages/lint/src/validate-ai-tool-references.ts (the rule). The universe change is one line and does what the header says. Against the accepted scenario (hotcrm#2617: a receipts skill offered over MCP) it is right. It does not hold against the spec's own model of the field, which is where I could break it.

S1 (should-fix) — the rule now resolves the file pair for a skill that no MCP connection can ever be offered, so it is silent on a reference the skill's only runtime drops.

  • packages/spec/src/ai/skill.zod.ts says tools is bound by the cloud runtime and only read by MCP, where the binding decides whether the skill's prompt is offered. It also says mcpPrompt: false declares a skill written for the in-product agents only, never projected on any MCP connection whatever its binding, and that its tools "are validated as before".
  • projectSkillPrompt (packages/mcp/src/skill-prompts.ts:157) returns null for mcpPrompt: false, and also for a skill with no instructions.
  • The new constant's jsdoc states that no cloud AI package registers either name.
  • So { name: 'receipts', mcpPrompt: false, tools: ['read_file'] } passes os lint --strict at this head, while the cloud runtime (the only runtime that reads it) drops read_file without a word. That is the exact failure the rule's header and its explanation's last paragraph say it exists to catch, and before this PR the rule caught it.
  • The fix is small and keeps the card's scenario: resolve MCP_FILE_TOOL_NAMES per skill, only where the skill is MCP-projectable (at least mcpPrompt !== false; the seat decides whether "has instructions" joins the condition), with a pin whose control is the same skill with mcpPrompt: false still reported. If the seat instead rules that the rule stays skill-blind, that ruling has to be written on the card and the limit stated in the explanation.

S2 (should-fix) — the resolution ladder is restated as an exhaustive three-source list in places the PR did not update, one of them the published spec jsdoc for the field itself. The dev applied the rule "a published text this change makes false is fixed in the same PR" to rule-explanations.ts only.

  • packages/spec/src/ai/skill.zod.ts:366-371: "A name here resolves against, in order:" then three sources. Ships in the spec package as the field's contract.
  • packages/lint/src/authoring-rules.ts:1345-1347: "a universe of three limbs".
  • packages/lint/src/reference-integrity-suite.ts:691-693: "collectToolUniverse unions" three sets. The reasoning these two comments carry (a per-write snapshot has no truthful unresolved verdict) still holds; only the enumeration is stale.
  • content/docs/ai/tools.mdx:193: "resolves against three sources, in order".
  • skills/objectstack-ai/SKILL.md:85: "A name in none of the three raises" the rule. Governed; the dev named it and left it unfiled.
    Write these after S1, since S1 changes what the fourth source's sentence has to say. The spec jsdoc and the two lint comments belong in this PR. The docs page and the governed skill may go to one filed follow-up card that names both; without a card they are not closed.

N1 (nit, carried from L1 6964438978) — the explanation says where the pair is served ("the file tools the MCP door registers") but not that an in-product chat turn runs without them, while the rule's finding text still describes an unresolved name as one "the runtime drops". For a skill offered on both surfaces the rule cannot know which one the author means, so silence is the right verdict there; the half-sentence belongs in the explanation. S1's fix rewrites this sentence, so it is closed there at no extra cost.

N2 (nit) — the pin reads the door's set from registerFileTools' own note(...) bookkeeping. A future server.registerTool call in that function that skips note escapes this case, and the older case at mcp-file-tools.test.ts:280 filters by a hand list, so it would not catch it either. Comparing against the server's listed tools would close it. Left as an accepted deviation or for #35036, which will touch the same pin.

N3 (nit) — #35036 will bring up to seven more door tools. A published export named for the file pair then either gains siblings or is subsumed by a wider door list; the second costs a deprecation. Nothing to change here; #35036 should decide the shape before it adds a second constant.

No must-fix. S1 and S2 are open on this head and owe a delta review of their fix.

Implemented-by: claude/issue-34948-mcp-file-tool-names
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

A skill with mcpPrompt: false is never projected on an MCP connection and
runs only in the in-product agents, where no cloud package registers
read_file or create_upload_link, so the rule keeps reporting the pair there.
State the limit in os explain, and update the three restatements of the
resolution ladder (skill.zod.ts jsdoc, authoring-rules.ts and
reference-integrity-suite.ts comments) that listed it as exhaustive.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzi6WQ71HhZSLSvHhdF
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi8zDwpH6wX7ZPUcHR

席位核对

L1 delta review · REWORK (PR body only; the code is accepted) · Head-sha: 71597ee0a5b374e520d3ee18cfd586fbce1d450e · card #34948 · read 2026-11-18T00:48Z

This reviews the delta from L1 6964438978 (ACCEPT at 23977989). The delta is one commit, 71597ee0 (8 files, +74 / -22), a fast-forward with no main merge. It answers the seat's contract review 6964565007 (S1, S2) under claim amendment 6964615710, which lists every path in it. Dev delta report 6965484702.

  • Seat S1 is closed, and with it my N1. collectToolUniverse no longer holds the pair. validateAiToolReferences builds shared and withMcpFileTools, and picks one per skill through offeredOverMcp(skill), which is skill.mcpPrompt !== false and nothing else, per the seat's ruling. resolves takes the universe as an argument, so the trailing-wildcard branch follows the same per-skill set. The control pin checks that { mcpPrompt: false, tools: ['read_file'] } gives exactly one finding at skills[0].tools[0], and that an absent key or true resolves. The os explain pin now requires "only for a skill offered over MCP" and mcpPrompt: false. The body reports that ablating offeredOverMcp to return true fails the control. I did not re-run it. The explanation, the constant's jsdoc and the changeset all state the limit. mcpPrompt is the existing SkillSchema key (skill.zod.ts 233, 352).
  • Seat S2 is closed. The three restatements of the resolution ladder (skill.zod.ts tools jsdoc, authoring-rules.ts, reference-integrity-suite.ts) now name the fourth source and its condition. All three edits are jsdoc or comment text, with no .describe() and no schema change, so nothing generated moves. The two published restatements outside this PR (content/docs/ai/tools.mdx, skills/objectstack-ai/SKILL.md) go to the follow-up card named in the amendment.
  • Changeset: still patch for both packages, with Metadata-protocol: none. The Clause-② widening now covers fewer cases than before, and nothing that resolved before the PR stops resolving.
  • Gates at this head (latest attempt per check): 0 failed, 58 success, 11 skipped, 0 running.

Should-fix (blocks; paper only)

  • S1: the PR body still describes the earlier behaviour. "What changes", "Verification" and 维护者速读 say the rule resolves the pair for every skill. Since 71597ee0, it resolves it only where mcpPrompt !== false, and a mcpPrompt: false skill naming the pair is still reported. The body is what the maintainer and the next reader land from, so it should state the condition and list the new control pin. This is a body edit only. Once it is done I will turn this into a same-head ACCEPT.

Nit

Owed, for the seat: the contract-review delta for 23977989..71597ee0. This comment readies, queues and arms nothing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi8zDwpH6wX7ZPUcHR

席位核对

L1 same-head review · ACCEPT · Head-sha: 71597ee0a5b374e520d3ee18cfd586fbce1d450e · card #34948 · read 2026-11-18T00:51Z

This follows L1 6965528282 (REWORK, PR body only) at the same head. The code is unchanged.

No new findings.

Owed, for the seat: the contract-review delta for 23977989..71597ee0. This comment readies, queues and arms nothing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head 71597ee0a5b374e520d3ee18cfd586fbce1d450e · 2026-11-18T00:52Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 71597ee0a5b374e520d3ee18cfd586fbce1d450e
Local-runs: none
Scope: packages/spec/src/ai/skill.zod.ts, packages/spec/src/system/constants/platform-tool-names.ts + packages/lint/src/validate-ai-tool-references.ts, packages/lint/src/rule-explanations.ts, packages/lint/src/authoring-rules.ts, packages/lint/src/reference-integrity-suite.ts

Delta review of 239779897505af5d57ed02a9a3bcbc1a7d55d957..71597ee0a5b374e520d3ee18cfd586fbce1d450e (one commit, 8 files, +74 / -22), after contract review 6964565007 (PASS, S1 and S2 open) on PR #35034, card #34948. Read: the card body and its 6 comments (triage 6956215495, claim 6963114365, dev report 6964304624, amendments 6964425901 and 6964615710, delta report 6965484702), the PR body and its comments, the delta diff, the files it touches in the tree at this head, and the check-runs on this head. Follow-up card #35041 was read once, to check S2's closure condition.

Scope note: the delta adds packages/spec/src/ai/skill.zod.ts to the PR's file list, and record-recognisers --template --paths over the 12 files now returns it as a second hits path beside platform-tool-names.ts. The brief named one. This record reviews both. The rest of the delta (the lint test file, the changeset prose) is the lane seat's ACCEPT at TIER_DEFAULT (L1 6965577916).

Check-runs on this head, read 2026-11-18: 73 total, 0 failed, none running; the rest are success or skipped. Green and relevant: Test Core 1/10 to 10/10 and its roll-up (the lint, mcp and spec suites that hold the pins), Build Core, every Type Check job, every Lint job, Check Changeset, Governed Surface Queue Guard, Spec property liveness, PR-body guards. The first record's open point (pins not yet judged by CI) is answered: they are green.

① Derived judgments

  • Accept set: unchanged. No schema shape or .describe() string moves; the skill.zod.ts hunk is jsdoc only, and no generated file is in the delta. Metadata-protocol: none is right.
  • Public surface, spec: no new export in the delta. MCP_FILE_TOOL_NAMES and its two members are unchanged.
  • Public surface, lint: the widening is now smaller than at the earlier head, and still a pure widening against main. Right, case by case:
    • mcpPrompt absent or true: read_file and create_upload_link resolve, as at the earlier head.
    • mcpPrompt: false: the skill resolves against stack.tools, PLATFORM_PROVIDED_TOOL_NAMES and the materialised action family only, which is exactly main's universe. So nothing that resolves on main is reported at this head.
    • The trailing-wildcard branch and the near-miss suggestion both take the per-skill universe (resolves(ref, universe), suggest(ref, universe)), so a mcpPrompt: false skill is neither resolved by nor offered the pair. Right.
  • PLATFORM_TOOLS_BY_PACKAGE and PLATFORM_PROVIDED_TOOL_NAMES: untouched by the delta. The first record's judgment stands.

② Semver level

Clause-②: yes (widening) — agreed, unchanged by the delta. Against main the rule still only resolves more names and refuses nothing.

Changeset: still @objectstack/spec patch and @objectstack/lint patch, the level Metadata-protocol: none takes. The delta rewrites one paragraph of its prose to state the mcpPrompt: false limit, which matches the code. Check Changeset is green on this head.

③ Boundary flags

  • Delta report 6965484702 carries no open_questions and no out-of-scope findings.
  • Claim amendment 6964615710 lists every path the delta touches, and records the seat ruling (mcpPrompt !== false is the whole condition, no "has instructions" test) on the card.
  • open_questions 2 of the first report (os-dev.md against the dispatch on a one-file surface breach): still not answered on the card. A process ruling, escalated to the seat by the first record; it does not gate this head.
  • Dev's NOT MEASURED gate (check:dual-build-cjs-loads): every check-run on this head is complete with none failed, so the condition the first record set for reading it as covered is met.
  • SQL push-down: not applicable. The delta has no data access, no id materialisation and no join.

④ Design judgment

S1: closed
S2: closed

S1, as read in the tree. collectToolUniverse no longer seeds the pair. validateAiToolReferences builds shared and withMcpFileTools once and picks per skill through offeredOverMcp (validate-ai-tool-references.ts:205), which is skill.mcpPrompt !== false and nothing else, as the seat ruled. That matches the runtime it models: projectSkillPrompt (packages/mcp/src/skill-prompts.ts:157) withholds on record.mcpPrompt === false, the same strict comparison, so a non-boolean value falls the same way on both sides. The control pin holds one finding at skills[0].tools[0] for { mcpPrompt: false, tools: ['read_file'] } and a clean result for the key absent and true; the PR body reports the ablation (return true) turning it red, and Test Core is green on this head. The explanation sentence states the limit (the pair resolves only for a skill offered over MCP; an in-product turn runs without it; a mcpPrompt: false skill is still reported), and the os explain pin requires both phrases. That closes N1 of the first record.

S2, as read in the tree. The three in-PR restatements now name the fourth source and its condition, each agreeing with the code: the tools jsdoc in skill.zod.ts:366-373, the comment in authoring-rules.ts:1345-1348, and the comment in reference-integrity-suite.ts:691-695 (it says collectToolUniverse unions three sets and a skill offered over MCP also resolves the pair, which is how the code is now split). The per-write reasoning in the two lint comments is unchanged and still holds. content/docs/ai/tools.mdx:193 and skills/objectstack-ai/SKILL.md:85 are both named on #35041 (body and comment 6964629901, which carries the S1 wording), blocked on this PR. The module header and the constant's jsdoc in platform-tool-names.ts state the same limit, sentence by sentence true.

New on this head.

S3 (should-fix) — the mcpPrompt jsdoc in packages/spec/src/ai/skill.zod.ts:449-451 is made false by this delta and was not updated.

  • It reads: "The key changes nothing else: the in-product agent runtime resolves, binds and activates the skill exactly as without it, and its tools / surface are validated as before."
  • At this head the key changes one more thing, the lint verdict on tools: { tools: ['read_file'] } is clean without the key and reported with mcpPrompt: false. The delta's own control pin asserts exactly that difference.
  • This is the published contract of the very key the rule now branches on, in a hits file the delta edits 80 lines higher. It is the same class as S2 (a restatement in the PR's own files that the change makes false), and the first record quoted this sentence as evidence for S1.
  • Fix: one clause of jsdoc, for example that tools are validated as without the key except for the MCP door's file tools, which resolve only for a skill offered over MCP. Jsdoc only: no .describe() string, so nothing generated moves.
  • No other sentence in the two hits files is made false. skill.zod.ts:245 and :411 ("still validated", "still checked at authoring time in both distributions") stay true. The mcpPrompt .describe() string makes no "nothing else" claim.

N4 (nit, carried from L1 6965577916 N1) — the #34167 pin title at validate-ai-tool-references.test.ts:60 ("exactly as without the key") is the test-side twin of S3's sentence, and is now false for the pair. It passes because its fixture names no file tool. Routed to #35036 by the area. Since S3's fix moves the head anyway, the retitle can ride in that commit at no extra review cost; either way it has no effect on correctness.

N5 (nit) — a mcpPrompt: false skill naming read_file gets the generic verdict ("resolves to no stack, platform or materialised action tool") and the generic hint, neither of which says the name is a real tool that is served over MCP only. os explain does say it. A dedicated arm, like the one for an unexposed action, would be more useful; for #35036, which works the same rule's universe.

N2 and N3 of the first record ride unchanged (accepted deviation, or #35036).

Tried and held: a wildcard or a near-miss on a mcpPrompt: false skill does not leak the pair; the per-skill choice cannot report anything main resolves; mcpPrompt is a declared SkillSchema key, so the rule sees it on a parsed stack.

No must-fix. S3 is open on this head and owes a delta review of its fix.

Implemented-by: claude/issue-34948-mcp-file-tool-names
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

…tle the #34167 pin

The mcpPrompt jsdoc said a skill's tools are validated as before under
`false`, which #34948 made false for the MCP file tools. It now says the
key changes nothing else at run time, and names the one authoring verdict
that reads it. The #34167 pin title and comment say the same.

Comment, jsdoc and test-title text only; no .describe() string, no
generated file and no behaviour moves.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzi6WQ71HhZSLSvHhdF
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi8zDwpH6wX7ZPUcHR

席位核对

L1 delta review · ACCEPT · Head-sha: f5b2e2d650387f76782583c0caed0e5a0a03f2ce · card #34948 · read 2026-11-18T01:00Z

This reviews the delta from L1 6965577916 (ACCEPT at 71597ee0). The delta is one commit, f5b2e2d6 (2 files, +10 / -4), a fast-forward with no main merge. It answers the seat's delta-2 items S3 and N4 (#34948 comment 6965699500).

No new findings.

Owed, for the seat: the contract-review delta for 71597ee0..f5b2e2d6, if the seat wants one for text. This comment readies, queues and arms nothing.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head f5b2e2d650387f76782583c0caed0e5a0a03f2ce · 2026-11-18T01:00Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: f5b2e2d650387f76782583c0caed0e5a0a03f2ce
Local-runs: none
Scope: packages/spec/src/ai/skill.zod.ts, packages/spec/src/system/constants/platform-tool-names.ts + packages/lint/src/validate-ai-tool-references.ts, packages/lint/src/rule-explanations.ts, packages/lint/src/authoring-rules.ts, packages/lint/src/reference-integrity-suite.ts

Second delta review, of 71597ee0a5b374e520d3ee18cfd586fbce1d450e..f5b2e2d650387f76782583c0caed0e5a0a03f2ce (one commit, 2 files, +11 / -5), after contract review 6965662661 (PASS, S3 open, N4) on PR #35034, card #34948. Read: the card body and its 7 comments (the newest is the area's delta note 6965699500), the PR body and its 11 comments, the delta diff, the two files it touches and the rule they describe in the tree at this head, and the check-runs on this head.

Scope note: record-recognisers --template --paths over the PR's 12 files returns two hits paths, skill.zod.ts and platform-tool-names.ts; the brief named one. This record covers both, as 6965662661 did. Of the scope files the delta touches only skill.zod.ts. The other file in the delta, packages/lint/src/validate-ai-tool-references.test.ts, is the lane seat's ACCEPT at TIER_DEFAULT (L1 6965730875); it is read here only for N4.

Check-runs on this head, read 2026-11-18T01:32Z: 69 total, 58 success, 11 skipped, 0 failed, none running. Green and relevant: Test Core 1/10 to 10/10 and its roll-up (the lint, mcp and spec suites that hold the pins, the retitled one included), Build Core, every Type Check job, every Lint job, Check Changeset, Governed Surface Queue Guard, Spec property liveness, PR-body guards. The 11 skipped are opt-in or not-applicable jobs (Build Docs, Dogfood Verify CLI, Temporal Conformance, the queue verdicts and the like).

① Derived judgments

  • Accept set: unchanged. The skill.zod.ts hunk is inside the mcpPrompt jsdoc block only. The .describe() string on the next statement is byte-identical, and no schema shape moves. Metadata-protocol: none stays right.
  • Public surface: no export added, removed or retyped by the delta.
  • Lint behaviour: unchanged. validate-ai-tool-references.ts is not in the delta; the test hunk changes one it(...) title and a comment, no fixture and no assertion.
  • Generated output: nothing moved. The delta's file list is the two source files; no file under api-surface/, export-origins/, authorable-surface/ or liveness/ is in it, and the Lint and Build Core jobs that carry the generated-artefact checks are green on this head.

② Semver level

Clause-②: yes (widening) — agreed, unchanged by the delta. Against main the rule still only resolves more names and refuses nothing.

Changeset .changeset/34948-mcp-file-tool-names.md: untouched by the delta, still @objectstack/spec patch and @objectstack/lint patch, the level Metadata-protocol: none takes. A jsdoc and test-title change publishes nothing a new level would describe. Check Changeset is green on this head.

③ Boundary flags

  • The area's delta note 6965699500 carries no open question. It records that no local test was run for this delta (text only, no installed workspace in the container) and names CI on this head as the reading of record. CI is complete and green, so nothing is left unmeasured.
  • Both files in the delta are inside the claim as amended (6964615710).
  • open_questions 2 of the first dev report (os-dev.md against the dispatch on a one-file surface breach): now answered on the card. 6965699500 records the seat's ruling: the dev fixes the consequence in the same PR and the area posts a claim amendment naming the file. Closed.
  • SQL push-down: not applicable. The delta has no data access, no id materialisation and no join.

④ Design judgment

S3: closed

S3, as read in the tree. The mcpPrompt jsdoc (packages/spec/src/ai/skill.zod.ts:448-454) now reads: "The key changes nothing else at run time: the in-product agent runtime resolves, binds and activates the skill exactly as without it, and its surface is validated as before. One authoring verdict reads it: with false, ai-skill-tool-unresolved resolves tools without the MCP door's file tools (MCP_FILE_TOOL_NAMES), since no in-product turn registers them; every other name is checked as before." Sentence by sentence against the code at this head:

  • "nothing else at run time": the only run-time readers of the key in this repo are projectSkillPrompt and its withdrawn-row twin (packages/mcp/src/skill-prompts.ts:157, :191) and the stdio server's re-check (mcp-server-runtime.ts:2562). All three are the MCP projection the paragraphs above this one already describe. No other package reads it.
  • "its surface is validated as before": no non-test file in packages/lint/src reads mcpPrompt except validate-ai-tool-references.ts; the surface-affinity rule does not branch on it.
  • "One authoring verdict reads it": true by the same search. The other two lint files that mention the key (rule-explanations.ts, reference-integrity-suite.ts) carry it in explanation and comment text only, and skill.zod.ts itself has no refinement on it.
  • "with false ... resolves tools without the MCP door's file tools": this is offeredOverMcp (validate-ai-tool-references.ts:205-207, skill.mcpPrompt !== false) choosing shared over withMcpFileTools. The trailing-wildcard branch and the near-miss suggestion take the same per-skill set, so the sentence holds for a pattern entry as well.
  • "every other name is checked as before": shared is stack.tools, PLATFORM_PROVIDED_TOOL_NAMES and the materialised action family, exactly the universe on main.

The sentence 6965662661 quoted as false (its tools / surface are validated as before) is gone, and what replaces it claims no more than the code does. No other sentence in either hits file is changed by the delta; platform-tool-names.ts is untouched and its jsdoc was judged true at the previous head.

N4, addressed. The #34167 pin (validate-ai-tool-references.test.ts:60) is retitled "... exactly as without the key, the MCP file tools aside (#34167)". Its comment says the key's one effect on this rule is the MCP file tools, points at the #34948 control (which sits below it, at :279) and says this fixture names none of them. All three statements are true: the fixture binds create_record, update_record and open_record_card, and its one finding (open_record_card, near-miss open_record) is the same in both universes, so toEqual still holds. The assertions are unchanged and Test Core is green.

Tried and held. A jsdoc edit that moved a generated description: it does not, the .describe() string is untouched and no generated file is in the delta. A second authoring reader of the key that would make "one authoring verdict" false: none in packages/lint/src or in the schema. A fixture in the retitled pin that the per-skill universe would now split: it names no file tool and its suggestion does not come from the pair.

N2, N3 and N5 of the earlier records ride unchanged (accepted deviation, or #35036). No new nit on this delta.

No must-fix, no should-fix.

Implemented-by: claude/issue-34948-mcp-file-tool-names
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF

Landing · area o3-I · 2026-11-18T01:36Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:ai protocol:system size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lint: ai-skill-tool-unresolved warns on read_file and create_upload_link, which the MCP door serves — PLATFORM_PROVIDED_TOOL_NAMES lacks them

2 participants