farol: open-source static tool scores pull request merge risk and flags files for review
As AI tools generate more pull requests, human approvers struggle to know which files deserve closer scrutiny, since risk is often spread evenly across large changes. The author introduces farol, an open-source tool that gives each merge a 0-100 risk grade and a verdict of fast track, quick review, or careful review. It relies purely on static analysis with no LLM, building dependency graphs and tracing changed lines back to entry points such as routes, endpoints, and CLI commands. farol combines this with CI coverage reports, lint and security findings, dependency advisories, and API contract changes to weight each file's risk. The output is an HTML artifact that can be posted as a pull request comment, listing must-check items and high-risk files, with a live demo available on a FastAPI and React pull request.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in