Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -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.
```

<!--
issue-dag/2 frontmatter (Taskalisk): after GitHub assigns the number, replace NEW in `.id` with it; a block
whose `.id` does not name the issue fails. Every reference is owner/repo#N, never a bare #N. List each
prerequisite issue in `.blocked_by` and explain it under Prerequisites. Above 8 hours is probably two tasks.
Write "none" or "not applicable, because X" instead of padding a section.
-->

## 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 <time> from <source>.
## 2d. Blast radius
Who is affected, as a population.
How many, with the query that produced the number, marked observed or estimated.
Since when.
Downstream: what consumed the wrong value.
## 2e. Hypothesis
What I think is happening, and the observation that would kill it.
## 2f. Diagnosis
Empty at filing. Required before any fix work starts.

## 3. Why now
## 4. Risks
## 5. Definition of Done
A regression test that fails before the fix and passes after it.
## 6. Stakeholders
## 7. Related Issues
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/decision.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
name: Decision
about: "Use when the facts are known and the open item is which option, and who says so."
labels: lane:inbox, type:spike
---

```yaml
.dag: issue-dag/2
.id: git-stunts/plumbing#NEW
.kind: task
.type: decision
.blocked_by: []
.size_hours: 2
```

# Decision

```text
You are the analyst for this issue. Read all sections of this issue.
Examine each option in section 2b. Cite the evidence for each consequence.
Do not make the decision yourself unless section 2d names you.
Record the decision and the rejected options where the next reader will find them.
Write the location of that record in a comment on this issue.
Make sure that each item under Acceptance is true.
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.
```

<!--
issue-dag/2 frontmatter (Taskalisk): after GitHub assigns the number, replace NEW in `.id` with it; a block
whose `.id` does not name the issue fails. Every reference is owner/repo#N, never a bare #N. List each
prerequisite issue in `.blocked_by` and explain it under Prerequisites. Above 8 hours is probably two tasks.
Write "none" or "not applicable, because X" instead of padding a section.
-->

## 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. The choice
A question with named options.
## 2b. Options and consequences
One line each.
## 2c. Rests on
Evidence, cited by something immutable, or a person, named.
## 2d. Who decides, and by when
## 2e. What is blocked until then
## 2f. Reversible

## 3. Why now
## 4. Risks
## 5. Definition of Done
Recorded where the next reader will find it, which is usually not only this card.
## 6. Stakeholders
## 7. Related Issues
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
name: Feature
about: "Use when the end state is known and only the work remains."
labels: lane:inbox, type:enhancement
---

```yaml
.dag: issue-dag/2
.id: git-stunts/plumbing#NEW
.kind: task
.type: feature
.blocked_by: []
.size_hours: 2
```

# Feature

```text
You are the engineer for this issue. Read all sections of this issue.
Write tests from section 2c (Test Plan) first. Make sure that they fail before you write the code.
Write the code from section 2b. Make sure that all tests pass.
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.
```

<!--
issue-dag/2 frontmatter (Taskalisk): after GitHub assigns the number, replace NEW in `.id` with it; a block
whose `.id` does not name the issue fails. Every reference is owner/repo#N, never a bare #N. List each
prerequisite issue in `.blocked_by` and explain it under Prerequisites. Above 8 hours is probably two tasks.
Write "none" or "not applicable, because X" instead of padding a section.
-->

## 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. Problem Description
## 2b. Proposed Solution
One line each for the alternatives considered and rejected.
## 2c. Test Plan
Golden:
Edges:
Known failure modes:
Fuzz and stress:

## 3. Why now
## 4. Risks
## 5. Definition of Done
## 6. Stakeholders
## 7. Related Issues
74 changes: 74 additions & 0 deletions .github/ISSUE_TEMPLATE/investigation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
name: Investigation
about: "Use when a system matters but we do not yet know what questions to ask about it."
labels: lane:inbox, type:spike
---

```yaml
.dag: issue-dag/2
.id: git-stunts/plumbing#NEW
.kind: task
.type: investigation
.blocked_by: []
.size_hours: 2
```

# Investigation

```text
You are the investigator for this issue. Read all sections of this issue.
Examine the area in section 2 at the locations in section 2b.
Stop when the time box in section 2c ends.
Record each finding in section 2d. Write one line for each finding.
File one typed issue for each finding. Write its number next to the finding.
Make sure that each item under Acceptance is true.
Do not change code.
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.
```

<!--
issue-dag/2 frontmatter (Taskalisk): after GitHub assigns the number, replace NEW in `.id` with it; a block
whose `.id` does not name the issue fails. Every reference is owner/repo#N, never a bare #N. List each
prerequisite issue in `.blocked_by` and explain it under Prerequisites. Above 8 hours is probably two tasks.
Write "none" or "not applicable, because X" instead of padding a section.
-->

## 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. What we do not understand
The area, not a question. If you have one question, file Research instead.
## 2b. Where to look
Surfaces, repositories, dashboards, people.
## 2c. Time box
## 2d. Findings
Empty at filing. One line per finding, each with the card it became.

## 3. Why now
## 4. Risks
## 5. Definition of Done
The map exists and every finding has a typed card.
## 6. Stakeholders
## 7. Related Issues
79 changes: 79 additions & 0 deletions .github/ISSUE_TEMPLATE/research.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
name: Research
about: "Use when there is one answerable question and a decision waits on the answer."
labels: lane:inbox, type:spike
---

```yaml
.dag: issue-dag/2
.id: git-stunts/plumbing#NEW
.kind: task
.type: research
.blocked_by: []
.size_hours: 2
```

# Research

```text
You are the researcher for this issue. Read all sections of this issue.
Answer only the question in section 2.
Use the method in section 2c. Obey the limits in section 2d.
Record the value, the command, and the time in section 2f.
If you cannot answer the question, record why in section 2f.
Make sure that each item under Acceptance is true.
Do not change code.
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.
```

<!--
issue-dag/2 frontmatter (Taskalisk): after GitHub assigns the number, replace NEW in `.id` with it; a block
whose `.id` does not name the issue fails. Every reference is owner/repo#N, never a bare #N. List each
prerequisite issue in `.blocked_by` and explain it under Prerequisites. Above 8 hours is probably two tasks.
Write "none" or "not applicable, because X" instead of padding a section.
-->

## 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. The Question
One sentence, answerable.
## 2b. What decision waits on it
If nothing does, do not file this.
## 2c. What would settle it
The observation, the method, and where the data lives.
## 2d. Aperture
What this cannot see, so a negative result is not read as a positive.
## 2e. Possible answers and what each implies
Written before looking.
## 2f. Evidence
Empty at filing. The value, the command that produced it, the timestamp.

## 3. Why now
## 4. Risks
## 5. Definition of Done
An answer under Evidence, or a declared unanswerable-because.
## 6. Stakeholders
## 7. Related Issues
Loading
Loading