# Build outputs
/build/
/analysis/recovery/
/build-*/
/out/
/.happypath/

# generated/ (the recompiled game C) is COMMITTED: releases are compiled from
# it. Regenerate with tools/regen.sh after a seed, config or pin change and
# commit the result. Retail-BIOS C never lands here: the BIOS backends live in
# the psxrecomp submodule.
# psxrecomp_cli.py work areas (overlay toolchain download, static overlay
# shard evidence -- the latter holds bytes read from the disc).
/.cache/
.psxrecomp_last_generate
.psxrecomp_write_probe

# Release packaging artifacts
/release-stage/
/dist/
*.zip

# Local PlayStation assets (disc image, extracted boot EXE, BIOS, memory cards)
/r4/
/disc/
/prepared_disc/
/isos/
/bios/
/saves/
.settings/

# Disc / image / memcard formats
*.bin
*.cue
*.iso
*.img
*.sub
*.ccd
*.mcd
*.mcr
*.chd
*.car
SCPH*.BIN
*.cht

# Local path/config stubs written beside the exe or repo root
bios.cfg
disc.cfg
rom.cfg
settings.toml

# Ghidra: keep instructions.txt + scripts/ + annotations/, drop the live DB + dumps
/ghidra/projects/
*.gpr
*.rep/
*.lock
*.lock~

# Local analysis scratch (GPU captures, parity dumps, asset rips)
/analysis/

# Local editor / cache files
.vs/
.vscode/
.DS_Store
*.user
*.log

# Runtime artifacts from psx-runtime launches
psx_crash.txt
psx_last_run_report.json
psx_screenshot.bmp
psx_screenshot.png
psx_freeze_heartbeat.json
starvation_dump.jsonl
overlay_captures.json

# Diagnostic dumps from debug-server probes (root-level only)
/*.json
!/catalog_identity.json
!/CMakePresets.json
/*.bmp
/*.png
/_*.txt
/_*.hex
/_*.c

# Python caches
__pycache__/

# Local symlinks (disc/, build trees) in feature worktrees
/disc
/build-*

# PAL build (pal/README.md): the C generated from your own SCES-01706 disc and
# the translation report written next to game_pal.toml.
/generated_pal/
/game_pal.toml.report.txt
