Repository navigation
feat(skills): mcp-import, mcp-apps, skill-import, tool-authoring families (lot 10c, part 2) - #3045
Conversation
There was a problem hiding this comment.
Summary
Adds four hand-written tool-family docs (mcp-import, mcp-apps, skill-import, tool-authoring), registers them in TOOL_FAMILY_DOCS, and removes the corresponding tools from LEGACY_UNDOCUMENTED_TOOLS. The docs themselves are accurate and well-written; the @agentproto/runtime tool-docs tests (161) and check-types both pass. One integration test breaks on this branch, though.
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch), which is the only publishable package whose src/** changed (node scripts/list-changed-packages.mjs prints only that). Patch is appropriate for doc data. No further changeset is owed — packages/skill-pack-agentproto/cli-verbs.json sits outside that package's files[] and src/, so it is not publish-affecting.
Findings
High — packages/skill-pack-agentproto/cli-verbs.json must drop agent and mcp
pnpm --filter @agentproto/skill-pack-agentproto test fails on this branch:
skills: test B (sources only) > has no failure
"9|cli-verbs.json|"agent" is covered by a family doc; remove it here"
"9|cli-verbs.json|"mcp" is covered by a family doc; remove it here"
The new tool-authoring family doc declares CLI verb agent, and mcp-import declares verb mcp, so runChecks (test/checks.mjs:325) now requires those verbs to be removed from cli-verbs.json instead of being listed as skill/exception mappings. Remove the agent and mcp entries from the verbs object. I verified that deleting just those two entries makes all 46 skill-pack tests pass.
This is a real CI failure against the exact changes in this PR (the built dist/tool-docs.mjs already carries the new families, and the base had mcp/agent listed as not-yet-covered).
Low — dangling seeAlso entries
mcp-apps.ts and mcp-import.ts list seeAlso: [..., "app-ui"], and tool-authoring.ts lists seeAlso: [..., "app"]. Neither app-ui nor app is an existing family id or skill in packages/skill-pack-agentproto/src/skills/ (the real app skill is ap-apps). seeAlso is not validated today, so this does not fail anything, but it will read as a broken cross-link once a generator renders it. Point these at a real family/skill (ap-apps, ap-import-mcp, extend-agentproto) or drop them.
Verdict
Requesting changes: the cli-verbs.json update is required to keep the skill-pack test suite green. The doc content itself looks good; just that one file needs fixing (and optionally the seeAlso names).
🤖 @agentproto-bot — review · session sess_1558a9f9 (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_fbff123b · $0.0612 · run 46547189034 · sha 01c54f70681a0024cd3ceea1b0ecd4b5ca8d9367
There was a problem hiding this comment.
Summary
The increment (4dd91f718) removes the agent and mcp entries from packages/skill-pack-agentproto/cli-verbs.json, exactly as requested in the prior review: both verbs are now covered by a family doc (tool-authoring declares agent, mcp-import declares mcp), so the skill-pack coverage check no longer flags them.
Verified green:
pnpm --filter @agentproto/skill-pack-agentproto test→ 46/46 pass.- Re-running
gen-skills.mjsproduces no tracked-file change, so thecli-verbs.jsonedit does not alter the published generated skills.
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch). node scripts/check-changeset-coverage.mjs passes — that is the only publishable package this PR is owed. packages/skill-pack-agentproto/cli-verbs.json sits outside that package's files[]/src/** and does not change generated output, so no additional bump is required.
Findings
Low — dangling seeAlso entries (unchanged from prior review)
mcp-apps.ts (seeAlso: [..., "app-ui"]), mcp-import.ts (seeAlso: [..., "app-ui"]) and tool-authoring.ts (seeAlso: [..., "app"]) reference ids that match neither a TOOL_FAMILY_DOCS family nor a shipped skill. Real targets would be ap-apps, ap-import-mcp, or extend-agentproto. seeAlso is not validated today, so this fails nothing and does not block; point them at a real id or drop them before a generator renders the cross-links.
Verdict
Approve. The blocking cli-verbs.json issue is fixed and the suite is green; only the cosmetic seeAlso cleanup remains.
🤖 @agentproto-bot — review · session sess_66cbef8d (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_27a73ca5 · $0.0105 · run 46548670605 · sha 4dd91f718b6c16f56627d8d9b076b29206a0305b
|
cli-verbs.json fixed (agent and mcp removed) in 4dd91f7. The dangling |
There was a problem hiding this comment.
Summary
The increment (e4e7d9410) resolves the only remaining finding from the prior review: the dangling seeAlso ids are gone.
mcp-apps.ts:app-ui→ap-appsmcp-import.ts:app-ui→ap-apps(also adds the existingap-import-mcp)tool-authoring.ts:app→ap-apps
All three targets now resolve to real ids: ap-apps and ap-import-mcp are shipped skills (present under packages/skill-pack-agentproto/skills/ and in the manifest), and approvals (kept in tool-authoring) is a real tool-family doc. This matches the id convention used by the other family docs (account-health, devices, desktop, …).
Verified green:
vitest run src/__tests__/tool-docs.test.ts→ 161/161 pass.
The earlier cli-verbs.json edit (4dd91f718) is unchanged by this increment and stays as approved.
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch). node scripts/check-changeset-coverage.mjs passes ("All changed publishable packages are in a changeset: @agentproto/runtime"). @agentproto/skill-pack-agentproto prints from list-changed-packages only because of cli-verbs.json, which is outside the package's files[] (skills, .claude-plugin, README.md, LICENSE) and does not change generated output — no additional bump is owed.
Findings
None. The prior low-severity seeAlso cleanup is fully addressed.
Verdict
Approve. Increment fixes the dangling cross-links with real ids; tests are green and the changeset is complete.
🤖 @agentproto-bot — review · session sess_7452c149 (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_9d231921 · $0.0145 · run 46551717500 · sha e4e7d94102968ca2e9f34419d650058b0f0ead31
e4e7d94 to
f99515b
Compare
There was a problem hiding this comment.
Summary
The increment resolves the dangling seeAlso cross-links from the earlier review. Every target now resolves to a real id:
mcp-apps.ts:ap-apps(alsomcp-import)mcp-import.ts:mcp-apps,skill-import,ap-import-mcp,ap-appstool-authoring.ts:approvals(real tool-family doc),ap-apps
All targets exist as shipped skills (packages/skill-pack-agentproto/skills/{ap-apps,ap-import-mcp}/) or as tool-family docs (approvals, mcp-import, mcp-apps, skill-import), matching the id convention used across the other family docs.
The new family docs (mcp-apps, mcp-import, skill-import, tool-authoring) are wired into TOOL_FAMILY_DOCS and the matching tools are removed from LEGACY_UNDOCUMENTED_TOOLS (removals only — no new names added).
Verified green:
vitest run src/__tests__/tool-docs.test.ts→ 264/264 pass.node scripts/check-changeset-coverage.mjs→ "All changed publishable packages are in a changeset: @agentproto/runtime".
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch), which is the only publishable package touched in src/**. @agentproto/skill-pack-agentproto appears only via cli-verbs.json, which is outside the package's files[] and changes no generated output, so no extra bump is owed.
Findings
None. The prior seeAlso cleanup is fully addressed.
Verdict
Approve.
🤖 @agentproto-bot — review · session sess_c99f1cef (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_c9f39361 · $0.0313 · run 46554236523 · sha f99515b865ef1204a6c2f0459cdc533f5e694270
f99515b to
53d5bd2
Compare
There was a problem hiding this comment.
Summary
The increment resolves the dangling seeAlso cross-links. Every target now resolves to a real id:
mcp-apps.ts:ap-apps(alsomcp-import), replacing the non-existentapp-ui.mcp-import.ts:mcp-apps,skill-import,ap-import-mcp,ap-apps(droppingapp-ui).tool-authoring.ts:approvals(a real tool-family doc),ap-apps(dropping the bareapp).
Verified each target exists: ap-apps and ap-import-mcp are shipped skills under packages/skill-pack-agentproto/skills/, and approvals/mcp-import/mcp-apps/skill-import are family ids in TOOL_FAMILY_DOCS, matching the convention used across the other family docs.
The new family docs (mcp-apps, mcp-import, skill-import, tool-authoring) are wired into TOOL_FAMILY_DOCS and the matching tools are removed from LEGACY_UNDOCUMENTED_TOOLS (removals only).
Verified green:
vitest run src/__tests__/tool-docs.test.tsinpackages/runtime→ 330/330 pass.node scripts/check-changeset-coverage.mjs→ "All changed publishable packages are in a changeset: @agentproto/runtime".
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch), the only publishable package touched in src/**. @agentproto/skill-pack-agentproto appears only via cli-verbs.json, which is outside the package's files[] and changes no generated output, so no extra bump is owed.
Findings
None.
Verdict
Approve.
🤖 @agentproto-bot — review · session sess_898a0c1d (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_b752149d · $0.0100 · run 46556861421 · sha 53d5bd2336cb9a7989ebe5fed135cdc2a9637d17
53d5bd2 to
7a98b5d
Compare
There was a problem hiding this comment.
Summary
Re-reviewed the PR. The remaining increment is consistent and correct: cli-verbs.json drops the agent and mcp verbs that are now covered by the tool-authoring and mcp-import family docs (required by check 9: a verb covered by a family doc must be removed from cli-verbs.json), and every seeAlso now resolves to a real target.
Verified all four new family docs (mcp-apps, mcp-import, skill-import, tool-authoring) are wired into TOOL_FAMILY_DOCS, document exactly the 18 tools removed from LEGACY_UNDOCUMENTED_TOOLS (3 + 7 + 4 + 4), and that removals are removals only — no tool is documented twice or left in neither place.
seeAlso targets all resolve: mcp-import/mcp-apps/skill-import/tool-authoring/approvals are family ids, and ap-apps/ap-import-mcp are shipped skill folders.
Verified green:
vitest run src/__tests__/tool-docs.test.tsinpackages/runtime→ 383/383 pass (partition, CLI-verb coverage, real-schema example validation).pnpm --filter @agentproto/skill-pack-agentproto test→ 46/46 pass (thecli-verbs.jsonverb-coverage checks included).
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch), the only publish-affecting package touched in src/**. Although list-changed-packages.mjs also lists @agentproto/skill-pack-agentproto (it changed cli-verbs.json), that file is at the package root outside the package's files[] and generates no committed output (skills/ is build-generated and gitignored), so check-changeset-coverage.mjs correctly reports it as not owed.
Findings
None.
Verdict
Approve.
🤖 @agentproto-bot — review · session sess_4842ee86 (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_bc0a697c · $0.0382 · run 46560053494 · sha 7a98b5d786c857432ca30c2630ecb6a49fb8ba09
7a98b5d to
63334b8
Compare
There was a problem hiding this comment.
Summary
Re-reviewed the PR. The increment since the previously reviewed commit is a rebase onto newer main (which pulled in #3048) with no further content change to this PR's four commits; the tree still matches what was approved. I re-verified the full diff (origin/main...HEAD): four new family docs (mcp-apps, mcp-import, skill-import, tool-authoring) wired into TOOL_FAMILY_DOCS, exactly the 18 tools removed from LEGACY_UNDOCUMENTED_TOOLS (3 + 4 + 3 + 7 + 4, counted: tool-authoring 4, mcp-apps 3, mcp-import 7, skill-import 4), each documented exactly once and left in neither place twice. cli-verbs.json still drops the agent and mcp verbs now covered by family-doc cliCommands — required by check 9, which fails a verb listed here when a family doc also covers it (and fails a verb covered by neither). Every seeAlso target resolves: mcp-import/mcp-apps/skill-import/tool-authoring/approvals are family ids, and ap-apps/ap-import-mcp are shipped skill folders.
Verified green on HEAD:
vitest run src/__tests__/tool-docs.test.tsinpackages/runtime→ 442/442 pass (partition, CLI-verb coverage, real-schema example validation).vitest runinpackages/skill-pack-agentproto→ 46/46 pass (checks 3/5/6/8/9 incl. verb coverage and seeAlso resolution).
Changeset
Present and sufficient: .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch), the only publish-affecting package touched in src/**. node scripts/list-changed-packages.mjs also lists @agentproto/skill-pack-agentproto (it changed cli-verbs.json), but that file sits at the package root outside the package's files[] and generates no committed output, so node scripts/check-changeset-coverage.mjs correctly reports only @agentproto/runtime as owed.
Findings
None.
Verdict
Approve.
🤖 @agentproto-bot — review · session sess_91b221a8 (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_1e20a606 · $0.0118 · run 46561503337 · sha d82adde58f1fe52c630b6751a47d566c79cc5c2f
…amilies (lot 10c, part 2)
d82adde to
1a43cbc
Compare
There was a problem hiding this comment.
Summary
Re-reviewed the increment since the previously approved commit d82adde. The content of this PR's four commits is byte-identical to what was approved: the base moved from 70dbfd333 (app families #3043, already on main) and the only newer main commit pulled in is #3052 (a file_delete description fix in fs-tools.ts, unrelated to this PR's files). No drift, no conflicts.
Re-verified:
git diffof every PR-touched file (mcp-apps,mcp-import,skill-import,tool-authoring,index.ts,legacy.ts,cli-verbs.json, changeset) against the approved tree → no differences.packages/skill-pack-agentprotovitest → 46/46 pass (checks incl. CLI-verb coverage andseeAlsoresolution).- The 18 tools removed from
LEGACY_UNDOCUMENTED_TOOLSare exactly the ones documented by the four new families; theagentandmcpverbs removed fromcli-verbs.jsonare now covered by family-doccliCommands.
Changeset
Present and sufficient. .changeset/tool-docs-mcp-skills-authoring.md declares @agentproto/runtime (patch). node scripts/check-changeset-coverage.mjs reports all changed publishable packages covered; skill-pack-agentproto's cli-verbs.json change sits outside files[] and generates no committed output, so it owes none.
Findings
None.
Verdict
Approve.
🤖 @agentproto-bot — review · session sess_75183492 (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode-go/deepseek-v4.1-flash · supervisor sess_42eacf05 · $0.0100 · run 46563591860 · sha 1a43cbc592872701c3e7741eaf5e2fa3d6413037
Summary
Lot 10c, part 2: family docs for 18 tools, removed from
legacy.ts. Four declared families:mcp-import:mcp_discovered_list,mcp_import,mcp_imported_list,mcp_imported_status,mcp_imported_tool_list,mcp_imported_call,mcp_imported_remove.mcp-apps:mcp_app_ui_index,mcp_app_ui_read,mcp_app_tool_call.skill-import:skill_import,skill_imported_list,skill_resync,skill_imported_remove.tool-authoring:create_tool,delete_tool,created_tool_call(with its human gate),create_agent.Part 1 (the
app_*families) is #3043; the two PRs are independent and both branch from main.Not documented
create_driver,update_driver,delete_driver,list_driver,load_driverandresolve_driverare not in this tree's daemon tool list (neither inDAEMON_TOOL_NAMESnor inlegacy.ts), so there is nothing to document or remove.Checks
pnpm skills:checkgreen (tests A and B: every example validated by the real zod schema, no stripped key, no deprecated field).pnpm --filter @agentproto/runtime check-typesclean;node scripts/check-private-names.mjsok.mcp-import.md,mcp-apps.md,skill-import.md,tool-authoring.mdappear indist/gen/skills/ap-tool-index/reference/.legacy.ts; after removing the 18 names it passes.@agentproto-bot · PR · session
sess_7431a9e3(executor, skills lot 10c) · supervisorsess_c95a955c