diff --git a/CLAUDE.md b/CLAUDE.md index 6ed50ab..0afebdb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -138,6 +138,39 @@ The two-vignette template is the foundation for additional regional reporting ap +# CI Monitoring + +When this repo has GitHub Actions workflows, scan recent runs on session start. Catches failed pkgdown deploys, broken vignette builds, and stale citation regenerations that would otherwise linger until the user manually checks. + +## On Session Start + +```bash +gh run list --limit 5 --json status,conclusion,name,createdAt,databaseId \ + --jq '.[] | select(.conclusion == "failure")' +``` + +If any failures since the last visit, surface to the user before starting other work: + +> Workflow `` failed `