🚀 Version 2.0.0-alpha.93: Complete fixes for hive-mind and .roo folder issues

✅ Critical Fixes:
• Fixed hive-mind database error: "table sessions has no column named swarm_name"
• Fixed .roo folder creation: Now only creates with --roo flag
• Regular init no longer creates unnecessary SPARC files

🔧 Technical Changes:
• Updated initSparc condition to require --roo flag (line 190)
• Wrapped second create-sparc call with initSparc check (line 1400+)
• Database schema includes swarm_name column in sessions table
• Version updated to 2.0.0-alpha.93

🧪 Testing:
• Verified regular init doesn't create .roo folders
• Verified --roo flag creates .roo folders correctly
• Confirmed hive-mind spawn works without database errors
• Tested with timeout to simulate remote npx usage

🎯 Impact:
• Resolves critical remote deployment issues
• Cleaner default initialization experience
• Proper separation of core vs SPARC features

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
rUvandClaude committed 2025-08-26 16:00:48 +00:00
1 parent 66215c3465
commit 21a18ffd62
5 files changed
+2352 -58

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{
"startTime": 1756218350704,
"startTime": 1756223994400,
"totalTasks": 1,
"successfulTasks": 1,
"failedTasks": 0,
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -1,10 +1,10 @@
[
{
"id": "cmd-hooks-1756218350804",
"id": "cmd-hooks-1756223994500",
"type": "hooks",
"success": true,
"duration": 93.652997,
"timestamp": 1756218350898,
"duration": 6.799609999999973,
"timestamp": 1756223994507,
"metadata": {}
}
]
+1
View File
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250826-155834", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-26T15:58:34Z", "type": "pre-edit", "original_branch": "alpha93"}
+1
View File
@@ -0,0 +1 @@
{"tag": "checkpoint-20250826-155836", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-26T15:58:36Z", "type": "post-edit", "branch": "alpha93", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2364 +++++++++++++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1756223870.json | 1 + .claude/checkpoints/1756223872.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/index.js | 30 +- 7 files changed, 2332 insertions(+), 72 deletions(-) "}