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

rUv8153d8517cc3
diff --git a/v3/@claude-flow/aidefence/src/index.ts b/v3/@claude-flow/aidefence/src/index.ts
index ce4954df18..df29ccdb52 100644
--- a/v3/@claude-flow/aidefence/src/index.ts
+++ b/v3/@claude-flow/aidefence/src/index.ts
@@ -117,7 +117,7 @@ export interface AIDefence {
* Record mitigation effectiveness for meta-learning
*/
recordMitigation(
- threatType: import('./domain/entities/threat.js').ThreatType,
+ threatType: ThreatType,
strategy: 'block' | 'sanitize' | 'warn' | 'log' | 'escalate' | 'transform' | 'redirect',
success: boolean
): Promise<void>;
@@ -126,7 +126,7 @@ export interface AIDefence {
* Get best mitigation strategy based on learned effectiveness
*/
getBestMitigation(
- threatType: import('./domain/entities/threat.js').ThreatType
+ threatType: ThreatType
): Promise<import('./domain/services/threat-learning-service.js').MitigationStrategy | null>;
/**