Skip to content

fix(review-reviewers): clarify self-analysis is intentional - #1605

Merged
max-sixty merged 3 commits into
mainfrom
hourly/review-23259809977
Mar 18, 2026
Merged

max-sixty merged 3 commits into
mainfrom
hourly/review-23259809977

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Mar 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Replace "skip own workflow" instruction with a short note clarifying that self-analysis is intentional — it catches bugs in the reviewer itself and adds only a constant cost per review

Test plan

  • Verify skill file renders correctly
  • Future review-reviewers runs include their own workflow's sessions

🤖 Generated with Claude Code

…-analysis

Both review-reviewers sessions from the past hour downloaded and analyzed
prior review-reviewers session logs — run 23254664572 analyzed the 15:11
run, then run 23257358884 analyzed 23254664572 in turn. This recursive
pattern wastes tokens without producing actionable findings.

Add explicit instruction to skip claude-hourly-review-reviewers runs.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@worktrunk-bot worktrunk-bot added the claude-behavior Issues with Claude CI bot behavior label Mar 18, 2026
@max-sixty

Copy link
Copy Markdown
Owner

but surely we want self-analysis?

@worktrunk-bot

Copy link
Copy Markdown
Collaborator Author

Fair point — self-analysis is how we'd catch bugs in the reviewer bot itself.

The pattern I observed was a chain: run A reviews other bots and finds nothing, run B reviews run A's "all clear" session and finds nothing, run C would review run B, etc. That felt wasteful, but blanket-skipping self-analysis throws the baby out with the bathwater.

If you'd prefer to keep self-analysis enabled (which I think is the right call on reflection), I'll close this. The token cost of reviewing one short "all clear" session is low, and the upside of catching reviewer bugs is worth it.

@max-sixty

Copy link
Copy Markdown
Owner

The pattern I observed was a chain: run A reviews other bots and finds nothing, run B reviews run A's "all clear" session and finds nothing, run C would review run B, etc.

this is fine; this adds a constant to each review, no more

consider changing this PR to instead add a very short note to make it obvious we intend for this

Replace the "skip own workflow" instruction with a note making it
explicit that self-analysis is intended — it's how we catch bugs
in the reviewer itself, and costs only a constant per review.

Also reverts unrelated nightly-cleaner change from prior commit.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@worktrunk-bot worktrunk-bot changed the title fix(review-reviewers): skip own workflow to prevent recursive self-analysis fix(review-reviewers): clarify self-analysis is intentional Mar 18, 2026
@worktrunk-bot

Copy link
Copy Markdown
Collaborator Author

Good call. Replaced the skip instruction with a short note:

Include claude-hourly-review-reviewers runs — self-analysis is intentional so we can catch bugs in the reviewer itself.

Also dropped the unrelated nightly-cleaner change that was bundled in.

@max-sixty
max-sixty enabled auto-merge (squash) March 18, 2026 19:47
@max-sixty
max-sixty merged commit 50903e3 into main Mar 18, 2026
21 of 22 checks passed
@max-sixty
max-sixty deleted the hourly/review-23259809977 branch March 18, 2026 19:58
worktrunk-bot added a commit that referenced this pull request Mar 18, 2026
…idance

Addresses two behavioral patterns observed in recent CI runs:

1. **Self-contradictory responses**: On PR #1593, the bot recommended reverting
   based on an action.yml warning (run 23263300366), then said it was safe after
   researching GitHub's secret masking (run 23264003070) — without acknowledging
   the reversal. Adds guidance to check prior comments and explicitly note
   position changes.

2. **Premature recommendations**: The revert recommendation was based on a
   single data point (a warning message) without researching the actual masking
   mechanism. Adds guidance to research all relevant systems before making
   strong recommendations.

3. **Acknowledge-then-act waste**: On PR #1605, the bot posted "fair point"
   (run 23263219755) without acting, requiring a second CI run (23263575657)
   to make the actual change. Adds guidance to act immediately when direction
   is clear.

Evidence: runs 23263300366, 23264003070, 23263219755, 23263575657

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

claude-behavior Issues with Claude CI bot behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants