# ---------------------------------------------------------------------------
# FrameLedger — repository ignore rules
# ---------------------------------------------------------------------------

# --- .NET / MSBuild --------------------------------------------------------
[Bb]in/
[Oo]bj/

# The rule fixture corpus is DATA, not build output, and some of it has to be
# named after the thing it imitates. `tests/fixtures/rules/engines/source/bin/`
# mirrors a real Source layout, and `[Bb]in/` above silently swallowed it: the
# file existed on the machine that wrote it, so the fixture passed locally and
# failed on a fresh clone with "engine: null". `git add -A` reported nothing,
# because an ignored file is not an untracked one.
#
# Negations must come after the pattern they undo, and the parent directory has
# to be re-included first or git never descends into it.
!tests/fixtures/rules/**/bin/
!tests/fixtures/rules/**/bin/**
[Dd]ebug/
[Rr]elease/
[Xx]64/
[Ll]og/
[Ll]ogs/
*.user
*.suo
*.userosscache
*.sln.docstates
*.binlog
*.nupkg
*.snupkg
project.lock.json
project.fragment.lock.json
artifacts/
out/
TestResults/
BenchmarkDotNet.Artifacts/
coverage*.json
coverage*.xml
coverage*.info
*.coverage
*.coveragexml

# --- Native / CMake / MSVC -------------------------------------------------
build/
[Bb]uild[0-9]*/
cmake-build-*/
CMakeFiles/
CMakeCache.txt
CMakeUserPresets.json
cmake_install.cmake
compile_commands.json
*.dir/
*.obj
*.pdb
*.ilk
*.exp
*.idb
*.tlog
*.ipch
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.VC.db
*.VC.opendb
ipch/
.vs/
Testing/

# --- Vendored third-party sources (fetched, not committed) -----------------
# NVAPI headers + import lib ARE committed (12_BUILD.md §NVAPI SDK).
# MinHook is a submodule / FetchContent — its build output is not.
src/native/third_party/**/build/
_deps/

# NOTE: there are no bundled native assets. assets/native/PresentMon.exe was the
# only one ever planned and PresentMon was DROPPED on 2026-08-27 (S31 row P2,
# then an owner decision). The path is left unignored anyway: if a future Tier-2
# mechanism ever needs a bundled binary there, an ignore rule is how it would be
# missed rather than reviewed.

# /presentmon/ IS ignored, and it is NOT the path above. A hand-downloaded copy
# of the Intel console binary landed at the repository root on 2026-08-27 --
# staged for the §S31 run -- untracked and matched by no rule, so `git add -A`
# would have committed a 956 KB third-party executable at a path no document
# names, outside legal/THIRD_PARTY_NOTICES.md and carrying no VERSIONINFO.
#
# This is not the mistake the note above warns about. That note is about
# ignoring the CANONICAL path; this ignores a scratch one. The canonical path
# stays unignored, and it stays empty: the owner decided on 2026-08-27 that the
# console binary is a LOCAL TEST TOOL -- not committed, not fetched, not
# redistributed -- and that a release reaches Tier 2 some other way
# (docs/20_OPEN_QUESTIONS.md §G). The canonical path is left unignored anyway,
# because that decision can be revisited and an ignore rule is how it would be
# revisited by accident.
/presentmon/

# --- Velopack / packaging --------------------------------------------------
Releases/
packages/
*.vpk

# --- Tooling / editors -----------------------------------------------------
.idea/
.vscode/
!.vscode/extensions.json
*.swp
*~

# --- OS --------------------------------------------------------------------
[Tt]humbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
.DS_Store

# --- Local-only ------------------------------------------------------------
# Never commit captured game data, real session databases, or crash dumps.
*.db
*.db-wal
*.db-shm
*.dmp
local/
scratch/

# Claude Code worktrees live inside the repo but are separate checkouts.
.claude/worktrees/
