Repository navigation
Releases
Releases · suryanshranjan/askwhy
v0.1.0: git why
First public release. git blame tells you who; git why tells you why.
What works
askwhy init [--local]: installs Claude Code and Codex hooks, a post-commit hook, thegit whyalias and the agent instruction- Capture per agent turn: prompt (secrets redacted), edit line ranges + content hashes, every shell command with exit code and summary, token usage and price, the agent's decision and rejected alternatives
git why <file>:<line>,askwhy receipt,askwhy price,askwhy export(Agent Trace v0.1),askwhy pending,askwhy doctor- Records live in git notes (
refs/notes/why); local only, no network, no model calls
Verified
- Claude Code: end to end on a production repo (three real sessions, real commits)
- CI: Linux + Windows, Node 22 + 24
Not yet
- Codex capture is built from the documented hook format and the real log format, but not yet verified against a live Codex session
- (published to npm:
npx askwhy init) - Cursor, Gemini CLI, hosted PR view