fix(ralph-loop): update template to reflect 500 iteration cap
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
import { describe, expect, test } from "bun:test"
|
||||||
|
import { ULW_LOOP_TEMPLATE } from "./ralph-loop"
|
||||||
|
|
||||||
|
describe("ULW_LOOP_TEMPLATE", () => {
|
||||||
|
test("returns the documented iteration caps for ultrawork and normal modes", () => {
|
||||||
|
// given
|
||||||
|
const expectedIterationCaps = "The iteration limit is 500 for ultrawork mode, 100 for normal mode"
|
||||||
|
|
||||||
|
// when
|
||||||
|
const template = ULW_LOOP_TEMPLATE
|
||||||
|
|
||||||
|
// then
|
||||||
|
expect(template).toContain(expectedIterationCaps)
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -36,7 +36,7 @@ export const ULW_LOOP_TEMPLATE = `You are starting an ULTRAWORK Loop - a self-re
|
|||||||
2. When you believe the work is complete, output: \`<promise>{{COMPLETION_PROMISE}}</promise>\`
|
2. When you believe the work is complete, output: \`<promise>{{COMPLETION_PROMISE}}</promise>\`
|
||||||
3. That does NOT finish the loop yet. The system will require Oracle verification
|
3. That does NOT finish the loop yet. The system will require Oracle verification
|
||||||
4. The loop only ends after the system confirms Oracle verified the result
|
4. The loop only ends after the system confirms Oracle verified the result
|
||||||
5. There is no iteration limit
|
5. The iteration limit is 500 for ultrawork mode, 100 for normal mode
|
||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user