Skip to content

review: push fixes to bot PRs by default, even when the fix needs a judgment call - #566

Merged
max-sixty merged 2 commits into
mainfrom
push-fixes-bot-prs-default
May 19, 2026
Merged

max-sixty merged 2 commits into
mainfrom
push-fixes-bot-prs-default

Conversation

@max-sixty

@max-sixty max-sixty commented May 19, 2026 •

Copy link
Copy Markdown
Owner

Step 8 of the review skill already permitted pushing fixes to bot-authored PRs, but the "Push mechanical fixes" framing meant the bot only pushed pure find-replace changes. The moment a fix needed any thought — a multi-site dependency-bump API migration, or a choice between two valid config options — it fell back to describing the fix and waiting for a human. On a Dependabot PR nobody acts on that offer, so the PR sits red and a maintainer ends up doing the work the review had already worked out in full.

This reframes the deferral bar. "Not a one-token change" and "more than one syntactically valid form exists" are no longer reasons to defer. The bot picks the option most consistent with the surrounding code and the repo's existing conventions, pushes it, and notes alternatives in the review. It defers only when no defensible default exists — a genuine semantic ambiguity needing maintainer intent, not merely a fix that took thought to derive.

Section 6 (the CI-failed branch of Monitor CI) was silent on bot PRs, which is the exact path where this surfaced in practice — analysis posted, nothing pushed. It now points to step 8 rather than stopping at analysis. The user-facing ### review description is synced to drop "mechanical" (both tend.example.yaml copies and the README workflow table).

Closes #564

…udgment call

Step 8 already permitted pushing fixes to bot-authored PRs, but the
"mechanical" framing meant the bot only pushed pure find-replace fixes.
As soon as a fix needed any thought (a multi-site API migration, picking
between two valid config options), it fell back to describing the fix and
waiting — on a Dependabot PR there is nobody to act on that, so the PR
sits red and a maintainer does the work the review already worked out.

Reframe the deferral bar: "not a one-token change" and "more than one
syntactically valid form exists" are no longer reasons to defer. Pick the
option most consistent with the surrounding code and repo conventions,
push it, note alternatives in the review. Defer only when no defensible
default exists — a genuine semantic ambiguity needing maintainer intent.

Section 6 (CI-failed branch) was silent on bot PRs, the exact path where
this surfaced; it now points to step 8 instead of stopping at analysis.
Sync the user-facing `### review` config doc to drop "mechanical".

Closes #564

Co-Authored-By: Claude <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two notes.

Overlap with #565. #565 (automated triage) also closes #564 and touches three of the same files. The two diffs differ in coverage:

this PR (#566) #565
README.md table row unchanged dropped "mechanical"
docs/tend.example.yaml dropped "mechanical" dropped "mechanical"
plugins/install-tend/.../tend.example.yaml dropped "mechanical" dropped "mechanical"
SKILL.md step 8 paragraph rewritten (long form) rewritten (shorter)
SKILL.md step 6 (CI-failed branch) updated to point at step 8 for bot PRs untouched

#566 is the more thorough change (step 6 needed the update); #565 is the one that catches the README. Likely the right move is to land this one and close #565, but pulling the README hunk in first.

Stale README reference. README.md line 77 still reads "Pushes mechanical fixes to bot-authored PRs" — same wording you updated in the two tend.example.yaml files. Happy to push a one-line fix to this branch if you'd like.

The two tend.example.yaml copies were updated but README.md:77 still
described the review workflow as pushing "mechanical fixes". Same wording,
same reason; flagged by the auto-reviewer on #566.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit d7871f5 into main May 19, 2026
6 checks passed
@max-sixty
max-sixty deleted the push-fixes-bot-prs-default branch May 19, 2026 17:22
max-sixty added a commit that referenced this pull request May 19, 2026
## Summary

Release 0.0.25. 8 PRs since 0.0.24:

- #566 review: push fixes to bot PRs by default, even when the fix needs
a judgment call
- #563 skills(running-tend): drop stale session-log count
- #562 skills: drop dollar-amount cost asides corrupted by arg
substitution
- #526 fix(list-recent-runs): anchor completion window to the intended
cron tick
- #559 fix(skills): hard-code /tmp instead of $TMPDIR in worktree
recipes
- #560 fix(enrich-tend-outage-issues): batch into one comment per issue
- #557 config: switch review-reviewers back to claude, demote
codex-auth-refresh to reference
- #556 config: switch tend's own harness back to claude

#566 is the reason for cutting now: it flips the bot-PR review default
from "push only mechanical fixes" to "push the fix whenever the review
can articulate it, defer only when no defensible default exists." The
behavior is release-gated, so it only reaches tend's own dogfooded
workflows (and adopters like PRQL) once 0.0.25 is published and the
nightly regen repins the action ref.

No new breaking changes since 0.0.24.

## Test plan

- [ ] CI green (test, test-worker, lint)
- [ ] After merge: tag `0.0.25`, PyPI publish (`pypi-release.yaml` on
the tag push), `uvx [email protected] --help` works
- [ ] Regenerate tend's own workflows to `@0.0.25` (separate `chore:
regenerate` PR, after the tag exists)

Co-authored-by: Claude <[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.

review: push fixes to bot PRs by default, even when the fix needs a judgment call

2 participants