Evidence-led PRs
PR Gate Evidence & Handoff
08 / 12
Exercise 1 of 3
Give Reviewers Complete Evidence When Checks Fail
Your Mission
A pull request lists passing tests but leaves out a failed checkout check and its screenshot. Its description says the change is ready to merge.
Your challenge is to correct that PR and automate a complete evidence pack. Reviewers must see the failure, identify the tested code, and understand why merging is blocked. The evidence must remain available when CI fails.
Use the verification-before-completion skill (opens in a new tab) to connect PR claims to fresh command output.
The duration for this challenge is 60 min or less after setup.
Project
failed-check-evidence-app (opens in a new tab) contains the starter and harness. The supplied check results (opens in a new tab) include passing tests, a failed checkout check, and a screenshot.
Start with the misleading description and reviewer comment in the PR review brief (opens in a new tab). This exercise is standalone; fixing checkout is outside its scope.
How To Go About It
- Inspect the draft, results, and artifacts. Record the starting commit, unsupported PR claims, and missing proof in
evidence/before.md. - Build the generator using the output contract (opens in a new tab). Preserve every check, exit code, artifact, risk, reviewer action, and rollback.
- Add the workflow in the PR brief (opens in a new tab). Verification and upload must run after generation fails while the job remains failed.
- Commit the implementation, generate proof for that commit, and verify the passing, failing, and invalid-input cases.
- Write
evidence/pr-summary.mdwith a corrected title, evidence links, and a blocked merge recommendation. Respond to the supplied reviewer comment inevidence/review-response.md. - Record the result in
evidence/after.mdand changes inevidence/comparison.md. After local verification, open a draft PR and add its actual failed CI run and uploaded artifact links.
Evidence
Submit the generator, workflow, generated pack, corrected PR description, reviewer response, and evidence/before.md, evidence/after.md, evidence/comparison.md.
Include actual skill use, source citations, sealed evidence, and captured output. Follow the setup and verification instructions (opens in a new tab), evidence instructions and template (opens in a new tab), and submission standard (opens in a new tab). Run npm run verify:exercise from failed-check-evidence-app/ before opening the focused PR.
Completion Criteria
The PR exposes every check and artifact, preserves failing exit codes, and gives a supported response to the reviewer. Uploaded evidence remains accessible while the job stays failed. A reviewer can reproduce the result and see why merging remains blocked. Local verification passes; merging is not required.