chore: regenerate tend workflows from upstream main - #2009
Merged
Conversation
Picks up the fix from max-sixty/tend#168, which removes bot-author filters from pull_request_review and pull_request_review_comment events in the mention workflow. This allows the bot to process its own review suggestions on bot-authored PRs, with self-conversation loop prevention handled at the prompt level. Also removes the bot-author filter from triage and adds "do not edit" header comments to all generated workflow files. Updates .github/CLAUDE.md to reflect the new loop prevention model. Closes #2008 Co-Authored-By: Claude <noreply@anthropic.com>
max-sixty
enabled auto-merge (squash)
April 8, 2026 19:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The tend workflow files were generated from an older version of
tendthat includes bot-author filters onpull_request_reviewandpull_request_review_commentevents. This preventstend-mentionfrom triggering when the bot reviews its own PR, so review suggestions sit unapplied until a human intervenes (as happened on #2004).The upstream fix (max-sixty/tend#168) was merged but hasn't been released to PyPI yet, so
uvx tend@latest initstill generates the old templates.Solution
Regenerated workflow files from
tend@main(commitffc84f49) which includes the fix. Key changes:!= 'worktrunk-bot'filters frompull_request_reviewandpull_request_review_commentevents. Self-conversation loop prevention is now handled at the prompt level instead.if: github.event.issue.user.login != 'worktrunk-bot'filter.Testing
These are generated workflow files — no code tests needed. The changes match the upstream template exactly (
uvx --from 'git+https://github.com/max-sixty/tend.git@main#subdirectory=generator' tend init).Closes #2008 — automated triage