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

rUv626f501dc435
diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.ts
index 8c71241064..e50042a1c6 100644
--- a/v3/@claude-flow/cli/src/init/settings-generator.ts
+++ b/v3/@claude-flow/cli/src/init/settings-generator.ts
@@ -206,30 +206,18 @@ function generateHooksConfig(config: HooksConfig): object {
},
],
},
- // Task completion hooks with analysis
+ // Task completion hooks with analysis - use task-id not agent-id
{
matcher: '^Task$',
hooks: [
{
type: 'command',
- command: 'npx @claude-flow/cli@latest hooks post-task --agent-id "$TOOL_RESULT_agent_id" --success "$TOOL_SUCCESS" --analyze',
+ command: 'npx @claude-flow/cli@latest hooks post-task --task-id "$TOOL_RESULT_agent_id" --success "$TOOL_SUCCESS"',
timeout: config.timeout,
continueOnError: config.continueOnError,
},
],
},
- // Search result caching for HNSW optimization
- {
- matcher: '^(Grep|Glob)$',
- hooks: [
- {
- type: 'command',
- command: 'npx @claude-flow/cli@latest hooks post-search --cache-results',
- timeout: 2000,
- continueOnError: config.continueOnError,
- },
- ],
- },
];
}