CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
54 lines
2.7 KiB
Markdown
54 lines
2.7 KiB
Markdown
---
|
|
name: change-impact-analysis
|
|
description: Use before implementation when a proposed code, configuration, data, or workflow change has uncertain callers, compatibility effects, dependencies, or blast radius. Return an impact analysis without implementing it.
|
|
---
|
|
|
|
# Change Impact Analysis
|
|
|
|
Map what a proposed change touches before anyone builds it. Do not implement the proposal unless asked.
|
|
|
|
## When to use
|
|
|
|
- Use it when consumers, compatibility effects, or the blast radius of a change are uncertain.
|
|
- If the proposal is too vague to name the affected behavior or contract, run `work-item-definition` first.
|
|
- Skip it when callers and effects are already clear, such as a local rename with known callers.
|
|
|
|
## 1. Define the change
|
|
|
|
State the proposed change and the behavior, contract, or data it affects, in one or two sentences.
|
|
|
|
## 2. Find what it touches
|
|
|
|
Follow the repository route of `research`: exact paths and symbols first, semantic search for unknown flows, and broaden only when the flow is unclear. Check each of these that applies:
|
|
|
|
- Code: direct callers, related implementations, shared helpers, and tests.
|
|
- Contracts: public APIs, events, file formats, configuration keys, and generated output.
|
|
- Data: schemas, persisted data, migrations, caches, and readers outside the application such as reports, exports, ETL, or scheduled jobs.
|
|
- Consumers outside this repository: other services or repositories, external API clients, and integrations.
|
|
- Operations: deployment, environments, feature flags, monitoring, and documentation.
|
|
|
|
## 3. Assess the risk
|
|
|
|
- Name compatibility concerns, failure modes, and security or data-loss risks, and rate each affected area high, medium, or low.
|
|
- Before confirming external compatibility or recommending an approach, apply the planning checkpoint in `technical-research`; attach matching evidence or mark the assumption unresolved.
|
|
- Separate confirmed impacts from assumptions and unknowns. A possible downstream effect is not a fact without evidence.
|
|
|
|
## 4. Plan verification and rollout
|
|
|
|
- Recommend proportionate checks tied to the risks found.
|
|
- For risky changes to schemas, APIs, data, or shared behavior, recommend a rollout order (for example expand, migrate, then contract), a feature flag or staged release where it fits, and a rollback path.
|
|
|
|
## 5. Report
|
|
|
|
```text
|
|
Change: <one or two sentences>
|
|
|
|
| Area | Impact | Risk | Evidence |
|
|
| --- | --- | --- | --- |
|
|
| <code, contract, data, consumer, or operations item> | <what changes> | high / medium / low | <file:line, search, or source> |
|
|
|
|
Unknowns: <assumption and how to resolve it>
|
|
Checks: <verification tied to each high or medium risk>
|
|
Rollout: <order, flag, and rollback, only for risky changes>
|
|
```
|