- SKILL.md: Complete documentation for Ralph automation - scripts/status.sh: Check project and Ralph status - scripts/start.sh: Start Ralph loop with options - scripts/commit.sh: Git commit helper - README.md: Skill usage guide Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
981 B
Bash
Executable File
46 lines
981 B
Bash
Executable File
#!/bin/bash
|
|
# Ralph Status Checker
|
|
# Usage: ./status.sh
|
|
|
|
PROJECT_DIR="/vol1/1000/docker_server/traefik/web/zly"
|
|
cd "$PROJECT_DIR"
|
|
|
|
echo "=== BtToxin Pipeline Ralph Status ==="
|
|
echo ""
|
|
|
|
# Git status
|
|
echo "📊 Git Status:"
|
|
git status --short | head -10
|
|
echo ""
|
|
|
|
# Ralph status
|
|
echo "🤖 Ralph Status:"
|
|
if command -v ralph &> /dev/null; then
|
|
ralph --status 2>/dev/null || echo "Ralph not running"
|
|
else
|
|
echo "Ralph not installed"
|
|
fi
|
|
echo ""
|
|
|
|
# Recent commits
|
|
echo "📝 Recent Commits:"
|
|
git log --oneline -5
|
|
echo ""
|
|
|
|
# Task progress
|
|
echo "✅ Task Progress (from @fix_plan.md):"
|
|
total=$(grep -c '^\[.\]' @fix_plan.md 2>/dev/null || echo "0")
|
|
completed=$(grep -c '^\[x\]' @fix_plan.md 2>/dev/null || echo "0")
|
|
echo "Completed: $completed / $total"
|
|
echo ""
|
|
|
|
# File checks
|
|
echo "📁 Ralph Project Files:"
|
|
for f in PROMPT.md @fix_plan.md @AGENT.md specs/requirements.md; do
|
|
if [ -f "$f" ]; then
|
|
echo " ✅ $f"
|
|
else
|
|
echo " ❌ $f (missing)"
|
|
fi
|
|
done
|