Skip to content

v0.2.0 — one-command recovery + run-first onboarding

Choose a tag to compare

@suzuke suzuke released this 05 Jul 11:14
90c7b57

agentic-git 0.2.0

The shim gains one-command recovery and a run-first onboarding story. agentic-git-core stays at 0.1.0 (unchanged contract crate).

agentic-git snapshots restore (#10)

Recover work a reset --hard / clean -fd erased, in one command — no snapshot ref, no git internals:

agentic-git snapshots restore --repo <worktree>
  • Non-destructive — writes the snapshot's paths back; never deletes files created after it.
  • Unstaged by default — recovery lands in the working tree, not your next commit (--staged for the classic behavior).
  • Fail-closed safety net — snapshots your current state first (undo target) and aborts if that fails.
  • Refuses to guess — no ref + one snapshot → uses it; several → lists candidates unless --yes.
  • Robust to huge trees (pathspecs via stdin, no ARG_MAX), non-UTF-8 and pathspec-magic filenames (:(glob)…).

Run-first onboarding (#11)

  • README quickstart now leads with agentic-git run (it shipped; it was wrongly listed as roadmap).
  • A runnable demo/recovery-demo.sh: an agent erases work → one command brings it back. It asserts every step, so it doubles as a cold-start acceptance check.

Install

cargo install agentic-git

Every finding in this release was caught by adversarial review before merge (three real bugs: ARG_MAX/E2BIG, pathspec-magic filenames, and a demo that misreported git status).