Repository navigation
fix(skill): require evidence before claiming CI failures are pre-existing - #1337
Merged
Merged
Conversation
…ting Add explicit guidance to the running-in-ci skill's Grounded Analysis section: check main branch CI history before characterizing any failure as "pre-existing" or "unrelated." In run 22806814855, the bot claimed a macOS test failure was pre-existing without checking — the maintainer had to push back before it investigated and found main passes consistently. Closes #1335 Co-Authored-By: Claude Opus 4.6 <[email protected]>
worktrunk-bot
added a commit
that referenced
this pull request
Mar 9, 2026
Addresses two behavioral issues observed in the past hour: 1. Bot posted identical CI failure comments twice on PR #1381 during the dismiss-and-recomment flow (reviews 7 seconds apart). Adds a duplicate check before posting CI failure comments, similar to the existing guard for initial reviews. 2. Bot asserted pre-commit.ci failure was "transient infrastructure" on PR #1381 without checking main branch CI history (recurrence of #1335 despite fix in #1337). Adds explicit verification step with gh api command directly in the CI failure handling section. Closes #1383 Closes #1384 Co-Authored-By: Claude Opus 4.6 <[email protected]>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
running-in-ciskill requiring evidence before characterizing CI failures as "pre-existing" or "unrelated"gh apito check main branch CI history)Context
In run 22806814855 on PR #1331, the bot claimed a macOS test failure was "pre-existing" without checking main branch CI. The maintainer had to push back before the bot investigated and discovered main passes consistently. The existing "Grounded Analysis" guidance covers speculation in general, but this specific pattern (claiming failures are pre-existing) benefits from an explicit call-out with the verification step.
Closes #1335
Test plan
🤖 Generated with Claude Code