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

feat(mods): the init wizard enables the mods too (ADR-404 amendment 1)

ruv2546278c8cab
diff --git a/v3/@claude-flow/cli/src/commands/init.ts b/v3/@claude-flow/cli/src/commands/init.ts
index a29b2746d3..1db08afa47 100644
--- a/v3/@claude-flow/cli/src/commands/init.ts
+++ b/v3/@claude-flow/cli/src/commands/init.ts
@@ -1180,6 +1180,17 @@ const wizardCommand: Command = {
}
}
+ // ADR-404 amendment — the wizard enables the mods as `ruflo init` does.
+ if (ctx.flags.mods !== false) {
+ output.writeln();
+ try {
+ const { applyMods } = await import('../mods/apply.js');
+ await applyMods(ctx.cwd, { scope: 'project', pluginInstall: ctx.flags.pluginInstall !== false && ctx.flags['plugin-install'] !== false, skipInTestEnv: true });
+ } catch (err) {
+ output.writeln(output.warning(` ruflo mods not enabled: ${err instanceof Error ? err.message : String(err)}`));
+ }
+ }
+
// Initialize embeddings if enabled
let embeddingsInitialized = false;
if (enableEmbeddings) {