docs(agents): add explicit fgj commands for issue label transitions

Makes the InProgress-first rule harder to skip by including the exact
command to run, so there is no ambiguity about how or when to do it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas SharedInbox
2026-05-14 18:49:00 +02:00
co-authored by Claude Sonnet 4.6
parent 28b86ec1be
commit f0c0eeb9a4
+8 -1
View File
@@ -23,8 +23,15 @@ fgj issue list --json --state open | jq '[.[] | select(.labels[].name == "State/
Rules:
- Never start work on an issue without `State/Ready`
- Switch `State/Ready``State/InProgress` as your first action when picking up an issue
- Switch `State/Ready``State/InProgress` as your **first action** when picking up an issue — before reading any code:
```bash
fgj issue edit <NUMBER> --remove-label "State/Ready" --add-label "State/InProgress"
```
- If blocked, replace current state label with `State/Question` and leave a comment explaining the blocker
- When done and CI is green, close the issue:
```bash
fgj issue close <NUMBER>
```
## Code conventions