# =============================================================================
# Beffroi Reporting — .gitignore
# =============================================================================
#
# This workspace contains source code, report definitions, diagnostic evidence
# and Git submodules.
#
# IMPORTANT:
# Do not globally ignore *.json, *.yaml, *.log, *.txt, etc.
# These may be intentional diagnostic/report evidence.
# =============================================================================

# -----------------------------------------------------------------------------
# Operating systems
# -----------------------------------------------------------------------------

.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# -----------------------------------------------------------------------------
# Editors / IDEs
# -----------------------------------------------------------------------------

.idea/
.vscode/

*.swp
*.swo
*.swn
*~
.#*

*.code-workspace

# -----------------------------------------------------------------------------
# Temporary files
# -----------------------------------------------------------------------------

*.tmp
*.temp
*.bak
*.old
*.orig

tmp/
temp/
.tmp/
.cache/

# -----------------------------------------------------------------------------
# Python
# -----------------------------------------------------------------------------

**pycache**/
*.py[cod]
*$py.class

.venv/
venv/
env/

.pytest_cache/
.mypy_cache/
.ruff_cache/
.pyright/

.coverage
.coverage.*
htmlcov/

dist/
build/
*.egg-info/

# -----------------------------------------------------------------------------
# uv / Python tooling
# -----------------------------------------------------------------------------
#
# uv.lock is intentionally NOT ignored.
# It should normally be committed for reproducible tooling.
#

.python-version

# -----------------------------------------------------------------------------
# Rust
# -----------------------------------------------------------------------------

target/

# Cargo.lock is intentionally NOT ignored.
# Applications/tools should generally commit it.
# -----------------------------------------------------------------------------
# Typst
# -----------------------------------------------------------------------------
#
# Typst source files and assets are tracked.
# Generated PDFs should normally go into build/ or output/.
#

*.typst.tmp

# -----------------------------------------------------------------------------
# Generated output
# -----------------------------------------------------------------------------

output/
outputs/
out/
artifacts/

# Local legacy renderer retained for migration and parity comparisons.
legacy/typst_reporter/

# Prefer generating PDFs into one of the directories above.
#
# Do NOT globally ignore *.pdf because archived reports may intentionally
# be committed to beffroi-reports.
# -----------------------------------------------------------------------------
# Diagnostic scratch data
# -----------------------------------------------------------------------------
#
# Canonical evidence belongs in reports/incidents/... and should be tracked.
# Only explicitly temporary collection directories are ignored.
#

scratch/
work/
working/

diagnostics-tmp/
collection-tmp/

# -----------------------------------------------------------------------------
# Runtime files
# -----------------------------------------------------------------------------

*.pid
*.pid.lock

*.stackdump

# -----------------------------------------------------------------------------
# Local configuration / secrets
# -----------------------------------------------------------------------------

.env
.env.*
!.env.example

*.secret
*.secrets

secrets/
.local/

# Local overrides should never be required for reproducibility.

config.local.*
*.local.yaml
*.local.yml
*.local.json
*.local.toml

# -----------------------------------------------------------------------------
# Credentials / certificates
# -----------------------------------------------------------------------------

*.key
*.pem
*.p12
*.pfx

credentials/
credentials.json

# -----------------------------------------------------------------------------
# Test / coverage output
# -----------------------------------------------------------------------------

coverage/
test-results/
junit.xml

# -----------------------------------------------------------------------------
# Packaging / archives
# -----------------------------------------------------------------------------

*.zip
*.tar
*.tar.gz
*.tgz
*.7z

# -----------------------------------------------------------------------------
# Miscellaneous
# -----------------------------------------------------------------------------

nohup.out
core
core.*

# =============================================================================
# DO NOT ADD GLOBAL RULES FOR:
#
# *.json
# *.yaml
# *.yml
# *.toml
# *.csv
# *.log
# *.txt
# *.md
# *.pdf
#
# These formats may represent intentional reports, evidence, schemas,
# configuration or archived deliverables.
#
# Ignore generated instances by DIRECTORY instead.
# =============================================================================

# Local architecture audits are working notes, not repository artifacts.
/audit/
