Repository navigation
skills(review): push judgment-call fixes on bot PRs by default - #565
tend-agent wants to merge 2 commits into
Conversation
The bot-PR clause of step 8 said "concrete, fixable issues" but in practice the bot fell back to scoping when a fix needed any judgment. With no human author to action a deferred offer, the PR sat red until a human redid the work the review had already analysed. Spell out the wider bar: push when the review can name the fix and its reasoning, pick the most repo-consistent option when several exist, and only scope for the maintainer when no defensible default exists. Closes #564 Co-Authored-By: Claude <[email protected]>
tend-agent
left a comment
There was a problem hiding this comment.
The policy rewrite reads cleanly and matches what #564 asked for. One follow-up: the rename Push mechanical fixes → Push fixes and the new "even when the fix needs a judgment call" stance leave three user-facing descriptions of the review workflow stale — they still advertise "Pushes mechanical fixes to bot-authored PRs":
README.md:77(workflows table)docs/tend.example.yaml:180(review-workflow comment)plugins/install-tend/skills/install-tend/references/tend.example.yaml:180(same comment, vendored copy)
The last is the file install-tend reads when stamping out an adopter's .config/tend.yaml, so the stale phrasing will keep propagating into new installs until those lines are updated. Happy to push the trivial three-line consistency fix as a follow-up commit on this branch.
The skill heading rename "Push mechanical fixes" → "Push fixes" left README and tend.example.yaml describing the workflow as "Pushes mechanical fixes to bot-authored PRs" — stale under the new policy. Co-Authored-By: Claude <[email protected]>
|
Already pushed as 4931c91 — those three lines landed about 30s after the review. |
|
Superseded by #566 (now merged), which closed #564. #566 carries everything here plus two things this PR was missing: the step 6 (Monitor CI / CI-failed branch) update that points bot PRs at step 8 instead of stopping at analysis, and the
|
Problem
Step 8's bot-PR clause already permitted pushing fixes, but the phrasing ("concrete, fixable issues") left an implicit "mechanical only" bar that the bot enforced in practice. As soon as a fix needed a judgment call, the run fell back to scoping or offering — neither of which a bot author can action — and the PR sat red until a human redid the analysis.
Solution
Rewrite the bot-PR paragraph to:
Also renames the section heading from "Push mechanical fixes" to "Push fixes", since the new policy explicitly covers non-mechanical fixes on bot PRs. Human-PR behaviour is unchanged.
Testing
Skill text change only.
pre-commit run --files plugins/tend-ci-runner/skills/review/SKILL.mdpasses.Closes #564 — automated triage