@arvoretech/pi-ci-watch
PI extension that monitors CI status on a PR and auto-fixes failures
Package details
Install @arvoretech/pi-ci-watch from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@arvoretech/pi-ci-watch- Package
@arvoretech/pi-ci-watch- Version
1.0.1- Published
- Jun 17, 2026
- Downloads
- 59/mo · 12/wk
- Author
- joao.barros.arvore
- License
- MIT
- Types
- extension
- Size
- 26.3 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@arvoretech/pi-ci-watch
Monitors CI status for GitHub PRs and auto-fixes failures. Closes the feedback loop between CI and the coding agent.
Install
pi install npm:@arvoretech/pi-ci-watch
Or in .pi/settings.json:
{
"packages": ["npm:@arvoretech/pi-ci-watch"]
}
Commands
| Command | Description |
|---|---|
/ci-watch <pr> |
Monitor CI and auto-fix failures (up to 3 attempts) |
/ci-notify <pr> |
Monitor CI and notify when done (no auto-fix) |
/ci-auto on|off |
Auto-watch after every push (default: off) |
/ci-config <min> <max> <step> |
Configure poll intervals in seconds |
/ci-config |
Show current config |
How it works
- Polls
gh pr checkswith a smart interval (30s → 45s → 60s → 30s...) - If CI passed: notifies ✅
- If CI failed: fetches logs via
gh run view --log-failed, returns them to the LLM to fix - LLM reads the error, fixes the code, commits, pushes
- Repeats until CI passes (max 3 attempts)
Auto mode
When enabled with /ci-auto on, the extension detects git push output and automatically starts monitoring the associated PR.
Poll configuration
Default: 30s min, 60s max, 15s step. The interval grows from min to max, then resets — never grows infinitely.
/ci-config 20 90 10
Sets: 20s → 30s → 40s → ... → 90s → 20s → ...
Requirements
ghCLI installed and authenticated- Repository with GitHub Actions CI