Skip to content

Copy destructiveHint to consequentialHint - #145

Merged
rgarcia merged 2 commits into
mainfrom
hypeship/consequential-hint
Nov 1, 2026
Merged

rgarcia merged 2 commits into
mainfrom
hypeship/consequential-hint

Conversation

@rgarcia

@rgarcia rgarcia commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Chrome's WebMCP surfaces consequentialHint (shown by kernel browsers webmcp list) and ignores MCP's destructiveHint, so a tool annotated the MCP way, like a delete, reported consequentialHint: false. Registration now copies destructiveHint into consequentialHint when the latter is unset; an explicit value wins. ToolAnnotations gains the field. Test added; README notes it.

Found by an agent-driven QA run against the dashboard that flagged kill_session as not consequential.

@rgarcia
rgarcia merged commit e72d83b into main Nov 1, 2026
2 checks passed
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.

1 participant