diff --git a/AGENTS.md b/AGENTS.md index 69ef255cad2..299a30de3db 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -72,6 +72,8 @@ All changes must consider folder workspaces as well as git worktrees. Don't assu If changing code around `git`, `gh`, source-control, or review behavior read [`docs/agents-md-refs/git-workflow.md`](./docs/agents-md-refs/git-workflow.md). +When waiting for CI, sleep for 7 minutes before checking status. If checks are still running, repeat the 7-minute sleep before each check to avoid wasting tokens on frequent polling. + For a failed GitHub Actions run, inspect the failed jobs and retry with `gh run rerun --failed --repo stablyai/orca`. Preserve successful jobs; use a full rerun only when the failure requires revalidating them. A code fix needs a new push and fresh checks, not a retry of the old SHA. # Tests