Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
fix(deps): restore fresh source resolution
AkitaOnRails54c035f330f6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a2a98ce6..039e8395 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -214,6 +214,12 @@ version in [`docs/changelog/`](docs/changelog/):### Fixed+- Restored fresh source installs after crates.io yanked every `zip` release+ compatible with Candle 0.11. Cargo now patches `zip` 8.6.0 to its immutable+ upstream release commit, and `cargo-deny` permits only that repository with+ an exact revision. Locked builds keep the same reviewed code, while+ `cargo install --path crates/ai-memory-cli` can resolve from a clean graph+ again. The patch can be removed when Candle publishes support for `zip` 9.- Fixed the forget sweep's raw-observation prune deleting the raw capture ofa session that still has a queued consolidation. A session resumed after itsfirst summary gets a new `session_consolidation_jobs` row (`pending` ordiff --git a/Cargo.lock b/Cargo.lockindex 19460a67..0a9c5f9c 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -5364,8 +5364,7 @@ dependencies = [[[package]]name = "zip"version = "8.6.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"+source = "git+https://github.com/zip-rs/zip2?rev=771dfc534d2614158af5497ea3dff4d4208d7db1#771dfc534d2614158af5497ea3dff4d4208d7db1"dependencies = ["crc32fast","flate2",diff --git a/Cargo.toml b/Cargo.tomlindex f4d942ad..f6f72f85 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -189,6 +189,13 @@ async-trait = "0.1"tempfile = "3"rstest = "0.26"+# Candle 0.11 requires `zip ^8.6`, but crates.io yanked every compatible 8.x+# release after publishing zip 9. Pin the upstream v8.6.0 release commit so a+# fresh `cargo install --path` can still resolve the graph. Remove this patch+# when Candle publishes a release compatible with zip 9.+[patch.crates-io]+zip = { git = "https://github.com/zip-rs/zip2", rev = "771dfc534d2614158af5497ea3dff4d4208d7db1" }+[workspace.lints.rust]unsafe_code = "forbid"missing_docs = "warn"diff --git a/deny.toml b/deny.tomlindex a9c939f4..828dbadb 100644--- a/deny.toml+++ b/deny.toml@@ -50,3 +50,5 @@ deny = []unknown-registry = "deny"unknown-git = "deny"allow-registry = ["https://github.com/rust-lang/crates.io-index"]+required-git-spec = "rev"+allow-git = ["https://github.com/zip-rs/zip2"]diff --git a/flake.nix b/flake.nixindex 6ec71ceb..3b3f48a8 100644--- a/flake.nix+++ b/flake.nix@@ -363,7 +363,12 @@version = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).workspace.package.version;src = ./.;- cargoLock.lockFile = ./Cargo.lock;+ cargoLock = {+ lockFile = ./Cargo.lock;+ outputHashes = {+ "zip-8.6.0" = "sha256-TrN48XjjyMcZ3f6VF2eTMQDPqwzzH2QYavQaOUkolQA=";+ };+ };# No nativeBuildInputs needed — the build is fully self-contained# (SQLite bundled, libgit2 vendored, rustls with webpki-roots).