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: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/hive-mind-init.js

rUv1abb9c13627e
diff --git a/.claude/checkpoints/task-1756227096.json b/.claude/checkpoints/task-1756227096.json
new file mode 100644
index 0000000000..492d0357b4
--- /dev/null
+++ b/.claude/checkpoints/task-1756227096.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250826-165135", "task": "why can't you fix this? don't publish until its completely varified. ⏸️ Pausing session... Auto", "timestamp": "2025-08-26T16:51:36Z", "commit": "8c576ef1af6c0a469c36a1b6bdfa89c19ddfde5f", "github_release": "true"}
diff --git a/src/cli/simple-commands/init/hive-mind-init.js b/src/cli/simple-commands/init/hive-mind-init.js
index 1bf9a2516e..2c06c18378 100644
--- a/src/cli/simple-commands/init/hive-mind-init.js
+++ b/src/cli/simple-commands/init/hive-mind-init.js
@@ -238,14 +238,19 @@ export const HIVE_DB_SCHEMA = {
sessions: `
CREATE TABLE IF NOT EXISTS sessions (
id TEXT PRIMARY KEY,
- swarm_id TEXT,
+ swarm_id TEXT NOT NULL,
+ swarm_name TEXT NOT NULL,
+ objective TEXT,
status TEXT DEFAULT 'active',
- start_time DATETIME DEFAULT CURRENT_TIMESTAMP,
- end_time DATETIME,
- total_tasks INTEGER DEFAULT 0,
- completed_tasks INTEGER DEFAULT 0,
- success_rate REAL DEFAULT 0.0,
- metadata TEXT DEFAULT '{}',
+ created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
+ updated_at DATETIME DEFAULT CURRENT_TIMESTAMP,
+ paused_at DATETIME,
+ resumed_at DATETIME,
+ completion_percentage REAL DEFAULT 0,
+ checkpoint_data TEXT,
+ metadata TEXT,
+ parent_pid INTEGER,
+ child_pids TEXT,
FOREIGN KEY (swarm_id) REFERENCES swarms (id)
);
`,