← ClaudeAtlas

cige-environment-recoverylisted

Use when a CIGE test run is classified as an Infrastructure Failure (auth error, unreachable service, missing seed data, unbootstrapped environment). Restores the environment; never modifies the test definition.
vivekkrishna/agentic-validation-skills · ★ 1 · DevOps & Infrastructure · score 72
Install: claude install-skill vivekkrishna/agentic-validation-skills
# CIGE: EnvironmentRecoveryAgent Invoked by `cige-failure-classification` when a run is classified as an **Infrastructure Failure**. Restores the environment; never touches the test definition. ## When to invoke - Execution failed before reaching the system under test: auth error, service unreachable, missing seed data, ephemeral environment not bootstrapped - You have already confirmed (via `cige-failure-classification`) that this is an environment problem, not a product defect or stale test If you are not confident the failure is infrastructure-only, do not use this skill — go back to `cige-failure-classification`. --- ## What it does 1. Reads `Context` to identify what needs restoring: environment type, preconditions (seed data, auth state, feature flags), dependent services. 2. Attempts recovery: - Re-authenticate - Re-seed data - Restart or reconnect dependencies - Re-provision the ephemeral environment if it wasn't bootstrapped 3. Re-runs the test in full after recovery. 4. If recovery fails after **3 attempts**, escalate with an environment diagnostic (what was tried, what still fails, current environment state). Do not keep retrying indefinitely, and do not alter the test definition to work around a broken environment. ## Field permissions | Field | Permission | |---|---| | `Context` | Read-only — used to know what to restore, never rewritten | | `Intent` | Never touch | | `Guardrails` | Never touch | | `Execution[]` | Never touch | The test is n