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

rUv35bbaa21a5be
diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.ts
index 88834006c4..357df8cf06 100644
--- a/v3/@claude-flow/cli/src/init/settings-generator.ts
+++ b/v3/@claude-flow/cli/src/init/settings-generator.ts
@@ -295,31 +295,8 @@ function generateHooksConfig(config: HooksConfig): object {
];
}
- // PermissionRequest for auto-allowing claude-flow tools
- if (config.permissionRequest) {
- hooks.PermissionRequest = [
- {
- matcher: '^mcp__claude-flow__.*$',
- hooks: [
- {
- type: 'command',
- command: 'echo \'{"decision": "allow", "reason": "claude-flow MCP tool auto-approved"}\'',
- timeout: 1000,
- },
- ],
- },
- {
- matcher: '^Bash\\(npx @?claude-flow.*\\)$',
- hooks: [
- {
- type: 'command',
- command: 'echo \'{"decision": "allow", "reason": "claude-flow CLI auto-approved"}\'',
- timeout: 1000,
- },
- ],
- },
- ];
- }
+ // Note: PermissionRequest is NOT a valid Claude Code hook type
+ // Auto-allow behavior is configured via settings.permissions.allow instead
return hooks;
}