Fix bug report
Use the current file, selection, pasted text, or user message as the report.
- Confirm that the described behavior is a bug. State the evidence if it is not reproducible.
- Add a failing regression test using the closest existing test style. If no suitable layer exists, use the nearest existing suite and say why.
- Locate and fix the root cause. Keep the fix scoped to the reported defect.
- Run the regression test and relevant surrounding tests.
If the root cause belongs to a dependency or separately owned repository, identify the owner and prepare a concise handoff: bug summary, reproducer, likely fix area, regression test, and verification. Do not add a downstream workaround unless the user asks.
Report whether the bug was confirmed, the root cause and fix (or owning repository), and verification performed.