Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Memory guidance: when superseding, pass the old entry's until date again if it still applies
Bugfixer 255864be57eb5
diff --git a/server/workspace.test.ts b/server/workspace.test.tsindex 477ee8a708..421dd5a362 100644--- a/server/workspace.test.ts+++ b/server/workspace.test.ts@@ -483,6 +483,7 @@ describe("workspace", () => {// a new instruction that changes an older note replaces it, so memory never keeps bothexpect(REMEMBER_AND_FORGET).toContain("use memory_update supersede on that old entry instead of append");expect(REMEMBER_AND_FORGET).toContain("carrying into the new text whatever in the old entry still holds");+ expect(REMEMBER_AND_FORGET).toContain("pass its until date again");// a preference for all their bots is saved once, never passed on to each botexpect(REMEMBER_AND_FORGET).toContain("saved once with memory_update action prefer");expect(REMEMBER_AND_FORGET).toContain("Never pass it on to each bot.");diff --git a/server/workspace.ts b/server/workspace.tsindex 84dbe79e76..869a66a482 100644--- a/server/workspace.ts+++ b/server/workspace.ts@@ -564,7 +564,7 @@ export function memoryTopicIndex(botId: string): string {export const REMEMBER_AND_FORGET =" When the person asks you to remember something, save it now with memory_update append, one fact per call, as a plain statement about them, then confirm in one short line of their words what you will do (\"Got it: short answers, and times in India time.\")." +- " When it changes or replaces something already in your memory (a new instruction instead of an older one), use memory_update supersede on that old entry instead of append, carrying into the new text whatever in the old entry still holds, so your memory never keeps both." ++ " When it changes or replaces something already in your memory (a new instruction instead of an older one), use memory_update supersede on that old entry instead of append, carrying into the new text whatever in the old entry still holds (if it had an until date that still applies, pass its until date again), so your memory never keeps both." +" When they ask you to forget something, call memory_update with action forget and a few words that name it, once per thing: it removes it from your notes, your topic notes and About me, and it is not learned again. Then confirm in one plain line what you forgot." +" A standing preference meant for all their bots (where reminders go, how replies should sound) is saved once with memory_update action prefer: one line in their About me, which every bot reads. Never pass it on to each bot.";