Software Engineering
Map the Blast Radius of a Code Change
A change-impact map that follows a proposed diff through callers, dependencies, data, deployments, tests, and customer paths to expose hidden consequences before implementation.
The process
Work it in this order.
- Define the proposed change, base and head revisions, intended outcome, in-scope files, assumptions, and the decisions the map must inform.
- Inspect the diff and direct dependents, then search callers, imports, interfaces, generated code, configuration, and tests using only available tools.
- Trace runtime effects through APIs, data reads and writes, queues, jobs, permissions, feature flags, deployment settings, and customer-visible paths.
- Map owners, test coverage, observability, dependencies, and migration constraints, ranking likely failure points by impact and evidence strength.
- Derive a static evidence map and classify each surface as direct, likely, possible, or unknown; keep static evidence distinct from runtime assumptions.
- Identify validation, accessibility, compatibility, rollback, and observability gaps, propose the smallest safe checks, and do not run tests, package commands, or runtime paths here.
- Summarize impact and reversibility, save the map and raw non-secret evidence in the Latch target workspace, and report coverage limits; runtime validation requires separate authorization.
Bring this
Inputs the cat will ask for.
- base and head revisions or diff
- intended change and scope
- runtime and deployment context
- risk tolerance and review owners
Router + one playbook
Route first. Choose one.
Cat Paw loads one playbook per task rather than merging several. Start with this router; the remaining paths are workflow-specific candidates it can inspect.
- Router:
code-graph-pack skills/code-graph-pack/code-change-blast-radius-map/SKILL.md
Guardrails
The boundaries travel with the prompt.
- Verify the actual tools, accounts, permissions, and workspace before starting; never claim an unavailable tool, account, source, or capability.
- Use Latch/target-workspace for private code, artifacts, live probes, or non-public data; if that access is unavailable, stop at the boundary and report the blocker rather than substituting a guess.
- Pause for explicit approval before consequential external actions; return evidence and unresolved risks, assumptions, and any action still awaiting approval.
Done means
A checkable finish.
A static evidence map follows the named diff through code, data, dependencies, deployment, tests, and users, with ranked risks, proposed checks, coverage limits, and unresolved risks, without changing repository or remote state.
Sources
Where this process came from.
- github.com/Graphify-Labs/graphify/tree/4c735618f3d56fd622c2049771584621c31ba9ff/
- docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review
- c4model.com/
Sources establish the workflow pattern. Reddit and community posts, where present, are treated as practitioner anecdotes rather than universal facts.