thunderjar capture
UNDER CONSTRUCTIONLOW OVERSIGHT AI GENERATED PLACEHOLDER CONTENT
Record every coding-agent session in this repository as git refs under refs/thunderjar/capture/, for Claude Code, Codex, Copilot CLI and OpenCode: each prompt's starting code, and each turn's result. With THUNDERJAR_CAPTURE_STORE=branch, the default in Claude Code cloud sessions (CLAUDE_CODE_REMOTE=true), each session is a branch instead, thunderjar/capture/<session>, one commit per record, for remotes that take only branches.
text
Usage: thunderjar capture [options] [command]
Record every coding-agent session in this repository as git refs under
refs/thunderjar/capture/, for Claude Code, Codex, Copilot CLI and OpenCode: each
prompt's starting code, and each turn's result. With
THUNDERJAR_CAPTURE_STORE=branch, the default in Claude Code cloud sessions
(CLAUDE_CODE_REMOTE=true), each session is a branch instead,
thunderjar/capture/<session>, one commit per record, for remotes that take only
branches.
Options:
-h, --help display help for command
Commands:
install [options] Turn capture on for harnesses: writes their hook
config into this repository, or with --user into
your home folder. Set THUNDERJAR_CAPTURE=0 to switch
it off for a while.
uninstall [options] Turn capture off for harnesses: removes exactly what
install added.
list [options] List the captured sessions, from refs and branches
alike, each with a verdict, to triage which would
make good evals.
show [options] <session> Print one captured session's records, from whichever
store holds it: a header, then each record as its
subject and JSON. Leaves out the snapshot trees.
push [options] [remote] Push every capture to a remote, refs and branches
alike. Captures are never moved, and capture
branches only grow, so it never needs --force.
`capture pull` fetches them.
pull [options] [remote] Fetch every capture from a remote, refs and branches
alike, e.g. ones pushed from another machine or a
cloud session.
import [options] Copy the captures on thunderjar/capture/<session>
branches into refs/thunderjar/capture/<session>/, as
the hooks write them by default. Skips refs that
exist, so it can run again, and leaves the branches
alone.
help [command] display help for command