# 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

# Per-lane mission brief — NEVER track this at repo root. It was git-tracked
# for a while and got clobbered repeatedly: different lanes' bootstrap/revival
# PRs each committed their own MISSION.md content to this identical path, so
# whichever lane's PR merged to alpha LAST silently overwrote every OTHER
# lane's local file the next time that lane synced to fresh alpha (git pull /
# rebase / reset --hard origin/alpha). Confirmed history: harness/devex's
# initial commit -> gravita/FIC's PR #8174 -> archie-meetings' PR #8186 (whose
# "MISSION (REVIVAL)" charter is what ~20 unrelated lanes woke up believing was
# their own identity on 2026-07-01..07-04). See memory note
# reference_mission_md_shared_root_file_clobbered_20260703.md for the full
# incident writeup. Fix: MISSION.md is per-worktree only from here on — write
# your own locally, do not `git add` / commit it, ever.
MISSION.md

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

# Frontend AR-epic visual-verification scripts generate screenshots on every run.
# Generated artifacts (bloat git history; may capture dev-env PII). Never commit.
apps/frontend/e2e/screenshots/
apps/frontend/e2e/artifacts/

# 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
# The Claude plugins ship their connector config; it is a committed
# artifact, not a local claude-flow file, so un-ignore it specifically.
!plugins/archie-cowork/.mcp.json
!archie-claude-plugin/.mcp.json
claude-flow.config.json
.swarm/
.hive-mind/
.claude-flow/
# Anchored with a leading slash: these are claude-flow's data directories and it
# only ever creates them at the repo root. Unanchored, `memory/` matched EVERY
# directory named memory in the tree, which cost seven negations below and left
# SpecKit's constitution invisible to git for its whole existence.
/memory/
/coordination/
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

# Autonomous-agent captured test-evidence (pytest stdout dumps, hostnames,
# conversation IDs) — session residue, not repository content.
test-evidence.json

# Wrangler local state (cf.json cache, miniflare D1 .sqlite-shm, bundled
# tmp/dev-*/index.js). Committed by accident in the past; the external
# Wrangler Configuration (mesa-dot-dev) CI check fails with 403 when a
# `.wrangler/` directory is tracked. test_repo_merge_hygiene.py asserts it
# is never tracked; this rule makes that invariant hold under `git add -A`.
.wrangler/

# 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
apps/api/static/downloads/

# 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

# --- coder artifact guard (auto-added; never commit build/dep output) ---
#
# These are UNANCHORED, so they match a directory of that name at ANY depth —
# not just build output at the repo root. `build/` silently swallowed five new
# source files under
#   apps/workstream-studio/src/components/workstream-detail/build/
# which is a SOURCE directory (34 files already tracked there, force-added past
# this same rule). `git add -A` skips ignored paths without a word, `git status`
# stays clean, the commit succeeds and the PR merges with the work missing —
# which is exactly what happened to #10333.
#
# Negated so a source directory named `build` is not treated as build output.
# Anchor any genuinely-root-level artifact dir instead of relying on the bare
# name.
dist/
build/
!apps/*/src/**/build/
coverage/
laura-ai-training/
.nyc_output/
*.log
.turbo/
.next/

# --- coder artifact guard (auto-added; never commit build/dep output) ---
core.[0-9]*
*.core
vgcore.*
*.hprof
*.stackdump
playwright-report-rung1/

# --- coder artifact guard (auto-added; never commit build/dep output) ---
.card-context/
TASK.md

# --- coder artifact guard (auto-added; never commit build/dep output) ---
.martha/

# --- WSS design prototypes (local only, not for review) ---
.design/
# Exception: evidence screenshots survive in-repo for PR review.
!.design/evidence/

# local e2e scratch / probes
.e2e-scratch/

tests/e2e/.auth/

# Internal lane/supervisor process state — never on a shared branch
/STATUS.md
.agents-artifacts/

# rebaseline capture artifacts (generated PNGs/results, not source)
/artifacts/
STATUS.md
