diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..099d2e7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,82 @@ +--- +name: Bug +about: "Use when there is a symptom and no known cause. No Proposed Solution at filing; Diagnosis is required before fix work starts." +labels: lane:inbox, type:bug +--- + +```yaml +.dag: issue-dag/2 +.id: git-stunts/plumbing#NEW +.kind: task +.type: bug +.blocked_by: [] +.size_hours: 2 +``` + +# Bug + +```text +You are the engineer for this issue. Read all sections of this issue. +Do not start a fix before section 2f (Diagnosis) is complete. +Reproduce the symptom in section 2c. Record the cause in section 2f. +Write a regression test. Make sure that it fails before the fix. +Fix the cause. Make sure that the test passes after the fix. +Make sure that each item under Acceptance is true. +Do not change anything that Out of scope names. +Read AGENTS.md and the project's code conventions before you change code. +Run the project's checks as AGENTS.md or the README gives them. Do not use --no-verify. +Open a draft pull request. Link this issue. Write progress comments on the pull request. +Make the pull request ready only when every item under Acceptance and in the Definition of Done is true and CI passes. +``` + + + +## Outcome +One sentence, with one subject and one verb. If it needs "and", it is two issues. + +## Scope +What the pull request contains. + +## Out of scope +What a reader might expect that this leaves out, and where that work lives. + +## Prerequisites +Each `.blocked_by` entry, with the reason it must close first. +- [ ] + +## Safe intermediate state +What the default branch is like after this merges and before its dependents do. + +## Acceptance +Exact, observable results. +- [ ] + +## 1. Background Context + +## 2. Observed +What happens now. +## 2b. Expected +What should happen instead. +## 2c. Reproduction +Steps, or: not reproduced, observed in production at