Docs/Write an evidence-backed report
#

Write an evidence-backed report

A useful report separates observation from conclusion:

  1. Run identity, revision, selection, and completeness.
  2. Folded scenario verdicts and the first failing step/error.
  3. Skip counts grouped by proven provenance.
  4. Lifecycle facts: timeout/retry/recovery and affected shard attempts.
  5. Relevant artifacts and scenario history.
  6. Focused rerun result, if performed.
  7. Classification: application bug, test issue, harness issue, or inconclusive.
  8. Confidence and the next discriminating check.

Share summary.md and manifest.json from the workspace. Do not paste credentials, raw environment variables, or private artifact URLs into tickets. The diagnostic API already omits control-plane secrets, but customer test logs may still contain application data and should follow the customer's normal handling policy.

For one test's complete recorded attempt timeline, use cofactor external-run get <run-id> --item <id-or-text>. Each attempt is shown newest first with its own Started, Ended and Total Time. Times are UTC; missing windows say Not recorded, and a provider-only duration stays labeled Provider Duration. BDD reports include feature/scenario context, effective tags, and the authored step arguments (doc strings or data tables) retained for that attempt. --json returns the focused item detail with its typed attempt, step, and BDD fields.

For a native workflow run, cofactor workflow runs get <workflow-id> <run-id> shows Started, Ended, and Total Time from that run's recorded timestamps. An active run shows Ended as Running and measures elapsed time from its recorded start; missing historical timestamps remain Not recorded.