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:
rUvandClaude Opus 4.5 committed 2026-02-02 06:21:21 +00:00
1 parent dbbc69a7c0
commit ffebe90087
1 file changed
+3 -3
+3 -3
View File
@@ -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');