From 354468584ba7b6bf41f1fad36fcbd96a7da80e31 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 24 Jul 2026 17:00:10 +0000 Subject: [PATCH 1/2] Optimize Cursor codebase indexing ignore rules. Exclude ~30MB of tracked lockfiles, snapshot JSON, PDFs/PNGs, and archive docs from the semantic index while keeping them @Files-reachable, and allow .env.example through .cursorignore for setup context. Co-authored-by: BigSimmo --- .cursorignore | 30 +++++++++++++++++++++++++++--- .cursorindexingignore | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 4 deletions(-) diff --git a/.cursorignore b/.cursorignore index 1e7783f74..34eaac973 100644 --- a/.cursorignore +++ b/.cursorignore @@ -1,10 +1,14 @@ -# Cursor semantic index exclusions — keep search focused on source, not artifacts. -# Mirrors .gitignore noise; Cursor still indexes tracked source under src/, worker/, scripts/, supabase/. +# Cursor exclusions — hides from semantic index AND AI features (@Files, Chat, Agent). +# Prefer .cursorindexingignore for large tracked blobs that should stay @Files-reachable. +# Cursor also auto-excludes .gitignore entries; this file covers defense-in-depth + tracked noise. +# Build / deps / test artifacts node_modules/ .next/ +.next-playwright/ out/ build/ +dist/ coverage/ output/ test-results/ @@ -12,12 +16,23 @@ playwright-report/ playwright-cli/ .playwright-cli/ playwright/.auth/ +vendor/ +venv/ +.venv/ -# Local env and secrets +# Local env and secrets (keep .env.example readable for setup) .env* +!.env.example +*.pem +**/secrets/ +**/credentials/ # Generated / machine-local *.tsbuildinfo +*.min.js +*.min.css +*.bundle.js +*.map sample-documents/ tmp/ .tmp-visual/ @@ -27,6 +42,15 @@ scratch/ .qa-smoke/ .impeccable/ supabase/.temp/ +.ds-sync/ +ds-bundle/ +.design-sync/.cache/ +.design-sync/learnings/ +.design-sync/node_modules/ +.worktrees/ +worktrees/ +.local/ +.vercel/ # Logs and PIDs *.log diff --git a/.cursorindexingignore b/.cursorindexingignore index 38d3dd0da..aa8ab12ab 100644 --- a/.cursorindexingignore +++ b/.cursorindexingignore @@ -1,9 +1,41 @@ # Exclude from Cursor semantic index only — still reachable via @Files when needed. +# Use this for large tracked blobs that pollute @Codebase without helping discovery. + +# Lockfiles (version pins; not useful as semantic chunks) +package-lock.json +deno.lock +*.lock # Golden eval fixtures (large JSON, low day-to-day search value) scripts/fixtures/ -# Playwright auth state and reports (already in .cursorignore via .gitignore patterns) +# Generated / snapshot clinical data dumps (~7MB JSON) +data/ + +# In-app clinical content JSON (large; reference via @Files when editing those surfaces) +src/data/*.json + +# Static binaries and mockup assets (PDFs/PNGs — no useful code embeddings) +public/forms-pdf/ +public/mockups/ +public/demo-documents/ +public/therapy-compass-data/ +*.pdf +*.png +*.jpg +*.jpeg +*.gif +*.webp +*.ico + +# Append-only review ledger and archived evidence dumps +docs/branch-review-ledger.md +docs/archive/ + +# Generated schema-drift inventory (large JSON) +supabase/drift-manifest.json + +# Playwright auth state and reports playwright/.auth/ playwright-report/ From 25b59efbd01cbc5f5608fadfebf1523ee0568779 Mon Sep 17 00:00:00 2001 From: BigSimmo <87357024+BigSimmo@users.noreply.github.com> Date: Sat, 25 Jul 2026 12:03:50 +0800 Subject: [PATCH 2/2] docs(review): retrigger CI for PR #1171 Co-authored-by: Cursor --- docs/branch-review-ledger.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/branch-review-ledger.md b/docs/branch-review-ledger.md index f0fda628c..b516ef453 100644 --- a/docs/branch-review-ledger.md +++ b/docs/branch-review-ledger.md @@ -797,3 +797,4 @@ This file is append-only. Never rewrite or delete an existing review record; app | 2026-07-24 | fix-physics-animation-audit (PR #1142) | 11776696ddaa4e3d41f395ea35c22075e3144e7e | Run PR re-sync sweep | Before: CONFLICTING. After: merged origin/main clean. | merge origin/main and/or conflict re-check only; no provider-backed checks run | | 2026-07-25 | fix-physics-animation-audit (PR #1142) | bdfe81e15c57d376ff74ddb611a8959b0ae94cc9 | Open-PR maintenance: review fix + drift | Before: 24 commits behind and 1 unresolved P2 thread; CSS changed phone reserve timing without pinning the timing in static/phone-scroll coverage. After: current main is merged; static coverage pins 200/240ms transitions and the motion-enabled phone-scroll sweep asserts the active 200ms reserve transition before geometry checks. | Prettier check pass; `git diff --check` pass; focused Vitest/Playwright not run because repository heavyweight lock is owned by worktree 6314; hosted CI will exercise the updated tests; no provider-backed checks run. | | 2026-07-25 | fix-physics-animation-audit (PR #1142) | c88c4516476cae3246e1975ce648dff0f3ecb3f7 | Ledger append-only placement fix | CORRECTION: relocated the five PR #1142-unique ledger rows that had been inserted below the table header / among older entries so they append after the final existing record, without rewriting any other rows' content. Restores the append-only contract called out in the Codex P1. | `npm run check:branch-review-ledger`; no provider-backed checks run | +| 2026-07-25 | cursor/codebase-indexing-optimize-7a2b (PR #1171) | 37a534fb4b89ba504bec00f4c91932a251f0739a | PR babysit: retrigger required CI | Empty sync after main advanced; no product change. | No provider-backed checks. |