---
ado_id:
ado_type: Bug
ado_title: "{Title}"
status: New
owner:
created:
last_ado_sync:
parent_ado_id:
artifact-status: draft  # draft | approved — approval state of this generated file (gate reads this)
sad_impact: false
---
# Bug-{NNN}: {Title}

> **Feature:** Feature-{NNN}
> **Severity:** Critical | High | Medium | Low
> **Found in:** Test | Staging | Production
> **Found by:** {PE/SE name}

## Description
{Brief bug description}

## Steps to Reproduce
1. {Step 1}
2. {Step 2}
3. {Step 3}

## Expected Behavior
{Expected result}

## Actual Behavior
{Actual result}

## Evidence
{Screenshots, logs, error messages}

## Root Cause Analysis
*SE fills when analyzing*
- **Root Cause:** {Root cause description}
- **Affected Files:** {List of related files}
- **Impact Scope:** {Affected functionality}

## Regression Test Cases
*SE designs before fixing*

| ID | Description | Input | Expected | Status |
|----|-------------|-------|----------|--------|
| RT-1 | Reproduce bug case | {input} | {expected} | - |
| RT-2 | Related regression | {input} | {expected} | - |

## SAD Impact Matrix
*SE fills during analyze step. Per `.tas/rules/common/sad-impact.md`. Set frontmatter `sad_impact: true` if any row `Detected: Yes`.*

| # | Category | Detected | SAD Section | Change Summary | ADR Candidate |
|---|----------|----------|-------------|----------------|---------------|
| 1 | Tech Stack | No | — | — | No |
| 2 | System Boundary | No | — | — | No |
| 3 | Container / Topology | No | — | — | No |
| 4 | Data Architecture | No | — | — | No |
| 5 | API Contract | No | — | — | No |
| 6 | Security | No | — | — | No |
| 7 | NFR / Ops | No | — | — | No |
| 8 | Deployment | No | — | — | No |

## Fix Notes
*SE fills after fixing*
- **Fix Description:** {Fix description}
- **Files Changed:** {List of changed files}
- **Commit:** {commit hash}

## Verify Notes
*PE fills when verifying*

| Date | Environment | Result | Verified by | Notes |
|------|-------------|--------|-------------|-------|
| {Date} | {env} | Pass/Fail | {PE name} | {notes} |

## Changelog
| Date | Changes | Author |
|------|---------|--------|
