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

rUv8a28e4741667
diff --git a/v3/@claude-flow/cli/src/init/helpers-generator.ts b/v3/@claude-flow/cli/src/init/helpers-generator.ts
index 60ead2044d..7e2e3d59f0 100644
--- a/v3/@claude-flow/cli/src/init/helpers-generator.ts
+++ b/v3/@claude-flow/cli/src/init/helpers-generator.ts
@@ -515,6 +515,29 @@ export function generateHookHandler(): string {
" console.log('[OK] Task completed');",
' },',
'',
+ " 'compact-manual': () => {",
+ " console.log('PreCompact Guidance:');",
+ " console.log('IMPORTANT: Review CLAUDE.md in project root for:');",
+ " console.log(' - Available agents and concurrent usage patterns');",
+ " console.log(' - Swarm coordination strategies (hierarchical, mesh, adaptive)');",
+ " console.log(' - Critical concurrent execution rules (1 MESSAGE = ALL OPERATIONS)');",
+ " console.log('Ready for compact operation');",
+ ' },',
+ '',
+ " 'compact-auto': () => {",
+ " console.log('Auto-Compact Guidance (Context Window Full):');",
+ " console.log('CRITICAL: Before compacting, ensure you understand:');",
+ " console.log(' - All agents available in .claude/agents/ directory');",
+ " console.log(' - Concurrent execution patterns from CLAUDE.md');",
+ " console.log(' - Swarm coordination strategies for complex tasks');",
+ " console.log('Apply GOLDEN RULE: Always batch operations in single messages');",
+ " console.log('Auto-compact proceeding with full agent context');",
+ ' },',
+ '',
+ " 'status': () => {",
+ " console.log('[OK] Status check');",
+ ' },',
+ '',
" 'stats': () => {",
' if (intelligence && intelligence.stats) {',
" intelligence.stats(args.includes('--json'));",