Skip to content

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

Rust

Merge PR #1190: fix(workstream): list only the top-level Crush sessions

AkitaOnRailsef23346f04a3
diff --cc CHANGELOG.md
index 5ceacdc7,32822623..4357b521
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,30 -8,12 +8,36 @@@ and this project adheres to [Semantic V
## [Unreleased]
### Fixed
+- Fixed a purged session coming back. `purge-session` leaves a tombstone so a
+ late event cannot recreate the session, but live hook ingest creates its
+ session row on a path that never checked it, so the next event for a purged
+ session brought back the session and a new observation. Hook ingest now
+ refuses it, and the delivery is acknowledged as `dropped_invalid` instead of
+ failing and being retried from the client's spool. (#1194)
+- Fixed `purge-session` leaving the user's own sentences behind in the
+ cross-project profile's evidence: the profile harvests preference-shaped
+ sentences from prompts into candidate rows keyed to the session, and the
+ purge removed the session but not those rows, so a later pass could still
+ converge a purged sentence into a profile page. The purge now deletes the
+ session's prompt candidates in the same transaction. (#1195)
+- Fixed `move-project` leaving rows on the old workspace. Pending
+ cross-project messages (addressed to the project and sent by it), entities,
+ page feedback, session purge tombstones and the profile evidence were not
+ re-stamped with the project's other tables, so the moved project lost its
+ pending mail, its entity retrieval and open feedback findings, and a purged
+ session could be recreated. They now move in the same transaction. (#1196)
+- Fixed a Codex, Pi, OMP or Grok session going missing once its store held more
+ than 2,000 transcripts. Looking a session up by id read the first 2,000 files
+ in directory-walk order, so the rest came back as not found: `ai-memory run`
+ dropped the linked session and started a fresh one, and a transcript import
+ failed. The lookup now reads the transcript that names the session id first,
+ then the newest. (#1189)
+ - Fixed Crush sub-agent sessions being listed as sessions of their own:
+ `backfill`, `doctor` and the automatic session pick of `ai-memory run` read
+ the Crush `sessions` table without skipping rows that have a parent, so a
+ sub-agent session could be imported as a separate session or chosen for the
+ resume. The listing now skips them, as session discovery already did.
+ (#1190)
- Fixed generated TypeScript integrations (OpenCode, OpenCode 2, OMP,
Pi, OpenClaw) flashing a console window on Windows.
`discoverRemoteIdentity` spawned `git config --get remote.<name>.url`