The built-in policy requires api_tests. Write a policy with your own required: list.
Evidence exists but isn't found
It isn't at the path the policy looks in, on the runner where the gate runs. Check Appendix A's default locations, or set evidence: in the policy (listing every kind you use: it replaces the defaults).
evidence.stale
The report is older than max_age_hours, typically from an earlier run or committed to the repo. Regenerate it in this run.
evidence.unreadable
A report file is truncated or not the format its kind expects. Re-run the tool; check the job that produced it didn't fail half-way.
Error: unknown key, kind or rule
The policy has a typo; the error names it. k11-release-gate-mcp rules lists every rule ID.
A change didn't require the evidence you expected
Run k11-release-gate-mcp plan --base origin/main to see the changed files and which triggers they matched; add your own triggers for your layout.
A plain download-artifact puts each artifact in its own folder. Upload the whole .qa-mcp/ folder and download with pattern, merge-multiple: true and path: .qa-mcp.
A report lands as .qa-mcp/contract-report.json
You uploaded a single report folder, which became the artifact root. Upload .qa-mcp/ instead.
Warning: couldn't comment, HTTP 403
Add permissions: pull-requests: write. On fork PRs the token is read-only by design.
Warning: can't find a common commit with the base
The base branch couldn't be fetched. The gate still decides, without change-triggered evidence. Check the branch name or set base: none.
Two gate comments on one PR
Two workflows or matrix jobs with comment: true; keep one.
The environment doesn't allow writes. Use a test environment (local host, a test-like name such as ci/staging/qa, or allow_writes: true). Production-like names are refused by design.
Installing two tools gives an older version of one
Some tools pin compatible versions of a shared library. Install each tool in its own environment, or use uvx.
${ENV:NAME} error
The variable isn't set in this shell or CI job. Map it from your secrets.
A locator heal was reverted
It was confident, but the test still failed with it, usually for a second reason. Read the report; the remaining failure may be a real bug.
needs_review on a heal
No candidate was confident enough or clearly ahead. Pick from the listed candidates, then capture_baseline again.
Healing in CI never succeeds
No baseline is committed. Run capture_baseline while tests pass and commit .qa-mcp/baselines.json.
Integration flow times out but the event was published
The listener started after the event. Put listenbefore the step that triggers the event.
"closest message" shows a different type
The expected event wasn't published at all; the closest one is just the nearest neighbour. Check the producer.
Integration flows can't reach Kafka in CI
Kafka's advertised listener must be reachable from the runner (localhost:9092 for a service container), and the topics must exist before consumers start. The K11 Shop workflow has a working configuration.
Performance regression on a noisy runner
A regression needs size, a minimum delta and significance. If a real-looking one appears, raise min_samples or run longer before changing tolerances.
The review keeps asking the same question
Answer it in the story (add the status code, the time limit, the role). The rules are deterministic: the same story gets the same questions.
Each tool's repository has an issue tracker. When reporting a problem, include the tool's version (--version), the command, and the
relevant report JSON with secrets removed. They're already masked, but check.