diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 7f10d85..ee5ef60 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -70,6 +70,20 @@ body: validations: required: false + - type: textarea + id: impact + attributes: + label: Measurable impact of the fix + description: | + How will we verify the bug is fixed? Provide at least one measurable criterion and a command or method to check it. + Example: "Exit code of `bun run cli -- query --question '...'`: before 1 → after 0" + placeholder: | + | Metric | Before (broken) | After (fixed) | How to measure | + |--------|-----------------|---------------|----------------| + | | | | | + validations: + required: true + - type: textarea id: context attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index eb1b7ee..1f422b7 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -41,6 +41,20 @@ body: validations: required: true + - type: textarea + id: impact + attributes: + label: Measurable impact + description: | + How will we know this feature works? List at least one metric with a before/after target and a command or method to measure it. + Example: "MCP tool count: before 10 → after 12. Measure: `grep -c createTool src/mcp/tools.ts`" + placeholder: | + | Metric | Before | After (target) | How to measure | + |--------|--------|----------------|----------------| + | | | | | + validations: + required: true + - type: textarea id: alternatives attributes: diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml index 007adef..91e02c6 100644 --- a/.github/ISSUE_TEMPLATE/task.yml +++ b/.github/ISSUE_TEMPLATE/task.yml @@ -59,6 +59,20 @@ body: validations: required: false + - type: textarea + id: impact + attributes: + label: Measurable impact + description: | + How will we verify the impact of this task? List at least one metric with a before/after target and a reproducible measurement command. + Example: "LOC in query-engine.ts: before 1614 → after ≤1200. Measure: `wc -l src/runtime/query-engine.ts`" + placeholder: | + | Metric | Before | After (target) | How to measure | + |--------|--------|----------------|----------------| + | | | | | + validations: + required: true + - type: dropdown id: agent_delegable attributes: diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 74b11a9..e73b0db 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -18,6 +18,29 @@ +## Impact verification + + + +| Metric | Before | After | How to measure | +|--------|--------|-------|----------------| +| | | | | + + + ## Validation - [ ] `bun run lint` passes locally