You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Memory cleanup: a save made during the cleanup is reverted with it when the loss guard trips #471
Split out of #108, where it was declined on #123 as a race. It is worth tracking on its own now that more work runs overnight (nightly cleanup, self-set next looks, trigger agents).
What happens:cleanup_finish (client/src/memory.rs) runs git add -A and commits everything under ~/.agents/memory, then reverts that commit when the cleanup removed more than a quarter of the facts. A fact another agent saved between cleanup start and cleanup finish lands in that commit and is reverted with it. Git still holds it in the refused commit, but memory no longer does, and nothing tells the agent that saved it.
Done when: a save made while a cleanup is open survives a loss-guard revert. Either saves made during a cleanup are committed on their own before the cleanup's commit, or the revert covers only the cleanup's own changes. A test runs a save between start and a finish that trips the guard.
Activity
Memory: a refused cleanup takes back only its own changes
Triggers: each HOME has labels of its own (#512)
Trigger tests expect an ended one-off's row; memory eval gets a day-o…