MCP: Smart routing for lifecycle status changes in update tool

- update(status="closed") now routes to close() tool
- update(status="open") now routes to reopen() tool
- Respects Claude Code approval workflows for lifecycle events
- Prevents bypass of approval settings
- bd CLI remains unopinionated; routing only in MCP layer
- Users can safely auto-approve benign updates without exposing closure bypass

Fixes #123

Amp-Thread-ID: https://ampcode.com/threads/T-8b85a68e-7e06-460e-9840-9c6b6a6b7e85
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Steve Yegge
2025-10-23 14:10:33 -07:00
parent 68071df49a
commit feac3f86e7
4 changed files with 74 additions and 2 deletions

View File

@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- **MCP Server**: Smart routing for lifecycle status changes in `update` tool (GH #123)
- `update(status="closed")` now routes to `close()` tool to respect approval workflows
- `update(status="open")` now routes to `reopen()` tool to respect approval workflows
- Prevents bypass of Claude Code approval settings for lifecycle events
- bd CLI remains unopinionated; routing happens only in MCP layer
- Users can now safely auto-approve benign updates (priority, notes) without exposing closure bypass
## [0.14.0] - 2025-10-22
### Added