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 edit:

rUve2bf24bef003
diff --git a/v3/@claude-flow/shared/src/core/orchestrator/task-manager.ts b/v3/@claude-flow/shared/src/core/orchestrator/task-manager.ts
index 8981a8a2b2..4b728d0c73 100644
--- a/v3/@claude-flow/shared/src/core/orchestrator/task-manager.ts
+++ b/v3/@claude-flow/shared/src/core/orchestrator/task-manager.ts
@@ -15,6 +15,14 @@ import type {
} from '../interfaces/task.interface.js';
import type { IEventBus, SystemEventType } from '../interfaces/event.interface.js';
import { SystemEventTypes } from '../interfaces/event.interface.js';
+import { randomBytes } from 'crypto';
+
+// Secure task ID generation
+function generateSecureTaskId(): string {
+ const timestamp = Date.now().toString(36);
+ const random = randomBytes(12).toString('hex');
+ return `task_${timestamp}_${random}`;
+}
/**
* Priority queue implementation for tasks