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:
@@ -137,7 +137,7 @@ Each instance will discover and use the database in its `BEADS_WORKING_DIR` path
|
||||
- `list` - List issues with filters (status, priority, type, assignee)
|
||||
- `ready` - Find tasks with no blockers ready to work on
|
||||
- `show` - Show detailed issue info including dependencies
|
||||
- `update` - Update issue (status, priority, design, notes, etc)
|
||||
- `update` - Update issue (status, priority, design, notes, etc). Note: `status="closed"` or `status="open"` automatically route to `close` or `reopen` tools to respect approval workflows
|
||||
- `close` - Close completed issue
|
||||
- `dep` - Add dependency (blocks, related, parent-child, discovered-from)
|
||||
- `blocked` - Get blocked issues
|
||||
|
||||
Reference in New Issue
Block a user