Unverified 提交 28bc0c04 authored 作者: wwwillchen-bot's avatar wwwillchen-bot 提交者: GitHub

fix(triage): make issue title updates much more conservative (#2888)

## Summary - Update the Claude triage workflow to be more conservative about changing user-provided issue titles - Only update titles that are essentially blank or contain no meaningful information (placeholders, single unhelpful words like "help" or "bug", just punctuation) - Key rule: if you can understand what the user is roughly talking about from the title, leave it alone ## Test plan - Review the updated workflow conditions to verify they are appropriately conservative - Monitor triage behavior on new issues to confirm fewer unnecessary title edits 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2888" 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 with Devin"> </picture> </a> <!-- devin-review-badge-end --> Co-authored-by: 's avatarWill Chen <willchen90@gmail.com> Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
上级 7d4fc376
......@@ -122,15 +122,18 @@ jobs:
Do not comment.
## Task 3: Update Issue Title (if necessary)
## Task 3: Update Issue Title (only if truly necessary)
Review the issue title and improve it **only if** it meets one of these conditions:
**IMPORTANT: Be VERY conservative with title changes.** Most user-provided titles are fine and should be left alone.
| Condition | Example (Before → After) |
|-----------|--------------------------|
| Template placeholder not filled in | `[session report] <add title>` → `[session report] App freezes when saving` |
| Too vague or generic | `not able to deploy to vercel` → `Vercel deployment fails with authentication error` |
| Unclear error description | `[bug] <npm and pnpm is not recogized >` → `[bug] npm/pnpm not recognized on Windows` |
Only update the title if it is **essentially blank or contains no meaningful information**:
| Condition | Example |
|-----------|---------|
| Completely blank or just whitespace | `` or ` ` |
| Template placeholder not filled in | `<add title>` or `[session report] <add title>` |
| Just punctuation or symbols | `???` or `!!!` or `...` |
| Single unhelpful word | `help` or `bug` or `error` |
### How to Update
......@@ -138,16 +141,18 @@ jobs:
gh issue edit [number] --title "New descriptive title"
```
### Guidelines
### Guidelines (only if updating)
- Keep titles **short** (under 60 characters if possible)
- Start with the **what**: component, action, or error
- Preserve prefixes like `[bug]` or `[session report]` if present
- Be specific but not overly technical
- Don't change titles that are already clear and descriptive
- Base the title on the issue body content
### When NOT to Update
### When NOT to Update (leave these alone!)
- Title already describes the issue well (e.g., "Vercel Project Selection not always available")
- You'd only be making minor wording tweaks
- **Any title that describes the issue, even if vague** (e.g., "not able to deploy to vercel" - this is fine!)
- **Titles with typos or grammatical issues** - don't correct these
- **Titles you think could be "better"** - resist the urge to improve
- **Titles that mention a feature, action, or error** - even briefly
- The issue body is too unclear to write a better title (use `issue/incomplete` label instead)
**Rule of thumb:** If you can understand what the user is roughly talking about from the title, DO NOT change it.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论