-
Notifications
You must be signed in to change notification settings - Fork 3
Detect stagnation in repeated repair attempts #110
Copy link
Copy link
Open
Labels
enhancementProduct improvement or enhancementProduct improvement or enhancementexecutionTask execution, run orchestration, and loopsTask execution, run orchestration, and loopsfuturePost-v1 roadmap backlogPost-v1 roadmap backlogobservabilityLogging, explainability, and inspection visibilityLogging, explainability, and inspection visibilityresearchResearch spike or investigative workResearch spike or investigative work
Milestone
Metadata
Metadata
Assignees
Labels
enhancementProduct improvement or enhancementProduct improvement or enhancementexecutionTask execution, run orchestration, and loopsTask execution, run orchestration, and loopsfuturePost-v1 roadmap backlogPost-v1 roadmap backlogobservabilityLogging, explainability, and inspection visibilityLogging, explainability, and inspection visibilityresearchResearch spike or investigative workResearch spike or investigative work
Problem
SpecForge currently halts after bounded attempts, but it does not yet detect repeated non-progressing retries explicitly.
Why it matters
A strong orchestration engine should be able to recognize when it is effectively trying the same fix over and over again and stop with a clear reason instead of merely exhausting a counter.
Proposed solution
Implement stagnation detection for bounded execution loops.
Detection should be driven by evidence such as:
Acceptance criteria
stagnatingbefore the maximum attempt budget is exhausted.stagnationfrom ordinarymax_attempts_exhaustedbehavior.Related phase
Future / Research
Related subsystem/component
critic and Ralph loop controller
Related artifacts or commands
criticRalphLoop; task execution results; critic results