| ... | ... | @@ -238,7 +238,9 @@ Editorial rules: |
| 238 | 238 | - Do not copy and truncate the user's message. |
| 239 | 239 | - Avoid project names already visible in the UI, quotes, labels, filler, and trailing punctuation. |
| 240 | 240 | - Use attached images as primary context for UI issues. |
| 241 | | - When a URL or attachment is the only source of the subject, use available tools to inspect it. If it cannot be resolved, remain accurate rather than guessing.`; |
| 241 | - When a URL or attachment is the only source of the subject, use available tools to inspect it directly. |
| 242 | - Local git history is not evidence of what a linked PR or issue is about. Never title the thread after branch names, commit messages, or merged commits found in the checkout. |
| 243 | - If a linked PR or issue cannot be read, fall back to the user's stated action plus its number, such as "Take Over PR 8588". This is the one case where a PR or issue number belongs in the title.`; |
| 242 | 244 | |
| 243 | 245 | function regenerateThreadTitlePrompt(previousTitle: string): string { |
| 244 | 246 | return `Regenerate the title for an existing T3 Code thread so the user can recognize it weeks later. |
| ... | ... | @@ -265,7 +267,9 @@ Editorial rules: |
| 265 | 267 | - Do not copy and truncate a thread message. |
| 266 | 268 | - Avoid project names already visible in the UI, PR numbers, quotes, labels, filler, and trailing punctuation. |
| 267 | 269 | - Use attached images as primary context for UI issues. |
| 268 | | - When a URL or attachment is the only source of the subject, use available tools to inspect it. If it cannot be resolved, remain accurate rather than guessing. |
| 270 | - When a URL or attachment is the only source of the subject, use available tools to inspect it directly. |
| 271 | - Local git history is not evidence of what a linked PR or issue is about. Never title the thread after branch names, commit messages, or merged commits found in the checkout. |
| 272 | - If a linked PR or issue cannot be read, fall back to the user's stated action plus its number, such as "Take Over PR 8588". This is the one case where a PR or issue number belongs in the title. |
| 269 | 273 | - Return a meaningfully improved title, not a cosmetic paraphrase of the previous title. |
| 270 | 274 | |
| 271 | 275 | Examples of the distinction: |