# Build trees and binary outputs
build/
build-*/
bin/
out/
dist/
release-stage/
*.exe
*.dll
*.a
*.lib
*.o
*.obj
*.so
*.dylib
*.pdb
*.ilk
*.exp

# Nintendo ROMs, BIOS dumps, and cartridge saves (never commit or distribute)
*.gba
*.gbc
*.gb
*.nds
*.rom
*.bios
gba_bios.bin
open_gba_bios.bin
GBA_bios.rom
*.sav
*.sa1
*.srm
*.ss*
*.fla
*.eep
saves/
*.cfg
*.ini

# Generated intermediate / recompile caches
recomp/
recomp_cache/
.deps/
logs/
diagnostics/
recomp_master_misses*.toml.frag
recomp_coverage*.json
recomp_seed_proposals.toml

# Tooling and vendor SDKs (install locally)
reference/
third_party/
gbarecomp-build/
vendor/

# Logs, test traces, frame dumps, scratch files
*.log
*.jsonl
*.bmp
*.png
*.txt
!README.md
!README.zh-CN.md
!LICENSE
!THIRD_PARTY_NOTICES.md
!CMakeLists.txt
!**/CMakeLists.txt
!symbols/*.tsv

# Editor / OS metadata
.vscode/
.vs/
.idea/
*.user
Thumbs.db
Desktop.ini
.DS_Store

# Agent notes, internal briefs, and private documentation (keep on disk, do not publish)
AGENT_PROMPT.md
docs/*
!docs/CLEANUP.md
!docs/FRAMEWORK_PIN.json
!third_party_licenses/*.txt
*.tmp
*.bak
~*

# Personal credentials / secrets
*.pem
*.key
.env
.env.*
