# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
*.vsix

# setuptools-scm generated version file
pdd/_version.py

.tmp/
.agentic_prompt*
.agentic_output_*.txt
.cloud-image-hash
examples/temp_split_dir/
sync_order.sh

staging_data_dump.json
.pdd/core_dumps/*
*_fixed.*

.vscode/settings.json

pdd/litellm_cache.sqlite/cache.db
litellm_cache.sqlite/

# Auto-deps lock files (created by filelock for concurrent access prevention)
*.csv.lock

# Cost tracking CSV (generated at runtime, should not be committed)
pdd_cost.csv

# Auto-deps default CSV (generated at runtime, should not be committed)
deps.csv

# Claude folder (ignore contents, but keep skills/)
.claude/*
!.claude/skills/

# Test sync folder
test_sync/

# Vendored Python packages (created by pdd sync worktree setup)
.pip_packages/


# langchain cache
.langchain.db
*.pckl

# C extensions
*.so

output/
utils/mcp/manual_testing/

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
test-results/
cover/
staging/
*.staging.log
.staging_*

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
*.py.bak

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
#  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/

.DS_Store

# Ignore nested repositories
edit-file-tool/

staging/

# Testmon cache
.testmon*

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock

# Keep frontend build artifacts for pdd connect
!pdd/frontend/dist/
!pdd/frontend/lib/
!pdd/frontend/package-lock.json

# PDD internal directory (backups, locks, worktrees, etc.)
.pdd/*
!.pdd/
!.pdd/meta/
.pdd/meta/*.json
!.pdd/meta/agentic_bug_orchestrator_python.json
!.pdd/meta/agentic_bug_python.json
!.pdd/meta/agentic_checkup_python.json
!.pdd/meta/agentic_common_python.json
!.pdd/meta/agentic_crash_python.json
!.pdd/meta/agentic_e2e_fix_orchestrator_python.json
!.pdd/meta/agentic_fix_python.json
!.pdd/meta/agentic_update_python.json
!.pdd/meta/agentic_verify_python.json
!.pdd/meta/checkup_review_loop_python.json
!.pdd/meta/commands_checkup_python.json
!.pdd/meta/core_cloud_python.json
!.pdd/meta/fix_code_loop_python.json
!.pdd/meta/get_comment_python.json
!.pdd/meta/get_test_command_python.json
!.pdd/meta/git_update_python.json
!.pdd/meta/llm_invoke_python.json
!.pdd/meta/summarize_directory_python.json
.pdd/meta/*_run.json
# Issue #1006 follow-up: these two modules' tests pass quickly but
# `pdd sync` runs >20 minutes on them in CI, hitting the auto-heal
# 1200s timeout. Committing run-reports satisfies the released drift
# detector's workflow-complete gate (no run_report → forced crash op)
# until either the detector tolerates a "fix" fingerprint with no
# run_report or the sync time on these orchestrators improves.
!.pdd/meta/ci_drift_heal_python_run.json
!.pdd/meta/agentic_change_orchestrator_python_run.json
!.pdd/meta/metadata_sync_python_run.json
Makefile.test-staging

# Large model weights (HuggingFace clones)
demos/3blue1brown/models/

# Generated video outputs
demos/3blue1brown/outputs/
*.mp4

# Infisical config (contains workspace/environment references)
.infisical.json

# --- Local Development Dependencies ---
# Ignore locally installed/compiled packages and binaries.
# These should be managed via requirements.txt or setup.py,
# not tracked in version control to avoid OS compatibility issues.
.local_pkgs/temp_workspace
fake_test_output.py

# Solver infrastructure artifacts
.gh-wrapper/

# Auto-heal CI workspace artifacts — must never be committed.
# pdd-auto-heal[bot] writes these to its working directory and a workflow
# accidentally staged them, leaking a GitHub installation token to PR #1211
# (commit bebf874a4, since dropped). Keep these ignored repo-wide.
github_token
diff_base.txt
modules.txt
