Add label management and import collision detection

- Implement 'bd label' command with add/remove/list subcommands
- Add import --dry-run and --resolve-collisions for safe merges
- Support label filtering in 'bd list' and 'bd create'
- Update AGENTS.md with collision handling workflow
- Extends bd-224 (data consistency) and bd-84 (import reliability)
This commit is contained in:
Steve Yegge
2025-10-15 17:19:16 -07:00
parent 6bfaad8731
commit 3c8e4d78e5
7 changed files with 341 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ bd create "Issue title" -t bug|feature|task -p 0-4 -d "Description" --json
# Create with explicit ID (for parallel workers)
bd create "Issue title" --id worker1-100 -p 1 --json
# Create with labels
bd create "Issue title" -t bug -p 1 -l bug,critical --json
# Create multiple issues from markdown file
bd create -f feature-plan.md --json
@@ -32,6 +35,15 @@ bd dep add <discovered-id> <parent-id> --type discovered-from
# Create and link in one command (new way)
bd create "Issue title" -t bug -p 1 --deps discovered-from:<parent-id> --json
# Label management
bd label add <id> <label> --json
bd label remove <id> <label> --json
bd label list <id> --json
bd label list-all --json
# Filter issues by label
bd list --label bug,critical --json
# Complete work
bd close <id> --reason "Done" --json