Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- Native binary caps heap at 256MB (`-R:MaxHeapSize=256m`, overridable per run with `-Xmx`); SBOM emits JSON only.

## [1.3.0] - 2026-09-23

### Breaking
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,9 @@ A: Honestly, it's your choice. For instance, I use OpenRouter mainly since you c
**Q: Does this send my code to AI providers?**
A: It sends the git diff (changes only), not your entire codebase. Before sending, the diff is scanned locally: secrets (API keys, private keys, tokens, credentialed URLs), binary content, generated lockfiles, and diffs over 64KB are refused and never leave your machine. Provider base URLs must be https except for loopback hosts. Use Ollama for fully local processing with zero external API calls.

**Q: How much memory does it use?**
A: The native binary caps its heap at 256MB (worst-case RSS stays well under 1GB, versus 80% of RAM uncapped). Override per run with `./ai-commit -Xmx1g` if you ever need more.

**Q: When should I use auto-commit vs interactive mode?**
A: Use **auto-commit** for rapid development when you trust the AI (small, frequent commits). Use **interactive mode** when you want to review messages carefully (large changes, important commits).

Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
<buildArg>--initialize-at-run-time=io.netty,reactor.netty</buildArg>
<buildArg>-march=compatibility</buildArg>
<buildArg>-R:MaxHeapSize=256m</buildArg>
</buildArgs>
</configuration>
</plugin>
Expand Down Expand Up @@ -254,6 +255,9 @@
<goals>
<goal>makeAggregateBom</goal>
</goals>
<configuration>
<outputFormat>json</outputFormat>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
Loading