| name | ci-flake-quarantine |
| compatibility | ["github-copilot-cli"] |
| description | Use when isolating flaky CI tests with evidence-based quarantine windows and expiry policy. USE FOR: confirm flakiness, quarantine only after repeat evidence, and produce owner/expiry tracking. DO NOT USE FOR: hiding failures, permanently disabling tests, or replacing root-cause remediation. |
| category | testing |
| visibility | internal |
| metadata | {"category":"testing","maturity":"stable","audience":["developer"]} |
| allowed-tools | [] |
CI Flake Quarantine Skill
Use this skill when a test is flaky enough to temporarily isolate, but not enough
to hide the underlying defect. It pairs with self-healing-ci for remediation and
with issue-triage for tracking ownership.
Inputs
- Flaky test name or job identifier
- Failure history and retry evidence
- Target quarantine duration or expiry policy
- Owner or team responsible for follow-up
Workflow
- Confirm the failure pattern is non-deterministic.
- Check whether automated remediation has already been attempted.
- Quarantine only with a clear expiry date and owner.
- Record the quarantine scope and the condition that removes it.
- Re-run the unaffected test slice and report the reduced blast radius.
Output
## Flake Quarantine Plan
- Test: <name>
- Evidence: <summary>
- Quarantine expires: <date>
- Owner: <team>
### Follow-up
1. Investigate root cause
2. Remove quarantine after green verification
Guardrails
- Never quarantine a test without repeat evidence.
- Never make quarantine permanent by default.
- Keep the failing signal visible through issue tracking.
- Prefer remediation over quarantine when the root cause is already known.
Related Assets
agents/basecoat-60-workflow-self-healing-ci.agent.md
agents/basecoat-10-core-issue-triage.agent.md
skills/build-failure-triage/SKILL.md