diff --git a/wizard-work/spark/VALIDATION_REPORT.md b/wizard-work/spark/VALIDATION_REPORT.md new file mode 100644 index 0000000..d81239e --- /dev/null +++ b/wizard-work/spark/VALIDATION_REPORT.md @@ -0,0 +1,24 @@ +# Hermes Spark Validation Report +Date: 2026-10-23 +Lane: Snippet — quick code and micro-tasks + +## Status: VALIDATED + +All Hermes environment checks passed: + +| Check | Status | +|-------|--------| +| Scratch directory exists | PASS | +| Scratch directory writable | PASS | +| Python available | PASS | +| Spark profile exists | PASS | + +## Artifact +- Script: `/root/.hermes/profiles/spark/cache/scratch/validation_script.sh` +- Verified: 2026-10-23T15:11:00Z + +## Environment +- Host: Linux (6.8.0-71-generic) +- User: root +- Profile: spark +- Scratch: /root/.hermes/profiles/spark/cache/scratch \ No newline at end of file diff --git a/wizard-work/spark/validation_script.sh b/wizard-work/spark/validation_script.sh new file mode 100644 index 0000000..98fcd4c --- /dev/null +++ b/wizard-work/spark/validation_script.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# Hermes Environment Validation Script +# Test 1: Scratch directory writable +SCRATCH_DIR="/root/.hermes/profiles/spark/cache/scratch" +TEST_FILE="$SCRATCH_DIR/validate.txt" + +if [ -d "$SCRATCH_DIR" ]; then + echo "SCRATCH_EXISTS=true" +else + echo "SCRATCH_EXISTS=false" + exit 1 +fi + +echo "test content" > "$TEST_FILE" +if [ -f "$TEST_FILE" ]; then + echo "SCRATCH_WRITABLE=true" + rm -f "$TEST_FILE" +else + echo "SCRATCH_WRITABLE=false" +fi + +# Test 2: Check hermes-tools availability +if command -v python3 &> /dev/null; then + echo "PYTHON_AVAILABLE=true" +else + echo "PYTHON_AVAILABLE=false" +fi + +# Test 3: Check common Hermes paths +if [ -d "/root/.hermes/profiles/spark" ]; then + echo "SPARK_PROFILE_EXISTS=true" +else + echo "SPARK_PROFILE_EXISTS=false" +fi + +echo "VALIDATION_COMPLETE=true" \ No newline at end of file