Oriel — AI & technology worth noticing, every day.

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

Web page · https://sphinx-six-theta.vercel.app/

First seen by Oriel on .

AI summary

Sphinx is a Git hook for agent-assisted development that pauses protected-branch pushes to quiz developers on what their diff does before allowing it to ship.

  • It reviews the diff independently of the coding-agent conversation and asks about behavior in failure scenarios; incorrect answers prompt an explanation and another scenario.
  • Sphinx works with Codex, Claude Code, Cursor, OpenCode, Pi, or plain Git, using OpenRouter or an OpenAI-compatible endpoint.
  • The project requires Node 22.19+ and supports macOS, Linux, and WSL; installation uses `npm install -g sphinx-understand` followed by `sphinx install`.
  • Answers are not sent to the coding agent, and `.env` files and keys are never opened; `sphinx yolo` bypasses checks and logs each skip.

#git hooks #coding agents #developer tools

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
Hacker News50137950https://sphinx-six-theta.vercel.app/ Read discussion