From f0c0eeb9a4b906e611a3810ca4a1972cdf58e618 Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Thu, 14 May 2026 18:49:00 +0200 Subject: [PATCH] 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 --- AGENTS.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 5fe7f7e..df356e0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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 --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 + ``` ## Code conventions