# Build / source trees (huge, easily reproducible from upstream + patches/)
bs-bionic/
bs-cli/
bs-gui/
bs-appdir/
BambuStudio/
squashfs-root/
glibc-packages.wiki/
research/

# Distributable + binaries
dist/
*.AppImage
*.sqfs
*.tar
*.tar.xz
*.tar.gz
*.tar.zst

# 3D output / inputs
*.stl
*.3mf
*.gcode
*.gcode.3mf

# Intermediate flattened profiles + slicer artifacts
flat-profiles/
result.json
*.png

# Logs / strace / scratch
*.log
logs/
*.strace
_egl_probe.*
_*.py
!__init__.py

# Local scripts that bake printer-specific values
*.local
.env
secrets/
.x2d.env

# Build helpers we no longer need
build-deps.sh
build-cli.sh
build-app.sh
finish-app.sh
check_gcc.sh
check_tools.sh
slice.sh
run_gui.sh
run_gui_swrender.sh
make_frame_*.py

# Editor / OS
.DS_Store
*.swp
__pycache__/
*.pyc
.vscode/
.idea/

# Pre-built shim — always rebuild from source
runtime/libpreloadgtk.so
runtime/libEGL_x2dadreno.so
# probe binaries (no extension); keep the .c sources tracked
runtime/probes/probe_vendor_gl
runtime/probes/probe_angle_direct
runtime/probes/probe_vendor_window

# Old draft notes
UNANSWERED_QUESTIONS.md

# .claude — keep most of it ignored, but the Stop-hook + settings
# need to travel with the repo so the IMPROVEMENTS.md loop is
# reproducible for anyone who clones.
.claude/*
!.claude/settings.json
!.claude/hooks/
.claude/hooks/*
!.claude/hooks/loop-improvements.sh
!.claude/hooks/loop-tasks.sh

# network_shim build artefacts
runtime/network_shim/src/*.o
runtime/network_shim/*.so
!docs/*.png
_mobile_daemon.py

# Local dev convenience symlink to dist tree
bin
runtime/handy_extract/cache/

# Zygisk Frida Gadget — large binary outputs rebuildable via build.sh
runtime/handy_extract/zygisk/gadget-zygisk.zip
runtime/handy_extract/zygisk/ZygiskFrida-v*-release.zip
runtime/handy_extract/zygisk/frida-gadget-*-android-*.so.xz
runtime/handy_extract/zygisk/_work/
runtime/handy_extract/zygisk/shamiko/

# OSOM Solana Saga MR5 firmware — 3 GB fastboot zip + extracted super.img.
# We extract OSOM-signed GmsCore + Phonesky for the microG Magisk overlay.
# Reproducible by re-downloading and re-running setup_microg_module.sh.
runtime/handy_extract/saga_firmware/

# Per-run screenshots from the Frida hook live tests (binary, ephemeral).
runtime/handy_extract/screenshots/
runtime/handy_extract/captures/

# Built classes.dex + intermediate .class files for the keystore dumper.
runtime/handy_extract/keystore_dumper/build/
runtime/handy_extract/sign_helper/build/
scratch/
