v2.10.1
v2.10.1 — This release completely rewrites documentation to fix critical discrepancies, hardens security permissions in git-courer, and optimizes token consumption by eliminating duplicate diff outputs.
Documentation
- Existing documentation had over 31 inconsistencies with the actual code and omitted ~20 features — a complete rewrite now covers architecture, commands, MCP clients, hooks (new), troubleshooting, security, tests, and models to ensure accuracy and completeness.
Security and Permissions
- The previous permission model grouped all commands into a single container, creating gaps where dangerous operations like direct shell access lacked explicit blocking — dedicated deny keys for shell access have been added, and the OpenCode policy now directly denies git commands instead of prompting.
- Agent detection (OpenCode, Codex, Claude Code, Antigravity) was inconsistent or missing — detection is now unified via JSON keys in stdin, and output formats for Codex and Claude Code are corrected to properly emit
permissionDecision: "deny"instead of additional context.
Performance and Efficiency
- The system previously emitted both raw and annotated diffs simultaneously, unnecessarily doubling token costs (~2x) without added value — now the diff field is only emitted if the annotated version is empty.
Session Stability
- Discarding an active session left a dangling
activeSessionpointer to a non-existent worktree, causing failures in subsequent MCP tool calls —handleDiscard()now correctly cleans up the active session following the same pattern ashandleFinish().
Changelog
- c7b30e9 chore(deps): bump github.com/BurntSushi/toml from 1.4.0 to 1.6.0 (#173)
- 1acddf4 chore(deps): bump github.com/mark3labs/mcp-go from 0.47.0 to 0.55.1 (#174)
- 0b683fa feat(backup): rewrite PruneBackups to reachability+age and add auto-prune gate (#187)
- c622da1 feat(branch): add from param to branch CREATE + clarify sync PULL docs (#190)
- 35291fe fix(session): clear activeSession pointer on discard to prevent MCP server lockup (#201)
- b5272fe fix: deleted files produce
delete:commit type instead ofrefactor:(#188) - 2dc22a0 fix: omit raw diff when annotated content present (#203)
- 3a2753c fix: refactor git-courer permissions and update hook event tracking (#196)
- 69e6d1b fix: support multi-agent detection and deny git (#202)
Full Changelog: v2.9.0...v2.10.1