src/controllers/changes.mjs
BeforeProposed
+1−1
1919 if (error instanceof ContractError) return {
2020 ok: false,
2121 error: error.message,
22 document: working
22 document: original
2323 };
2424 throw error;
2525 }
Opening your workspace…
Opening review…
Review the independently proposed patch below, including its unchanged callers. A failed patch exposes earlier writes, and moving a value inside its own subtree fails after removal. Validate ancestry before mutation and return the original document when any operation fails.
Review focus: Repository Implementation
0 / 10,000 characters · A verdict needs supporting evidence.
Sign in to view your reviews.