!gh issue view $ARGUMENTS 2>/dev/null || echo "Could not fetch issue #$ARGUMENTS. Describe the bug manually."
Workflow
Root cause. Read the issue. Grep the codebase. Trace the code path. State the root cause in one sentence before writing any fix.
Fix. Minimal change. Don't refactor. Don't "improve" adjacent code. Solve the bug.
Test. Write a test that fails without your fix and passes with it. For backend bugs, add to
tests/. For frontend bugs, describe a manual verification step.Verify. Run
pytest tests/for backend changes. Runcd frontend && npm run buildfor frontend changes. All must pass.Commit.
fix(scope): description (fixes #$ARGUMENTS)Report. One paragraph: root cause, what you changed, what test you added.