11# Beans — Agent Integration
22
3- This project uses [ beans] ( https://github.com/henriquebastos/beans ) for issue tracking.
3+ This project uses [ beans] ( https://github.com/henriquebastos/beans ) for task tracking.
4+ Beans is the primary tool for managing work — always use it to create, track, and
5+ close tasks. Do not track work outside of beans.
46
5- ## Workflow
7+ ## Before Starting Work
68
7- Before starting work, check for available tasks:
9+ ``` bash
10+ beans ready # see what's unblocked
11+ beans show < id> # read the full bean before starting
12+ beans claim < id> --actor < name> # claim it
13+ ```
14+
15+ ## Self-Contained Beans
16+
17+ Every bean body must contain enough context for someone with no prior conversation to
18+ pick it up. Include: what needs to change, why, which files are involved, and what
19+ "done" looks like. Never rely on thread context or conversation history.
820
921``` bash
10- beans ready
22+ beans create " Title " --body " Full description of what needs to happen and why "
1123```
1224
13- Claim a task before working on it:
25+ ## Working on a Task
1426
1527``` bash
16- beans claim < bean-id> --actor < your-name>
28+ beans claim < id> --actor < name> # claim before starting
29+ # ... do the work ...
30+ beans close < id> # close when done
1731```
1832
19- When done, close the task :
33+ If you discover new work while working on a bean, create a new bean for it :
2034
2135``` bash
22- beans close < bean-id>
36+ beans create " New task discovered" --body " Description" --parent < epic-id>
37+ beans dep add < blocker-id> < blocked-id>
2338```
2439
40+ ## Bean Hygiene
41+
42+ - One bean per deliverable change
43+ - Close beans when done, don't leave them dangling
44+ - If a bean is no longer needed, close it with an update explaining why
45+
2546## Commands Reference
2647
2748| Command | Description |
@@ -32,7 +53,10 @@ beans close <bean-id>
3253| ` beans create <title> ` | Create a new bean |
3354| ` beans update <id> ` | Update bean fields |
3455| ` beans close <id> ` | Close a bean |
35- | ` beans claim <id> ` | Claim a bean |
36- | ` beans release <id> ` | Release a bean |
37- | ` beans dep add <from> <to> ` | Add dependency |
56+ | ` beans claim <id> --actor <name> ` | Claim a bean |
57+ | ` beans release <id> --actor <name> ` | Release a bean |
58+ | ` beans dep add <from> <to> ` | Add dependency (from blocks to) |
3859| ` beans dep remove <from> <to> ` | Remove dependency |
60+ | ` beans schema ` | Show JSON schemas for all models |
61+
62+ Use ` --json ` on any command for structured output. Use ` --body ` on create/update for descriptions.
0 commit comments