whence — remember why your code is the way it is
whence is a zero-dependency Go CLI that captures the reasoning coding agents produce and discards, anchors it to the code it concerns, and replays that reasoning before the code changes again. Git remembers what changed; whence remembers why. When an agent like Claude Code, Codex, or Cursor is about to edit a file, the whence hook surfaces the decisions, rejected alternatives, and constraints recorded for that code — the context that never made it into a commit message — so settled decisions stop being re-litigated. The read path is deterministic and offline: no network calls, no model calls, and whence never judges code quality. Records live in .whence/ inside your repository and travel with it. Install with go install github.com/Amag1n3/whence@latest, then read the docs at /docs, the FAQ at /faq, and the agent guidance at /llms.txt.