Skip to content

fix(mcp): flag bulk operations as destructive (0.10.1) - #7

Merged
wavyx merged 2 commits into
mainfrom
fix/mcp-bulk-destructive
Jun 5, 2026
Merged

fix(mcp): flag bulk operations as destructive (0.10.1)#7
wavyx merged 2 commits into
mainfrom
fix/mcp-bulk-destructive

Conversation

@wavyx

@wavyx wavyx commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Closes the contrarian audit's H1: the MCP guide promised clients prompt before bulk calls, but only delete/remove carried destructiveHint.

  • classifyKind now marks bulk ops (conv bulk-status) destructive → tool carries destructiveHint, clients prompt before running it.
  • Corrected the MCP guide to state exactly which tools are destructive (delete/remove/bulk) vs plain writes (create/update).

Verified live: conv_bulk_status → destructiveHint true, docs_article_create → false. 100% coverage (709 tests).

wavyx added 2 commits June 5, 2026 15:44
conv bulk-status now classifies as destructive, so its MCP tool carries
destructiveHint and clients prompt before it runs — previously only
delete/remove were flagged. Correct the MCP guide accordingly.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wavyx
wavyx merged commit 52ad532 into main Jun 5, 2026
11 checks passed
@wavyx
wavyx deleted the fix/mcp-bulk-destructive branch June 5, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants