# Generated by Cargo
# will have compiled files and executables
debug
target

# These are backup files generated by rustfmt
**/*.rs.bk

# macOS metadata sidecar files
.DS_Store
**/.DS_Store

# Book/images/ is tracked — PNGs land there from author
# capture work; check them in. PDFs in Book/ are re-included
# below (after the *.pdf ignore line) so the canonical
# companion-volume builds ship in git for readers.

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/

# RustRover
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#
/db
/backup

# Claude Code tooling state (per-session task list, cache, prompt history).
# Lives next to the working tree but is environment-specific and shouldn't
# travel with commits.
/.claude
/book_sources
/inkhaven-artefacts
/inkhaven-backups

# PDFs dropped by Ctrl+B O ("take the book") into the launch cwd.
# Filename pattern is `<book-slug>-YYYYDDMM-HHMM.pdf`; these are
# generated outputs, never source.
*.pdf
# Book/ PDFs are checked in (canonical companion volume —
# readers should be able to download the rendered build
# from GitHub directly without compiling). The exception
# must follow the `*.pdf` line above to take effect.
!Book/**/*.pdf

# Rendered paragraph PNGs dropped by Ctrl+V R into the launch cwd
# (1.2.5+). Filenames are `<paragraph-slug>-YYYYDDMM-HHMM.png`
# (S = save current page) or
# `<paragraph-slug>-YYYYDDMM-HHMM-page-NNN.png` (A = save every
# page). The pattern matches the exact timestamp suffix rather
# than `*.png` so manuscript image assets (cover.png, figure.png,
# screen.png, etc.) stay tracked.
*-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9].png
*-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-page-*.png

# Crash reports + rescue companions (written to cwd/project on panic)
inkhaven-crash-*.hjson
*.inkhaven-rescue
