Skip to content

fix(skills): approve on trivial-change-skip when prior bot issues are resolved#145

Merged
max-sixty merged 1 commit intomainfrom
hourly/review-23976619802
Apr 4, 2026
Merged

fix(skills): approve on trivial-change-skip when prior bot issues are resolved#145
max-sixty merged 1 commit intomainfrom
hourly/review-23976619802

Conversation

@tend-agent
Copy link
Copy Markdown
Collaborator

Summary

  • Fix the review skill's trivial-change-skip path to approve when prior bot-flagged issues are resolved, instead of unconditionally skipping approval.

Evidence

Run: 23976359110 (tend-review on docs/cmux-integration, PR max-sixty/worktrunk#1907)

The bot reviewed the PR and flagged a sync-test issue (COMMENTED review). It then pushed a fix commit itself. On the next run, the trivial-change-skip path fired correctly (only 4 lines changed in 1 file), but the instruction "do not submit a new approval — the existing review stands" meant the PR was left with zero approvals despite all concerns being addressed.

Classification: Structural — the old instruction deterministically prevents approval on the trivial-change-skip path regardless of the prior review's state. Replaying this scenario would always produce the same result.

Root cause: The trivial-change-skip instruction treated all prior reviews as equivalent. A prior APPROVE review doesn't need refreshing, but a prior COMMENT review that flagged issues does need an APPROVE once those issues are fixed.

Gate assessment

Gate Assessment
Confidence Structural failure, 1 clear occurrence — sufficient per gate rules
Magnitude Targeted fix (rewording 1 paragraph, no new sections) — normal evidence bar
Historical evidence No prior occurrences in tracking issue #133

Change

Rewrote the trivial-change-skip paragraph to: resolve threads first (step 7), then check whether the prior bot review was a COMMENT with now-addressed issues → approve. Otherwise, keep the existing "do not submit a new review" behavior.

🤖 Generated with Claude Code

… resolved

The trivial-change-skip path in the review skill unconditionally skips
approval, even when the "existing review" was a COMMENT flagging issues
that the new trivial changes fix. This leaves PRs in limbo — reviewed
but never approved despite all concerns being addressed.

Add guidance to submit an APPROVE after thread resolution when the prior
bot review was a COMMENT whose issues are now addressed.

Evidence: max-sixty/worktrunk PR #1907, run 23976359110. Bot flagged a
sync issue, pushed a fix commit, then the trivial-change-skip path
exited without approving. Structural — the old instruction deterministically
prevents approval regardless of prior review state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tend-agent tend-agent added the claude-behavior Behavioral issues found by review-reviewers label Apr 4, 2026
@max-sixty max-sixty merged commit 20ceca1 into main Apr 4, 2026
3 checks passed
@max-sixty max-sixty deleted the hourly/review-23976619802 branch April 4, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-behavior Behavioral issues found by review-reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants