moonrunnerkc/RuleProbe: Detect Config Drift
Detect drift between instruction files (CLAUDE.md, AGENTS.md, .cursorrules) and ESLint config on every PR. Posts results as a PR comment and optionally opens a follow-up PR with the regenerated config. Deterministic checks, no LLM calls, no API keys beyond GITHUB_TOKEN.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 23, 2026
- License
- MIT
Pinned Snippet
uses: moonrunnerkc/ruleprobe@e944930f1c7b3d0590440dcf77d293948228edce # v4.5.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Run mode: drift (default) or verify (legacy) | no | drift |
| instruction-file | Path to instruction file (CLAUDE.md, AGENTS.md, .cursorrules, etc) | yes | — |
| eslint-file | Path to ESLint config (auto-detected if not specified) | no | — |
| regenerate-on-drift | Open a follow-up PR with regenerated config when drift is detected | no | false |
| comment-on-pr | Post drift results as a PR comment | no | true |
| fail-on-drift | Fail the action if drift is detected | no | false |
| output-dir | Directory containing code to verify (verify mode only) | no | src |
| agent | Agent identifier for the report (verify mode only) | no | ci |
| model | Model identifier for the report (verify mode only) | no | unknown |
| format | Report format: text, json, or markdown | no | text |
| severity | Minimum severity to report (verify mode only) | no | all |
| fail-on-violation | Fail the action if any violations are found (verify mode only) | no | true |
| reviewdog-format | Also output in reviewdog rdjson format (verify mode only) | no | false |
| post-comment | Post results as a PR comment (verify mode only) | no | true |
| changed-since | Only verify files changed relative to the given git ref (verify mode only) | no | — |
Outputs
| name | description |
|---|---|
| drift-count | Number of drift issues detected |
| has-drift | Whether drift was detected |
| score | Adherence score as a percentage (verify mode only) |
| passed | Number of rules that passed (verify mode only) |
| failed | Number of rules that failed (verify mode only) |
| total | Total number of rules checked (verify mode only) |