# This file should only ignore things that are generated during a `x.py` build,
# generated by common IDEs, and optional files controlled by the user that
# affect the build (such as bootstrap.toml).
# In particular, things like `mir_dump` should not be listed here; they are only
# created during manual debugging and many people like to clean up instead of
# having git ignore such leftovers. You can use `.git/info/exclude` to
# configure your local ignore list.

## File system
.DS_Store
desktop.ini

## Next.js + Cloudflare build outputs
ui/.next/
ui/.open-next/
ui/.vercel/
ui/out/

## Editor
*.swp
*.swo
Session.vim
.cproject
.idea
*.iml
.vscode
.project
.vim/
.helix/
.zed/
.favorites.json
.settings/
.vs/
.dir-locals.el

## Tool
.valgrindrc
.cargo
# Included because it is part of the test case
!/tests/run-make/thumb-none-qemu/example/.cargo

## Configuration
/bootstrap.toml
/config.toml
/Makefile
config.mk
config.stamp
no_llvm_build

## Build
/dl/
/doc/
/inst/
/llvm/
/mingw-build/
/build
/build-rust-analyzer/
/dist/
/unicode-downloads
/target
/library/target
/src/bootstrap/target
/src/ci/citool/target
/src/tools/x/target
# Created by `x vendor`
/vendor
# Created by default with `src/ci/docker/run.sh`
/obj/
# Created by nix dev shell / .envrc
src/tools/nix-dev-shell/flake.lock

## ICE reports
rustc-ice-*.txt

## Temporary files
*~
\#*
\#*\#
.#*

## Tags
tags
tags.*
TAGS
TAGS.*

## Python
__pycache__/
*.py[cod]
*$py.class

## Node
node_modules
package-lock.json
/src/doc/rustc-dev-guide/mermaid.min.js

## Rustdoc GUI tests
tests/rustdoc-gui/src/**.lock

## direnv
/.envrc
/.direnv/

## nix
/flake.nix
flake.lock
/default.nix

# Before adding new lines, see the comment at the top.

# Agent development notes (contains session-specific information)
AgentReadme.md
.env
forge.yaml

.tmp/*
.quirks/*
# .github/* is tracked — do not ignore
.agents/*
skills/
skills-lock.json
mcp.json

CLAUDE.md

## SQLite live state (never commit; can hold sandbox-execution traces)
/rustbox.db
/rustbox-dev.db
/rustbox-test-*.db*
*.db-shm
*.db-wal

## Docker
.wrangler/

## Local-only Dockerfile variants (BuildKit cache mounts; per project policy
## these are NOT distribution-safe and must stay out of the canonical tree).
Dockerfile.test
Dockerfile*.test
tests/Dockerfile.test
tests/Dockerfile*.test

## Local-only consumer sandbox app for SDK smoke testing. Contains
## developer-personal API keys; never track upstream.
testing_app/

## Editor/runtime FUSE artifacts that show up on this dev box's filesystem.
.fuse_hidden*
**/.fuse_hidden*

## Astro build artifacts
documentation/.astro/
.claude/
.codex/

## Local auth-service secrets and dry-run bundles
auth-service/.dev.vars
auth-service/.dry/

## Superpowers plans/specs (local only)
docs/superpowers/

## Internal planning notes (local only)
docs/internal/

## API keys (secrets)
api-keys.json

## Local artifacts
website-prompt.md
.worktrees/

# SDK build / test artifacts (per-language, not source)
control-plane/.venv/
control-plane/.pytest_cache/
sdk/python/.venv/
sdk/python/__pycache__/
sdk/python/**/__pycache__/
sdk/rust/target/
sdk/rust/Cargo.lock
sdk/typescript/dist/
sdk/typescript/node_modules/
sdk/go/vendor/

