Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge remote-tracking branch 'origin/main' into feat/offline-run-degrade
AkitaOnRails7b22dcef37fb
diff --cc CHANGELOG.mdindex cf94d038,8793f4d5..7fa0f3ab--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -257,21 -251,16 +257,31 @@@ and this project adheres to [Semantic Vsize limits remain. (#1092)### Changed+ - Redacted provider response bodies from the error surfaces this change+ touches: the `memory_consolidate` and `memory_auto_improve` MCP errors, the+ `memory_explore` degradation reason and warning, the reranker degradation+ warning, the consolidator's transient-retry warning, the SessionEnd+ consolidation worker's queue `last_error` and failure logs, the+ auto-improve scheduler's claim `last_error` and tick warnings, and the hook+ router's checkpoint-fallback warning now carry a stable `class`/`status`+ summary (for example `class=provider status=400`) instead of the error's+ `Display`, which for a provider failure includes the upstream response+ body. Other error surfaces are unchanged. (#1103)+- Changed `ai-memory run` to no longer fail closed when the server is+ unreachable: a bounded ~2s reachability probe (any HTTP answer counts as+ reachable, so pre-`/healthz` servers pass) downgrades the launch with one+ loud warning instead of aborting it. The harness starts with no server work+ at all (no lease, link, context, heartbeat, status, finish, or import),+ lifecycle hooks keep spooling locally with the bounded retention surfaced in+ the warning, auto-wire installs hooks but defers the MCP registration to the+ next online launch, sessions resume only through an explicit native selector+ (no lease means no mutual exclusion), the child runs without+ `AI_MEMORY_RUN_ID`/`AI_MEMORY_WORKSTREAM_ID` so its session cannot be+ misattributed, and the child's exit code is returned with a local+ spool-health account. A server that dies mid-run, after the child exits, no+ longer discards the exit code either: the unimported transcript is+ downgraded to a warning naming the exact `ai-memory finalize-session` repair- command, while protocol-level failures still fail hard. #1112++ command, while protocol-level failures still fail hard. (#1112)- Changed static CLI/MCP project-name resolution to accept an existingrepository's canonical hostless path name and its v2 basename compatibilitykey. Reads remain find-only; an authorized write through the canonical key