test(task): exercise bundled budget through subprocess

(cherry picked from commit 6e023cfcebebc429cc020f0f823604eb64eb9c18)
This commit is contained in:
can1357
2026-07-29 22:36:57 +02:00
parent d2d9c81c84
commit def7c5fadd
@@ -105,10 +105,10 @@ function mockCreateAgentSession(session: AgentSession) {
eventBus: new EventBus(),
} satisfies CreateAgentSessionResult);
}
// Named "task": the agent name only selects which bundled ceiling applies, and
// these tests pin `task.softRequestBudget` to a tiny value below every ceiling.
// Use a bundled scout so these runSubprocess tests exercise the built-in
// ceiling together with a lower task.softRequestBudget setting.
const baseAgent: AgentDefinition = {
name: "task",
name: "scout",
description: "test",
systemPrompt: "test",
source: "bundled",