.claude/
node_modules/
dist/
# `wrangler deploy --dry-run --outdir dist-analyze` — the bundle + esbuild
# metafile you inspect when the startup budget drifts. 20 MB of build output.
dist-analyze/
# `check:startup` builds each Worker's bundle and profiles it. Both artifacts
# are removed in a `finally`, so these only catch the crashed-mid-run case.
*.cpuprofile
apps/api/*.bundle
# Generated by `pnpm build:corpus` (tools/build-corpus-manifest.ts).
# 900KB+ machine-emitted manifest — never edit by hand, never commit.
apps/api/src/generated/
# Demo/seed content is scraped or generated locally and stays out of git;
# each fixture allowlists the files that must be checked in so the workspace
# can resolve it. When adding a fixture, allowlist EVERY path its package.json
# scripts reference — `git add -A` silently adds nothing under this pattern,
# and a fixture has shipped broken on a fresh clone because of it.
/data/**
!/data/founder-sales-demo/
!/data/founder-sales-demo/**
/data/founder-sales-demo/node_modules/
/data/founder-sales-demo/dist/
/data/founder-sales-demo/artifacts/
!/data/brain-simplification-demo/
!/data/brain-simplification-demo/**
/data/brain-simplification-demo/node_modules/
# The definitions-from-documents-and-counts held-out fixture: referenced by
# `packages/domain` inference tests and the `apps/api` definitions e2e.
!/data/definitions-counts-demo/
!/data/definitions-counts-demo/**
/data/definitions-counts-demo/node_modules/
!/data/admission-mixed-batch-demo/
!/data/admission-mixed-batch-demo/**
/data/admission-mixed-batch-demo/node_modules/
# The admission-retrieval eval's labeled business set (tools/harness-evals).
!/data/admission-retrieval-demo/
!/data/admission-retrieval-demo/**
# Decision-model eval sets: same-entity matching and answer-changing edits.
!/data/entity-match-demo/
!/data/entity-match-demo/**
!/data/answer-change-demo/
!/data/answer-change-demo/**
# The context-records eval's business questions (tools/harness-evals).
!/data/context-qa-demo/
!/data/context-qa-demo/**
# UC-008: the GTM claims workload's setup, sync, and report over the public API.
!/data/gtm-claims-dogfood/
!/data/gtm-claims-dogfood/**
/data/gtm-claims-dogfood/node_modules/
# The source-snapshot extraction eval corpus, ground truth, scorer, and
# frozen manifest: imported by the tools/harness-evals scenario.
!/data/source-snapshot-demo/
!/data/source-snapshot-demo/**
/data/source-snapshot-demo/node_modules/
# The document-tracking slice's corpus: public REIT 10-Q text layers, answer
# key and planted edits (tools/harness-evals tracking eval). PDFs regenerate.
!/data/reit-filings-demo/
!/data/reit-filings-demo/**
/data/reit-filings-demo/node_modules/
/data/reit-filings-demo/documents/**/*.pdf
# The context-reversal evals' corpus, raw files, scorers and findings
# (apps/api context-reversals e2e and warm-cold eval).
!/data/context-reversals-demo/
!/data/context-reversals-demo/**
/data/context-reversals-demo/node_modules/
# The import baseline eval's corpus generator, scorers and findings
# (apps/api import-baseline e2e and live arms).
!/data/import-baseline-demo/
!/data/import-baseline-demo/**
/data/import-baseline-demo/node_modules/
# UC-005 T3: the tabular leads acceptance fixture and its findings.
!/data/tabular-leads-demo/
!/data/tabular-leads-demo/**
/data/tabular-leads-demo/node_modules/
!/data/brain-activation-demo/
!/data/brain-activation-demo/**
/data/brain-activation-demo/artifacts/
/data/brain-activation-demo/node_modules/
!/data/it-msp-brain-demo/
!/data/it-msp-brain-demo/**
# UC-013: the CRE vertical-AI acceptance fixture, its documents and findings.
!/data/cre-vertical-demo/
!/data/cre-vertical-demo/**
/data/cre-vertical-demo/node_modules/
!/data/first-learning-cycle-demo/
!/data/first-learning-cycle-demo/**
/data/first-learning-cycle-demo/node_modules/
!/data/served-context-demo/
!/data/served-context-demo/**
/data/served-context-demo/node_modules/
!/data/refund-corpus/
!/data/refund-corpus/package.json
!/data/refund-corpus/tsconfig.json
!/data/refund-corpus/schema.ts
!/data/refund-corpus/policy.md
!/data/refund-corpus/README.md
!/data/refund-corpus/skills/
!/data/refund-corpus/skills/**
!/data/refund-corpus/tickets/
!/data/refund-corpus/tickets/**
!/data/refund-corpus/scripts/
!/data/refund-corpus/scripts/**
!/data/sales-cs-handoff-demo/
!/data/sales-cs-handoff-demo/package.json
!/data/sales-cs-handoff-demo/tsconfig.json
!/data/sales-cs-handoff-demo/README.md
!/data/sales-cs-handoff-demo/scripts/
!/data/sales-cs-handoff-demo/scripts/**
!/data/sales-cs-handoff-demo/claude-code-project/
!/data/sales-cs-handoff-demo/claude-code-project/**
!/data/sales-cs-handoff-demo/claude-code-project/.claude/
!/data/sales-cs-handoff-demo/claude-code-project/.claude/**
!/data/meridian-demo/
!/data/meridian-demo/package.json
!/data/meridian-demo/tsconfig.json
!/data/meridian-demo/README.md
!/data/meridian-demo/scripts/
!/data/meridian-demo/scripts/**
!/data/standing-answers-demo/
!/data/standing-answers-demo/package.json
!/data/standing-answers-demo/tsconfig.json
!/data/standing-answers-demo/eslint.config.mjs
!/data/standing-answers-demo/README.md
!/data/standing-answers-demo/GROUND-TRUTH.md
!/data/standing-answers-demo/src/
!/data/standing-answers-demo/src/**
!/data/standing-answers-demo/scripts/
!/data/standing-answers-demo/scripts/**
!/data/standing-answers-demo/DEMO.md
!/data/standing-answers-demo/shots/
!/data/standing-answers-demo/shots/**
!/data/firmos-demo/
!/data/firmos-demo/package.json
!/data/firmos-demo/tsconfig.json
!/data/firmos-demo/eslint.config.mjs
!/data/firmos-demo/README.md
!/data/firmos-demo/src/
!/data/firmos-demo/src/**
!/data/firmos-demo/scripts/
!/data/firmos-demo/scripts/**
!/data/outset-acceptance-demo/
!/data/outset-acceptance-demo/package.json
!/data/outset-acceptance-demo/tsconfig.json
!/data/outset-acceptance-demo/eslint.config.mjs
!/data/outset-acceptance-demo/README.md
!/data/outset-acceptance-demo/src/
!/data/outset-acceptance-demo/src/**
!/data/outset-acceptance-demo/scripts/
!/data/outset-acceptance-demo/scripts/**
!/data/shared-method-demo/
!/data/shared-method-demo/package.json
!/data/shared-method-demo/tsconfig.json
!/data/shared-method-demo/eslint.config.mjs
!/data/shared-method-demo/.prettierignore
!/data/shared-method-demo/README.md
!/data/shared-method-demo/FINDINGS.json
!/data/shared-method-demo/src/
!/data/shared-method-demo/src/**
!/data/shared-method-demo/scripts/
!/data/shared-method-demo/scripts/**
!/data/observed-output-demo/
!/data/observed-output-demo/package.json
!/data/observed-output-demo/tsconfig.json
!/data/observed-output-demo/eslint.config.mjs
!/data/observed-output-demo/.prettierignore
!/data/observed-output-demo/README.md
!/data/observed-output-demo/FINDINGS.json
!/data/observed-output-demo/src/
!/data/observed-output-demo/src/**
!/data/observed-output-demo/scripts/
!/data/observed-output-demo/scripts/**
!/data/company-os-acceptance-demo/
!/data/company-os-acceptance-demo/package.json
!/data/company-os-acceptance-demo/tsconfig.json
!/data/company-os-acceptance-demo/eslint.config.mjs
!/data/company-os-acceptance-demo/.prettierignore
!/data/company-os-acceptance-demo/README.md
!/data/company-os-acceptance-demo/FINDINGS.json
!/data/company-os-acceptance-demo/src/
!/data/company-os-acceptance-demo/src/**
!/data/company-os-acceptance-demo/src-with-client/
!/data/company-os-acceptance-demo/src-with-client/**
!/data/company-os-acceptance-demo/scripts/
!/data/company-os-acceptance-demo/scripts/**
!/data/answer-changed-demo/
!/data/answer-changed-demo/package.json
!/data/answer-changed-demo/tsconfig.json
!/data/answer-changed-demo/eslint.config.mjs
!/data/answer-changed-demo/.prettierignore
!/data/answer-changed-demo/README.md
!/data/answer-changed-demo/FINDINGS.json
!/data/answer-changed-demo/src/
!/data/answer-changed-demo/src/**
!/data/answer-changed-demo/scripts/
!/data/answer-changed-demo/scripts/**
# The Halden fleet demo's content is AUTHORED, not scraped — it is the demo,
# and the seed imports it as markdown over the same path a real user's vault
# takes. It belongs in git.
!/data/halden-fleet-demo/
!/data/halden-fleet-demo/package.json
!/data/halden-fleet-demo/tsconfig.json
!/data/halden-fleet-demo/eslint.config.mjs
!/data/halden-fleet-demo/.prettierignore
!/data/halden-fleet-demo/README.md
!/data/halden-fleet-demo/src/
!/data/halden-fleet-demo/src/**
!/data/halden-fleet-demo/content/
!/data/halden-fleet-demo/content/**
!/data/halden-fleet-demo/scripts/
!/data/halden-fleet-demo/scripts/**
*.db
*.db-wal
*.db-shm
.env
.envrc
.env.local
.dev.vars
.DS_Store
*.log
.turbo/
**/.turbo/
**/.astro/
/apps/marketing/public/docs/openapi.json
.wrangler/
apps/frontend/.tanstack/
dist/deploy/
.output/
.pnpm-store/
.gstack/*
!.gstack/ship-policy.json
.impeccable/
.local/

# Operator-supplied local gstack checkout for the live smoke
# (NICIA_REAL_GSTACK_CHECKOUT). Never part of this repo.
/gstack/

# Generated by `pnpm --filter @nicia/api config:phase1` / `config:no-containers`
# immediately before the deploy that uses them: wrangler.runtime.jsonc with named
# sections deleted. Derived, never authored — see
# docs/worker-split-cutover-runbook.md.
apps/api/wrangler.runtime.phase1.json
apps/api/wrangler.runtime.no-containers.json

# Generated by `pnpm --filter @nicia/api profile:coldstart` for the duration of
# the run only (trap-cleaned on exit): wrangler.jsonc with `main` swapped to
# the profiling entry. See src/scripts/profile-coldstart.sh.
apps/api/.profile-coldstart-tmp.wrangler.jsonc
