2026-03-13 11:46:34 +01:00
|
|
|
name: Refactor / Tech Debt
|
|
|
|
|
about: Code improvement without changing behavior
|
|
|
|
|
labels:
|
|
|
|
|
- backlog
|
|
|
|
|
body:
|
|
|
|
|
- type: textarea
|
|
|
|
|
id: what
|
|
|
|
|
attributes:
|
|
|
|
|
label: What needs cleaning up
|
|
|
|
|
description: Current state and why it's a problem.
|
|
|
|
|
validations:
|
|
|
|
|
required: true
|
|
|
|
|
- type: textarea
|
|
|
|
|
id: approach
|
|
|
|
|
attributes:
|
|
|
|
|
label: Approach
|
|
|
|
|
description: How to fix it. Specifics matter — the dev-agent will follow this literally.
|
|
|
|
|
validations:
|
|
|
|
|
required: true
|
|
|
|
|
- type: textarea
|
|
|
|
|
id: affected-files
|
|
|
|
|
attributes:
|
|
|
|
|
label: Affected files
|
|
|
|
|
description: Every file that will change. Include test files.
|
|
|
|
|
validations:
|
|
|
|
|
required: true
|
|
|
|
|
- type: textarea
|
|
|
|
|
id: acceptance
|
|
|
|
|
attributes:
|
|
|
|
|
label: Acceptance criteria
|
|
|
|
|
placeholder: |
|
|
|
|
|
- [ ] Refactored code works identically (no behavior change)
|
|
|
|
|
- [ ] Existing tests still pass
|
|
|
|
|
- [ ] CI green
|
|
|
|
|
validations:
|
|
|
|
|
required: true
|
feat: issue templates — bug, feature, push3-seed, refactor (#678)
Four templates for Codeberg issue creation:
- **Bug** — what, repro steps, affected files, acceptance criteria
- **Feature** — problem, solution, affected files (incl e2e tests), max 5 acceptance criteria
- **Push3 Seed** — strategy philosophy, behavior spec, pre-filled reference files + register mapping
- **Refactor** — what, approach, affected files, risks
All templates require affected files and acceptance criteria — the two things the dev-agent needs most. Push3 seed template has pre-filled deps (#667) and reference docs.
Gardener agent can enforce these on unstructured issues that come in without templates.
Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/678
Reviewed-by: review_bot <review_bot@noreply.codeberg.org>
2026-03-13 13:02:50 +01:00
|
|
|
- type: textarea
|
|
|
|
|
id: deps
|
|
|
|
|
attributes:
|
|
|
|
|
label: Dependencies
|
|
|
|
|
description: Issues that must be merged first. Leave empty if none.
|
|
|
|
|
placeholder: "- #NNN (reason)"
|
2026-03-13 11:46:34 +01:00
|
|
|
- type: textarea
|
|
|
|
|
id: risks
|
|
|
|
|
attributes:
|
|
|
|
|
label: Risks
|
|
|
|
|
description: What could break? Which e2e tests cover this area?
|
|
|
|
|
placeholder: |
|
|
|
|
|
- e2e/staking.spec.ts — exercises the staking flow that touches these files
|
|
|
|
|
- Risk: CSS class rename could break selectors
|