refactor: tighten planner issue filing — template-or-vision gate #95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The planner currently files issues with a freeform body and relies on downstream bounce detection (BOUNCED, LABEL_CHURN) to catch issues that are too complex for the dev-agent. This creates churn: issues ping-pong between
backlogandunderspecified, wasting dev-agent sessions and gardener grooming cycles.Proposed change
Replace the planner's freeform issue filing with a template-or-vision gate:
Filing gate (new logic in
triage-and-planstep, Part C)When the planner identifies a constraint to file as an issue:
.codeberg/ISSUE_TEMPLATE/*.yaml(bug, feature, refactor)affected_files: can the planner list 3 or fewer specific files?acceptance_criteria: can it write concrete, checkable criteria (max 5)?proposed_solution/approach: is there one clear approach, or are there design forks?backlogusing the matching template formatvisionwith a short body: problem statement, why it's vision-sized, which objectives it blocks. Do NOT attempt to specify the solution.What this replaces
Template selection heuristic
Changes to
formulas/run-planner.tomlUpdate the
triage-and-planstep, Part C (file-at-constraints):vision, include a brief "## Why vision" section explaining what makes it too complex for direct filingWhat stays the same
Affected files
formulas/run-planner.toml(main change — Part C rewrite)planner/AGENTS.md(update role description)Acceptance criteria
.codeberg/ISSUE_TEMPLATE/visioninstead ofbacklog