mvp-factory-openhands/test-scripts/diagnose.sh

23 lines
649 B
Bash

#!/bin/bash
echo "Attempting to understand the current state..."
# Check what we actually have
pwd
ls -la
# Try to understand git state
echo "=== Git Information ==="
git status 2>&1 || echo "No git repository or git not available"
git log --oneline 2>&1 || echo "No git log available"
# Check if we can find any clues about what this project should be
echo "=== Looking for clues ==="
find . -name "*.txt" -o -name "*.md" -o -name ".gitignore" 2>/dev/null | head -10
# Check if there are any hidden files or directories
ls -la .* 2>/dev/null
# Check system information
echo "=== System Information ==="
uname -a
which git python3 node npm make