# Misc stuff, should be categorized/explained in the future
# This is sorted in ascending order, keep it that way if you wanna please
# people's OCDs ^_^
.cache
.planning
.pr-review-diff*.patch
.qa-frontend/
__emails__
__pycache__/
.coverage
.dlt
.dmypy.json
.DS_Store
.eslintcache
.hypothesis
.mypy_cache
.parcel-cache
pbt-divergences.jsonl
posthog/hogql/test/fixtures/real_queries/
.posthog/
.postgres-backups/
.python-version
.temporal-worker-settings
.turbo
.venv
.wokeignore
.yalc
*-esbuild-bundle-visualization.html
*-esbuild-meta.json
*.code-workspace
*.db
*.isorted
*.log
*.pyc
*.swo
*.swp
**/*.tsbuildinfo
/env
/playwright-report/
/test-results/
a11y/
build-storybook.log
celerybeat-schedule
celerybeat.pid
common/hogvm/typescript/.parcel-cache
common/hogvm/typescript/dist
common/plugin_transpiler/dist
common/replay-headless/dist
common/storybook/.workers
common/storybook/dist
coverage-*.xml
debug.log
docs/internal/logs-sampling-discovery.md
docs/internal/logs-sampling-runbook.md
docker-compose.prod.yml
ee/benchmarks/results
ee/support_sidebar_max/.env
ee/support_sidebar_max/.vscode
ee/support_sidebar_max/.vscode/settings.json
ee/support_sidebar_max/max-venv/
frontend/storybook-static
max-test-venv/
mts_example_*.json
node_modules/
object_storage/
playwright/e2e-vrt/**/*-darwin.png
pnpm-error.log
pyrightconfig.json
settings.yml
scripts/local/
share/GeoLite2-City.*
staticfiles
storybook-static
temp_test_run_data.json
tmp*/
upgrade/
venv
yalc.lock

# Local ide config should be ignored but keep the example posthog.iml file
.idea
!.idea/posthog.iml

# Local VSCode config should be ignored
# but make sure we commit examples and the shared `launch.json` file
.vscode/*
!.vscode/launch.json
!.vscode/settings.example.json
!.vscode/extensions.json

# Ignoring local Zed config
# but commit shared `debug.json` file
.zed/*
!.zed/debug.json

# Kea types should be ignored
*Type.ts

# Local files generated for the ANTLR VS Code extension (https://github.com/mike-lischke/vscode-antlr4)
.antlr

# ANTLR-generated temp files when "npm run grammar:build" crashes
gen/

# Vite-specific assets (we copy public assets to src/assets) just for development
.typegen
frontend/src/assets

# Playwright cache + reports
playwright-report/
playwright/.auth/
playwright/playwright-report/
playwright/test-results/
test-results/
.playwright-mcp/

# Dagster
.dagster_home/*
.tmp_dagster_home*/*
!.dagster_home/.gitkeep
!.dagster_home/dagster.yaml
!.dagster_home/workspace.yaml

# Frontend caching, build artifacts, logs, private assets, etc.
common/tailwind/dist
frontend/__snapshots__/
playwright/__snapshots__/
frontend/.cache/
frontend/@posthog/apps-common/dist/
frontend/dist/
frontend/dist-report/
frontend/eager-graph-report*.json
frontend/pnpm-error.log
frontend/public/Matter*.woff*
frontend/tmp
frontend/types/

# CI log downloads (gh-logs-grab / gh run download)
/logs/

# Watchman cache
.watchman-cookie-*

# Dist release target dir
target/*

# Ignore user's Cursor rules
.cursor/**/user*.mdc
# Ignore Cursor plans
.cursor/**/*.plan.md
CLAUDE.local.md

# Ignore file for clearing demo data on local
posthog/management/commands/clear_demo_data.py

# Ignore Claude Code settings
.claude/settings.local.json
.claude/worktrees/
.claude/scheduled_tasks.lock
.claude/plans/

# Ignore local mprocs configs
bin/mprocs*.local.yaml

# Ignore bin lockfiles
bin/*.lock

# Avoid commiting built binaries, they can be built locally easily
# We deploy them to releases via the `build-hobby-installer.yml` workflow
bin/hobby-installer-*
bin/hobby-installer/hobby-installer
bin/hobby-installer/hobby-installer.log

# phrocs binary
bin/phrocs

# Debug output of our session summaries product
.session-summaries

# Claude Code review outputs
CODE_DEBUGGING_SESSION.md
CODE_REVIEW.md
QAREPORT.md

# SeaweedFS data + migration checkpoint
.migration-checkpoint.json
data/seaweedfs
data/seaweedfs/

# No env files except for the example, development defaults, services, and local-overrides template
.env*
!.env.example
!.env.development
!.env.services
!.env.local.example

# Ignore Agent OS (Claude Code) files
.claude/agents/agent-os
.claude/commands/agent-os

agent-os/
# MCP build files
services/mcp/public/ui-apps

# Product skills (synced by hogli sync:skill)
.agents/skills/.gitignore

# Test output
junit.xml
.test_dependency_map

# Downloaded GitHub issues for signals
products/signals/backend/github_issues/
.pnpm-store

# Local-only HogQL log-corpus dumps (downloaded from Metabase by
# posthog/hogql/scripts/log_corpus_diagnostic.py — contains
# redacted production queries; not for git).
posthog/hogql/scripts/.local/

# RocksDB state store created at runtime by cohort-stream-processor
rust/cohort-store/
rust/cohort-stream-processor/cohort-store/

# Local TLS certs (e.g. mkcert) — never commit private keys
*.pem

# Redis persistence snapshot dropped by a locally running redis-server
dump.rdb

# Log corpora captured for the pattern replay harness. These hold real log bodies —
# addresses, hostnames, request ids, user agents — and this repository is public.
corpora/
.gstack/

# pytest-split timing data. CI restores it from the Actions cache or the timing
# workflow's artifact; it is never committed.
.test_durations
.test_durations.*

/context.md

# Agent workspace scratch directory. Holds live browser profiles and run output
# for local scripts, so it must never reach a commit.
/.context/
