Problem
When /goal automatically continues and repeatedly hits the same blocking condition, it can keep re-entering the same state without making progress. The agent may keep restating the same blocker, while the goal remains active because the original objective is not finished.
Workaround
Add a rule like this to AGENTS.md:
When a goal automatically continues, list the blocking conditions.
When creating or describing a long-running goal, include a completion criterion that treats the same blocking condition repeating twice as goal completion.
Why this works
The important part is making the repeated blocker part of the goal's completion criteria up front. Then, when the same blocker appears twice, marking the goal as complete is no longer pretending the blocked action succeeded. It means the goal reached its defined stop condition: the same blocking condition repeated and was recorded.
This avoids an automatic continuation loop while preserving the blocker reason for the user to resolve later.
Problem
When
/goalautomatically continues and repeatedly hits the same blocking condition, it can keep re-entering the same state without making progress. The agent may keep restating the same blocker, while the goal remains active because the original objective is not finished.Workaround
Add a rule like this to
AGENTS.md:Why this works
The important part is making the repeated blocker part of the goal's completion criteria up front. Then, when the same blocker appears twice, marking the goal as complete is no longer pretending the blocked action succeeded. It means the goal reached its defined stop condition: the same blocking condition repeated and was recorded.
This avoids an automatic continuation loop while preserving the blocker reason for the user to resolve later.