Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
Realign three test assertions with current English prompt output
wytf0c7889563b9
diff --git a/src/core-agent/test/evolution.test.ts b/src/core-agent/test/evolution.test.tsindex 359d8448..1fadafd4 100644--- a/src/core-agent/test/evolution.test.ts+++ b/src/core-agent/test/evolution.test.ts@@ -584,12 +584,12 @@ describe("Evolution: AgentRunner integration", () => {const evaluation = runner.evaluateReflection(result);expect(evaluation).not.toBeNull();expect(evaluation!.primaryFocus).toBe("error_recovery");- // Adaptive review prompt is now English-headed (`buildAdaptiveReviewPrompt`- // in metacognition.ts), but `buildConversationDigest` still emits zh- // lines (`结果: 从错误中恢复,任务完成` etc.) in the body. Assert both:- // the English head + the zh recovery line + the user-supplied result.text.+ // Adaptive review prompt = English head (buildAdaptiveReviewPrompt) ++ // English digest body (buildConversationDigest's "Outcome: recovered+ // from the error and completed the task") + the user-supplied+ // result.text appended verbatim.expect(evaluation!.prompt).toContain("conversation digest");- expect(evaluation!.prompt).toContain("从错误中恢复");+ expect(evaluation!.prompt).toContain("recovered from the error");expect(evaluation!.prompt).toContain("Task completed");});diff --git a/test/main/features/memory.test.ts b/test/main/features/memory.test.tsindex 69ed8144..e57b4527 100644--- a/test/main/features/memory.test.ts+++ b/test/main/features/memory.test.ts@@ -237,14 +237,14 @@ describe('memory › formatForSystemPrompt', () => {const mem = await loadMemory();const block = mem.formatForSystemPrompt('nobody');expect(block).toContain('cross_session_memory');- expect(block).toContain('暂无记忆条目');+ expect(block).toContain('no memory entries yet');});it('includes guidance about when to call the tool', async () => {const mem = await loadMemory();const block = mem.formatForSystemPrompt('nobody');- expect(block).toContain('必须调用 tool');- expect(block).toContain('记住');+ expect(block).toContain('MUST call');+ expect(block).toContain('persistent memory');expect(block).toContain('target');});@@ -256,7 +256,7 @@ describe('memory › formatForSystemPrompt', () => {expect(block).toContain('MEMORY');expect(block).toContain('fact one');expect(block).toContain('fact two');- expect(block).not.toContain('暂无记忆条目');+ expect(block).not.toContain('no memory entries yet');});it('formats USER entries', async () => {