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>
This commit is contained in:
johba 2026-03-13 13:02:50 +01:00
parent 3226aa58b6
commit e484d4b03a
3 changed files with 14 additions and 4 deletions

View file

@ -40,11 +40,14 @@ body:
id: reference id: reference
attributes: attributes:
label: Reference files label: Reference files
description: Key files for understanding Push3 syntax and the transpiler.
value: | value: |
- Push3 instruction set: `tools/push3-transpiler/README.md` - Transpiler source: `tools/push3-transpiler/src/transpiler.ts` (defines all Push3 opcodes)
- Existing seed: `tools/push3-transpiler/optimizer_v3.push3` - Existing seed: `tools/push3-transpiler/optimizer_v3.push3` (current production optimizer)
- Register mapping: r40→ci, r39→anchorShare, r38→anchorWidth, r37→discoveryDepth - Evolution seed: `tools/push3-transpiler/optimizer_seed.push3` (simpler starting point)
- Inputs: 8 dyadic rational slots (0=percentageStaked, 1=averageTaxRate, 2-7=normalized indicators) - Push3 uses named bindings via `DYADIC.DEFINE` (e.g. `PERCENTAGESTAKED DYADIC.DEFINE`)
- Outputs: 4 values left on the DYADIC stack (top to bottom): ci, anchorShare, anchorWidth, discoveryDepth
- Inputs: 8 dyadic rational slots pushed onto stack (slot 0=percentageStaked on top, slot 1=averageTaxRate, 2-7=normalized indicators)
- type: textarea - type: textarea
id: deps id: deps
attributes: attributes:

View file

@ -34,6 +34,12 @@ body:
- [ ] CI green - [ ] CI green
validations: validations:
required: true required: true
- type: textarea
id: deps
attributes:
label: Dependencies
description: Issues that must be merged first. Leave empty if none.
placeholder: "- #NNN (reason)"
- type: textarea - type: textarea
id: risks id: risks
attributes: attributes:

View file

@ -12,6 +12,7 @@ when:
- "tools/**" - "tools/**"
- "onchain/test/FitnessEvaluator*" - "onchain/test/FitnessEvaluator*"
- "docs/**" - "docs/**"
- ".codeberg/**"
- "*.md" - "*.md"
clone: clone: