v1.3.1

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

AI Summary

git-ai v1.3.1 is a patch release focused on bug fixes, security improvements, and performance optimizations. Key changes include preventing extreme memory consumption when reading large OpenCode databases, preserving AI authorship notes through rebases, and addressing security issues related to credential permissions and token redaction.

Key Highlights

  • Fixed memory consumption issue when reading large OpenCode databases
  • Preserved AI authorship notes through rebases with improved conflict resolution and daemon reliability
  • Implemented security fixes for credential permissions, CAS validation, and token redaction
  • Centralized agent_usage metric emission for all AI hooks
  • Enabled stash attribution in release builds

Full Release Notes

## git-ai v1.3.1

### 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.3.1/install.sh | bash
```

**Windows (PowerShell):**
```powershell
irm https://github.com/git-ai-project/git-ai/releases/download/v1.3.1/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: enable stash attribution in release builds by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1122
* fix: prevent extreme memory consumption when reading large OpenCode db by @steventohme in https://github.com/git-ai-project/git-ai/pull/1120
* fix: centralize agent_usage metric emission for all AI hooks by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1124
* fix: preserve AI authorship notes through rebases — conflict fix + daemon reliability by @svarlamov in https://github.com/git-ai-project/git-ai/pull/1121
* Fix security: credential permissions, CAS validation, token redaction by @jwiegley in https://github.com/git-ai-project/git-ai/pull/1028
* Use notes_add_batch for consistent notes tree fanout by @a-churchill in https://github.com/git-ai-project/git-ai/pull/1074


**Full Changelog**: https://github.com/git-ai-project/git-ai/compare/v1.3.0...v1.3.1