Skip to content

chore: final polish before v1.6.0 stable#42

Merged
arapov merged 1 commit into
masterfrom
chore/final-polish
May 20, 2026
Merged

chore: final polish before v1.6.0 stable#42
arapov merged 1 commit into
masterfrom
chore/final-polish

Conversation

@arapov
Copy link
Copy Markdown
Collaborator

@arapov arapov commented May 20, 2026

Summary

Last-look review surfaced three small items worth landing before v1.6.0 stable. No runtime behaviour change for existing tools.

Changes

1. Harden DESTRUCTIVE_TOOLS against future drift

Was a hardcoded Set of 7 names in src/server/register-tool.ts. If someone adds a new delete_X tool but forgets to update the Set, it ships as a routine write — no client confirmation prompt for a destructive operation. The aggregate-count test would catch the drift, but the failure mode is exactly the kind of surprise the annotations were supposed to prevent.

Switched to delete_ prefix + 2 explicit non-delete exceptions (remove_track, remove_additional_party). Future delete_X tools auto-inherit destructiveHint: true. New test pins the safety net.

2. Enrich glama.json for the registry card

Was just { maintainers: ["arapov"] }. Now includes description + categories so glama.ai's listing scrape has actual content for the tile.

3. README at-a-glance mention of annotations

The auto-approval improvement landed in rc.3 but didn't make the at-a-glance bullet list. Added one-line callout.

Test plan

  • npm run typecheck clean
  • npm run lint clean
  • npm run format:check clean
  • npm test469 / 469 (was 468 + 1 new delete_* safety-net assertion)
  • npm run builddist/index.js 147.44 KB, dist/http.js 173.91 KB (unchanged)
  • Privacy sweep clean

After this merges I'll stop. You review master, then say "release" when ready and I'll cut v1.6.0 stable.

🤖 Generated with Claude Code

Three small items surfaced in the last-look review. No runtime
behaviour change for existing tools.

1. Harden DESTRUCTIVE_TOOLS against future drift. Was a hardcoded
   Set of 7 names — a future delete_X tool added without remembering
   to update the Set would ship as a routine write (no client
   confirmation prompt). Switched to delete_ prefix + 2 explicit
   non-delete exceptions (remove_track, remove_additional_party).
   New delete_X tools auto-inherit destructiveHint. Test added to
   pin the safety net.

2. Enrich glama.json. Was just { maintainers: ["arapov"] } — now
   includes description + categories so the registry card has
   actual content for glama.ai's listing scrape.

3. README at-a-glance bullet about MCP tool annotations. The
   auto-approval improvement landed in rc.3 but didn't make the
   at-a-glance section — adds a one-line callout.

469 tests (was 468). No bundle size change.
@arapov arapov merged commit f99c042 into master May 20, 2026
1 check passed
@arapov arapov deleted the chore/final-polish branch May 20, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant