Show HN: Sphinx – a hook that quizzes you on your AI's code before shipping

critiquebrowser 42 points 11 comments October 18, 2026
sphinx-six-theta.vercel.app · View on Hacker News

FOSS, Basically it plugs into your existing coding agent workflow and every time you push to prod it'll throw up a questionnaire that checks if you understand how the code you're pushing works.

Discussion Highlights (8 comments)

totallykvothe

"Outsource your thinking" I'm sorry, what?

jamienk

I can kinda understand the motivation here: you push a bunch of slop (or is it deep, genius code?) but you have a kind of nagging suspicion that you should get to know it more familiarly, like back in the good old days a few months back when you sort of understood what was going on. I... don't... think this is going to work...? Remember Confirmation Fatigue? Soon we will have agents that interact with Sphinx for us.

linkdd

https://www.sphinx-doc.org/ Your slop generator should check if a name exist before claiming it.

altmanaltman

People who care about the problem will definitely not be using this as a method to "understand" their code. People who don't care about this problem will continue to not care. So, who is this for?

gandhiandy69

We went from micromanaging code to micromanaging tools and markdowns.

freshnode

Have you ever heard the idiom "ambulance at the bottom of the cliff"?

sshah03

I considered doing this with an open source app I have that let's you get a visual summary on a PR + get quizzed on it, but ultimately decided it's better to keep it an optional thing for people that want to understand AI PRs rather than force it as a gate, the volume is slowly becoming too high for even that. I agree with the sentiment behind this though as I felt this was needed as well.

hypfer

I mean I see the idea, but at least I use LLMs for code generation in two distinct ways. The first is when I care about the code. That's when I actually read what it produces and force it to use my mental model of how things should be. The second is when I just need a solution that sorta fits the requirements provided. Then I don't read the code because I really do not care. So this hook would either ask me things I know, or it would ask me things I do not care about. But I guess this is very workflow-dependent.

Semantic search powered by Rivestack pgvector
9,789 stories · 92,245 chunks indexed