Skip to content

fix(skill): require evidence before claiming CI failures are pre-existing - #1337

Merged
max-sixty merged 1 commit into
mainfrom
hourly/review-22806814855
Mar 7, 2026
Merged

max-sixty merged 1 commit into
mainfrom
hourly/review-22806814855

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Add explicit guidance to the running-in-ci skill requiring evidence before characterizing CI failures as "pre-existing" or "unrelated"
  • Includes a concrete example command (gh api to 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

  • Verify the skill file renders correctly
  • No code changes — skill guidance only

🤖 Generated with Claude Code

…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]>
@max-sixty
max-sixty merged commit 367dbe7 into main Mar 7, 2026
21 checks passed
@max-sixty
max-sixty deleted the hourly/review-22806814855 branch March 7, 2026 22:08
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]>
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.

claude-mention: bot speculates CI failure is pre-existing without verifying against main

2 participants