{"content":"Development journal for commit 00d2e07a (fix: ensure the default knowledge base like IDBots (prompt block + KB list route)).\n\nUser-visible parity gap vs IDBots: every IDBots metabot always owns a default knowledge base because its prompt block calls ensureDefaultKnowledgeBase every turn; the OAC port only listed existing KBs, so bots had no KB (and no block) until an agent first saved a document, and the new Knowledge tab showed an empty panel. Fix: buildMemoryBlocksForRequest now ensures the default KB (per-profile slug = basename of profileRoot) before building the volatile block, and the dsh-plugin kb/list local read ensures it before listing — the UI, the prompt block, and agent knowledge_base_* tools all see a 'Default' KB at 0 documents from the first turn. The store-injection test seam still bypasses ensure for pure-block tests. Verified: new memoryService test (ensure + list + no duplicate defaults) plus the knowledgebase suite (41) and kb-routes route tests (5), all green after rebuilding both units.\n\nVerification:\ncd /Users/tusm/Documents/MetaID_Projects/open-agent-connect/.worktrees/dsh-metaweb-learn && node --test tests/memory/memoryService.test.mjs tests/knowledgebase/*.test.mjs && cd dsh-plugin && node --test tests/kb-routes.test.mjs\n\nFiles:\ndsh-plugin/src/kb-routes.ts\nsrc/core/memory/memoryService.ts\ntests/memory/memoryService.test.mjs","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}