v1.2.7

git-ai-project/git-aiv1.2.7Apr 9, 2026by github-actions[bot]

AI Summary

git-ai v1.2.7 is a patch release focused on improving git blame attribution accuracy, rebase merge handling, and adding new CLI commands. The release includes fixes for proper line attribution using git blame -C, a new synchronous notes fetch command, and various dependency updates.

Key Highlights

  • Fixed git blame -C to prevent misattribution of shifted lines in git ai diff
  • Added new `git ai fetch-notes` command for synchronous notes fetch
  • Improved rebase attribution with per-commit delta, conflict fallback, and test hardening
  • Fixed CLAUDE_CONFIG_DIR env var support in install-hooks and skills
  • Migrated Codex preset to hooks and shared bash recovery

New Features

  • Added `git ai fetch-notes` command for synchronous notes fetch
  • Bash tool change attribution via filesystem snapshots
  • Retain working logs under old-SHA for 7 days in production builds
  • Return ok=true with git_repo=false when bg status is run outside a git repo
  • Codex preset migration to hooks and shared bash recovery

Full Release Notes

## git-ai v1.2.7

### Release Channel
`latest`

---

> **Detailed AI-generated changelog is being generated and will appear here shortly...**

---

### Installation
Install this specific version with checksum verification:

**macOS/Linux:**
```bash
curl -fsSL https://github.com/git-ai-project/git-ai/releases/download/v1.2.7/install.sh | bash
```

**Windows (PowerShell):**
```powershell
irm https://github.com/git-ai-project/git-ai/releases/download/v1.2.7/install.ps1 | iex
```

### Downloads
- **Linux (x64)**: `git-ai-linux-x64`
- **Linux (ARM64)**: `git-ai-linux-arm64`
- **Windows (x64)**: `git-ai-windows-x64.exe`
- **Windows (ARM64)**: `git-ai-windows-arm64.exe`
- **macOS (Intel)**: `git-ai-macos-x64`
- **macOS (Apple Silicon)**: `git-ai-macos-arm64`

### SHA256 Checksums
```
$(cat release/SHA256SUMS)
```

### Attestation Verification
Verify build provenance with the GitHub CLI:
```bash
gh attestation verify git-ai-<platform> --repo git-ai-project/git-ai
```


<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### Other Changes
* fix: use git blame -C to prevent misattribution of shifted lines in git ai diff by @svarlamov in https://github.com/git-ai-project/git-ai/pull/984
* chore(deps): bump lodash from 4.17.23 to 4.18.1 in /agent-support/vscode in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/925
* chore(deps): bump clap from 4.5.60 to 4.6.0 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/886
* Filter out mock_ai metrics events from telemetry by @svarlamov in https://github.com/git-ai-project/git-ai/pull/996
* [codex] migrate Codex preset to hooks and shared bash recovery by @svarlamov in https://github.com/git-ai-project/git-ai/pull/997
* fix(ci): reverse original_commits order for rebase merge authorship p… by @blanet in https://github.com/git-ai-project/git-ai/pull/998
* fix(ci): reverse original_commits order + add local CI regression tests by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1015
* feat: bash tool change attribution via filesystem snapshots, codex fixes by @jwiegley in https://github.com/git-ai-project/git-ai/pull/798
* chore(vscode-plugin): bump @types/node from 25.5.0 to 25.5.2 in /agent-support/vscode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1011
* chore(vscode-plugin): bump typescript from 5.8.3 to 6.0.2 in /agent-support/vscode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1010
* chore(deps): bump zip from 8.4.0 to 8.5.1 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1009
* chore(vscode-plugin): bump posthog-node from 5.28.9 to 5.29.0 in /agent-support/vscode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1007
* chore(deps): bump indicatif from 0.17.11 to 0.18.4 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1006
* chore(ci): bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1005
* chore(vscode-plugin): bump eslint from 9.30.1 to 10.2.0 in /agent-support/vscode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1004
* feat: add `git ai fetch-notes` command for synchronous notes fetch by @Krishnachaitanyakc in https://github.com/git-ai-project/git-ai/pull/987
* feat: return ok=true with git_repo=false when bg status is run outside a git repo by @svarlamov in https://github.com/git-ai-project/git-ai/pull/898
* chore(deps): bump ratatui from 0.28.1 to 0.30.0 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/1012
* Fix Devin Review bugs in PR #932: stale help text and missing trailing newline by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1018
* Move cursor to JSONL from sqlite by @acunniffe in https://github.com/git-ai-project/git-ai/pull/932
* fix: respect CLAUDE_CONFIG_DIR env var in install-hooks and skills by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1019
* feat: retain working logs under old-SHA for 7 days in production builds by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1022
* feat/fix: rebase attribution — per-commit delta, conflict fallback, and test hardening by @svarlamov in https://github.com/git-ai-project/git-ai/pull/993
* fix: pick per-commit PromptRecord in flatten_prompts_for_metadata during rebase by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1024

## New Contributors
* @blanet made their first contribution in https://github.com/git-ai-project/git-ai/pull/998

**Full Changelog**: https://github.com/git-ai-project/git-ai/compare/v1.2.6...v1.2.7