Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: rebrand/ruvflow-umbrella
- Timestamp: 2026-02-09T18:18:47Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-02-09 18:18:47 +00:00
1 parent 33e6a74ca4
commit fafd2bd286
1 file changed
+16
+16
View File
@@ -450,6 +450,22 @@ export async function executeUpgrade(targetDir: string, upgradeSettings = false)
try { fs.chmodSync(targetPath, '755'); } catch {}
}
}
} else {
// Source not found (npx with broken paths) — use generated fallbacks
const generatedCritical: Record<string, string> = {
'hook-handler.cjs': generateHookHandler(),
'intelligence.cjs': generateIntelligenceStub(),
};
for (const [helperName, content] of Object.entries(generatedCritical)) {
const targetPath = path.join(targetDir, '.claude', 'helpers', helperName);
if (fs.existsSync(targetPath)) {
result.updated.push(`.claude/helpers/${helperName}`);
} else {
result.created.push(`.claude/helpers/${helperName}`);
}
fs.writeFileSync(targetPath, content, 'utf-8');
try { fs.chmodSync(targetPath, '755'); } catch {}
}
}
// 1. ALWAYS update statusline helper (force overwrite)