# ci_monitor.cjs Cross-platform GitHub Actions CI monitoring tool. Pure Node.js — no shell commands. ## Usage ```bash node scripts/ci_monitor.cjs ``` **Before using:** Run `--help` to discover available arguments. ## Routing Table | When You Need | Command | |---------------|---------| | List recent runs | `runs [--branch ]` | | Monitor running workflow | `watch ` | | Fail fast in scripts | `fail-fast ` | | See why run failed | `log-failed ` | | Test pass/fail counts | `test-summary ` | | Check action versions | `check-actions ` | | Search logs | `grep --pattern ` | | Wait for deployment | `wait-for --keyword ` | | Compare runs | `compare ` | ## Validation Principle **"No errors" is not validation.** Use observable output: ```bash # NOT just "success" - show specific output node scripts/ci_monitor.cjs test-summary node scripts/ci_monitor.cjs grep --pattern "TypeError" ``` ## Why Not Just Use `gh run`? - **Observable output** — test-summary extracts counts, grep shows context - **fail-fast** — exits 1 on first failure (for scripts) - **GraphQL batching** — check-actions queries all versions in one request - **Cross-platform** — no shell interpolation, works on Windows