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~1Opt-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/--gitpassthrough flag (use--compatinstead)ZAGI_AGENTandZAGI_AGENT_CMDenvironment variables