# Farol - Risk map for pull request approvals

Original title: Show HN: Farol – a risk map of a pull request for the person who approves it

> Hacker News story 50231349 · language: en · submitted 2026-10-25
> Web version: https://zeli.app/story/50231349
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 60 · by [ericholiveira](<https://news.ycombinator.com/user?id=ericholiveira>) · 💬 43
[original](<https://github.com/winnin/farol>) · [HN discussion](<https://news.ycombinator.com/item?id=50231349>)

## Summary

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.

## Key quote

> 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.

## HN discussion (43 comments)

### [munro](<https://news.ycombinator.com/item?id=50232160>)

> 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](<https://news.ycombinator.com/item?id=50232317>)

> it's hard for me to imagine something made with so little taste can be any good...

### [timcobb](<https://news.ycombinator.com/item?id=50232351>)

> 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](<https://news.ycombinator.com/item?id=50234171>)

> 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](<https://news.ycombinator.com/item?id=50232566>)

> Good idea. Do you take bribes to exclude certain lines from the risk map? Asking for my good friend Jia Tan.

---

## Cite

- Page: https://zeli.app/story/50231349
- Date: 2026-10-25
- Source: github.com (https://github.com/winnin/farol)
- Hacker News: https://news.ycombinator.com/item?id=50231349

## Other languages

- zh: https://zeli.app/zh/story/50231349 · markdown: https://zeli.app/zh/story/50231349.md
- ja: https://zeli.app/ja/story/50231349 · markdown: https://zeli.app/ja/story/50231349.md
- ko: https://zeli.app/ko/story/50231349 · markdown: https://zeli.app/ko/story/50231349.md
- de: https://zeli.app/de/story/50231349 · markdown: https://zeli.app/de/story/50231349.md
- es: https://zeli.app/es/story/50231349 · markdown: https://zeli.app/es/story/50231349.md
- ru: https://zeli.app/ru/story/50231349 · markdown: https://zeli.app/ru/story/50231349.md
