raaghav-pillai/Mendral AST Interceptor
Inspects AI-proposed pull request changes using AST diffing. Renders a structural diff tree highlighting altered functions and logic branches.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for fetching PR file contents and posting comments | yes | ${{ github.token }} |
| pr-number | Pull request number to inspect. Auto-detected from GITHUB_REF if not provided. | no | "" |
| post-comment | Whether to post a Markdown summary as a PR comment (true/false) | no | true |
| verbose | Show inline body diff for modified nodes (true/false) | no | false |
| node-version | Node.js version to use | no | 20 |
Outputs
| name | description |
|---|---|
| has-changes | 'true' if any structural changes were detected, 'false' otherwise |
| stats-json | JSON string with diff stats: {added, removed, modified, unchanged, total} |