test(ralph-loop): update iteration cap expectation to 500

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-08 13:33:09 +09:00
parent ab0e1e3be0
commit 1a04a6effb
@@ -279,8 +279,8 @@ describe("ulw-loop verification", () => {
await hook.event({ event: { type: "session.idle", properties: { sessionID: "session-123" } } })
expect(hook.getState()?.iteration).toBe(2)
expect(hook.getState()?.max_iterations).toBeUndefined()
expect(promptCalls[0].text).toContain("2/unbounded")
expect(hook.getState()?.max_iterations).toBe(500)
expect(promptCalls[0].text).toContain("2/500")
})
test("#given prior transcript completion from older run #when new ulw loop starts #then old completion is ignored", async () => {