spark: add Hermes Agent profile verification script

This commit is contained in:
spark committed 2026-10-28 08:43:13 +00:00
1 parent d110ad69d0
commit cb218d52d2
1 file changed
+48
+48
View File
@@ -0,0 +1,48 @@
#!/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."