Expand .gitignore example

This commit is contained in:
mintybasil 2026-06-19 13:15:03 -04:00 committed by Teknium
parent 094d9cba6c
commit 5d05415292

View file

@ -129,30 +129,59 @@ Do this **before** running `git init` or `git add`. If you have already chatted
Create `~/.hermes/profiles/research-bot/.gitignore` with at minimum:
```gitignore
# Secrets — never commit these. Hermes cannot undo a committed secret.
# Credentials & secrets — NEVER commit
auth.json
.env
.env.*
!.env.EXAMPLE
.env.EXAMPLE # generated by install, not authorship domain
# User data — private to each machine, never part of a distribution.
memories/
sessions/
# Runtime databases & state
state.db
state.db-shm
state.db-wal
hermes_state.db
response_store.db
response_store.db-shm
response_store.db-wal
gateway.pid
gateway_state.json
processes.json
auth.lock
active_profile
.update_check
# User data — NEVER commit
memories/
sessions/
logs/
workspace/
plans/
workspace/
home/
# Caches and local customization.
*_cache/
# Caches & generated artifacts
image_cache/
audio_cache/
document_cache/
browser_screenshots/
cache/
# Infrastructure (should not be in profile dir, but safe to exclude)
hermes-agent/
.worktrees/
profiles/
bin/
node_modules/
# User customization namespace — your local overrides
local/
# OS / editor cruft.
.DS_Store
*.swp
# Checkpoints & backups (can be huge)
checkpoints/
sandboxes/
backups/
# Logs
errors.log
.hermes_history
```
This mirrors the [hard-excluded paths](#whats-not-in-a-distribution-ever) that the installer strips on its end. Anything else you want to keep out of the repo (scratch files, large assets, local-only skills) should also go in here.
@ -619,4 +648,4 @@ The short version:
- [`hermes profile export` / `import`](../reference/profile-commands.md#hermes-profile-export) — local backup / restore (not distribution)
- [Using SOUL with Hermes](../guides/use-soul-with-hermes.md) — authoring personalities
- [Personality & SOUL](./features/personality.md) — how SOUL fits into the agent
- [Skills catalog](../reference/skills-catalog.md) — skills you can bundle
- [Skills catalog](../reference/skills-catalog.md) — skills you can bundle