-
由 Will Chen 提交于
## Summary - Move the author-vs-commenter check from the Claude prompt into workflow-level `if:` conditions so Case 1 (original author follow-up) and Case 2 (third-party comment) route deterministically. - Case 2 no longer invokes Claude — it just posts the fixed redirect comment with `gh issue comment`. - Skip bot-authored comments to prevent loops. Previously the single-prompt design conflated the two cases when a maintainer's closing comment mentioned the original author and described the symptom, causing the bot to re-open the issue under Case 1 even though COMMENT_AUTHOR did not match ISSUE_AUTHOR (see dyad-sh/dyad#3228). ## Test plan - [ ] Trigger a closed-issue comment from a non-author account → expect only the redirect comment, no re-open, no LLM usage. - [ ] Trigger a closed-issue comment from the original author expressing the issue still occurs → expect re-open + "we've re-opened the issue" comment. - [ ] Trigger a closed-issue comment from the original author that's just a thank-you → expect no action. - [ ] Bot comment on a closed issue → no workflow run.
🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3270" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open in Devin Review"> </picture> </a> <!-- devin-review-badge-end -->