Research
Path:
loom-sprint-scaffold/loom/tests/e2e/goals/research.tsRelative: loom/tests/e2e/goals/research.tsSubproject: loom-sprint-scaffoldCategory: testsLines: 152Bytes: 5,484Imports: 3Exports: 2has tests
Content Preview
- /**
- * Golden goal: research — mid-goal failing stage drives fail_streak to m=3 → REFORMULATE → recovers → completes.
- *
- * Stages:
- * 1. Research phase: succeeds (DONE)
- * 2. Analysis phase: fails 3 consecutive times (TOKEN_DENIED due to destructive tool without token)
- * → fail_streak reaches m=3 → REFORMULATE → reformulation_count=1
- * 3. Reformulated analysis: succeeds (DONE)
- * 4. Report phase: succeeds (DONE)
- *
- * Total model calls across all stages ≥ 200.
- */
- import type {