Skip to content

Commit 7975232

Browse files
fix(github-issues): ban conventional commit prefixes in issue titles (#739)
## What failed Junior was creating GitHub issues with conventional commit-style prefixes in their titles — `fix(attachments): ...`, `feat(sandbox): ...`, `ref(task-execution): ...` — which is wrong. That format belongs in commit messages and PR titles only. ## Evidence Several real issues in `getsentry/junior` with the wrong format: - #737: `fix(attachments): durable file attachment pipeline…` - #735: `feat: first-class agents.toml / dotagents skill support` - #715: `feat(sandbox): make snapshot sandbox vcpus/memory configurable via env var` - #705: `ref(task-execution): centralize wake scheduling with ensureConversationWake()` - #679: `feat(memory): add recall-layer relevance gate to filter low-relevance vector matches` ## Root cause The `github-issues` skill had no explicit rule against conventional commit prefixes in issue titles. The `pr-writer` skill heavily uses `fix(scope):` for PR titles, and without a constraint in the issue skill the model generalizes the pattern to issues too. ## Fix Added a single prescriptive hard constraint to `SKILL.md` § Draft issue content: > **Issue title format: plain language, no type prefix.** Do not use `fix(x):`, `feat(x):`, `chore:`, `ref(x):`, or any other type-scope prefix — those belong in commit messages and PR titles, not issues. ## Verification Content review — no automated checks applicable for skill text changes. Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
1 parent 43e61aa commit 7975232

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/junior-github/skills/github-issues

packages/junior-github/skills/github-issues/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Follow [references/research-rules.md](references/research-rules.md) for cross-ty
5252
**Hard constraints — apply to every new issue:**
5353

5454
- Title ≤ 60 characters. Descriptive for bugs, imperative for tasks/features.
55+
- **Issue title format: plain language, no type prefix.** Do not use `fix(x):`, `feat(x):`, `chore:`, `ref(x):`, or any other type-scope prefix — those belong in commit messages and PR titles, not issues.
5556
- Summary ≤ 3 sentences. Do not restate the title in the body.
5657
- Prefer flat bullet lists over headed sections for simple issues. Remove empty sections.
5758
- Generalize session framing — strip channel references, slash commands, Slack thread IDs, user @mentions, and transcript fragments; replace with the underlying technical problem.

0 commit comments

Comments
 (0)