A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Close the learning state file to other Bots
Fei24113cc7ef7f4743
diff --git a/ds-bot/src/host/privacy.js b/ds-bot/src/host/privacy.jsindex ccdaf1bd..af080718 100644--- a/ds-bot/src/host/privacy.js+++ b/ds-bot/src/host/privacy.js@@ -74,6 +74,7 @@ export function install(rt) {join(rt.home, 'usage.sqlite-wal'),join(rt.home, 'usage.sqlite-shm'),join(rt.home, 'inflight.json'),+ join(rt.home, 'learning', 'state.json'),join(rt.home, 'ocr.json'),join(rt.home, 'secrets.json'),join(rt.home, 'memory', 'journal.jsonl'),diff --git a/ds-bot/test/privacy.test.js b/ds-bot/test/privacy.test.jsindex 126ac04e..3107059f 100644--- a/ds-bot/test/privacy.test.js+++ b/ds-bot/test/privacy.test.js@@ -245,6 +245,7 @@ test('other Bots cannot read, write or search what a private Bot keeps', async (await refused('read', { file_path: join(home, 'chat-index.sqlite') })await refused('read', { file_path: join(home, 'usage.sqlite') })await refused('read', { file_path: join(home, 'secrets.json') })+ await refused('read', { file_path: join(home, 'learning', 'state.json') })await refused('read', { file_path: join(home, 'memory', 'pending.json') })await refused('glob', { pattern: '**/*', path: diary })await refused('glob', { pattern: '**/*.txt', path: root })