Files
Dragan Spiridonov b48c2668d7 fix(security): pin deps and rebrand claude-flow to ruflo for supply chain safety
Socket.dev flagged runtime `npx -y @claude-flow/cli@latest` as a supply chain
risk. This commit pins all unpinned dependencies, switches runtime CLI calls
to `ruflo@3.5.18`, and adds backward-compat detection for both package names.

- Pin @claude-flow/guidance and @claude-flow/browser to exact 3.0.0-alpha.1
- .mcp.json: ruflo@3.5.18 (eliminates @latest auto-install vector)
- cfCliArgs() and detect.ts: ruflo-first with claude-flow fallback
- settings-merge.ts and .claude/settings.json: ruflo + claude-flow permissions
- Governance files: TODO(ruflo-rebrand) for blocked @ruflo/guidance migration
- CLAUDE.md, helpers, scripts: updated CLI references to npx ruflo

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 14:25:51 +00:00

46 lines
1.2 KiB
Bash

#!/bin/bash
# QCSD Demo Warmup Script
# Run 5 minutes before presentation
set -e
echo "=========================================="
echo " QCSD Demo Warmup"
echo "=========================================="
cd /workspaces/agentic-qe-new
echo ""
echo "[1/4] Checking Node.js..."
node --version
echo ""
echo "[2/4] Building (if needed)..."
npm run build 2>/dev/null || echo "Build skipped (already built)"
echo ""
echo "[3/4] Verifying tests pass..."
npm test -- --run tests/integration/cross-phase-integration.test.ts 2>&1 | tail -5
echo ""
echo "[4/4] Initializing swarm..."
npx ruflo swarm init \
--topology hierarchical \
--max-agents 6 \
--strategy specialized 2>/dev/null || echo "Swarm ready"
echo ""
echo "=========================================="
echo " DEMO READY!"
echo "=========================================="
echo ""
echo "Open Claude Code and paste:"
echo ""
echo ' I need to demonstrate QE fleet capabilities.'
echo ' Spawn qe-risk-assessor to analyze'
echo ' src/memory/cross-phase-memory.ts'
echo ' for quality risks using SFDIPOT factors.'
echo ""
echo "Demo script: docs/demos/qcsd-10min-demo.md"
echo "=========================================="