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/hive-mind/session-manager.js

rUv062171e2a960
diff --git a/.claude/checkpoints/task-1756225903.json b/.claude/checkpoints/task-1756225903.json
new file mode 100644
index 0000000000..e74e3103b2
--- /dev/null
+++ b/.claude/checkpoints/task-1756225903.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250826-163142", "task": "@ruvnet ➜ /workspaces/neural-flow-trader (main) $ npx -y claude-flow@alpha init --force 🚀 Initi", "timestamp": "2025-08-26T16:31:43Z", "commit": "dbc0a78508400dda08e02061a6053eb21c2c8c44", "github_release": "true"}
diff --git a/src/cli/simple-commands/hive-mind/session-manager.js b/src/cli/simple-commands/hive-mind/session-manager.js
index 9cfd709378..64bb7b7c4a 100644
--- a/src/cli/simple-commands/hive-mind/session-manager.js
+++ b/src/cli/simple-commands/hive-mind/session-manager.js
@@ -162,10 +162,16 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind
try {
// Check if required columns exist
const columns = this.db.prepare('PRAGMA table_info(sessions)').all();
+ const hasObjective = columns.some((col) => col.name === 'objective');
const hasSwarmName = columns.some((col) => col.name === 'swarm_name');
const hasParentPid = columns.some((col) => col.name === 'parent_pid');
const hasChildPids = columns.some((col) => col.name === 'child_pids');
+ if (!hasObjective) {
+ this.db.exec('ALTER TABLE sessions ADD COLUMN objective TEXT');
+ console.log('Added objective column to sessions table');
+ }
+
if (!hasSwarmName) {
this.db.exec('ALTER TABLE sessions ADD COLUMN swarm_name TEXT');
console.log('Added swarm_name column to sessions table');