Skip to main content

Scenario

A pod in your production cluster is stuck in CrashLoopBackOff after a deployment. Let’s use Siclaw to diagnose it.

Start Siclaw

If you want Siclaw to inspect a Kubernetes cluster, import a kubeconfig first with /setup.

Describe the Problem

Be specific. Include the pod name, namespace, and what changed (e.g., “after deploying v2.3”). More context = better hypotheses.

Phase 1: Context Gathering

Siclaw automatically runs diagnostic commands to understand the situation:
All commands are read-only — nothing is modified.

Phase 2: Hypothesis Generation

Based on the evidence, Siclaw generates ranked hypotheses:
If Investigation Memory has data, Siclaw will also check past incidents for similar patterns and adjust hypothesis confidence accordingly.

Phase 3: Parallel Validation

Up to 3 sub-agents independently validate each hypothesis:
Each sub-agent runs targeted commands to confirm or refute its hypothesis. They don’t share information — this prevents confirmation bias.

Phase 4: Conclusion

Siclaw synthesizes all evidence into a structured report:
The full trace is saved to .siclaw/traces/deep-search-{timestamp}.md (relative to where Siclaw was launched).

Deep Investigation Mode

For complex issues, you can explicitly trigger a deep investigation:
This activates the structured 4-phase workflow (triage → hypotheses → parallel validation → conclusion) for thorough investigation.

More Examples

Here are other common scenarios Siclaw handles well:

OOMKilled Pods

Siclaw will check memory limits vs actual usage, recent deployment changes, and correlate with node memory pressure.

Node NotReady

Siclaw will inspect node conditions, kubelet logs, kernel messages (dmesg), and network connectivity to the API server.

Intermittent Network Issues

Using /dp triggers the full structured investigation — useful for complex cross-service issues.

What’s Next?

  • Deep Investigation — how the investigation workflow works
  • Skills — create reusable diagnostic playbooks
  • Memory — how investigation history improves future diagnoses