A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Keep the profile notice neutral about who edited
Fei24110a97f5ff58ee
diff --git a/ds-bot/src/host/delivery.js b/ds-bot/src/host/delivery.jsindex 6c80a863..f8614752 100644--- a/ds-bot/src/host/delivery.js+++ b/ds-bot/src/host/delivery.js@@ -28,7 +28,9 @@ export function install(rt) {if (role === 'room') return `[Group chat "${roomName}" · ${note}]`if (role === 'report') return `[Group chat "${roomName}" · replies to your post${goesOn}]`if (role === 'kickoff') return '[Bot team setup]'- if (role === 'update') return '[The user updated your profile — follow the latest version]'+ // The editor can be the user or a Bot (its own tool call, or a Main Bot's):+ // the header stays neutral about who changed the profile.+ if (role === 'update') return '[Your profile was updated — follow the latest version]'if (role === 'secret') return '[Secret card]'if (audience === 'user') return `[Message from ${fromName} · the user sees your reply here]`return `[Message from ${fromName}]`diff --git a/ds-bot/test/update-bot.test.js b/ds-bot/test/update-bot.test.jsindex 4b236db4..240e6960 100644--- a/ds-bot/test/update-bot.test.js+++ b/ds-bot/test/update-bot.test.js@@ -110,7 +110,7 @@ test('an instructions change lands as a message in the Bot chat', async (t) => {assert.equal(sent.length, 1)assert.equal(sent[0].sessionId, 'b2')const text = sent[0].message.content[0].text- assert.match(text, /updated your profile/)+ assert.match(text, /profile was updated/)assert.match(text, /Ship the fix/)// A patch that changes nothing sends no message.await call('update-bot', { id: 'b2', instructions: 'Ship the fix' })