Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .claude/hooks/session-start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
# Session start hook — installs project dependencies and awesome-claude-code
# Runs only in Claude Code remote (web) environments

set -euo pipefail

# Only run in remote environments
if [ "${CLAUDE_CODE_REMOTE:-}" != "true" ]; then
exit 0
fi

PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(cd "$(dirname "$0")/../.." && pwd)}"

echo "[session-start] Installing Node.js dependencies..."
cd "$PROJECT_DIR"
npm install --prefer-offline --no-audit --no-fund 2>&1 | tail -5

echo "[session-start] Installing awesome-claude-code..."
pip install --quiet "git+https://github.com/hesreallyhim/awesome-claude-code.git" 2>&1 | tail -3

echo "[session-start] Setup complete."
5 changes: 5 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"type": "command",
"command": "node .claude/helpers/auto-memory-hook.mjs import",
"timeout": 8000
},
{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh",
"timeout": 120000
}
]
}
Expand Down
354 changes: 354 additions & 0 deletions benchmark-results/benchmark-1779517119244.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,354 @@
{
"timestamp": "2026-05-23T06:17:17.876Z",
"config": {
"iterations": 3,
"benchmarkMode": false
},
"tests": {
"mesh": {
"name": "Mesh Topology",
"iterations": 3,
"results": [
{
"topology": "mesh",
"timestamp": "2026-05-23T06:17:29.062Z",
"config": {
"maxAgents": 10,
"batchSize": 5
},
"tests": {
"spawn": {
"successful": 0,
"total": 5,
"timeMs": 3129
},
"tasks": {
"successful": 0,
"total": 5,
"timeMs": 3777
},
"coordination": {
"successful": 0,
"total": 6,
"timeMs": 4277
}
},
"metrics": {
"totalTimeMs": 11185,
"totalOperations": 0,
"avgTimeMs": 0,
"successRate": 0
}
},
{
"topology": "mesh",
"timestamp": "2026-05-23T06:17:42.513Z",
"config": {
"maxAgents": 10,
"batchSize": 5
},
"tests": {
"spawn": {
"successful": 0,
"total": 5,
"timeMs": 3848
},
"tasks": {
"successful": 0,
"total": 5,
"timeMs": 3788
},
"coordination": {
"successful": 0,
"total": 6,
"timeMs": 4813
}
},
"metrics": {
"totalTimeMs": 12449,
"totalOperations": 0,
"avgTimeMs": 0,
"successRate": 0
}
},
{
"topology": "mesh",
"timestamp": "2026-05-23T06:17:55.669Z",
"config": {
"maxAgents": 10,
"batchSize": 5
},
"tests": {
"spawn": {
"successful": 0,
"total": 5,
"timeMs": 3771
},
"tasks": {
"successful": 0,
"total": 5,
"timeMs": 4024
},
"coordination": {
"successful": 0,
"total": 6,
"timeMs": 4358
}
},
"metrics": {
"totalTimeMs": 12154,
"totalOperations": 0,
"avgTimeMs": 0,
"successRate": 0
}
}
],
"times": [
11186,
12449,
12154
],
"statistics": {
"avgTimeMs": 11930,
"minTimeMs": 11186,
"maxTimeMs": 12449,
"successRate": 100,
"validResults": 3
}
},
"hierarchical": {
"name": "Hierarchical Topology",
"iterations": 3,
"results": [
{
"topology": "hierarchical",
"timestamp": "2026-05-23T06:18:04.118Z",
"config": {
"maxAgents": 8,
"batchSize": 4
},
"levels": {
"coordinator": {
"timeMs": 2653,
"success": false
},
"workers": {
"successful": 0,
"total": 4,
"timeMs": 3269
},
"reviews": {
"successful": 0,
"total": 0,
"timeMs": 0
},
"synthesis": {
"timeMs": 2525,
"success": false
}
},
"metrics": {
"totalTimeMs": 8448,
"estimatedSequentialTimeMs": 18254,
"speedup": 2.16,
"totalOperations": 2,
"avgTimeMs": 4224
}
},
{
"topology": "hierarchical",
"timestamp": "2026-05-23T06:18:12.933Z",
"config": {
"maxAgents": 8,
"batchSize": 4
},
"levels": {
"coordinator": {
"timeMs": 2455,
"success": false
},
"workers": {
"successful": 0,
"total": 4,
"timeMs": 3053
},
"reviews": {
"successful": 0,
"total": 0,
"timeMs": 0
},
"synthesis": {
"timeMs": 2306,
"success": false
}
},
"metrics": {
"totalTimeMs": 7814,
"estimatedSequentialTimeMs": 16973,
"speedup": 2.17,
"totalOperations": 2,
"avgTimeMs": 3907
}
},
{
"topology": "hierarchical",
"timestamp": "2026-05-23T06:18:21.853Z",
"config": {
"maxAgents": 8,
"batchSize": 4
},
"levels": {
"coordinator": {
"timeMs": 2347,
"success": false
},
"workers": {
"successful": 0,
"total": 4,
"timeMs": 3135
},
"reviews": {
"successful": 0,
"total": 0,
"timeMs": 0
},
"synthesis": {
"timeMs": 2436,
"success": false
}
},
"metrics": {
"totalTimeMs": 7918,
"estimatedSequentialTimeMs": 17323,
"speedup": 2.19,
"totalOperations": 2,
"avgTimeMs": 3959
}
}
],
"times": [
8448,
7814,
7919
],
"statistics": {
"avgTimeMs": 8060,
"minTimeMs": 7814,
"maxTimeMs": 8448,
"successRate": 100,
"validResults": 3
}
},
"ring": {
"name": "Ring Topology",
"iterations": 3,
"results": [
{
"topology": "ring",
"timestamp": "2026-05-23T06:18:27.309Z",
"config": {
"maxAgents": 6,
"batchSize": 3
},
"tests": {
"initialization": {
"successful": 0,
"total": 3,
"timeMs": 5455
},
"tokenPassing": {
"successful": 0,
"avgPassTimeMs": null,
"totalTimeMs": 0
},
"parallelProcessing": {
"successful": 0,
"total": 0,
"timeMs": 0
}
},
"metrics": {
"totalTimeMs": 5456,
"ringSize": 0,
"totalOperations": 0,
"parallelBenefit": 0
}
},
{
"topology": "ring",
"timestamp": "2026-05-23T06:18:33.125Z",
"config": {
"maxAgents": 6,
"batchSize": 3
},
"tests": {
"initialization": {
"successful": 0,
"total": 3,
"timeMs": 4812
},
"tokenPassing": {
"successful": 0,
"avgPassTimeMs": null,
"totalTimeMs": 0
},
"parallelProcessing": {
"successful": 0,
"total": 0,
"timeMs": 0
}
},
"metrics": {
"totalTimeMs": 4813,
"ringSize": 0,
"totalOperations": 0,
"parallelBenefit": 0
}
},
{
"topology": "ring",
"timestamp": "2026-05-23T06:18:39.241Z",
"config": {
"maxAgents": 6,
"batchSize": 3
},
"tests": {
"initialization": {
"successful": 0,
"total": 3,
"timeMs": 5115
},
"tokenPassing": {
"successful": 0,
"avgPassTimeMs": null,
"totalTimeMs": 0
},
"parallelProcessing": {
"successful": 0,
"total": 0,
"timeMs": 0
}
},
"metrics": {
"totalTimeMs": 5115,
"ringSize": 0,
"totalOperations": 0,
"parallelBenefit": 0
}
}
],
"times": [
5456,
4814,
5115
],
"statistics": {
"avgTimeMs": 5128,
"minTimeMs": 4814,
"maxTimeMs": 5456,
"successRate": 100,
"validResults": 3
}
}
}
}
Loading