# Agent 365 CLI generated config — contains plaintext client secret on non-Windows
a365.generated.config.json
# Root-level a365.config.json auto-created by CLI; canonical config lives at apps/api/a365.config.json
/a365.config.json

# Node.js dependencies
node_modules/
**/node_modules/

# pnpm
.pnpm-store/


# Linear Integration
.env
.env.*
!.env.example
!.env.vault.example
!.env.test
!.env.observability.example
linear-tickets.json
linear-issue-mapping.json
*.tickets.json
.cloudflare_credentials

# Deleted orchestrator — V2 killed, V3 renamed to orchestrator/. Never re-add.
**/orchestrator_v3/
**/orchestrator_v2/

# Workstream Studio build artifacts + Playwright run output. Never commit.
apps/workstream-studio/dist/
apps/workstream-studio/e2e/screenshots/
apps/workstream-studio/e2e/test-results/
apps/workstream-studio/playwright-report/
apps/workstream-studio/test-results/

# Python Environment (UV + Ruff)
.venv/
venv/
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
pip-log.txt
pip-delete-this-directory.txt
.pytest_cache/
.mypy_cache/
.ruff_cache/
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover
.hypothesis/

# File Ingestion Service - Test files and uploads
src/services/file-ingestion/test_*.py
src/services/file-ingestion/test_*.json
src/services/file-ingestion/data/uploads/
src/services/file-ingestion/seeds/
src/services/file-ingestion/examples/

# Test scripts and temporary files (root level only, not in tests/ directories)
/test_*.py
/test-*.sh
/start-*.sh
/stop-*.sh

# macOS
.DS_Store

# Vite build artifacts
**/node_modules/.vite/
**/node_modules/.vite/deps_temp_*

# Build artifacts
/dist
apps/teams/dist/

# .NET build output
**/bin/
**/obj/

# Terraform local environments
/terraform/environments/dev

# Playwright test results and reports
test-results/
playwright-report/

# Claude Flow generated files
.claude/settings.local.json
.mcp.json
claude-flow.config.json
.swarm/
.hive-mind/
.claude-flow/
memory/
coordination/
# Allow the orchestrator memory module (Python package, not claude-flow data)
!apps/api/src/orchestrator/memory/
# Same module after the V4 consolidation move (Epic 14 issue #3517).
!apps/api/src/orchestrator/v4/memory/
# Allow the scoped memory services module (Epic aemm00l)
!apps/api/src/services/memory/
# Allow memory unit tests
!tests/unit/memory/
!apps/api/tests/orchestrator/memory/
memory/claude-flow-data.json
memory/sessions/*
!memory/sessions/README.md
memory/agents/*
!memory/agents/README.md
coordination/memory_bank/*
coordination/subtasks/*
coordination/orchestration/*
*.db
*.db-journal
*.db-wal
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt

# Infrastructure files with secrets (do not commit)
infrastructure/docker/migration-job.yaml

# Playwright auth state (generated at runtime, contains session tokens)
tests/e2e/.auth/user.json
tests/smoke/.auth/user.json

# Frontend lock file
apps/frontend/package-lock.json

# Martha test workflow tracker
.test-tracker.json

# Worktree-specific configuration
.worktree-config.json

# Test reports (generated by pytest)
apps/api/reports/
**/reports/*.xml
**/reports/*.html
.env.copilot-tests

# Sidebar v2 sample files (do not commit)
.archie-sidebar-v2-samples/
~/.archie-sidebar-v2-samples/

# GitHub Actions local secrets
.act.secrets

# CEA manifest packages (built from manifest source files)
apps/archie-m365/manifest/archie-cea-*.zip
apps/archie-m365/manifest-da/archie-da-*.zip
apps/api/static/archie-cea-*.zip

# OpenAPI Generator CLI config (tool-specific)
openapitools.json

# Smoke test tracking
.smoke-tracker.json

# Render environment file (contains secrets - DO NOT COMMIT)
env.render
*.render.env

# UI library build output
packages/ui/dist/
packages/ui/storybook-static/

# Windows desktop app build artifacts (Inno Setup installer + staging)
apps/archie-desktop-win/dist/
apps/archie-desktop-win/ArchieDesktop/bin/
apps/archie-desktop-win/ArchieDesktop/obj/

# Script output (locale comparisons, debug exports)
scripts/output/

# Rust/Tauri build artifacts
**/target/
**/src-tauri/target/
Cargo.lock
!apps/workstreams-studio/src-tauri/Cargo.lock

# Auto-generated by sprite executor
.claude-task-*
.claude/worktrees/

# Deleted standalone orchestrator service — do not re-add
services/orchestrator/
.claude/plans/
.claude/scheduled_tasks.lock
# Playwright MCP browser test artifacts
.playwright-mcp/
apps/developers-portal/.next
tsconfig.tsbuildinfo
apps/developers-portal/next-env.d.ts

# Martha active-issue marker (per-session, never tracked)
.claude/active-issue
.claude/.turn-needs-martha
.claude/.last-martha-update

# Orchestrator V4 autonomous build loop — append-only journal + pause flag
# Journal lives at worktree root (not .claude/) so it bypasses Claude Code's
# .claude/ sensitivity prompts.
orchv4-build-journal.md
orchv4-interior-journal.md
.claude/orchv4-PAUSE
.claude/orchv4-interior-PAUSE
.env.test
.alpha-deploy-state/
node_modules
