Features: - 30+ Custom Skills (cognitive, development, UI/UX, autonomous agents) - RalphLoop autonomous agent integration - Multi-AI consultation (Qwen) - Agent management system with sync capabilities - Custom hooks for session management - MCP servers integration - Plugin marketplace setup - Comprehensive installation script Components: - Skills: always-use-superpowers, ralph, brainstorming, ui-ux-pro-max, etc. - Agents: 100+ agents across engineering, marketing, product, etc. - Hooks: session-start-superpowers, qwen-consult, ralph-auto-trigger - Commands: /brainstorm, /write-plan, /execute-plan - MCP Servers: zai-mcp-server, web-search-prime, web-reader, zread - Binaries: ralphloop wrapper Installation: ./supercharge.sh
43 lines
1.2 KiB
PowerShell
43 lines
1.2 KiB
PowerShell
# Check if all phases in task_plan.md are complete
|
|
# Exit 0 if complete, exit 1 if incomplete
|
|
# Used by Stop hook to verify task completion
|
|
|
|
param(
|
|
[string]$PlanFile = "task_plan.md"
|
|
)
|
|
|
|
if (-not (Test-Path $PlanFile)) {
|
|
Write-Host "ERROR: $PlanFile not found"
|
|
Write-Host "Cannot verify completion without a task plan."
|
|
exit 1
|
|
}
|
|
|
|
Write-Host "=== Task Completion Check ==="
|
|
Write-Host ""
|
|
|
|
# Read file content
|
|
$content = Get-Content $PlanFile -Raw
|
|
|
|
# Count phases by status
|
|
$TOTAL = ([regex]::Matches($content, "### Phase")).Count
|
|
$COMPLETE = ([regex]::Matches($content, "\*\*Status:\*\* complete")).Count
|
|
$IN_PROGRESS = ([regex]::Matches($content, "\*\*Status:\*\* in_progress")).Count
|
|
$PENDING = ([regex]::Matches($content, "\*\*Status:\*\* pending")).Count
|
|
|
|
Write-Host "Total phases: $TOTAL"
|
|
Write-Host "Complete: $COMPLETE"
|
|
Write-Host "In progress: $IN_PROGRESS"
|
|
Write-Host "Pending: $PENDING"
|
|
Write-Host ""
|
|
|
|
# Check completion
|
|
if ($COMPLETE -eq $TOTAL -and $TOTAL -gt 0) {
|
|
Write-Host "ALL PHASES COMPLETE"
|
|
exit 0
|
|
} else {
|
|
Write-Host "TASK NOT COMPLETE"
|
|
Write-Host ""
|
|
Write-Host "Do not stop until all phases are complete."
|
|
exit 1
|
|
}
|