Skip to content

v0.2.0

Latest

Choose a tag to compare

@mattzcarey mattzcarey released this 07 Apr 23:13
ef3fe5c

What's New

Output Modes

Three output modes via global flags:

  • Succinct (default) — token-efficient output for agents
  • --compat — identical to git CLI output
  • --json — structured JSON output for machine parsing

Conformance Tests

Bash test suite (38 tests) that runs both git and zagi --compat and diffs the output to ensure identical behavior.

Opt-in Guardrails

Guardrails are now opt-in via ZAGI_GUARDRAILS=1. Blocks destructive commands (reset --hard, push --force, clean -f, etc.).

Bypass with a hashed secret:

git set-override pineapples
ZAGI_OVERRIDE=pineapples git reset --hard HEAD~1

Opt-in Prompt Tracking

--prompt on commits is now opt-in via ZAGI_REQUIRE_PROMPT_COMMIT=1 (was mandatory in agent mode).

Removed

  • Agent executor / RALPH loop (git agent run, git agent plan)
  • -g/--git passthrough flag (use --compat instead)
  • ZAGI_AGENT and ZAGI_AGENT_CMD environment variables