Farol - Risk map for pull request approvals
Show HN: Farol – a risk map of a pull request for the person who approves it

Farol is a free, open-source CLI and GitHub Action that tells the person approving a pull request how risky the merge is and which files carry that risk. Running after your AI review, it uses real compiler analysis for TypeScript, Go, and Python to show what a change reaches—every page, endpoint, job, and script—along with a 0–100 risk score, diff coverage, security findings, and contract breaks. It never executes or sends your code anywhere, and it never blocks a merge. Try it with npx @winninjs/farol or the live demo.
The goal is not only a faster review: low-risk pull requests can go fast, and the risky ones get read line by line, starting with the files that carry the risk.
- munro
IDK lot of noise in report, I need more signal to noise ratio, already reading so much AI output as it is.
But the example PR... It said code generate with Claude, is it really still this bad? Last I was using SQLAlchemy with Claude was Opus 4.5, and it took some heavy coaching and skill gen not to generate code like this--but why even use SQLAlchemy at all if you're just going to use string interpolation jeez
https://github.com/erich-oliveira-winnin/full-stack-fastapi-...
owner = "" if current_user.is_superuser else f"WHERE owner_id = '{current_user.id}'"
query = f"SELECT status, count(*) FROM item {owner} GROUP BY status"
rows = session.execute(text(query)).all()
Part of me thinks maybe because it's not popular or well documented, but SQLAlchemy has an eDSL of SQL, so you can skip the whole ORM/table mapping layer, and just use it to programmatically construct SQL syntax
- messia
it's hard for me to imagine something made with so little taste can be any good...
- timcobb
This looks nice, but I would use it with caution.
There was a post here recently, "Using LLM for confidence scoring is a bad idea", my mind went immediately to using LLMs for scoring risk. Seems like a bad idea. If there's anything we still need a human for, it's assessing risk.
- realitylabs
An engineer where I work built something like this so that when QA is about to deploy, they have a better indication of who to call and what is potentially going to be impacted. Our implementation is done prior to production deploy (which requires human approval) and compares currrebt deployed build code to new build changes diff and then analyses. I think there is a lot of room for tools like this in the future. Scoping/homing/etc
- cowlevel
Good idea. Do you take bribes to exclude certain lines from the risk map? Asking for my good friend Jia Tan.