Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/skills/autoresearch/references/loop-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Best iteration: #{n} — {description}
4. Try combining 2-3 previously successful changes.
5. Try the opposite of what has not been working.
6. Try a radical architectural change.
7. **Escalate** — If still stuck after all above: create a diagnostic GitHub Issue (`gh issue create --label "type:bug" --label "maxsim:auto" --title "Stuck: [scope] after [N] consecutive failures" --body "[full context: iterations attempted, approaches tried, current metric value, TSV log summary, suspected blockers]"`) and escalate to the user. Do not continue the loop — wait for human guidance.
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new escalation step instructs the agent to stop and wait for human guidance, but earlier in this same document “Unbounded Mode (default)” says “Never stop. Never ask if the agent should continue.” Please clarify that escalation is an explicit exception to Unbounded Mode (e.g., update the Unbounded Mode text or reference the exception here) to avoid contradictory instructions.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title template includes “after [N] consecutive failures”, but this section is specifically triggered by “5 consecutive discards or crashes”. Consider making the title/wording consistent with the trigger (e.g., use 5, or 5+), so the created Issue clearly reflects the actual stuck threshold being applied.

Suggested change
7. **Escalate** — If still stuck after all above: create a diagnostic GitHub Issue (`gh issue create --label "type:bug" --label "maxsim:auto" --title "Stuck: [scope] after [N] consecutive failures" --body "[full context: iterations attempted, approaches tried, current metric value, TSV log summary, suspected blockers]"`) and escalate to the user. Do not continue the loop — wait for human guidance.
7. **Escalate** — If still stuck after all above: create a diagnostic GitHub Issue (`gh issue create --label "type:bug" --label "maxsim:auto" --title "Stuck: [scope] after 5 consecutive discards or crashes" --body "[full context: iterations attempted, approaches tried, current metric value, TSV log summary, suspected blockers]"`) and escalate to the user. Do not continue the loop — wait for human guidance.

Copilot uses AI. Check for mistakes.

## Crash Recovery

Expand Down
Loading