Skip to content

triage: add server bail-out rules to prevent timeout loops#16802

Merged
matthewp merged 2 commits into
mainfrom
triage-bail-out
May 20, 2026
Merged

triage: add server bail-out rules to prevent timeout loops#16802
matthewp merged 2 commits into
mainfrom
triage-bail-out

Conversation

@matthewp

Copy link
Copy Markdown
Contributor

Adds guardrails to the triage skill so the agent bails out after 2 failed server starts instead of looping until timeout.

Prompted by this run where the agent confirmed the bug early but wasted ~10 minutes fighting a stale server process and ran out of time before writing its report.

Changes:

  • SKILL.md: General "don't get stuck" rule at the top level
  • reproduce.md: Server Management Rules subsection (bail after 2 failures, stop before restart, one repro run is enough, prefer build over dev/preview)
  • diagnose.md: Brief server management reminder in the instrumentation step

@changeset-bot

changeset-bot Bot commented May 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0572534

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@matthewp matthewp marked this pull request as ready for review May 20, 2026 13:48
@matthewp matthewp merged commit 7b4e642 into main May 20, 2026
3 checks passed
@matthewp matthewp deleted the triage-bail-out branch May 20, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants