# State files (contain UIDs, environment-specific)
.keeper-manifest-state.json

# Python
__pycache__/
*.pyc
*.pyo
*.egg-info/
dist/
build/
.eggs/

# Virtual environments
.venv/
.venv-*/
venv/

# Local credentials and scratch files
*.creds.env
/tmp/*

# IDE
.idea/
.vscode/
*.swp

# Live smoke logs (never commit)
.smoke-runs/
.live-smoke/
.keeper-manifest-smoke-locks/

# Raw transcript artefacts before they are reviewed and promoted into
# docs/live-proof/. Keep raw outputs out of git; only the sanitized,
# pin-stamped copy under docs/live-proof/ is committed.
evidence/
# Curated persona lab verification transcripts (ACME-only; paths scrubbed to <repo>/).
!examples/use-cases/**/evidence/
!examples/use-cases/**/evidence/**

# MkDocs (build locally / CI; do not commit HTML output)
site/

# Testing
.pytest_cache/
.coverage
htmlcov/
.mypy_cache/
src/tests/fixtures/minisign-rehearsal/signing_key.pem

# OS
.DS_Store
Thumbs.db

# Co-Orchestrator watcher heartbeat log (per-machine; not source of truth)
# Internal watcher documentation is maintained separately.
.internal/orchestration/co-orchestrator-watcher.log
docs/co-orchestrator-watcher.log

# Sealed seed manifests - contain plain-text credentials for one-time import.
# NEVER commit these. Apply once, then delete or encrypt with SOPS/age.
# See docs/security/credential-handling.md
*-seed.yaml
*-seed.yml
*-sealed.yaml
*-sealed.yml
*-secrets.yaml
*-secrets.yml
*-credentials.yaml
*-credentials.yml
*-creds.yaml
*-creds.yml

# Local demo tree (showcase + msp-lab) - recovered from history; not published upstream
examples/demo/

# Agent session internals - development journal, lessons, scaffolds, review artifacts
.internal/
# ...except the committed snapshot the CI drift-check job compares against
# (scripts/sync_upstream.py --check); see docs/integrations/SYNC_UPSTREAM_EXTRACTOR.md.
!.internal/capability-snapshot.json

**/_sqlite.db
**/_sessions.json
**/sessions.json
*.pdf

# Local gate runner scripts - sandbox session helpers, not part of the repo
.km_gates.sh
.km_*.sh
.commander-config-*.json
*.commander-config.json

# Large regenerable tool output (regenerate via docs/remediation-appendix/README.md)
docs/remediation-appendix/appendix-ruff-extended.txt
docs/remediation-appendix/appendix-bandit.txt

# Generated by Rulesync
.rulesync/skills/.curated/
.rulesync/rules/.curated/
.rulesync/rules/*.local.md
rulesync.local.jsonc
**/AGENTS.local.md
**/CLAUDE.local.md
**/.claude/CLAUDE.local.md
**/.claude/*.lock
**/.claude/settings.local.json
**/.claude/memories/
**/.codexignore
**/.codex/rules/rulesync.rules
**/AGENTS.md
**/.agents/memories/
**/CLAUDE.md
**/.claude/CLAUDE.md
**/.claude/rules/
**/.cursor/rules/
**/.agents/commands/
**/.claude/commands/
**/.cursor/commands/
**/.agents/skills/
**/.claude/skills/
**/.cursor/skills/
**/.agents/subagents/
**/.claude/agents/
**/.codex/agents/
**/.cursor/agents/
**/.mcp.json
**/.cursor/mcp.json
**/.cursor/hooks.json
**/.codex/hooks.json
**/.cursor/cli.json
**/.cursorignore
**/.codex/
**/.claude/
!.rulesync/.aiignore
# End of Rulesync
