Skip to content

Commit 1409077

Browse files
chore: normalize issue titles during Feature Planner triage (#93)
Feature Planner now renames user-created issues to conventional format (feat:/fix:/chore:/perf:) during triage. Issue templates pre-fill the title prefix as a hint. Co-authored-by: Ona <no-reply@ona.com>
1 parent 0ae0f8b commit 1409077

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Bug Report
22
description: Report a bug or unexpected behavior
3+
title: "fix: "
34
labels: ["bug"]
45
body:
56
- type: markdown

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Feature Request
22
description: Suggest a new feature or enhancement
3+
title: "feat: "
34
labels: []
45
body:
56
- type: markdown

.ona/automations/feature-planner.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ action:
5858
- A testable definition of "done"
5959
6060
**If sufficient:**
61+
- Normalize the title to conventional format if it doesn't already match:
62+
`<type>: <short imperative description>` where type is feat|fix|chore|perf.
63+
Examples: "feat: add drag-and-drop column reordering", "fix: sidebar flickers on page switch".
64+
Use `gh issue edit <N> --title "<normalized title>"` to update.
65+
Only rename user-created issues — never rename issues created by other automations.
6166
- Enrich the issue body if needed (add Acceptance Criteria, Technical Notes
6267
sections if missing, referencing .agents/conventions.md and .agents/architecture.md)
6368
- Add exactly 3 labels: `status:backlog` + appropriate `priority:*` + type label

0 commit comments

Comments
 (0)