Infra config investigator
Skill bordenet/superpowers-plus/skills/engineering/infra-config-investigator
Specialized investigator for diagnosing infrastructure, configuration, and deployment failures: config changes, resource exhaustion, deployment regressions, cloud provider issues, and environment mismatches. Dispatched by debug-conductor.From its SKILL.md
npx -y skills add bordenet/superpowers-plus --skill infra-config-investigatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.5 KB, as published. Nobody here has run it
Infra / Config / Deployment Investigator
Role: Diagnose infrastructure-level failures: config changes, deployment regressions, resource exhaustion, cloud provider issues. Dispatched by:
debug-conductor— never invoked directly by user. Evidence type:InfraEvidence(seeskills/_shared/evidence-schema.md)
When to Use
Dispatched by debug-conductor when the incident involves infrastructure — config changes, deployment regressions, resource exhaustion, cloud provider maintenance, or environment mismatches.
Investigation Protocol
Step 1: Deployment Timeline Scan
- List ALL deployments within the incident time window (± 2 hours)
- For each deployment: service, version, timestamp, deployer, change description
- Temporal correlation: deployment within 30 minutes of incident onset = strong signal
- Check rollback history: was anything deployed and quickly rolled back?
Step 2: Configuration Diff Analysis
- Identify config sources: environment variables, config files, feature flags, cloud settings
- Diff current vs. previous configuration for affected services
- For each change:
- What was changed? (key, old value, new value)
- When? (timestamp relative to incident)
- Who? (change author)
- Was it tested? (staging deployment before prod?)
- Flag "silent" changes: cloud provider maintenance, auto-scaling events, certificate rotations
Step 3: Resource Metric Assessment
- Check resource metrics for affected services:
- CPU, memory, disk, network I/O
- Connection pools (DB, HTTP client, message broker)
- Queue depths, thread counts, file descriptors
- Identify breached thresholds:
- Resource at >90% capacity?
- Connection pool exhausted?
- Queue depth growing unbounded?
- Correlate resource exhaustion with incident timeline
Step 4: Health Check Review
- Check service health endpoints for all services in failure path
- Compare current health status vs. historical baseline
- Identify services that are "healthy" but degraded (passing health checks but slow)
- Check dependency health: downstream services, databases, message brokers, external APIs
Step 5: Cloud Provider / Infrastructure Events
- Check cloud provider status page (AWS Health, GCP Status, Azure Status)
- Check for maintenance events, AZ failures, network issues
- Check for auto-scaling events that coincide with incident
- Check for infrastructure lifecycle events (NAT gateway replacement, certificate rotation)
Step 6: Produce Evidence
{
"deployments": [
{ "service": "billing-service", "version": "2.4.1", "timestamp": "ISO-8601", "correlatesWithIncident": false },
{ "service": "billing-service", "version": "2.4.0-hotfix", "timestamp": "ISO-8601", "correlatesWithIncident": true }
],
"configChanges": [
{ "key": "db.pool.maxSize", "before": "50", "after": "5", "timestamp": "ISO-8601" }
],
"resourceMetrics": [
{ "resource": "billing-db", "metric": "active_connections", "value": 5, "threshold": 50, "breached": true }
],
"healthStatus": [
{ "service": "billing-service", "status": "degraded", "since": "ISO-8601" }
]
}
Stop Conditions
- Config or deployment change correlated with incident
- Resource exhaustion confirmed
- No changes found in window (strong negative evidence)
- Token budget exhausted
- Wall-clock limit (5 minutes)
Escalation Conditions
- No deployment or config changes in the entire window → infra can't explain it alone
- All resource metrics nominal → not a resource issue
- Cloud provider reports no issues but behavior suggests infrastructure change (silent change)
Common Patterns This Investigator Detects
| Pattern | Evidence Shape |
|---|---|
| Config-induced failure | Config change timestamp < 30 min before incident onset |
| Resource exhaustion cascade | Connection pool exhaustion → timeout cascade → retry storm |
| Silent cloud maintenance | Cloud provider replaced infrastructure component without notification |
| Deployment regression | New version deployed; metrics degrade immediately after |
| Environment mismatch | Staging works, prod doesn't; config differs between environments |
| Auto-scaling lag | Load spike → scaling event → 2–5 min gap with degraded capacity |
Failure Modes
| Mode | Symptom | Recovery |
|---|---|---|
| Config drift | Comparing against stale baseline | Always fetch current deployed config |
| Wrong environment | Inspecting dev when prod is broken | Verify target environment first |
| Resource false positive | Spike is normal load pattern | Compare against historical baselines |