Orion vault — clean initial history

Knowledge vault (Orion/PARA) migrated from the pre-Orion 484vault on
2026-10-01. Deliberately orphaned: prior history contained a plaintext
password and stays local-only on branch archive/pre-boilerplate-history.
Secrets and live Hermes state are gitignored.
This commit is contained in:
Avi 2026-10-02 08:34:04 -05:00
commit a66996ac10
233 changed files with 103810 additions and 0 deletions

View file

@ -0,0 +1,33 @@
#!/usr/bin/env bash
# Mirror Hermes state into the 484vault disaster-recovery location.
# Prints nothing on success (cron: no notification); prints errors only.
set -u
VAULT="/home/avi/484vault"
ERRS=""
# 1. Skills -> 03-SKILLS/hermes-skills/
rsync -a --delete ~/.hermes/skills/ "$VAULT/03-SKILLS/hermes-skills/" || ERRS="skills rsync failed"
# 1b. Rebuild the curated skills index from the mirrored SKILL.md frontmatter
python3 ~/.hermes/scripts/skills-index.py >/dev/null 2>/tmp/skills-index.err || ERRS="${ERRS} skills-index failed: $(head -c200 /tmp/skills-index.err)"
# 2. Automation scripts + cron job definitions -> 04-SYSTEMS/hermes-automation/
mkdir -p "$VAULT/04-SYSTEMS/hermes-automation"
rsync -a --delete ~/.hermes/scripts/ "$VAULT/04-SYSTEMS/hermes-automation/scripts/" || ERRS="${ERRS} scripts-sync failed"
cp ~/.hermes/cron/jobs.json "$VAULT/04-SYSTEMS/hermes-automation/cron-jobs.json" 2>&1 || ERRS="${ERRS} cron-jobs-copy failed"
# 3. Legacy memories + config -> 04-SYSTEMS/hermes-memory/
cp ~/.hermes/memories/MEMORY.md ~/.hermes/memories/USER.md "$VAULT/04-SYSTEMS/hermes-memory/" 2>&1 || ERRS="${ERRS} memory-copy failed"
cp ~/.hermes/config.yaml "$VAULT/04-SYSTEMS/hermes-config.yaml" 2>&1 || ERRS="${ERRS} config-copy failed"
# 4. Mnemosyne DB (hot backup, WAL-safe) + last JSON export -> 04-SYSTEMS/hermes-memory/
SQLITE=/home/avi/.local/android-sdk/platform-tools/sqlite3
if [ -x "$SQLITE" ]; then
"$SQLITE" "/home/avi/.hermes/mnemosyne/data/mnemosyne.db" ".backup '$VAULT/04-SYSTEMS/hermes-memory/mnemosyne.db'" 2>&1 || ERRS="${ERRS} db-backup failed"
fi
# 5. Timestamp for the agent pass to know what's new since last sync
date -Iseconds > "$VAULT/04-SYSTEMS/hermes-memory/.last-sync"
[ -n "$ERRS" ] && echo "VAULT SYNC ERRORS: $ERRS"
exit 0