Record
Hooks capture each command with its exit status and the files it changed, hashed. The agent names the scientific steps; it cannot mint the evidence.
Record it. Package it. Prove it.
Use Codex or Claude Code as usual. Whatran records what the agent actually ran as a result-centric graph, then packages the final path into a repository that reruns, checks, and explains itself.
Two stages, one record
Stage one records every command the agent runs, keeps the branches it abandoned, and grades each step as observed or merely declared. Stage two packages only the path that supports the reported result and gives it an executable boundary. A passed replay flows back into the graph.
Hooks capture each command with its exit status and the files it changed, hashed. The agent names the scientific steps; it cannot mint the evidence.
The ledger becomes a graph of artifacts, runs and claims. The viewer shows the result path first; rejected branches and the full execution log are one toggle away.
Export the result path as a manifest, turn its steps into ordered scripts, and commit the reference results with one canonical rerun command.
A fresh CI clone moves the references aside, reruns, compares, and publishes the page. Only then are the packaged runs marked replay-verified.
Generated evidence
One showcase is a recorded exploration with a rejected parameter branch. The other is a verified two-path analysis that starts with one dataset, evaluates a linear and a nonlinear model, and publishes the comparison with every final script.
Click a run to see its command, parameters, inputs and outputs with hashes, and whether the execution was observed. Copy any node as a prompt and let the next agent branch from there.
The page leads with the finding, places both paths side by side, and keeps implementation available without making readers scroll through hundreds of lines first.
Record everything, package the method
The deliverable is a normal repository, not a proprietary capsule. A human can inspect it; another coding agent can take it over from any node.
Chat history, debugging commands and discarded branches never enter the package. They stay in the record, where selective reporting can be seen.
Install once
Whatran is one plugin with two skills, distributed for Codex and Claude Code. It does not replace either agent or add another analysis platform, and it records nothing in projects you have not initialised.
codex plugin marketplace add qchiujunhao/whatran --ref main
codex plugin add whatran@whatran
claude plugin marketplace add qchiujunhao/whatran
claude plugin install whatran@whatran
Then analyse as usual. The agent records as it goes and packages the final path when the findings are reported. You only ever need two commands: whatran.py open to see the graph and whatran.py check to rerun it.