- Posted on
- Featured Image
It’s 02:07. Your AI service just pushed a toxic response, leaked a customer phone number, or started timing out after a model rollout. Do you restart and hope for the best—or do you preserve evidence, reconstruct the chain of events, and fix the real root cause? On Linux, Bash is your incident response Swiss army knife. This guide shows you how to investigate AI incidents quickly and reproducibly with standard CLI tools, reproducible workflows, and a drop-in triage script. The “state” is bigger than code. Incidents often depend on the exact model weights, tokenizer, dataset slice, retrieval index, and even the prompt template. You need all of them to reproduce.
Non-determinism and drift are real.