# SOLVED — what must never reach a public repo.
#
# Two different reasons live in this file and they should not be confused:
#   SECRETS  — publishing them is a compromise, immediately.
#   STATE    — the ledger and the agents' minds. Publishing them is a privacy
#              and integrity problem, and committing them would also let a
#              checkout overwrite production money records.
#
# The real credentials live in /etc/solved/env, OUTSIDE this directory and
# outside git's reach by construction (mode 0600, owner agentd). That is the
# primary defence; this file is the second one. Verified 2026-08-02: no live
# secret value appears anywhere in the tree (x402_gates.py --leakcheck).

# ---------------------------------------------------------------- secrets
.env
.env.*
*.env
env
env.*
!environment.yml
*.pem
*.key
!*.public.key
*_rsa
*_ed25519
id_*
secrets.*
credentials.*
*.credentials
.netrc
.npmrc
# CDP / x402 material, wherever a future script might drop it
cdp_*.json
wallet_secret*
*wallet-secret*
x402_local.*

# ------------------------------------------------------ money and minds
# The ledger, the marketplace, the feedback store.
solved.db
feedback.db
*.db-wal
*.db-shm
# Every agent's private memory, goals and initiatives.
state/
# Hourly ledger backups (they contain the same rows as the DBs above).
backups/
*.db.bak
*.bak-*

# The kill switch is a live operational signal, never a committed file.
STOP

# ----------------------------------------------------------- generated
# Rendered publication output and video packages: artifacts of runtime, and
# they can contain unreleased agent work.
site/
out/
video_packages/
__pycache__/
*.py[cod]
.pytest_cache/
.mypy_cache/
.ruff_cache/

# ------------------------------------------------------------- local dev
venv/
.venv/
env/
.idea/
.vscode/
.DS_Store
Thumbs.db
*.log

# ----------------------------------------------------------- packaging
# Build output, and the LICENSE the publish workflow stages into the client
# package at build time. The repo has ONE LICENSE, at the root; committing a
# copy would let the two drift and the published artifact carry the stale one.
clients/python/LICENSE
clients/python/dist/
build/
*.egg-info/
