Production Debugging

Kevin's production-debugging context is not just incident experience; it is the expectation that failures leave guardrails, tests, ledgers, dashboards, postmortems, or automation behind.

Open this page when a task touches production behavior, billing, auth, fraud, reliability, infrastructure, or reviewer-facing code quality.

Debugging Model

Principle Operational meaning
Reproduce before patching Prefer failing tests, traces, logs, or direct runtime proof before changing the mechanism.
Name the invariant State what must remain true across states, retries, users, tenants, or billing periods.
Preserve evidence Keep command output, screenshots, logs, traces, source links, or timeline entries.
Fail closed Avoid best-effort gates on value-granting, auth, billing, onboarding, or security paths.
Codify the lesson Add a postmortem, check, doctor, lint rule, dashboard, alert, or workflow when a failure can recur.

Where It Shows Up

Agent Use

If a task could affect money, auth, customer data, admin access, sandbox isolation, or production reliability, do not treat lint as proof. Use invariant tests, surface checks, and no-sus review. Say exactly what was not verified.


Timeline