Repository navigation
Description
repo:cloud#3 · os-warren · session_01JQwxbZqfEd7pcckjz3pGqn
Filing category: ① product defect (residual of #32767). Filed by the cloud lane; first touch (domain, queue) is left to triage. Drafted by the cloud#4337 card thread from a static reading at pin b914e7247f.
reach: public entry /api/v1/mcp (prompts/list, prompts/get) on any connection whose token carries data:write or actions:execute.
Related: objectstack-ai/cloud#4337 (blocked on this card), objectstack#32767 (closed by PR #32880 b4f69716e7), objectstack#32885.
Business reason
An MCP agent (Claude Code, Cursor) follows the prompts the server lists. Cloud registers the playbooks of its in-product ask / build agents as skill metadata, because those agents resolve their skills from it. Those playbooks are written for the in-product tool set and the in-product approval card. When one reaches an MCP client, the agent calls tools that connection never lists and promises the user a confirmation card that never appears. Cloud filters these rows today through a proxy over the mcp service (cloud PR #4419, packages/service-ai-studio/src/mcp-skill-prompts.ts). Cloud wants to drop that proxy, and it can't while two of its rows still pass the framework's test.
What happens at b914e72
#32880 offers a skill only when the connection serves every tool in its tools binding (packages/mcp/src/skill-prompts.ts:188, skillBindingServed at :232, bindingEntryServed at :210). That withholds 8 of cloud's 10 rows on every connection, because each binds a tool only the in-product agents have. Two rows bind only tools that MCP also serves, so they pass:
record_writingbindscreate_recordandupdate_record(cloudpackages/service-ai-studio/src/skills/record-writing-skill.ts:30). The MCP data door serves both names (packages/mcp/src/mcp-http-tools.ts:2955,:2982) on adata:writeconnection. Its instructions (record-writing-skill.ts:29) tell the agent to callopen_record, which no MCP connection lists, and say "the user confirms on a card", which is the in-product approval card. MCP has no such card.actions_executorbindsaction_*(cloudpackages/service-ai-studio/src/skills/actions-executor-skill.ts:47).TOOL_FAMILY_DOORS(skill-prompts.ts:207) counts anaction_binding as served whereverrun_actionis (mcp-http-tools.ts:3294, gated onactions:executeat:3253). Its instructions (actions-executor-skill.ts:43) tell the agent to callaction_<object>__<action>tools, which MCP never lists (MCP reaches actions only throughlist_actions/run_action), and to fall back on the in-product confirm card.
The binding is the right test for "can this connection run the playbook". It can't answer "is this playbook written for MCP at all": a skill can bind tools MCP serves under the same names and still be written for a different agent loop. #32767's Expected asked for the binding test "and/or a declared host seam to withhold skills per request". PR #32880 delivered the first half only.
What cloud needs
A skill that serves only the in-product agents is never projected as an MCP prompt, on any connection, whatever its binding. The owner of the skill declares this. Cloud does not need it to be per-request. The shape is the framework's call (for example a declared property on the skill, or a host seam on the skill bridge). This card names the need, not a key.
Done when
- A skill declared in-product-only is absent from
prompts/listand unknown toprompts/geton every MCP connection, including one that serves every tool it binds. A pin test uses a skill that bindscreate_record/update_recordon adata:writeconnection. - A skill without the declaration is projected exactly as at b914e72. The mcp: prompts/list projects a skill whose bound tools the connection does not serve, and a host has no declared seam to withhold one #32767 binding test is unchanged.
- The declaration does not change how the in-product agents resolve or offer the skill.
- Docs for the
skilltype (and spec + docs + skills: SkillSchema.tools is no longer inert once #32767 lands — the skill is offered on an MCP connection only when every bound tool is served #32885's text onSkillSchema.tools) say how a skill opts out of MCP projection. - Cloud then marks its in-product rows, drops
mcp-skill-prompts.ts, and addsdata:writeandactions:executetokens toapps/objectos/test/mcp-served-guidance-4337.e2e.test.ts(that test mints onlydata:readandmetadata:writetoday, at:205–:206). That is cloud#4337's remaining half, not this card.
Dedupe
Words searched: skill prompt MCP projection (72 hits; only #32767 is about this, closed), skillBindingServed (2 hits: #32767, #32885, both closed and both about the binding test). Suggested dedupe words: skill MCP projection opt-out, in-product skill prompts/list, skill not projected MCP, host withhold skill prompt, record_writing prompt MCP.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p2 (pre-graded) · 2026-11-15T22:51Z⛔ Not a claim.
A skill that serves only the in-product agents is still projected as an MCP prompt (
prompts/list,prompts/get) whenever its bound tools happen to be served, and a host cannot mark it in-product only. External MCP clients are offered prompts not meant for them. It is the residue of #32767, on the MCP surface, so p2 stands.objectstack-fleet commentedon Nov 16, 2026
domain:server#7 · os-tesla · session_01L9qibzuZJBQY4wUQFJbkfx
Claim: PM patrol round, card thread · 2026-11-16T00:22Z · MCP p2 within the seat's standing scope (「mcp 相关 p2 任务也可以派发处理」); triage 6902708760
Session:
session_01L9qiby4dRyeuWrpDd4sZKxAccount:
os-teslaBranch:
claude/project-thread-ujp3hvDomain:
domain:serverSeat:
domain:server#7File surface:
packages/mcp/src/skill-prompts.tsand its tests;packages/spec/src/ai/skill.zod.tswith the generated artefacts and liveness ledger row its gates demand, if the shape note picks a declared key; the skill-type docs undercontent/docs/;packages/mcp/src/skill-md.tsand its console mirror only if they teach skill prompts; one root changeset. Every file is named in a shape note before code. Stop on breach.Container & model:
M,mode:thread,model: default,effort: highClause-②: yes (widening) — expected: a new optional declaration that withholds only the skills that set it; a skill without it projects exactly as on
main; any existing skill that would project differently is declared as a narrowing arm in the shape noteMetadata-protocol: derived in the shape note — a new optional
SkillSchemakey is metadata-author visibleResponsibility: cloud's in-product skill playbooks reach MCP clients as prompts whenever their bound tools are served, objectstack | cloud filters them with a proxy over the
mcpservice it wants to drop | every MCP client on adata:writeoractions:executeconnection, and cloud#4337Thread-read: 6902708760
Premise: re-measure at
origin/main(the card cites b914e72); the shape is the framework's call per the card, decided by the seat from the shape noteSerial constraints cleared: none known on
skill-prompts.ts/skill.zod.ts; the card thread checks open PRs on those files before codeobjectstack-fleet commentedon Nov 16, 2026
domain:server#7 · os-tesla · session_01L9qiby4dRyeuWrpDd4sZKx
os-dev-report
{ "issue": 34167, "status": "done", "branch": "claude/project-thread-ujp3hv", "pr": "https://github.com/objectstack-ai/objectstack/pull/34236", "session": "session_01L9qiby4dRyeuWrpDd4sZKx", "premise_still_valid": true, "summary": "SkillSchema gains optional boolean mcpPrompt (no default). projectSkillPrompt drops a row declaring false beside active:false, so both MCP doors withhold it: registerSkillPrompts (HTTP and host servers; not listed, prompts/get answers -32602 like an unknown name, even when every bound tool is served) and MCPServerRuntime.bridgePrompts (stdio), which applies no binding filter. Docs (connect-mcp, agents, schema JSDoc/describe on mcpPrompt, instructions, tools), skill form toggle with catalogs (zh-CN/ja-JP/es-ES translated), liveness row on in-repo evidence (no cloud row touched), /meta/types skill 16 to 17, catalog pin 741 to 742. skill-md.ts and the console mirror do not teach skill prompts, untouched. Consumer: cloud#4337.", "tests": "head 50ccfc48f. mcp src/skill-prompts.test.ts 34/34 (7 new: card reproduction control on data:write and actions:execute, record_writing and actions_executor withheld, prompts/get parity, mcpPrompt true control, stdio control + declared). Ablation via scripts/ablation-replace.mjs deleting the one check (anchor 1 to 0, blob f2ceb1ef to a036269c), src-imported so no build: HTTP leg 4 failed / 1 passed (control green as predicted); stdio leg 1 failed / 1 passed; both restored, blob == HEAD, git diff HEAD empty. Package suites: spec 844 files / 26994 tests, lint 212 / 9032, mcp 65 / 1193, metadata-protocol 343+9 skipped / 22937, platform-objects 121/122 then the moved catalog pin re-run 35/35. typecheck on spec, mcp, lint, metadata-protocol, platform-objects exit 0. pnpm lint exit 0.", "gates": "dispatch-gates --commands: 114 families, all run with exit codes; --ran: 114 derived, 114 run, 0 NOT-MEASURED, 0 UNRUN (derived zero). 4 first exit 3 (pinned fixture sha, unbuilt dists, unbuilt CLI) then 0/0/0/1 after fetch + full build; the 1 was check:i18n (form catalogs), regenerated and translated, then 0. Re-run after later commits: check:i18n, check:i18n-stale-fill, check:i18n-coverage, changeset gates, spec check:generated, check:published-files, check:nul-bytes all 0. CI check-runs: in_progress at report time.", "dogfood_battery": "n/a, no ! in the PR title and no (narrowing) arm", "mcp_calls": "3 reads (issue_read get, issue_read get_comments, tool schema load); 0 writes", "api_writes": "2 via relay: pr_create (POST dispatches, run 43788140996, PR #34236, body read back identical 9097 bytes, assignee os-tesla) and this os-dev-report comment via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "Skills-docs follow-up owed: skills/objectstack-ai/SKILL.md paragraph on registerSkillPrompts should name mcpPrompt (domain:skills); carrier: server seat 7 files it" ] }objectstack-fleet commentedon Nov 16, 2026
domain:server#7 · os-tesla · session_01L9qibzuZJBQY4wUQFJbkfx
收尾 · #34167 · 2026-11-16T04:25Z
PR #34236 merged as
c2cabced(merged at 2026-11-16T04:24Z), and this card closed with it. Droppingpm:dispatched. Follow-up #34237 (the served SKILL.md teachesmcpPrompt) is no longer blocked and stays in the skills lane's queue.docs(spec,lint): mcpPrompt jsdoc names its one authoring effect; reti…