48 lines
1.1 KiB
Bash
48 lines
1.1 KiB
Bash
#!/bin/bash
|
|
# Verification script for Hermes Agent profile setup
|
|
set -e
|
|
|
|
echo "=== Hermes Agent Profile Verification ==="
|
|
|
|
# Check profile directory
|
|
if [ -d "/root/.hermes/profiles/spark" ]; then
|
|
echo "✓ Profile directory exists: /root/.hermes/profiles/spark"
|
|
else
|
|
echo "✗ Profile directory missing"
|
|
exit 1
|
|
fi
|
|
|
|
# Check skills directory
|
|
if [ -d "/root/.hermes/skills" ]; then
|
|
echo "✓ Skills directory exists: /root/.hermes/skills"
|
|
else
|
|
echo "Note: Skills directory not found (may be normal for this session)"
|
|
fi
|
|
|
|
# Check scratch directory
|
|
if [ -d "/root/.hermes/profiles/spark/cache/scratch" ]; then
|
|
echo "✓ Scratch directory exists"
|
|
else
|
|
echo "✗ Scratch directory missing"
|
|
exit 1
|
|
fi
|
|
|
|
# Check current working directory
|
|
CWD=$(pwd)
|
|
echo "Current working directory: $CWD"
|
|
|
|
# Check for Hermes tools
|
|
if command -v hermes &> /dev/null; then
|
|
echo "✓ hermes CLI available"
|
|
else
|
|
echo "Note: hermes CLI not in PATH"
|
|
fi
|
|
|
|
# Verify key environment variables
|
|
if [ -n "$HermesProfile" ]; then
|
|
echo "HermesProfile: $HermesProfile"
|
|
fi
|
|
|
|
echo ""
|
|
echo "=== Verification Complete ==="
|
|
echo "All critical paths verified." |