# Repair, refactor, or rebuild: decision worksheet

## 1. Demonstrated starting point
App purpose and next needed outcome: [what users must finish]
Baseline version and environment: [exact version; local/hosted]
Working journey: [steps + observed result]
Failing journey: [steps + expected result + observed failure]
Frequency and evidence: [reproduction, screenshots/logs, or unknown]
Unverified assumptions: [what has not been inspected]

## 2. Preserve
User journeys and product rules: [what must continue to work]
Records and identities: [valuable data; ownership; retention]
Integrations and interfaces: [who depends on them]
Operating obligations: [live users, payments, access, support]

## 3. Compare viable options
Option: [repair / refactor / replace dependency / selective rebuild / rewrite]
Evidence that supports this option: [actual findings]
Affected boundary: [what owns the problem]
What stays: [working assets and behavior]
What changes: [system responsibilities and implementation]
Migration: [records, identities, compatibility, or not applicable]
Implementation effort range: [estimate + assumptions, or unknown]
Verification effort range: [estimate + checks, or unknown]
Migration effort range: [estimate, or unknown/not applicable]
Release/recovery effort range: [estimate + cutover/rollback duties]
Risks not represented by time: [data loss, access, outage, wrong rules]
First check that could disprove the recommendation: [specific investigation]

## 4. Compare total work honestly
For each option, add implementation + verification + migration
+ release/recovery effort using the same units and scope.
Keep unknowns unknown; do not enter zero because no estimate exists.
Do not choose by the total alone when the risks or preserved outcomes differ.

## 5. Recommendation and acceptance
Recommended option: [why the evidence favors it]
Open decision most likely to change it: [question + owner]
First bounded milestone: [complete observable outcome]
Acceptance: [working journey, repaired failure, preserved records,
other role, important conflict/failure, and real environment]
Cutover/recovery route: [if applicable]
Owner approval needed for: [consequential changes or data decisions]

This worksheet organizes an investigation. It is not an automatic
diagnosis, a fixed estimate, or permission to delete valuable data.
