# ── Hermes Config Repo ────────────────────────────────────────────────
# Track: config, skills, memories, hooks, cron jobs, channel directory
# Exclude: secrets, tokens, ephemeral state, caches, the code repo

# ── Code repo (tracked separately as sovereign fork) ──────────────────
# Only ignore top-level hermes-agent dir, not the skill subdir
/hermes-agent/

# ── Secrets & auth (NEVER commit) ────────────────────────────────────
.env
.env.*
auth.json
auth.lock
gitea_token
*.key
*.pem

# ── Ephemeral state ──────────────────────────────────────────────────
state.db
state.db-shm
state.db-wal
gateway.pid
processes.json
interrupt_debug.log
.tirith-install-failed

# ── Sessions (large, transient, privacy-sensitive) ───────────────────
sessions/

# ── Caches (regeneratable) ───────────────────────────────────────────
audio_cache/
document_cache/
image_cache/
temp_vision_images/
images/
sandboxes/

# ── Shell history ────────────────────────────────────────────────────
.hermes_history

# ── Logs (large, rotated) ────────────────────────────────────────────
logs/

# ── Platform pairing state (contains rate limits, approval tokens) ───
pairing/

# ── WhatsApp session state ───────────────────────────────────────────
whatsapp/

# ── Cron output (regenerated) ────────────────────────────────────────
cron/output/

# ── Binaries (except our scripts) ────────────────────────────────────
bin/*
!bin/hermes-sync
!bin/timmy-loop.sh
!bin/timmy-loop-prompt.md
!bin/timmy-status.sh
!bin/timmy-tmux.sh
!bin/timmy-watchdog.sh
!bin/hermes-claim
!bin/hermes-dispatch
!bin/hermes-enqueue
!bin/hermes-config-sync
!bin/tower-hermes.sh
!bin/tower-timmy.sh
!bin/tower-watchdog.sh
!bin/claude-loop.sh
!bin/ops-dashboard-v2.sh
!bin/ops-panel.sh
!bin/ops-helpers.sh
!bin/kimi-loop.sh
!bin/timmy-loopstat.sh
!bin/start-dashboard.sh
!bin/gemini-loop.sh
!bin/loop-watchdog.sh
!bin/timmy-orchestrator.sh

# ── Queue (transient task queue) ─────────────────────────────────────
queue/

# ── Database files (ephemeral, regeneratable) ────────────────────────
*.db

# ── OS junk ──────────────────────────────────────────────────────────
.DS_Store
