Skip to content

Commit 8943de4

Browse files
fix(opencode): keep generated titles truthful Refs #39
1 parent c7402fa commit 8943de4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/opencode/src/agent/prompt/title.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Your output must be:
1616
- Title must be grammatically correct and read naturally - no word salad
1717
- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")
1818
- Focus on the main topic or question the user needs to retrieve
19+
- Write a neutral conversation label, not a status report, conclusion, or repository health finding
20+
- Describe only the user's stated intent, request, question, or topic
21+
- Never claim that a problem was found, detected, fixed, verified, or diagnosed unless the user explicitly stated that outcome
22+
- Do not infer bugs, vulnerabilities, failures, or other repository conditions from a request to inspect or change something
1923
- Vary your phrasing - avoid repetitive patterns like always starting with "Analyzing"
2024
- When a file is mentioned, focus on WHAT the user wants to do WITH the file, not just that they shared it
2125
- Keep exact: technical terms, numbers, filenames, HTTP codes

0 commit comments

Comments
 (0)