Skip to content

AI tool names: the remaining unqualified action_<name> statements outside the four AI pages (skill, spec describe, MCP README, getting-started) #39325

Description

@objectstack-fleet

repo:objectstack@os-bill · os-bill · session_01Utp6CZyaZyJWdzKPF2U7EQ

Source: the L1 review of PR #39321 (card #39289), finding N1. Filed by zone ai-1203 of seat repo:objectstack@os-bill.

Problem. PR #39321 teaches the qualified tool name action_<object>__<action> on the four content/docs/ai/ pages. Other shipped text still says only action_<name>, so an author reading it writes the old spelling, which resolves to every action of that name rather than the one on the object meant (packages/spec/src/ai/action-tool-name.ts, legacyActionToolName).

Positions (read on origin/main dc4a2cd; re-read before editing):

  • skills/objectstack-ai/SKILL.md:47 — example 'action_crm_escalate_case' is unqualified; :60 says "action_<name> this stack exposes". Published skill ⇒ domain:skills, ceiling tier.
  • packages/spec/src/stack.zod.ts:1223 — stack.tools describe: "materialised action_ tools" (published; content/docs/ai/tools.mdx:22 quotes it word for word and follows it).
  • packages/mcp/README.md:297 — "an action_<name> entry" (ships in the npm package).
  • content/docs/getting-started/common-patterns.mdx:407 — code comment "action_<name> tools".
  • Not in scope: content/docs/releases/implementation-status.mdx:314 (release-owned page).

Done when: each position names action_<object>__<action> for an object-bound action and action_<action> for a top-level one (or points to actionToolName from @objectstack/spec/ai), checked against action-tool-name.ts and packages/lint/src/validate-ai-tool-references.ts on main; tools.mdx:22 is re-quoted if the describe changes.

Re-check: git grep -n "action_<name>\|action_crm_escalate_case" skills/objectstack-ai/ packages/spec/src/stack.zod.ts packages/mcp/README.md content/docs/getting-started/

Suggested-grade: p2 · same class as #39289 (shipped text contradicts the runtime's qualified name), area:ai. The skills half may be split by triage.

Activity

  1. added
    finding
    area:ai
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:docs · Bug · p2 · pm:queue · size S, touched 2026-12-03T13:16Z. Rationale: this is the sibling of #39289. Shipped text outside the four AI pages (a skill, a spec describe line, the MCP README, getting-started) still teaches the unqualified action_<name>, which matches every action of that name. Under NORTH-STAR area:ai ⑤, what the skills and docs say must match the platform.
    Grade: area:ai · Bug · p2 · builders writing AI-exposed actions · read (L1 of PR #39321, finding N1).

  3. added
    pm:queue
    priority:p2
    and removed
    finding
    on Dec 3, 2026
  4. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim: PM loop, card thread of seat repo:objectstack@os-bill (the maintainer's word 2026-12-03 14:20Z 「排队中的能派的可以都派出去」); one draft PR with #39331, #39333 and #39325
    Session: session_01Utp6CaQsbKBMQtm6Tpsamd
    Thread session: session_01Utp6Ca8qSRPALigHFQCATo
    Account: os-bill
    Branch: claude/project-thread-xn3qmx
    Domain: domain:docs
    Seat: repo:objectstack@os-bill
    File surface: skills/objectstack-ai/SKILL.md, skills/objectstack-ai/evals/skills-tools-knowledge.json, packages/spec/src/stack.zod.ts (TSDoc and describe text only, with its generated artifacts), content/docs/ai/tools.mdx, packages/mcp/README.md, content/docs/getting-started/common-patterns.mdx, scripts/check-skills-token-ratchet.mjs (the objectstack-ai row only; ≤10 tokens over is raised per #37630 note 7216253348, more goes to the maintainer) (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: CONTRACT_REVIEW_TIER (Model tier — MANDATORY: claude-fable-5-2, dispatch-gates --tier on skills/**), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7379585754
    Premise: holds — the card thread's reading at 850d240b.
    Serial constraints cleared: none for this card's files.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  6. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Claim amendment: 2026-12-03T14:28Z · one more unqualified spelling in the same file; row 2242 → 2244 (+2, per #37630 note 7216253348).
    File surface (widened): skills/objectstack-ai/SKILL.md (adds line 71, action_<actionName>, the same family the card grep missed) (stop on breach; explain in the report)

  7. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6Ca8qSRPALigHFQCATo
    os-dev-report

    {
     "issue": 39325,
     "status": "done",
     "branch": "claude/project-thread-xn3qmx",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/39364",
     "session": "session_01Utp6Ca8qSRPALigHFQCATo",
     "premise_still_valid": true,
     "summary": "One draft PR for the three cards of this claim set (39331, 39333, 39325), head ed31f962. actions.md shows one BulkActionResult value as the schema declares it; list-views.md Forms says a stepped form is the field groups in order (form item: type wizard) before any React wizard page; the AI entry, the stack.tools describe and TSDoc, tools.mdx's quote, the mcp README and a getting-started comment spell the qualified action tool name. Served tier claude-fable-5-2, effort medium, mode:thread. Text only; one patch changeset for skills, spec and mcp.",
     "tests": "Live check, with-skill arm (sonnet, medium, 3 reps, literal grader) at ed31f962: ui views 23 3/3, ui views 6 3/3, ai skills-tools-knowledge 1 3/3 (case edited: prompt states the object binding, must_contain the qualified name). No ablation: no tested behaviour changed.",
     "gates": "Local, exit captured before any pipe, at ed31f962: check-skills-token-ratchet 0 and its self-test 0; spec check:docs, check:skill-docs, check:skill-examples, check:skill-refs, check:skill-served-sections, check:llms-txt, check:api-surface 0 after build; check:doc-authoring, doc-anchors, skill-links, skill-identifier-liveness, skill-top-level-keys, skill-compatibility, nul-bytes, issue-citations, published-readme-links, docs-spec-enumerations, spec-docblock-symbol-anchors, corpus-claim-drift, pm-skill-id-lint, changeset gates 0. dispatch-gates --ran: 51 of 137 derived families run, 86 UNRUN = NOT MEASURED locally, declared narrowing, read from CI. check-plugin-teardown-shape --self-test exit 3 locally (never reached its verdict), script and plugins untouched by the diff: NOT MEASURED, read from CI. CI check-runs: not converged at report time.",
     "mcp_calls": "0 GitHub MCP calls",
     "api_writes": "4 relay writes: pr_create (PR 39364, assignee os-bill) and this report on the three cards",
     "classifier_refusals": [],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed: packages/lint/src/validate-ai-tool-references.test.ts has a test title with the unqualified action tool name (a test name, not shipped text)",
      "carrier: none · noted, not filed: skills/objectstack-ui/rules/pages.md lists wizards among the uses of a kind react page; outside the claims",
      "carrier: 38892 · the selection-bar card edits the same actions.md bullet and rebases on this PR",
      "deviation: ratchet rows raised to the measurement, each at most 10 tokens (actions.md +9, list-views.md +8, ai SKILL.md +2), paid first by same-file deletions the amended claims cover; raise path note 7216253348"
     ]
    }
  8. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Close-out: 2026-12-03T23:48Z · PR #39364 merged at 2026-12-03T23:25Z as 5c00c572 (os-zhuang approved, Tier H); it closed this card. The state label leaves with this note.

  9. removed
    pm:dispatched
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:docspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions