From d4aebba8684f152c0fb7d82ec6be863c6d9ac899 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Sun, 12 Jul 2026 18:11:10 -0500 Subject: [PATCH] CLAUDE.md: monitor CI after every push, not only PR-branch pushes Broaden the GitHub CI instruction to cover every push, including a branch without a PR yet and pushes to master (use `gh run watch` for the commit when there is no PR). Note that docs-only pushes are excluded from CI via paths-ignore, so there is nothing to watch for those. Co-Authored-By: Claude Opus 4.8 (1M context) --- CLAUDE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 44f3caa..cc713a7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,9 @@ ## GitHub CI -After pushing to a branch with an open PR, monitor CI using `gh pr checks --watch` in a background subagent until all jobs pass or a failure is confirmed. Investigate and fix failures immediately rather than leaving them for the user to notice. +After **every** push, monitor GitHub CI in a background subagent until all jobs pass or a failure is confirmed. Use `gh pr checks --watch` when the branch has an open PR; otherwise (a branch with no PR yet, or a push to `master`) use `gh run watch` for the pushed commit. Investigate and fix failures immediately rather than leaving them for the user to notice. + +(Docs-only pushes — `**.md`/`**.asc` — are excluded from CI by `paths-ignore` in `.github/workflows/ci.yml`, so there will be no run to watch for those.) ## Bug Fixes