Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge branch 'feat/820-run-env' into release/2.5

AkitaOnRails272f7b651dfd
diff --cc CHANGELOG.md
index b9c36002,a5bf2bb7..653feca1
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,17 -8,16 +8,27 @@@ and this project adheres to [Semantic V
## [Unreleased]
### Added
+ - `ai-memory run` accepts a repeatable `--env KEY=VALUE` and an `--env-file
+ <path>` (blank lines and `#` comments skipped) to pass extra environment
+ into the spawned harness — e.g. a per-account `CLAUDE_CONFIG_DIR` for
+ callers who previously had to wrap the launch in `env KEY=VAL harness`.
+ Both flags are wrapper-owned like `--yolo`/`--executable` and must precede
+ the harness name; a `--env` entry overrides a same-key `--env-file` line.
+ The resolved environment reaches both the spawned process and ai-memory's
+ own native-session resolution, so the two agree on where a
+ `CLAUDE_CONFIG_DIR`-style override points the session store. See
+ `docs/managed-workstreams.md`. (#820)
+- `contradiction_band_min` / `contradiction_band_max` config keys (env:
+ `AI_MEMORY_CONTRADICTION_BAND_MIN` / `AI_MEMORY_CONTRADICTION_BAND_MAX`)
+ make `memory_lint`'s A5 zero-LLM contradiction-detection cosine-similarity
+ band configurable, defaulting to the historical fixed `0.4`–`0.75`. The
+ band is a fixed absolute cosine value, but background similarity is
+ corpus-dependent: on a single-language or single-domain store, unrelated
+ pages already sit above the general-purpose floor, so the default band
+ measures domain proximity more than conflict and produces noisy findings.
+ Raising `contradiction_band_min` trims that noise. Rejected at config load
+ unless `0.0 <= contradiction_band_min < contradiction_band_max <= 1.0` and
+ both are finite. (#853)
- Fedora users can install prebuilt x86_64 and aarch64 RPMs from GitHub
Releases, with the existing native systemd service assets. (#858)
- `embedding_query_prefix` / `embedding_document_prefix` config keys (env: