Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge main into fix/1648-scripted-prompts-not-profile
AkitaOnRailsc50563d6430b
diff --cc CHANGELOG.mdindex 5d3dfaa2,15da0493..31110e25--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -11,18 -11,24 +11,34 @@@ version in [`docs/changelog/`](docs/cha## [Unreleased]+ ### Changed++ - `purge-project --confirm` without `--project`/`--project-id` now prints the+ project it resolved from the current directory and the equivalent command+ that names it, before the irreversible request. Naming the target will be+ required in 4.0: from the wrong directory the derived name is the one project+ nobody meant to delete, and a flag that spells it out is the only way to tell+ the two cases apart (#1642).+### Fixed+- The cross-project profile no longer promotes an agent task brief into a+ default for every project. Two more filters now apply: a prompt that wraps a+ transcript or asks for a verbatim reply is the signature of a program+ driving the agent through its SDK, and none of it is harvested; and a+ sentence that switches off one of the agent's own capabilities ("Do not use+ any tools.", "Never call browser_close") only becomes a preference when it+ states cross-project scope. Two scripted one-shot prompts had reached+ `min_projects` and shipped "do not use any tools" as a `tools` default with+ confidence 0.95, which made agents ask for facts instead of looking them up+ in the wiki they were already in (#1648).+ - `purge-project --project ""`, and an empty `--project-id`/`--workspace`/+ `--from`/`--to-workspace` on `move-project`, `purge-session` and+ `rename-project`, are now refused before anything is sent. An empty flag+ passed the "was the target named" check and then resolved as if it had been+ omitted, so a script that passed an unset variable reached the project its+ current directory resolved to — a real purge from an explicit-looking+ invocation (#1642).- `ai-memory workstream-search` now labels a historical tool call or toolresult as completed evidence, as the managed-workstream docs describe. Itstext output used the event's role, which every transcript adapter sets to