Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvffebe9008752
diff --git a/v3/@claude-flow/cli/src/init/executor.ts b/v3/@claude-flow/cli/src/init/executor.ts
index 9215a34ce4..5cde164f74 100644
--- a/v3/@claude-flow/cli/src/init/executor.ts
+++ b/v3/@claude-flow/cli/src/init/executor.ts
@@ -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');