Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge PR #1191: fix(consolidate): give each non-Latin rule page its own name
AkitaOnRails9e0d22159e7e
diff --cc CHANGELOG.mdindex 4357b521,289bd063..0df8bd0c--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -8,36 -8,14 +8,44 @@@ 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 rules titled in a script without ASCII letters (Cyrillic, CJK, Arabic+ and others) overwriting each other: multi-page consolidation named every such+ rule page `_rules/rule.md`, so only the last survived in the live rules list.+ Each rule now gets a `_rules/rule-<hash>.md` name derived from its title. Rule+ titles in Latin scripts are named as before. A restated non-Latin title+ (case, spacing or punctuation aside) updates its own page. An existing+ `_rules/rule.md` is left in place; delete it once its rule is restated.+ (#1191)- Fixed generated TypeScript integrations (OpenCode, OpenCode 2, OMP,Pi, OpenClaw) flashing a console window on Windows.`discoverRemoteIdentity` spawned `git config --get remote.<name>.url`