Safeguards
Required before real Check Runs
- Explicit environment flag such as GITHUB_CHECK_RUNS_ENABLED=true before real checks can be created.
- Workspace-level allowance before any repository can receive real Check Runs.
- Approved repository must be selected and tied to the GitHub App installation identity.
- Installation identity must match the workspace repository record.
- Idempotency key should prevent duplicate Check Runs for the same review_run and commit SHA.
- Audit event must be written before and after any real Check Run create/update attempt.
- Kill switch must disable Check Runs immediately without redeploying risky behavior.
- No auto-merge behavior is introduced by Check Runs.
- Generic Platform Guidance: Human approval remains required for manual-review, blocked, failed, protected-path, and sensitive-path cases.
- Do not expose raw diffs, raw repo rules, tokens, private keys, webhook payloads, or provider errors in Check Run output.