diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json index 867d700822..1b76232692 100644 --- a/.claude-flow/metrics/performance.json +++ b/.claude-flow/metrics/performance.json @@ -1,7 +1,7 @@ { - "startTime": 1754487458493, - "totalTasks": 2, - "successfulTasks": 2, + "startTime": 1754487660857, + "totalTasks": 1, + "successfulTasks": 1, "failedTasks": 0, "totalAgents": 0, "activeAgents": 0, diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json index 3f57211dba..b240e7605c 100644 --- a/.claude-flow/metrics/system-metrics.json +++ b/.claude-flow/metrics/system-metrics.json @@ -1978,5 +1978,41 @@ "cpuLoad": 0.063125, "platform": "linux", "uptime": 8599.52 + }, + { + "timestamp": 1754487636104, + "memoryTotal": 67427549184, + "memoryUsed": 6004137984, + "memoryFree": 61423411200, + "memoryUsagePercent": 8.904576922432074, + "memoryEfficiency": 91.09542307756793, + "cpuCount": 16, + "cpuLoad": 0.0575, + "platform": "linux", + "uptime": 8629.52 + }, + { + "timestamp": 1754487666135, + "memoryTotal": 67427549184, + "memoryUsed": 6022647808, + "memoryFree": 61404901376, + "memoryUsagePercent": 8.932028348776356, + "memoryEfficiency": 91.06797165122364, + "cpuCount": 16, + "cpuLoad": 0.064375, + "platform": "linux", + "uptime": 8659.55 + }, + { + "timestamp": 1754487696141, + "memoryTotal": 67427549184, + "memoryUsed": 6009167872, + "memoryFree": 61418381312, + "memoryUsagePercent": 8.912036615185068, + "memoryEfficiency": 91.08796338481493, + "cpuCount": 16, + "cpuLoad": 0.06, + "platform": "linux", + "uptime": 8689.56 } ] \ No newline at end of file diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.json index d6f16bb1b1..4f924f3ace 100644 --- a/.claude-flow/metrics/task-metrics.json +++ b/.claude-flow/metrics/task-metrics.json @@ -1,18 +1,10 @@ [ { - "id": "cmd-swarm-1754487458592", - "type": "swarm", + "id": "cmd-hooks-1754487660958", + "type": "hooks", "success": true, - "duration": 8.148757000000018, - "timestamp": 1754487458601, - "metadata": {} - }, - { - "id": "cmd-sparc-1754487577273", - "type": "sparc", - "success": true, - "duration": 4726.942745, - "timestamp": 1754487582000, + "duration": 5.597842000000014, + "timestamp": 1754487660964, "metadata": {} } ] \ No newline at end of file diff --git a/benchmark/.claude-flow/metrics/performance.json b/benchmark/.claude-flow/metrics/performance.json index a489086ea3..ae3938fb0d 100644 --- a/benchmark/.claude-flow/metrics/performance.json +++ b/benchmark/.claude-flow/metrics/performance.json @@ -1,5 +1,5 @@ { - "startTime": 1754486293720, + "startTime": 1754487708663, "totalTasks": 1, "successfulTasks": 1, "failedTasks": 0, diff --git a/benchmark/.claude-flow/metrics/task-metrics.json b/benchmark/.claude-flow/metrics/task-metrics.json index d0bb657cb0..2ebaf7faac 100644 --- a/benchmark/.claude-flow/metrics/task-metrics.json +++ b/benchmark/.claude-flow/metrics/task-metrics.json @@ -1,10 +1,10 @@ [ { - "id": "cmd-swarm-1754486293822", - "type": "swarm", + "id": "cmd-hooks-1754487708762", + "type": "hooks", "success": true, - "duration": 8.934010000000029, - "timestamp": 1754486293831, + "duration": 22.071471000000003, + "timestamp": 1754487708784, "metadata": {} } ] \ No newline at end of file diff --git a/benchmark/.claude/checkpoints/1754487681.json b/benchmark/.claude/checkpoints/1754487681.json new file mode 100644 index 0000000000..4b108db586 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754487681.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-134121", "file": "/workspaces/claude-code-flow/benchmark/test_executor.py", "timestamp": "2025-08-06T13:41:21Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/benchmark/.claude/checkpoints/1754487683.json b/benchmark/.claude/checkpoints/1754487683.json new file mode 100644 index 0000000000..4e422b0fc7 --- /dev/null +++ b/benchmark/.claude/checkpoints/1754487683.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-134123", "file": "/workspaces/claude-code-flow/benchmark/test_executor.py", "timestamp": "2025-08-06T13:41:23Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 24 ++++++ .claude-flow/metrics/task-metrics.json | 16 +--- .claude/checkpoints/1754487634.json | 1 + .claude/checkpoints/1754487635.json | 1 + benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 8 +- .../claude_flow_real_executor.cpython-312.pyc | Bin 26158 -> 26251 bytes benchmark/test_executor.py | 91 +++++++++++++++++++++ claude-flow-wiki | 0 10 files changed, 129 insertions(+), 20 deletions(-) "} diff --git a/benchmark/.claude/checkpoints/summary-session-20250806-134201.md b/benchmark/.claude/checkpoints/summary-session-20250806-134201.md new file mode 100644 index 0000000000..b380fd41de --- /dev/null +++ b/benchmark/.claude/checkpoints/summary-session-20250806-134201.md @@ -0,0 +1,462 @@ +# Session Summary - 2025-08-06 13:42:01 + +## Checkpoints Created +1754443023.json +1754443025.json +1754443026.json +1754443028.json +1754443030.json +1754443032.json +1754443067.json +1754443068.json +1754443073.json +1754443075.json +1754443080.json +1754443081.json +1754443083.json +1754443085.json +1754443091.json +1754443092.json +1754443100.json +1754443101.json +1754443102.json +1754443103.json +1754443104.json +1754443105.json +1754443107.json +1754443109.json +1754443116.json +1754443119.json +1754443121.json +1754443123.json +1754443124.json +1754443126.json +1754443128.json +1754443130.json +1754443145.json +1754443146.json +1754443147.json +1754443148.json +1754443149.json +1754443150.json +1754443151.json +1754443152.json +1754443153.json +1754443154.json +1754443155.json +1754443156.json +1754443158.json +1754443160.json +1754443162.json +1754443164.json +1754443166.json +1754443168.json +1754443202.json +1754443203.json +1754443213.json +1754443215.json +1754443228.json +1754443230.json +1754443238.json +1754443239.json +1754443241.json +1754443242.json +1754443243.json +1754443246.json +1754443254.json +1754443256.json +1754443257.json +1754443260.json +1754443269.json +1754443273.json +1754443288.json +1754443289.json +1754443303.json +1754443305.json +1754443307.json +1754443309.json +1754443316.json +1754443318.json +1754443320.json +1754443326.json +1754443328.json +1754443330.json +1754443332.json +1754443354.json +1754443355.json +1754443356.json +1754443357.json +1754443358.json +1754443359.json +1754443360.json +1754443361.json +1754443363.json +1754443364.json +1754443366.json +1754443368.json +1754443370.json +1754443371.json +1754443373.json +1754443375.json +1754443377.json +1754443378.json +1754443379.json +1754443380.json +1754443381.json +1754443394.json +1754443396.json +1754443408.json +1754443410.json +1754443420.json +1754443422.json +1754443423.json +1754443425.json +1754443429.json +1754443430.json +1754443434.json +1754443435.json +1754443437.json +1754443439.json +1754443468.json +1754443490.json +1754443492.json +1754443537.json +1754443538.json +1754443616.json +1754443618.json +1754443620.json +1754443621.json +1754443747.json +1754443748.json +1754443750.json +1754443752.json +1754443754.json +1754443755.json +1754443757.json +1754443759.json +1754443871.json +1754443873.json +1754443992.json +1754443993.json +1754444482.json +1754444483.json +1754444594.json +1754444595.json +1754444889.json +1754444893.json +1754444895.json +1754444912.json +1754444914.json +1754444925.json +1754444927.json +1754444934.json +1754444936.json +1754444972.json +1754444974.json +1754444998.json +1754445000.json +1754445006.json +1754445008.json +1754445080.json +1754445082.json +1754445104.json +1754445106.json +1754445107.json +1754445109.json +1754445111.json +1754445113.json +1754445115.json +1754445117.json +1754445119.json +1754445122.json +1754445125.json +1754445127.json +1754445129.json +1754445131.json +1754445137.json +1754445139.json +1754445147.json +1754445150.json +1754445175.json +1754445177.json +1754445190.json +1754445191.json +1754445247.json +1754445249.json +1754445301.json +1754445303.json +1754445320.json +1754445322.json +1754445349.json +1754445369.json +1754446676.json +1754446678.json +1754446680.json +1754446681.json +1754446746.json +1754446747.json +1754446758.json +1754446760.json +1754446762.json +1754446763.json +1754446765.json +1754446767.json +1754446804.json +1754446806.json +1754446825.json +1754446827.json +1754446838.json +1754446840.json +1754446850.json +1754446852.json +1754446853.json +1754446855.json +1754446876.json +1754446878.json +1754446913.json +1754446914.json +1754446929.json +1754446930.json +1754447000.json +1754447002.json +1754447010.json +1754447012.json +1754447073.json +1754447075.json +1754447109.json +1754447111.json +1754447217.json +1754447219.json +1754447291.json +1754447292.json +1754447479.json +1754447481.json +1754447514.json +1754447516.json +1754447819.json +1754447821.json +1754447851.json +1754447854.json +1754447864.json +1754447866.json +1754447873.json +1754447875.json +1754447876.json +1754447878.json +1754447887.json +1754447889.json +1754447894.json +1754447896.json +1754447899.json +1754447901.json +1754447908.json +1754447910.json +1754447918.json +1754447920.json +1754447933.json +1754447935.json +1754447953.json +1754447955.json +1754447970.json +1754447972.json +1754447973.json +1754447975.json +1754447977.json +1754447978.json +1754447986.json +1754447988.json +1754448003.json +1754448005.json +1754448023.json +1754448025.json +1754487681.json +1754487683.json +task-1754444298.json +task-1754444548.json +task-1754444617.json +task-1754444731.json +task-1754446496.json +task-1754447669.json + +## Files Modified +.claude-flow/metrics/performance.json +.claude-flow/metrics/system-metrics.json +.claude-flow/metrics/task-metrics.json +.claude/checkpoints/1754484589.json +.claude/checkpoints/1754484591.json +.claude/checkpoints/1754484601.json +.claude/checkpoints/1754484603.json +.claude/checkpoints/1754484620.json +.claude/checkpoints/1754484622.json +.claude/checkpoints/1754484794.json +.claude/checkpoints/1754484796.json +.claude/checkpoints/1754484833.json +.claude/checkpoints/1754484835.json +.claude/checkpoints/1754484848.json +.claude/checkpoints/1754484850.json +.claude/checkpoints/1754484861.json +.claude/checkpoints/1754484863.json +.claude/checkpoints/1754485088.json +.claude/checkpoints/1754485090.json +.claude/checkpoints/1754485101.json +.claude/checkpoints/1754485104.json +.claude/checkpoints/1754485181.json +.claude/checkpoints/1754485183.json +.claude/checkpoints/1754485250.json +.claude/checkpoints/1754485253.json +.claude/checkpoints/1754485371.json +.claude/checkpoints/1754485373.json +.claude/checkpoints/1754485390.json +.claude/checkpoints/1754485392.json +.claude/checkpoints/1754485809.json +.claude/checkpoints/1754485812.json +.claude/checkpoints/1754486060.json +.claude/checkpoints/1754486062.json +.claude/checkpoints/1754486089.json +.claude/checkpoints/1754486091.json +.claude/checkpoints/1754486356.json +.claude/checkpoints/1754486357.json +.claude/checkpoints/1754486533.json +.claude/checkpoints/1754486535.json +.claude/checkpoints/1754486546.json +.claude/checkpoints/1754486548.json +.claude/checkpoints/1754486612.json +.claude/checkpoints/1754486614.json +.claude/checkpoints/1754486626.json +.claude/checkpoints/1754486628.json +.claude/checkpoints/1754486647.json +.claude/checkpoints/1754486649.json +.claude/checkpoints/1754486661.json +.claude/checkpoints/1754486663.json +.claude/checkpoints/1754486722.json +.claude/checkpoints/1754486724.json +.claude/checkpoints/1754486740.json +.claude/checkpoints/1754486742.json +.claude/checkpoints/1754486773.json +.claude/checkpoints/1754486774.json +.claude/checkpoints/1754486953.json +.claude/checkpoints/1754486955.json +.claude/checkpoints/1754486966.json +.claude/checkpoints/1754486968.json +.claude/checkpoints/1754486978.json +.claude/checkpoints/1754486980.json +.claude/checkpoints/1754487057.json +.claude/checkpoints/1754487059.json +.claude/checkpoints/1754487069.json +.claude/checkpoints/1754487071.json +.claude/checkpoints/1754487206.json +.claude/checkpoints/1754487207.json +.claude/checkpoints/1754487236.json +.claude/checkpoints/1754487238.json +.claude/checkpoints/1754487634.json +.claude/checkpoints/1754487635.json +.claude/checkpoints/summary-session-20250806-124339.md +.claude/checkpoints/summary-session-20250806-131030.md +.claude/checkpoints/summary-session-20250806-131036.md +.claude/checkpoints/summary-session-20250806-132629.md +.claude/checkpoints/summary-session-20250806-133644.md +.claude/checkpoints/task-1754484058.json +.claude/checkpoints/task-1754484538.json +.claude/checkpoints/task-1754484733.json +.claude/checkpoints/task-1754484773.json +.claude/checkpoints/task-1754484820.json +.claude/checkpoints/task-1754485072.json +.claude/checkpoints/task-1754485162.json +.claude/checkpoints/task-1754485221.json +.claude/checkpoints/task-1754485355.json +.claude/checkpoints/task-1754485458.json +.claude/checkpoints/task-1754485569.json +.claude/checkpoints/task-1754485586.json +.claude/checkpoints/task-1754485640.json +.claude/checkpoints/task-1754485681.json +.claude/checkpoints/task-1754485695.json +.claude/checkpoints/task-1754485718.json +.claude/checkpoints/task-1754485732.json +.claude/checkpoints/task-1754485925.json +.claude/checkpoints/task-1754486196.json +.claude/checkpoints/task-1754486326.json +.claude/checkpoints/task-1754486388.json +.claude/checkpoints/task-1754486427.json +.claude/checkpoints/task-1754486458.json +.claude/checkpoints/task-1754486645.json +.claude/checkpoints/task-1754486658.json +.claude/checkpoints/task-1754486684.json +.claude/checkpoints/task-1754486700.json +.claude/checkpoints/task-1754486716.json +.claude/checkpoints/task-1754486756.json +.claude/checkpoints/task-1754486764.json +.claude/checkpoints/task-1754486772.json +.claude/checkpoints/task-1754486851.json +.claude/checkpoints/task-1754486965.json +.claude/checkpoints/task-1754486979.json +.claude/checkpoints/task-1754487005.json +.claude/checkpoints/task-1754487045.json +.claude/checkpoints/task-1754487078.json +.claude/checkpoints/task-1754487121.json +.claude/checkpoints/task-1754487162.json +.claude/checkpoints/task-1754487193.json +.claude/checkpoints/task-1754487377.json +.claude/checkpoints/task-1754487387.json +.claude/checkpoints/task-1754487396.json +.claude/checkpoints/task-1754487449.json +.claude/checkpoints/task-1754487462.json +.claude/checkpoints/task-1754487493.json +.claude/checkpoints/task-1754487569.json +.claude/checkpoints/task-1754487622.json +CHANGELOG-alpha.88.md +FIX_NON_INTERACTIVE_MODE.md +benchmark/.claude-flow/metrics/performance.json +benchmark/.claude-flow/metrics/task-metrics.json +benchmark/KNOWN_ISSUES.md +benchmark/NON_INTERACTIVE_COMMANDS.md +benchmark/bin/claude-flow-test-wrapper +benchmark/patches/fix-hive-mind-non-interactive.patch +benchmark/src/swarm_benchmark/cli/__pycache__/main.cpython-312.pyc +benchmark/src/swarm_benchmark/cli/main.py +benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc +benchmark/src/swarm_benchmark/core/__pycache__/models.cpython-312.pyc +benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +benchmark/src/swarm_benchmark/core/models.py +bin/claude-flow +claude-flow-wiki +package.json +reports/benchmark_d41e9b86-9085-42c9-8b55-a48a5511f0d5.json +reports/hive_mind_20250806_125716.json +reports/hive_mind_20250806_125836.json +reports/hive_mind_20250806_125909.json +reports/hive_mind_20250806_130003.json +reports/hive_mind_20250806_130115.json +reports/metrics_d41e9b86-9085-42c9-8b55-a48a5511f0d5.json +reports/process_report_d41e9b86-9085-42c9-8b55-a48a5511f0d5.json +reports/real-benchmark-development-centralized_d41e9b86-9085-42c9-8b55-a48a5511f0d5.json +src/cli/simple-commands/hive-mind.js +src/cli/simple-commands/swarm.js +test-results.json + +## Recent Commits +e686525e 🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/test_executor.py +5036a1dc 🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +eaf9eaf4 🔖 Checkpoint: Edit /workspaces/claude-code-flow/CHANGELOG-alpha.88.md +4ff62ece 🔖 Checkpoint: Edit /workspaces/claude-code-flow/package.json +7afe24ef 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js +178b471a 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js +0f98f100 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js +0f69b7c7 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js +480ea365 🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js +1fa162c8 🔖 Checkpoint: Edit /workspaces/claude-code-flow/FIX_NON_INTERACTIVE_MODE.md + +## GitHub Releases Created +No GitHub releases + +## Rollback Instructions +To rollback to a specific checkpoint: +```bash +# List all checkpoints +git tag -l checkpoint-* | sort -r + +# List GitHub releases +gh release list + +# Rollback to a checkpoint +git checkout checkpoint-YYYYMMDD-HHMMSS +``` diff --git a/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc b/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc index 20389792a7..b8fdf323e6 100644 Binary files a/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc and b/benchmark/src/swarm_benchmark/core/__pycache__/claude_flow_real_executor.cpython-312.pyc differ diff --git a/benchmark/test_executor.py b/benchmark/test_executor.py deleted file mode 100644 index 013adf1fae..0000000000 --- a/benchmark/test_executor.py +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/env python3 -"""Test the RealClaudeFlowExecutor with non-interactive flags.""" - -import sys -import os -sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) - -from swarm_benchmark.core.claude_flow_real_executor import ( - RealClaudeFlowExecutor, - SwarmCommand, - HiveMindCommand, - SparcCommand -) - -def test_commands(): - """Test that commands are built with non-interactive flags.""" - - # Initialize executor with force_non_interactive=True (default) - executor = RealClaudeFlowExecutor( - claude_flow_path="../claude-flow", - force_non_interactive=True - ) - - print("Testing command building with non-interactive flags...") - print("=" * 60) - - # Test swarm command - swarm_config = SwarmCommand( - objective="test objective", - strategy="auto", - mode="centralized", - max_agents=3 - ) - print("\n1. SWARM command would be:") - cmd = [ - executor.claude_flow_path, - "swarm", - swarm_config.objective, - "--strategy", swarm_config.strategy, - "--mode", swarm_config.mode, - "--max-agents", str(swarm_config.max_agents), - "--executor", - "--non-interactive" - ] - print(" " + " ".join(cmd)) - print(" ✓ Contains --non-interactive") - - # Test hive-mind command - hive_config = HiveMindCommand( - action="spawn", - task="test task", - spawn_count=2, - coordination_mode="collective" - ) - print("\n2. HIVE-MIND command would be:") - cmd = [ - executor.claude_flow_path, - "hive-mind", - "spawn", - hive_config.task, - "--count", str(hive_config.spawn_count), - "--coordination", hive_config.coordination_mode, - "--non-interactive" - ] - print(" " + " ".join(cmd)) - print(" ✓ Contains --non-interactive") - - # Test SPARC command - sparc_config = SparcCommand( - mode="code", - task="test service" - ) - print("\n3. SPARC command would be:") - cmd = [ - executor.claude_flow_path, - "sparc", - sparc_config.mode, - sparc_config.task, - "--verbose", - "--non-interactive" - ] - print(" " + " ".join(cmd)) - print(" ✓ Contains --non-interactive") - - print("\n" + "=" * 60) - print("✅ All commands include --non-interactive flag") - print("\nNote: The executor uses force_non_interactive=True by default") - print("This ensures all benchmarks run without user interaction.") - -if __name__ == "__main__": - test_commands() \ No newline at end of file