Documentation
Evidence for every coding-agent item
Ask Claude Code, Codex, or Cursor for screenshots, benchmarks, or sample responses per item, with an optional file map in each receipt and your rule for missing evidence.
Updated
How do I see proof of what a coding agent did on each item?
Add an Evidence line to an item, chosen from a catalog of evidence kinds such as UI, tests, API, and performance. The receipt carries that evidence and can include a map of the files the item changed. Your evidence setting decides whether a missing file is ignored, reported, or holds the clock-out.
An Evidence line beside Verify
Verify says how to check the work; Evidence names what a reviewer opens first to see it at a glance: screenshots at named widths, a benchmark's before and after, a sample response. Plan and Hunt offer these lines once, from the evidence catalog, and add none without your yes.
- [ ] **3. Restyle the checkout page.**
- Match the new spacing scale on mobile and desktop.
- Verify: npm test -- checkout
- Evidence: kind: ui, the screen `checkout.png`
- Commit: `feat: restyle checkout`The evidence catalog
Ten kinds ship, each one Markdown file that says when it applies, what to capture, and how. Planning offers the kinds that fit each item, and a default can ask for evidence on every item of a shift.
- UI — before and after screenshots at named widths, light and dark, and a short recording for a multi-step flow.
- Tests — the tests added, the behavior each covers, and the coverage change for the touched files.
- API or contract — a sample request and response and the schema diff; old and new shapes side by side for a breaking change.
- CLI or tooling — the command and its output before and after, including the error a user sees.
- Configuration or infrastructure — the resolved config diff, the plan or dry-run output, and how the change is undone.
- Data or migration — record counts before and after, the migration output, and the rollback command.
- Docs — the rendered page or a screenshot of it, and the link-check output.
- Performance — the exact command, the machine and its load, before and after figures with units, and the run count.
- Refactor — what moved where and how unchanged behavior was shown: the unchanged tests, an output diff, or both.
- Security — the scan command and output, and each finding’s disposition.
What a missing file does
You choose, once, at planning or in the rules file.
- off leaves the tick alone.
- report lists the missing file on the receipt and the morning receipt.
- block keeps the clock-out gate open until the file is present.
- review asks the agent to open what it produced, fix what it sees, and say what it saw; it never affects the tick.
- When evidence cannot be produced at all: hold closes the item as stopped, park records one parking-lot entry, note ticks it with the reason.
Where evidence lands
The item's receipt gets an Evidence section. Short evidence sits inline; screenshots, recordings, and data go in a folder beside the receipt and are linked relatively, so Archive files them together and the links keep working. Set receipts.evidence.fileMap to on to include a map of the files the item changed; it ships off. The check proves the evidence is present, never that it is right.
Add your own evidence kind
One Markdown file in the project's .nightshift/catalogs/evidence/ or your user folder adds a kind or replaces a shipped one, with no pull request. Those files never leave your machine.
Start with a bounded prompt
This prompt names the outcome and preserves Nightshift’s review boundary. Paste it into the supported coding host from the project you want to change.
Plan this shift with an Evidence line per item from the evidence catalog, and hold the clock-out if a named file is missing.What this workflow does not claim
- The check confirms named files exist; it never proves they show the right thing.
- Evidence kinds suggest what to capture; the agent still has to be able to produce it in your environment.
Evidence and sources
These links support the released behavior, public outcomes, or problem language described on this page.
Frequently asked questions
Does evidence prove the work is correct?
No. The check confirms the named files exist. Whether the work is right is still decided by the item's checks and your review.