Flywheel Candidate Fix
Goal
Produce a small, reviewable candidate PR that addresses one issue using TDD and project conventions.
Workflow
- •Read issue details and target files.
- •RED: add/adjust a failing regression test for the issue.
- •GREEN: implement minimal fix to pass test.
- •Run targeted checks:
- •
uv run pytest ... - •
uv run ruff check ...
- •
- •Create candidate branch and PR with project naming convention:
- •Branch:
claude/issue-<id>-candidate-<n>-<run_id> - •PR title prefix:
[AUTOFIX][ISSUE-<id>][CANDIDATE-<n>]
- •Branch:
- •Include in PR body:
- •Summary
- •Tests run
- •Risks/limitations
- •
Closes #<id>when appropriate
Safety Rules
- •Never push directly to
master. - •Keep scope to one issue.
- •Avoid workflow or secret changes.
Output Checklist
- •Test file(s) added/changed
- •Source file(s) changed
- •Commands executed
- •PR URL