diff --git a/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts b/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts index 3905606244f..486d5dc59a4 100644 --- a/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts +++ b/src/agents/pi-embedded-runner/run/attempt.spawn-workspace.context-engine.test.ts @@ -644,7 +644,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => { it("uses assembled context as the default precheck authority", async () => { let sawPrompt = false; - const hugeHistory = "large raw history ".repeat(25_000); + const hugeHistory = "large raw history ".repeat(2_000); const result = await createContextEngineAttemptRunner({ contextEngine: createTestContextEngine({ @@ -678,7 +678,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => { it("honors context engines that opt into preassembly overflow authority", async () => { let sawPrompt = false; - const hugeHistory = "large raw history ".repeat(25_000); + const hugeHistory = "large raw history ".repeat(2_000); const result = await createContextEngineAttemptRunner({ contextEngine: createTestContextEngine({ @@ -712,7 +712,7 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => { }); it("snapshots pre-assembly messages before assemble even when the engine windows in place", async () => { - const hugeHistory = "large raw history ".repeat(25_000); + const hugeHistory = "large raw history ".repeat(2_000); const preassemblyMarker = { role: "user", content: hugeHistory, timestamp: 1 } as AgentMessage; await createContextEngineAttemptRunner({