refactor: describe memory without the .mind file and knowledge graph (P1.5)
Memory lives in the mem0 store and the knowledge graph is not in v1 (ADR-0002, ADR-0007). - The CLI system prompt listed query_knowledge, a tool the community edition does not register. It now lists search_all_workspaces, which the orchestrator does provide. - The default identity no longer claims "persistent memory (.mind file)" or "knowledge graph queries".
This commit is contained in:
@@ -13,11 +13,10 @@ const DEFAULT_IDENTITY: Required<IdentityConfig> = {
|
||||
personality:
|
||||
'Direct, concise, helpful. Leads with answers, avoids filler. Admits uncertainty rather than guessing.',
|
||||
capabilities: [
|
||||
'persistent memory (.mind file)',
|
||||
'persistent memory stored on this computer',
|
||||
'web search and page reading',
|
||||
'file system operations (read, write, edit, search)',
|
||||
'shell command execution',
|
||||
'knowledge graph queries',
|
||||
'task tracking',
|
||||
],
|
||||
};
|
||||
|
||||
@@ -25,8 +25,11 @@ describe('ensureIdentity', () => {
|
||||
expect(id.name).toBe('Waggle');
|
||||
expect(id.role).toBe('AI assistant with persistent memory and web access');
|
||||
expect(id.personality).toContain('Direct, concise, helpful');
|
||||
expect(id.capabilities).toContain('persistent memory (.mind file)');
|
||||
expect(id.capabilities).toContain('persistent memory stored on this computer');
|
||||
expect(id.capabilities).toContain('task tracking');
|
||||
// Memory lives in the mem0 store, not a .mind file, and the knowledge graph is not in v1.
|
||||
expect(id.capabilities).not.toContain('.mind');
|
||||
expect(id.capabilities).not.toContain('knowledge graph');
|
||||
});
|
||||
|
||||
it('does not overwrite existing identity', () => {
|
||||
|
||||
Reference in New Issue
Block a user