Compare commits
2 Commits
8d904af246
...
c97e42e052
@@ -189,7 +189,6 @@ export class SelfEvolveTool {
|
|||||||
|
|
||||||
// ── STEP 2: File-level backup (survives even git corruption) ──
|
// ── STEP 2: File-level backup (survives even git corruption) ──
|
||||||
const backupId = this._backupFile(absPath, relPath, checkpoint);
|
const backupId = this._backupFile(absPath, relPath, checkpoint);
|
||||||
logger.info(`💾 File backup: ${backupId}`);
|
|
||||||
|
|
||||||
// ── STEP 3: Apply patch ──
|
// ── STEP 3: Apply patch ──
|
||||||
const newContent = content.replace(oldCode, newCode);
|
const newContent = content.replace(oldCode, newCode);
|
||||||
|
|||||||
Reference in New Issue
Block a user