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: Edit /workspaces/claude-code-flow/src/cli/command-registry.js

rUvf5e281d17218
diff --git a/.claude/checkpoints/1755017451.json b/.claude/checkpoints/1755017451.json
new file mode 100644
index 0000000000..399f81e790
--- /dev/null
+++ b/.claude/checkpoints/1755017451.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250812-165051", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/training-pipeline-real.js", "timestamp": "2025-08-12T16:50:51Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755017453.json b/.claude/checkpoints/1755017453.json
new file mode 100644
index 0000000000..833610fc95
--- /dev/null
+++ b/.claude/checkpoints/1755017453.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250812-165053", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/training-pipeline-real.js", "timestamp": "2025-08-12T16:50:53Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 72 ++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/task-1755017274.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/training-pipeline-real.js | 855 ++++++++++++++++++++++ 6 files changed, 932 insertions(+), 4 deletions(-) "}
diff --git a/src/cli/command-registry.js b/src/cli/command-registry.js
index 0e74e45f4a..f639eddcce 100644
--- a/src/cli/command-registry.js
+++ b/src/cli/command-registry.js
@@ -672,6 +672,11 @@ Verification-Training Integration:
commandRegistry.set('train-pipeline', {
handler: async (args, flags) => {
try {
+ // Check if user wants real execution
+ if (flags.real || args.includes('--real')) {
+ const { realTrainingPipelineCommand } = await import('./simple-commands/training-pipeline-real.js');
+ return await realTrainingPipelineCommand(args.filter(a => a !== '--real'), flags);
+ }
const { trainingPipelineCommand } = await import('./simple-commands/training-pipeline.js');
return await trainingPipelineCommand(args, flags);
} catch (error) {
@@ -682,7 +687,8 @@ Verification-Training Integration:
description: '🚀 Automated training pipeline for continuous agent improvement',
usage: 'train-pipeline <command> [options]',
examples: [
- 'train-pipeline run # Run full training pipeline',
+ 'train-pipeline run # Run simulated training',
+ 'train-pipeline run --real # Run with REAL code execution',
'train-pipeline run --complexity hard --iterations 5',
'train-pipeline generate # Generate training tasks',
'train-pipeline validate # Validate current performance',
@@ -701,7 +707,12 @@ Pipeline Stages:
2. Execute with different strategies
3. Learn from results
4. Validate improvements
- 5. Apply to production`,
+ 5. Apply to production
+
+Options:
+ --real Use REAL code execution instead of simulation
+ --complexity <level> Task complexity (easy/medium/hard)
+ --iterations <n> Number of training iterations`,
});
commandRegistry.set('hive', {