# Debug a Run: report the cause

## Reporting

The field names below (`title`, `failurePoints`, `recommendation`, `evidence`, `openQuestions`) are a template for your write-up, not a form to submit; write it as a normal report with those parts.

The QA tester reading your report sees, by default, only the `title`, `Key Evidence`, and `Recommendation`. Everything else is twirl-down. Optimise for that.

- `title` — one sentence, concrete and specific. The thesis.
- `failurePoints` — 2–4 bullets describing the failure; quote the authored expectation inline only when it sharpens the point.
- `recommendation` — 1–3 imperative bullets matched to the failure category:
  - `software_bug` → name the app defect; the underlying error is quoted in an evidence item
  - `dependency_issue` → name the missing data/fixture/credential and where to provision
  - `agent_confusion` → quote the confused thought, point at visual evidence the agent missed, suggest test-instruction tweaks
  - `platform_error` → describe the harness failure, suggest filing a platform issue
  - `test_underspecified` → quote the ambiguous instruction; provide a clearer rewording
  - `data_collision` → explain *why* the workflow drifted onto wrong data (stale cached recipe, ambiguous locator, stale variable binding); propose a recipe/locator/variable fix only when the evidence clearly supports it
- `openQuestions` (optional) — what you couldn't determine. Skip if you have full conviction.

Never reference internal artifact paths (`steps/…`, `workflow/nodes/…`, `logs/…`, `thoughts/…`, `history/…`, `browser/frames/…`, "the ledger", "the workspace") in any field the QA tester sees. Speak in domain terms: "the authored step description", "the network log", "the agent thought at step 4".

Don't hand back "the run failed" or a bare error message alone. The whole point is to triangulate to a concrete cause.
