Skip to content
Harjot Singh Rana

Full-Stack Engineer · New Delhi (IST) · Open to work

All projects

Reinstate

Open-source Go CLI for coding-agent session continuity. Finds and resumes Claude Code and Codex sessions locally, and syncs them across macOS, Windows, Linux, and WSL2 through client-side age encryption and your own S3-compatible storage—with OS-aware path remapping so resume works after a machine switch.

Screenshot of ReinstateScreenshot of Reinstate (dark mode)

Stack

GoageS3GitHub Actions

What I built

  • Shipped reinstate, an open-source Go CLI for Claude Code and Codex session sync.
  • Configless local index with search, inspect, resume/fork, and a TTY switcher.
  • Zero-knowledge sync: age E2E encryption and bring-your-own S3/R2 storage.
  • OS-aware path remapping so resume works across Windows, macOS, Linux, WSL2.
  • Safe restore: credential denylist, atomic writes, conflict forks, backups.
  • Passed 23/23 Mac–Windows acceptance tests for remapping and conflict-safe restore.
  • Multi-OS CI for checksummed release binaries; docs and site at reinstate.dev.

Key features

  • Configless local index and search across sessions, prompts, files, projects
  • Native resume, last, and fork for Claude Code and Codex
  • Encrypted push/pull via age and user-owned S3-compatible storage
  • OS-aware path remapping so --resume works after switching machines
  • Pre-launch checks for workspace, agent layout, and capabilities
  • Interactive TTY switcher with deterministic JSON for automation
  • Read-only discovery for Gemini CLI and OpenCode sessions
  • Apache-2.0: no Reinstate account; your bucket, your keys