# summary

Generate QA evidence (test, coverage, lint) and record it.

# description

Runs the built-in QA evidence generators and appends the results to `.setup-agents/state/evidence.jsonl` as `report` evidence for the given task.

- `test` runs `npx mocha --reporter json` and records pass/fail/skip counts.
- `coverage` parses `coverage/lcov.info` and records line/function/branch percentages.
- `lint` runs ESLint and records error/warning counts.
- `all` (default) runs the three concurrently and reports an overall status.

Use this instead of hand-rolling a script to collect QA evidence — the generated records feed the workflow QA gate and effort insights.

# flags.task.summary

Task or issue id for the generated evidence.

# flags.task.description

Associate the evidence with a task id such as `SA-96` or `#96`.

# flags.kind.summary

Which evidence to generate.

# flags.kind.description

One of `all` (default), `test`, `coverage`, or `lint`.

# examples

- Generate test, coverage, and lint evidence for a task:

  <%= config.bin %> <%= command.id %> --task SA-96

- Generate only coverage evidence:

  <%= config.bin %> <%= command.id %> --task SA-96 --kind coverage

# info.summary

%s: %s

# info.overall

Overall status: %s
