# --- Copyrighted material: NEVER commit ---
# The ROM and anything extracted from it stays local. The repo holds only
# our own original work (scripts, hand-written C, notes).
*.nds
*.bin
*.sav
*.mln
*.ml1
*.ml2
*.ml3
*.ml4
*.ml5
*.ml6
*.ml7
*.ml8
*.ml9
*.ml10

baserom*
extracted/
build/


# third-party binaries (not our code)
tools/bin/

# proprietary, non-redistributable toolchain
tools/mwccarm/
license.dat

# regenerable reference disassembly (derived from ROM)
asm/

mwccarm.zip

# agent scratch (matched C gets promoted to src/)
match/auto/

# external reference repos (not ours; do not commit)
reference/

# --- Internal working files: kept local, not published ---
knowledge/
match/
progress/
notes/matching-log.md
notes/recon-2026-06-13.md
notes/overnight-plan.md
notes/ac-decomp-comparison.md

# third-party tools cloned for evaluation/integration (not part of this repo)
vendor/

# emu-trace runtime capture output (tools/trace) - regenerable, may contain ROM-derived memory dumps
/traces/
/behavior/

# local-only, never commit
tools/claims_key.txt
tools/claims_handle.txt
/scratchpad/

# ML / LoRA training work: datasets are derived from the match corpus and the
# checkpoints are large binaries. Local-only, and never near a match PR.
/tools/dataset/
/notes/training/
/notes/training.zip
/unsloth_compiled_cache/
/out/
/wsl-bridge/
.pytest_cache/

# local MCP server wiring (machine-specific, may hold endpoints or tokens)
/.mcp.json

# generated Chaos Viewer data: the shared copy lives on the chaos-data branch
# (raw URL in tangos.json / chaosviewer.config.json); regenerate locally on
# demand with tools/chaos_db_ci.py. Never commit it to main - it goes stale and
# progress.py reports the same number ROM-free without it.
/chaos-db.json

# per-session runtime scratch (terminal logs, temp files, local MCP setup)
/temp/
/terminals/
/mcps/

# coddog fan-out scratch (agents write candidates here)
_abwork/

# glm fan-out scratch (agents write candidates here)
_glmwork/

# AI-session draft area (Cursor/Grok and friends): unverified candidates live
# here, never in src/ - src/ is oracle-verified matches only
/scratch/
.agents/
.codex/
.cw2004work/
# port runtime output: rendered frames, smoke-test screenshots, playtest logs.
# These are pixels the game drew from Nintendo's assets - same rule as the ROM.
/frames/
/playlog/
*.bmp

# --- Build artifacts ---
*.o

# --- Ghidra scaffolds (derived from ROM; local only) ---
ghidra_out/
ghidra_targets.txt

# --- Tooling / OS noise ---
__pycache__/
*.pyc
.venv/
venv/
.idea/
.vscode/
.vs/
Thumbs.db
desktop.ini
# Local reconstruction and release staging
.native-kit/
Play.cmd
*.obj
*.lib
*.exe
*.pdb
*.log
