# Hand an issue off for a fix

Hand a confirmed bug to whoever will fix it, with everything they need.

A good handoff is self-contained. Put it in the issue itself:

```bash
cofactor issues bump <issueId> --url <page-url> \
  --body "<root cause, evidence, suggested fix>" \
  --code-ref src/orders/submit.ts:88 \
  --log-query "<the query that shows it>" --log-system datadog
```

Include:

- What is wrong and who is affected (the user-visible symptom).
- How to reproduce it (`cofactor issues get <id> --format markdown` has the
  repro steps; link the run with `--from-run <runId>`).
- The root cause if known, with `--code-ref` paths and `--log-query` evidence.
- How you will know it is fixed: the workflow that should pass
  (`cofactor workflow run <workflowId> --stream`).

Then tag the issue so it can be found (`cofactor issues tag <id> --add needs-fix`),
and close it once the fixing change is deployed and the workflow passes. If it
recurs, `cofactor issues reopen <id>`.
