Skip to main content
Runs every part of setup in order and reports each one, then pushes anything new as proof that history from this machine actually reaches the archive. It keeps going after a failure, so you see everything that is wrong at once, and each failure says what to run. The exit code is 0 only when every check passes.
Prints the same report as one JSON object: { ok, checks: [{ name, ok, detail, fix }], project, email }. That, and the exit code, are what a coding agent setting this up reads — see setting up with an agent.
The sync check can report turns found locally but none pushed. A session’s last turn is held back for a few seconds in case the file is still being written; auto-sync picks it up within about 20 seconds.