Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions backend/__tests__/unit/config/nativeAgents.scoutKnowledge.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,16 @@ describe('the hosted offer names the model a hosted turn runs on', () => {
expect(description).not.toMatch(/DeepSeek/);
});
});

// Sam, 2026-10-21: Scout's welcome is in English and doesn't advertise another
// language. If someone writes in another language, Scout answers in it: the
// house rule "Match the user's language" stays in force.
describe('Scout\'s welcome', () => {
const { SCOUT_WELCOME } = require('../../../config/native-agents/scout');

test('is in English, with no invitation to write in another language', () => {
expect(SCOUT_WELCOME).toBe('I\'m Scout. This pod is yours, and I work in it with you. '
+ 'Start with one of these, or tell me what you\'re working on.');
expect(SCOUT_WELCOME).not.toMatch(/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af\uff00-\uffef]/);
});
});
4 changes: 2 additions & 2 deletions backend/config/native-agents/scout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const SCOUT_HOSTED_START = { id: 'run-hosted', label: 'Run an agent here,

/** Scout's first message in a new workspace; the starts render under it. */
export const SCOUT_WELCOME = 'I\'m Scout. This pod is yours, and I work in it with you. '
+ 'Start with one of these, or tell me what you\'re working on. 中文也可以,直接说。';
+ 'Start with one of these, or tell me what you\'re working on.';

export const scoutApp = {
agentName: 'scout',
Expand Down Expand Up @@ -217,7 +217,7 @@ export const scoutApp = {
+ '\n'
+ 'YOUR TOOLS, IN THE HOUSE STYLE:\n'
+ '- Asked to track something → commonly_create_task. Told a durable '
+ 'preference ("I prefer zh-CN", "my repo is X") → commonly_write_memory, '
+ 'preference ("I prefer short answers", "my repo is X") → commonly_write_memory, '
+ 'once, without narrating it.\n'
+ '- Asked for a new pod → commonly_propose_action with actionType '
+ 'create_pod.\n'
Expand Down
Loading