npx agentspec-cli install 8c1b87e7-f407-4bfe-9f6f-5f6f9865e6fe --file-type agents-md→ .agents/
## General workflow - Use TDD with `pytest` - Use `uv` ## Issue Tracking with bd (beads) **IMPORTANT**: This project uses **bd (beads)** for ALL issue tracking. Do NOT use markdown TODOs, task lists, or other tracking methods. ### Why bd? - Dependency-aware: Track blockers and relationships between issues - Git-friendly: Auto-syncs to JSONL for version control - Agent-optimized: JSON output, ready work detection, discovered-from links - Prevents duplicate tracking systems and confusion ### Quick Start **Check for ready work:** ```bash bd ready --json ``` **Create new issues:** ```bash bd create "Issue title" -t bug|feature|task -p 0-4 --json bd create "Issue title" -p 1 --deps discovered-from:bd-123 --json bd create "Subtask" --parent <epic-id> --json # Hierarchical subtask (gets ID like epic-id.1) ``` **Claim and update:** ```bash bd update bd-42 --status in_progress --json bd update bd-42 --priority 1 --json ``` **Complete work:** ```bash bd close bd-42 --reason "Completed" --json ``` ### Issue Types - `bug` - Something broken - `feature` - New functionality - `task` - Work item (tests, docs, refactoring) - `epic` - Large feature with subtasks - `chore` - Maintenance (dependencies, tooling) ### Priorities - `0` - Critical (security, data loss, broken builds) - `1` - High (major features, important bugs) - `2` - Medium (default, nice-to-have) - `3` - Low (polish, optimization) - `4` - Backlog (future ideas) ### Workflow for AI Agents 1. **Check ready work**: `bd ready` shows unblocked issues 2. **Claim your task**: `bd update <id> --status in_progress` 3. **Work on it**: Implement, test, document 4. **Discover new work?** Create linked issue: - `bd create "Found bug" -p 1 --deps discovered-from:<parent-id>` 5. **Complete**: `bd close <id> --reason "Done"` 6. **Commit together**: Always commit the `.beads/issues.jsonl` file together with the code changes so issue state stays in sync with code state ### Auto-Sync bd automatically syncs with git: - Exports to `.beads/issues.jsonl` after changes (5s debounce) - Imports from JSONL when newer (e.g., after `git pull`) - No manual export/import needed! ### CLI Help Run `bd <command> --help` to see all available flags for any command. For example: `bd create --help` shows `--parent`, `--deps`, `--assignee`, etc. ### Important Rules - Use bd for ALL task tracking - Always use `--json` flag for programmatic use - Link discovered work with `discovered-from` dependencies - Check `bd ready` before asking "what should I work on?" - Do NOT create markdown TODO lists - Do NOT use external issue trackers - Do NOT duplicate tracking systems For more details, run `bd --help`. ## Landing the Plane **When the user says "let's land the plane"**, you MUST complete ALL steps below. The plane is NOT landed until `git push` succeeds. NEVER stop before pushing. NEVER say "ready to push when you are!" - that is a FAILURE. **MANDATORY WORKFLOW - COMPLETE ALL STEPS:** 1. **File beads issues for any remaining work** that needs follow-up 2. **Ensure all quality gates pass** (only if code changes were made) - run tests, linters, builds (file P0 issues if broken) 3. **Update beads issues** - close finished work, update status 4. **PUSH TO REMOTE - NON-NEGOTIABLE** - This step is MANDATORY. Execute ALL commands below: ```bash # Pull first to catch any remote changes git pull --rebase # If conflicts in .beads/beads.jsonl, resolve thoughtfully: # - git checkout --theirs .beads/beads.jsonl (accept remote) # - bd import -i .beads/beads.jsonl (re-import) # - Or manual merge, then import # Sync the database (exports to JSONL, commits) bd sync # MANDATORY: Push everything to remote # DO NOT STOP BEFORE THIS COMMAND COMPLETES git push # MANDATORY: Verify push succeeded git status # MUST show "up to date with origin/main" ``` **CRITICAL RULES:** - The plane has NOT landed until `git push` completes successfully - NEVER stop before `git push` - that leaves work stranded locally - NEVER say "ready to push when you are!" - YOU must push, not the user - If `git push` fails, resolve the issue and retry until it succeeds - The user is managing multiple agents - unpushed work breaks their coordination workflow 5. **Clean up git state** - Clear old stashes and prune dead remote branches: ```bash git stash clear # Remove old stashes git remote prune origin # Clean up deleted remote branches ``` 6. **Verify clean state** - Ensure all changes are committed AND PUSHED, no untracked files remain 7. **Choose a follow-up issue for next session** - Provide a prompt for the user to give to you in the next session - Format: "Continue work on bd-X: [issue title]. [Brief context about what's been done and what's next]" **REMEMBER: Landing the plane means EVERYTHING is pushed to remote. No exceptions. No "ready when you are". PUSH IT.** **Example "land the plane" session:** ```bash # 1. File remaining work bd create "Add integration tests for sync" -t task -p 2 --json # 2. Run quality gates (only if code changes were made) go test -short ./... golangci-lint run ./... # 3. Close finished issues bd close bd-42 bd-43 --reason "Completed" --json # 4. PUSH TO REMOTE - MANDATORY, NO STOPPING BEFORE THIS IS DONE git pull --rebase # If conflicts in .beads/beads.jsonl, resolve thoughtfully: # - git checkout --theirs .beads/beads.jsonl (accept remote) # - bd import -i .beads/beads.jsonl (re-import) # - Or manual merge, then import bd sync # Export/import/commit git push # MANDATORY - THE PLANE IS STILL IN THE AIR UNTIL THIS SUCCEEDS git status # MUST verify "up to date with origin/main" # 5. Clean up git state git stash clear git remote prune origin # 6. Verify everything is clean and pushed git status # 7. Choose next work bd ready --json bd show bd-44 --json ``` **Then provide the user with:** - Summary of what was completed this session - What issues were filed for follow-up - Status of quality gates (all passing / issues filed) - Confirmation that ALL changes have been pushed to remote - Recommended prompt for next session **CRITICAL: Never end a "land the plane" session without successfully pushing. The user is coordinating multiple agents and unpushed work causes severe rebase conflicts.**
Issue Tracking
This project uses **bd (beads)** for issue tracking. Run `bd prime` for workflow context, or install hooks (`bd hooks install`) for auto-injection. For full workflow details: `bd prime`
by AgentHub Crawler
Issue Tracking with trx
**IMPORTANT**: This project uses **trx** for ALL issue tracking. Do NOT use markdown TODOs, task lists, or other tracking methods.
by AgentHub Crawler
Agent Instructions
This project uses **bd** (beads) for issue tracking. Run `bd onboard` to get started.
by AgentHub Crawler
Agent Instructions
Sign in to leave a comment.
This project uses **bd (beads)** for issue tracking. Run `bd prime` for workflow context, or install hooks (`bd hooks install`) for auto-injection. For full workflow details: `bd prime` <!-- bv-agent-instructions-v1 -->
by AgentHub Crawler