Claude Code Postmortems: Evidence Without Blame
Turn agent session records, cloud events and decisions into blameless postmortem inputs with facts and hypotheses kept separate.
19 min read
Turn agent session records, cloud events and decisions into blameless postmortem inputs with facts and hypotheses kept separate.
19 min read
Choose required status checks and review rules, then test the policy with a deliberately incomplete pull request.
17 min read
Time-box emergency cloud access during incidents, name an approver and preserve the decision trail for later review.
17 min read
Define freeze windows, emergency criteria and retrospective approval so agent-assisted infrastructure work has a clear exception path.
16 min read
Connect each entry to a versioned behavior change, name migration steps, and keep internal cleanup out of release notes.
19 min read
Trim CLAUDE.md to durable project facts and decisions instead of turning it into a transcript, manual, or task-specific prompt.
17 min read
Set cloud budget alerts, quota checks and cost ownership before Claude Code can create or resize infrastructure.
20 min read
Cap infrastructure agent identities with IAM policies and permission boundaries, then test allowed actions before production use.
21 min read
More generated code can move the bottleneck to review. Measure review time, defect escape and rework before celebrating PR volume.
19 min read
Use a consistent type, scope, and summary so history, changelogs, and release review start from reliable signals.
17 min read
Use complexity and debt signals to locate candidates, then justify each refactor with behavior and maintenance evidence.
21 min read
Move Claude Code configuration with an absolute CLAUDE_CONFIG_DIR and verify that credentials, settings and IDE launches use the intended directory.
19 min read
Resolve contradictory Claude Code instructions by naming their scope, source, and intended precedence before the agent has to guess.
16 min read
Run Claude Code with an intentional container user and align HOME, the config volume and workspace mount so interactive files land in the expected locations.
16 min read
Use Claude Code's context view to identify loaded files and categories before adding another document or instruction to the session.
20 min read
Choose a focused set of files, symbols, and source passages that can answer the Claude Code task without copying the whole repository.
17 min read
Turn consumer expectations into provider checks, version the contract, and separate compatibility evidence from schema guesses.
19 min read
Enterprise proxies can break Claude Code through custom CAs, mTLS and host allowlists. Configure the network before changing model settings.
17 min read
Audit which credential Claude Code selects when an API key, helper script and subscription login coexist, then remove the source you did not intend.
18 min read
Compare where Claude Code stores credentials on each desktop OS and check file permissions without treating every Keychain prompt as a storage failure.
18 min read
A schema request can become a force push or destructive migration. Separate planning, generation, review and production apply.
18 min read
Search references, inspect public entry points and history, then remove code in small steps with tests around callers.
21 min read
Record commands, outputs, timestamps, and predictions so each debugging step can be checked and repeated.
17 min read
Understand on-demand tool discovery as an explicit API pattern, then assess whether a Claude Code integration actually exposes it.
18 min read
Package installs can run lifecycle scripts and reach the network. Review the manifest, lockfile and command before allowing the agent to install.
18 min read
Freeze clocks, seed random inputs, reset shared state, and make timer advances explicit before comparing test output.
20 min read
Persist Claude Code authentication and settings across dev container rebuilds by mounting the config directory and pointing CLAUDE_CONFIG_DIR to it.
17 min read
Add the official Claude Code dev container feature and use the official Node feature as a fallback when the feature's Node.js setup fails.
16 min read
Check ownership and write access on a Claude Code config bind mount, and treat login reports as specific cases rather than universal Docker failures.
17 min read
Compare duplicated behavior, ownership, and change patterns before extracting shared code or keeping modules separate.
20 min read
Name the exact block Claude Code should replace, the expected result, and the surrounding text that must remain intact.
18 min read
Use an explicit error budget policy to decide when infrastructure automation pauses for reliability work instead of shipping more changes.
18 min read
Turn an uncertain Claude Code task into an exploration plan that names the unknowns, evidence needed, and decisions still open.
17 min read
Fast mode can reduce latency at a higher token rate. Compare time saved with the added cost on the same task.
18 min read
Use Claude Code file mentions and targeted command output to add relevant evidence while avoiding a bulk dump of unrelated files.
21 min read
Capture failure signatures, isolate order and state leaks, then quarantine only with an owner and an expiry date.
21 min read
Claude Code has game-cloning limits, while developers report broader refusals. Separate original work, analysis and prohibited recreation.
18 min read
Mark known good and bad revisions, run a deterministic check, skip untestable commits, and reset when finished.
21 min read
Match merge or rebase to repository rules, protect shared history, and verify the resulting diff before pushing.
19 min read
Inspect stash contents, apply rather than pop during recovery, and keep the original entry until conflicts are resolved.
21 min read
Gitignored files are not protected from every git command. Block broad clean and reset operations, and keep local secrets outside the worktree.
18 min read
Separate global IDE and interface keys stored in ~/.claude.json from settings.json scopes before moving configuration or comparing two machines.
17 min read
Install the Claude Code cask, locate its executable and plan manual upgrades because the official setup page says Homebrew installs do not auto-update.
18 min read
Start from the supported release tag, apply the smallest fix, resolve conflicts, and record the source commit and test scope.
19 min read
Use screenshots, diagrams, or reference images in Claude Code while stating the intended behavior and boundaries in text.
16 min read
Reconstruct incident timelines from request IDs, tool decisions and cloud events while marking uncertainty instead of inventing causation.
20 min read
Map assets, identities, trust boundaries and failure paths before allowing Claude Code to operate cloud and Kubernetes systems.
17 min read
Connect an external terminal to a supported JetBrains IDE with /ide and place the CLI on the remote host when your development session runs there.
16 min read
Install both the Claude Code CLI and the JetBrains Marketplace plugin, then verify plugin updates and browser sign-in for a supported IDE.
16 min read
Audit Roles, ClusterRoles and bindings before giving Claude Code Kubernetes access, with namespace scope and verb limits.
16 min read
Generated code still carries license and IP risk. Review dependencies, copied patterns and organizational policy before merging.
21 min read
ARM and headless environments can break browser login and native binary discovery. Use device-code flows and verify the launcher path.
17 min read
Choose the documented Linux package route for your distribution and use its package manager for updates rather than assuming native auto-updates.
18 min read
Verify log arrival, timestamps and correlation fields before asking Claude Code to triage an infrastructure incident.
19 min read
Complete browser sign-in, use the copy-URL fallback when needed and understand what /logout resets before starting a fresh login.
18 min read
macOS Keychain access can prompt repeatedly or expose credentials to overly broad processes. Scope access and audit the caller.
17 min read
A higher usage multiple does not remove weekly caps or task-level spikes. Measure accepted work before upgrading.
18 min read
MCP servers extend what the agent can read and do. Their output can carry prompt injection, so authentication alone is not enough.
18 min read
Capture a repeatable workload, compare heap evidence, and trace retained objects before changing cleanup code.
16 min read
Compare both intents, rerun focused tests, and document semantic choices instead of accepting whichever side compiles.
18 min read
Check merge-group triggers, identify the failing pull request, and rebuild the queue without bypassing required checks.
17 min read
Remove irrelevant inputs one at a time, keep the failure observable, and package commands, data, and expected behavior.
17 min read
Remote Control can continue a local session from a phone, but it is not a full mobile IDE. Know what can be reviewed and approved safely.
18 min read
Mutate high-risk code, inspect survivors, and add tests for behavior gaps instead of chasing a universal score target.
19 min read
Find the native executable, inspect PATH order and confirm which Claude Code binary your shell launches before troubleshooting startup.
21 min read
Name the behavior, files, and design choices that must remain untouched before asking Claude Code for a focused change.
18 min read
A network fault can trigger many reconnections. Measure socket state, cap retries and isolate the client before changing the router.
17 min read
Check CNI enforcement, additive allow rules and both traffic directions before Claude Code changes Kubernetes network policy.
16 min read
Rehearse detection, escalation, evidence capture and safe agent assistance with a NIST-aligned incident tabletop.
19 min read
Check Node.js 22 or later, inspect the npm global prefix and resolve the Claude Code executable before choosing a reinstall or PATH fix.
19 min read
Claude Code is a cloud model client. Separate local files, cached sessions and local-model adapters from true offline inference.
19 min read
Define consistent resource and event attributes for Claude Code sessions without turning semantic conventions into transcript capture.
20 min read
Claude Code can fail while the CLI looks healthy. Combine status, synthetic checks and fallback routing before an incident stops work.
18 min read
A narrow request can turn into a broad rewrite. Bound the change surface, require a diff plan and reject unrelated cleanup.
18 min read
Map OWASP AISVS requirements to agent workflows, owners and evidence while keeping untested controls visibly open.
20 min read
Identify independent Claude Code reads that can be requested together while preserving dependencies and avoiding overlapping edits.
19 min read
Make Claude Code plans explicit about which reads, decisions, and edits must happen before later steps can be valid.
17 min read
Use plan mode to review Claude Code's proposed files, sequence, and assumptions before it crosses the edit boundary.
18 min read
Define the signals that should make Claude Code revise a plan instead of continuing with an assumption the code no longer supports.
18 min read
Create a small platform governance charter with decision rights, exception review, evidence owners and a recurring control checklist.
15 min read
A plugin can run commands, load MCP servers and change skills. Review the exact version and permissions before installing.
17 min read
Use Pod Security Standards and admission checks to review agent-authored workloads without treating policy as runtime proof.
21 min read
Roll out cloud policy checks in audit mode, inspect failures and require reviewed exceptions before enabling deny effects.
20 min read
Windows hooks and status commands can lose quotes around paths with spaces. Test the exact shell and exit code before production use.
17 min read
Move narrow Claude Code instructions out of the always-loaded brief and toward the files or workflows where they apply.
18 min read
Prompt caching has model-specific minimum sizes. A short system prompt may not qualify no matter how often you repeat it.
19 min read
Replace broad requests with file names, symbols, symptoms, and exceptions that give Claude Code a precise place to investigate.
17 min read
Separate the desired result, hard constraints, and representative examples so Claude Code can interpret a brief without guessing.
17 min read
State invariants, bound generated inputs, save failing examples, and use counterexamples to refine the property or the code.
22 min read
Assign responsible, accountable, consulted and informed roles for agent-proposed cloud changes before work starts.
20 min read
A default reasoning level can be wrong for the workload. Pin effort per task and measure quality, latency and cost together.
19 min read
Define the behavior contract Claude Code must preserve during a refactor and keep unrelated feature work outside the requested scope.
18 min read
Check the tag, commit, test scope, changelog, and rollback unit from one record before approving a release candidate.
20 min read
Tag the exact tested commit, record release context, and verify tag identity before generating notes or artifacts.
18 min read
Repository files can carry instructions the agent may follow. Treat cloned context as untrusted until permissions and hooks contain it.
18 min read
Rewrite a vague feature request as an actor, an observable outcome, a boundary, and evidence before Claude Code starts editing.
19 min read
Order a Claude Code plan so the smallest useful changes create evidence and reduce the cost of changing direction later.
17 min read
Claude Code checkpoints track its file edits, not every shell side effect. Know what /rewind can recover before relying on it.
17 min read
Match infrastructure actions to review tiers, separation of duties and evidence requirements instead of one approval rule for all changes.
18 min read
Define the rollback unit, test the inverse change, and document merge or data limitations before shipping.
20 min read