964 B
964 B
Session Lifecycle
1) Start Session
- Run environment diagnosis.
- Run preflight.
- Resolve bb path and confirm
bdavailability. - Generate unique session agent name.
- Register agent identity.
- Confirm you are operating in the assigned target repository.
- Do not change project scope (scope is user-controlled in BeadBoard UI).
2) Pick and Claim Work
bd readybd show <id>bd update <id> --status in_progress --claim
3) Coordinate During Work
- Reserve sensitive scopes before edits.
- Send structured mail for blockers and handoffs.
- Read and acknowledge required messages.
4) Verify and Close
- Run required gates (typecheck/test/lint).
- Build readiness report with checks + artifacts.
- Post notes to bead.
- Close bead with explicit reason.
5) Session End Hygiene
- Release reservations.
- Ensure no unresolved blocker mail is pending for your bead.
- Hand off context if stopping before close.