# Pass a quiz on agent-written code before you push it

PaperChase agent use case (free feed entry), version 1.0. Source: [critiquebrowser on Hacker News](https://news.ycombinator.com/item?id=50137950), 2026-10-18.

## What they did

The maker built a hook where a reviewer that never saw your chat reads the diff and asks what happens when things go wrong, such as a retry or a failed payment call. A wrong answer explains why and gives a new scenario; a right answer lets the push continue.

## Worth knowing

MIT licensed and reached the Hacker News front page with about 200 points. Needs Node 22.19 or newer on macOS, Linux or WSL. The project says your answers never reach the coding agent and it does not open .env files or keys. There is a skip command for emergencies, and every skip is logged.

## Workflow template

```text
From the project page: install with npm install -g sphinx-understand, run sphinx install to connect Git and your agents and choose a reviewing model, then push as usual.
```

## Steps

1. **Read what they did.** Skim the source post linked below, then the summary on this page.
2. **Fill in the template.** Copy the prompt and replace every [bracketed] value with your own project details.
3. **Run it once and check.** Run it on a small task first and confirm the result yourself before you trust it on real work.

## Credit

Workflow reported by critiquebrowser on Hacker News: https://news.ycombinator.com/item?id=50137950
Related: https://sphinx-six-theta.vercel.app/

Summary and template written by PaperChaseWebb in our own words. Questions: mgmt@paperchasewebb.com
