Repository navigation
docs(ai): teach the qualified action tool name on the AI pages - #39321
Merged
objectstack-fleet[bot] merged 1 commit intoDec 3, 2026
Merged
Conversation
Claude-Session: https://claude.ai/code/session_01Utp6CZyaZyJWdzKPF2U7EQ Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ L1 ACCEPT — zone ai-1203 of seat 席位核对
|
Closed
6 tasks
Contributor
Author
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Landing: 2026-12-03T12:44Z · head |
objectstack-fleet
Bot
deleted the
claude/issue-39289-qualified-action-tool-docs
branch
December 3, 2026 13:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Bill · project thread
Fixes #39289
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Four hand-written pages under
content/docs/ai/(tools.mdx,agents.mdx,actions-as-tools.mdx,connect-mcp.mdx) now teach the tool name an AI-exposed Action materialises as:action_OBJECT__ACTIONand a top-level Action's isaction_ACTION; that a qualified name over 64 characters is shortened, withactionToolNamefrom@objectstack/spec/aias the way to get the exact spelling; that the olderaction_ACTIONspelling of an object-bound Action still resolves, to every exposed Action of that name; and thataction_*still means every exposed Action;action_support_case__escalate_case,action_crm_lead__convert_lead,action_support_case__resolve_case,action_crm_lead__lookup_company/action_crm_lead__enrich_contact);Every sentence was checked against
packages/spec/src/ai/action-tool-name.ts(the two spellings, the 64-character limit and the head-plus-hash shortening,legacyActionToolNameresolving to every action of that name) andpackages/lint/src/validate-ai-tool-references.ts(both spellings in the resolvable universe, the trailing wildcard) onmainat dc4a2cd.actionToolNameis exported from the@objectstack/spec/aientry (packages/spec/src/ai/index.tsre-exports./action-tool-name;package.jsonexports./ai). The MCP door sentences were checked againstbindingEntryServedinpackages/mcp/src/skill-prompts.ts: any entry starting withaction_is served byrun_action, so both spellings are.Tests
Docs-only. The
os:checkblocks that changed (tools.mdx) type-check undercheck:skill-examples(green, below).Acceptance notes
tools.mdxstill quotes thestack.toolsfield description, which says "materialised action_NAME tools". That block is a verbatim quote ofpackages/spec/src/stack.zod.ts, so it is left as quoted; the paragraph under the example gives the qualified rule. Changing the spec description is outside this card's file surface.content/docs/**(nofiles[]entry names it), so the PR carriesskip-changeset.Verification
Read first: the rule paragraph in
content/docs/ai/tools.mdxunder the first example, then the same paragraph inagents.mdx.Two-minute check: grep the four pages for the old generic spelling (
action_followed bynamein angle brackets); on this head it hits only the quoted spec description attools.mdxline 22.Local gates at 0901922
node scripts/pm/dispatch-gates.mjs --commandsderived 46 commands for the four paths; all 46 exited 0 on this head (the lint/spec/client builds were run first for the five gates that read built output).--ranreconciliation: 46 derived, 46 run, 0 NOT-MEASURED, 0 UNRUN.overlap-check.mjs --pr=39304: origin/main and #39304 merge cleanly.Generated by Claude Code