diff --git a/.claude/commands/workflow/review-fix.md b/.claude/commands/workflow/review-fix.md index 3d00d9e6..cf4cd4fe 100644 --- a/.claude/commands/workflow/review-fix.md +++ b/.claude/commands/workflow/review-fix.md @@ -254,8 +254,10 @@ sed -i "s|{{SESSION_ID}}|${sessionId}|g" ${sessionDir}/fixes/${fixSessionId}/fix # 3. Replace REVIEW_DIR placeholder sed -i "s|{{REVIEW_DIR}}|${reviewDir}|g" ${sessionDir}/fixes/${fixSessionId}/fix-dashboard.html -# 4. Output dashboard URL -echo "🔧 Fix Dashboard: file://$(cd ${sessionDir}/fixes/${fixSessionId} && pwd)/fix-dashboard.html" +# 4. Start local server and output dashboard URL +cd ${sessionDir}/fixes/${fixSessionId} && python -m http.server 8766 --bind 127.0.0.1 & +echo "🔧 Fix Dashboard: http://127.0.0.1:8766/fix-dashboard.html" +echo " (Press Ctrl+C to stop server when done)" ``` **Dashboard Features**: diff --git a/.claude/commands/workflow/review-module-cycle.md b/.claude/commands/workflow/review-module-cycle.md index 35991c06..46e68873 100644 --- a/.claude/commands/workflow/review-module-cycle.md +++ b/.claude/commands/workflow/review-module-cycle.md @@ -242,8 +242,11 @@ sed -i "s|{{REVIEW_TYPE}}|module|g" ${sessionDir}/.review/dashboard.html # Step 4: Replace REVIEW_DIR placeholder sed -i "s|{{REVIEW_DIR}}|${reviewDir}|g" ${sessionDir}/.review/dashboard.html -# Output: Dashboard path -echo "📊 Dashboard: file://$(cd ${sessionDir} && pwd)/.review/dashboard.html" +# Output: Start local server and output dashboard URL +# Use Python HTTP server (available on most systems) +cd ${sessionDir}/.review && python -m http.server 8765 --bind 127.0.0.1 & +echo "📊 Dashboard: http://127.0.0.1:8765/dashboard.html" +echo " (Press Ctrl+C to stop server when done)" ``` **Step 6: TodoWrite Initialization** diff --git a/.claude/commands/workflow/review-session-cycle.md b/.claude/commands/workflow/review-session-cycle.md index 35882b18..eb7be844 100644 --- a/.claude/commands/workflow/review-session-cycle.md +++ b/.claude/commands/workflow/review-session-cycle.md @@ -222,8 +222,10 @@ sed -i "s|{{REVIEW_TYPE}}|session|g" ${sessionDir}/.review/dashboard.html # Step 4: Replace REVIEW_DIR placeholder sed -i "s|{{REVIEW_DIR}}|${reviewDir}|g" ${sessionDir}/.review/dashboard.html -# Output: Dashboard path -echo "📊 Dashboard: file://$(cd ${sessionDir} && pwd)/.review/dashboard.html" +# Output: Start local server and output dashboard URL +cd ${sessionDir}/.review && python -m http.server 8765 --bind 127.0.0.1 & +echo "📊 Dashboard: http://127.0.0.1:8765/dashboard.html" +echo " (Press Ctrl+C to stop server when done)" ``` **Step 7: TodoWrite Initialization**