# Written by `xbr new`. Game data, generated code, the toolchain and the
# bundles never enter git. The top-level entries are anchored (/x), and the
# ones a worktree holds as symlinks to the main checkout's are bare: a
# trailing-slash line matches a directory only.

# Your dump, and the analysis the pipeline writes beside it; `import`
# builds the dump beside it first and keeps the old one there until the
# new one is in place.
/game_files
/game_files.partial/
/game_files.old/

# Generated code and its key (`blinx2 package` regenerates when it differs).
/src/recomp/gen/
/src/recomp/gen.key.json
/src/recomp/.gen-regenerating

# The pipeline's intermediates. `/analysis/*` rather than `/analysis/`, so
# the golden thresholds below can be negated back in.
/analysis/*

# Builds, and the packaging build trees (anchored: a change named
# openspec/changes/build-*/ is not one).
/build-win/
/build/
/build-*/
/build-logs/

# `blinx2 setup`: the pinned venvs, the toolchain, the toolkit and CLI clones.
/.venv*
/third_party
/external
/.xbr-pin
# `blinx2 package`'s stage records in a folder outside git (in a repo
# they live in the git directory).
/.xbr/

# `blinx2 package`: private bundles holding the game. Never commit them.
/dist/
*.dmg
*.exe
*.pdb
*.nsi
*.tar

# The bench host. Bare: a symlink to the workspace's one store.
bench-logs
/scripts/bench.env

# Game data, captures and game output, anywhere in the tree.
*.xbe
*.iso
*.xiso
*.xpr
*.xwb
*.adx
*.sfd
*.ipk
*.wav
*.bmp
*.png
# Screenshots of your own build for the README are the one exception.
!docs/images/*.png
*.ico
*.icns
*.ppm
*.raw
*.sav
*.xsv
UDATA/
TDATA/
saves/

*.pack
*.xtd
hud-pack.toml
textures-pack.toml
enhance-textures.local.toml
*.xmv
*.rws
*.awd
CACHE/

# Work that belongs outside the repo: worktrees live in the workspace's
# wt/ (doctor still reports one here), A/B and probe output in its runs/.
/wt/
_local/
runs/

# Backups: a tracked game.toml.bak-<date> is how one gets in.
*.bak
*.bak-*

# Per-user agent settings.
.claude/settings.local.json
CLAUDE.local.md

*.log
__pycache__/
.ruff_cache/
.DS_Store

# --- this game ---

# analysis/ is per-worktree scratch, except the golden-frame hashes
# (golden.json) and the audio thresholds (audio.json); the reference frames
# in analysis/golden/frames/ and the WAVs in analysis/golden/audio/ are game
# output and stay local.
!analysis/golden/
analysis/golden/*
!analysis/golden/golden.json
!analysis/golden/audio.json
# The Hor+ spike notes are published documentation.
!analysis/enhancements/
analysis/enhancements/*
!analysis/enhancements/hor-plus.md
# The texture-upscaler spike: names, hashes, sizes and timings,
# no texels; the grids stay in runs/.
!analysis/enhancements/texture-upscalers.md
# Its dump half: counts per class and format, no texels; the
# dumps stay local.
!analysis/enhancements/texture-inventory.md
# The developer's own options (the game reads config/config.toml from the
# working directory over the build's config.default.toml); never committed.
config/config.toml
# Tester logs and saves: private, never committed.
user-logs

# IDE project files (JetBrains): local, never committed.
.idea/
