spark: add hermes env inspector script with verification output
This commit is contained in:
1 parent
6ad56c1ed9
commit
c762c93599
2 files changed
+148
No files matched your search
@@ -0,0 +1,74 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Hermes Environment Inspector
|
||||||
|
# Verifiable facts about the runtime environment
|
||||||
|
|
||||||
|
echo "=== HERMES ENVIRONMENT INSPECTION ==="
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check host OS and kernel
|
||||||
|
echo "HOST_OS:"
|
||||||
|
uname -a
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check current user and home
|
||||||
|
echo "CURRENT_USER:"
|
||||||
|
whoami
|
||||||
|
echo "HOME_DIR:"
|
||||||
|
echo $HOME
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check Hermes profile directory
|
||||||
|
echo "HERMES_PROFILE_EXISTS:"
|
||||||
|
[ -d "/root/.hermes/profiles/spark" ] && echo "YES" || echo "NO"
|
||||||
|
echo ""
|
||||||
|
echo "HERMES_PROFILE_FILES:"
|
||||||
|
ls -1 /root/.hermes/profiles/spark/ 2>/dev/null | head -20
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check scratch directory
|
||||||
|
echo "SCRATCH_DIR:"
|
||||||
|
echo $TMPDIR
|
||||||
|
[ -d "$TMPDIR" ] && echo "EXISTS" || echo "MISSING"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check Hermes config
|
||||||
|
echo "HERMES_CONFIG:"
|
||||||
|
cat /root/.hermes/profiles/spark/config.yaml 2>/dev/null || echo "No config.yaml"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check skills directory
|
||||||
|
echo "SKILLS_DIR:"
|
||||||
|
ls -1 /root/.hermes/profiles/spark/skills/ 2>/dev/null | head -10 || echo "No skills dir"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check Python availability
|
||||||
|
echo "PYTHON_VERSION:"
|
||||||
|
python3 --version 2>&1
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check free tier model
|
||||||
|
echo "MODEL_INFO:"
|
||||||
|
echo "poolside/laguna-xs-2.1:free via Nous Portal (provider nous)"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Date/time stamp
|
||||||
|
echo "TIMESTAMP_UTC:"
|
||||||
|
date -u +"%Y-%m-%dT%H:%M:%SZ"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check for Hermes token
|
||||||
|
echo "FORGE_TOKEN_SET:"
|
||||||
|
[ -n "$FORGE_TOKEN" ] && echo "YES" || echo "NO"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check git availability
|
||||||
|
echo "GIT_VERSION:"
|
||||||
|
git --version 2>&1
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check troupe-standup repo
|
||||||
|
echo "TROUPE_REPO_EXISTS:"
|
||||||
|
[ -d "/root/troupe-standup" ] && echo "YES" || echo "NO"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "=== END OF INSPECTION ==="
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
=== HERMES ENVIRONMENT INSPECTION ===
|
||||||
|
|
||||||
|
HOST_OS:
|
||||||
|
Linux WorkBench 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
|
||||||
|
|
||||||
|
CURRENT_USER:
|
||||||
|
root
|
||||||
|
HOME_DIR:
|
||||||
|
/root
|
||||||
|
|
||||||
|
HERMES_PROFILE:
|
||||||
|
total 17576
|
||||||
|
drwx------ 25 root root 4096 Oct 20 14:38 .
|
||||||
|
drwxr-xr-x 29 root root 4096 Oct 20 13:48 ..
|
||||||
|
-rw------- 1 root root 165 Oct 11 15:36 .env
|
||||||
|
-rw------- 1 root root 165 Oct 11 15:36 .env.bak-20261014T165714Z
|
||||||
|
-rw-r--r-- 1 root root 0 Oct 14 16:57 .env.lock
|
||||||
|
-rw-r--r-- 1 root root 42870 Oct 14 16:57 .skills_prompt_snapshot.json
|
||||||
|
-rw-r--r-- 1 root root 683 Oct 11 15:36 SOUL.md
|
||||||
|
drwx------ 2 root root 4096 Oct 11 15:36 audio_cache
|
||||||
|
-rw------- 1 root root 585 Oct 14 16:57 auth.json
|
||||||
|
-rw-r--r-- 1 root root 0 Oct 20 17:25 auth.lock
|
||||||
|
drwxr-xr-x 3 root root 4096 Oct 11 15:36 backups
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 11 17:48 bin
|
||||||
|
drwxr-xr-x 7 root root 4096 Oct 20 17:25 cache
|
||||||
|
-rw------- 1 root root 513 Oct 14 16:57 config.yaml
|
||||||
|
-rw------- 1 root root 513 Oct 12 08:50 config.yaml.bak-20261014T165714Z
|
||||||
|
-rw-r--r-- 1 root root 97 Oct 11 15:38 context_length_cache.yaml
|
||||||
|
drwx------ 3 root root 4096 Oct 20 17:25 cron
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 11 15:36 home
|
||||||
|
drwx------ 2 root root 4096 Oct 11 15:36 hooks
|
||||||
|
drwx------ 2 root root 4096 Oct 11 15:36 image_cache
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 20 13:53 keys
|
||||||
|
drwx------ 4 root root 4096 Oct 19 00:06 logs
|
||||||
|
drwx------ 2 root root 4096 Oct 11 15:36 memories
|
||||||
|
-rw------- 1 root root 36 Oct 20 14:38 models_dev_cache.etag
|
||||||
|
-rw-r--r-- 1 root root 5855525 Oct 20 14:38 models_dev_cache.json
|
||||||
|
drwx------ 2 root root 4096 Oct 11 15:36 pairing
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 11 15:36 plans
|
||||||
|
drwxr-xr-x 3 root root 4096 Oct 11 15:36 platforms
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 14 17:14 plugin-update-checks
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 14 17:14 plugins
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 20 17:25 runtime
|
||||||
|
drwxr-xr-x 3 root root 4096 Oct 11 15:38 sandboxes
|
||||||
|
drwx------ 2 root root 4096 Oct 16 16:58 sessions
|
||||||
|
drwx------ 14 root root 4096 Oct 20 17:24 skills
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 11 15:36 skins
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 20 17:25 source-checks
|
||||||
|
-rw------- 1 root root 9416704 Oct 20 17:25 state.db
|
||||||
|
-rw------- 1 root root 32768 Oct 20 17:25 state.db-shm
|
||||||
|
-rw------- 1 root root 2500872 Oct 20 17:25 state.db-wal
|
||||||
|
-rw-r--r-- 1 root root 0 Oct 11 15:38 state.db.auto-maintenance.lock
|
||||||
|
-rw-r--r-- 1 root root 0 Oct 14 16:57 state.db.fts_rebuild.lock
|
||||||
|
-rw-r--r-- 1 root root 0 Oct 11 15:36 state.db.quarantine.lock
|
||||||
|
drwxr-xr-x 2 root root 4096 Oct 11 15:36 workspace
|
||||||
|
|
||||||
|
PYTHON_VERSION:
|
||||||
|
Python 3.14.7
|
||||||
|
|
||||||
|
HERMES_TOOLS_IMPORT:
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "<string>", line 1, in <module>
|
||||||
|
from hermes_tools import web_search, web_extract, read_file, write_file, terminal, search_files, patch
|
||||||
|
ModuleNotFoundError: No module named 'hermes_tools'
|
||||||
|
|
||||||
|
SCRATCH_DIR:
|
||||||
|
/root/.hermes/profiles/spark/cache/scratch
|
||||||
|
|
||||||
|
MODEL_INFO:
|
||||||
|
poolside/laguna-xs-2.1:free via Nous Portal (provider nous)
|
||||||
|
|
||||||
|
TIMESTAMP_UTC:
|
||||||
|
2026-10-20T17:25:49Z
|
||||||
|
|
||||||
Reference in new issue
Block a user