mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: optimize/claude-md-governance - Timestamp: 2026-02-02T06:21:21Z - 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:
1 parent
dbbc69a7c0
commit
ffebe90087
1 file changed
+3
-3
@@ -1531,9 +1531,9 @@ async function writeClaudeMd(
|
||||
return;
|
||||
}
|
||||
|
||||
// Use minimal version for minimal init, full version otherwise
|
||||
const isMinimal = !options.components.commands && !options.components.agents;
|
||||
const content = isMinimal ? generateMinimalClaudeMd(options) : generateClaudeMd(options);
|
||||
// Determine template: explicit option > infer from components > 'standard'
|
||||
const inferredTemplate = (!options.components.commands && !options.components.agents) ? 'minimal' : undefined;
|
||||
const content = generateClaudeMd(options, inferredTemplate);
|
||||
|
||||
fs.writeFileSync(claudeMdPath, content, 'utf-8');
|
||||
result.created.files.push('CLAUDE.md');
|
||||
|
||||
Reference in new issue
Block a user