Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
473 commits
Select commit Hold shift + click to select a range
7d87326
Merge pull request #328 from BigSimmo/claude/repository-review-e09e6o
BigSimmo Jul 6, 2026
acd72d5
Merge branch 'main' into claude/privacy-tenancy-review
BigSimmo Jul 6, 2026
3eab235
Merge branch 'main' into claude/production-platform
BigSimmo Jul 6, 2026
d29bcaf
Merge branch 'main' into claude/safety-analysis
BigSimmo Jul 6, 2026
28143d9
Merge pull request #332 from BigSimmo/claude/production-platform
BigSimmo Jul 6, 2026
3f9299a
Merge pull request #330 from BigSimmo/claude/privacy-tenancy-review
BigSimmo Jul 6, 2026
192da44
Merge branch 'main' into claude/safety-analysis
BigSimmo Jul 6, 2026
4282725
Merge branch 'main' into dependabot/npm_and_yarn/next/env-16.2.10
BigSimmo Jul 6, 2026
7092bea
fix(ci): run Prettier on safety analysis docs
BigSimmo Jul 6, 2026
1e348d0
Merge pull request #309 from BigSimmo/dependabot/npm_and_yarn/next/en…
BigSimmo Jul 6, 2026
601063e
Merge branch 'main' into claude/safety-analysis
BigSimmo Jul 6, 2026
08dcdb6
Merge pull request #331 from BigSimmo/claude/safety-analysis
BigSimmo Jul 6, 2026
36b95f7
docs: record audit re-triage outcome and property-suite eval debt
BigSimmo Jul 6, 2026
71cad07
Merge remote-tracking branch 'origin/main' into claude/dashboard-deco…
claude Jul 6, 2026
aef8824
Land smallest fixes for the remaining search follow-ups
claude Jul 6, 2026
b2ab8a4
fix: invalidate universal search typeahead when auth changes
cursoragent Jul 6, 2026
591e33e
docs: phase-2 scale-readiness review of retrieval RPCs at 10x corpus
BigSimmo Jul 6, 2026
6c273df
fix(chunking): keep dose units wrapped onto their own line by PDF ext…
BigSimmo Jul 6, 2026
8bd3186
docs(tests): note wrapped-dose-unit exception in removePageNoise cont…
BigSimmo Jul 6, 2026
f833045
Merge remote-tracking branch 'origin/main' into claude/audit-sweep-pr…
BigSimmo Jul 6, 2026
5093c6b
Merge branch 'main' into claude/universal-search-algorithm-ryrps7
BigSimmo Jul 6, 2026
1b747b2
fix(ui): prevent services pathway pill overflow and refine section de…
BigSimmo Jul 6, 2026
77bf30d
docs: phase-1 ingestion state machine + verified concurrency violations
BigSimmo Jul 6, 2026
3a2f8f2
Merge branch 'main' into claude/ingestion-concurrency-scale
BigSimmo Jul 6, 2026
0fcb311
Search pages follow-up: registry error states, no-evidence handling, …
claude Jul 6, 2026
4dccc68
refactor(rag): extract quote-verification family to rag-quote-verific…
claude Jul 6, 2026
2f45b20
docs: prettier-format the review docs (required format:check gate)
BigSimmo Jul 6, 2026
6cf73dd
Merge origin (main sync) into local prettier-fix
BigSimmo Jul 6, 2026
ab7fbdb
refactor(rag): extract source-block family to rag-source-block.ts (mo…
claude Jul 6, 2026
85c5db8
refactor(rag): move numeric-verification application into answer-veri…
claude Jul 6, 2026
285a666
refactor(rag): extract model-context selection to rag-context-selecti…
claude Jul 6, 2026
ab645fc
docs: record rag.ts decomposition part-1 state and measured coupling …
claude Jul 6, 2026
eee3112
Add full-inventory schema drift detection, DR rehearsal, and migratio…
BigSimmo Jul 6, 2026
d927ce1
fix(retrieval): repair PR #325 golden-eval regression (31/34 -> 34/34)
BigSimmo Jul 6, 2026
8306711
feat(rag): corpus-grounded relevance for the unsupported soft tail (f…
BigSimmo Jul 6, 2026
b6b79fc
fix(rag): RC9 — fabricated similarity can no longer mint high answer …
BigSimmo Jul 6, 2026
384bd94
docs(eval): record the public-owner sentinel requirement for live evals
BigSimmo Jul 6, 2026
dd672bf
Merge remote-tracking branch 'origin/main' into claude/db-reliability
cursoragent Jul 7, 2026
930ce05
test(search): skip live owner-auth when keys or sign-in are unavailable
cursoragent Jul 7, 2026
e318cd7
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
56f2f05
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
45c0a43
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
7e57dc7
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
ffce50c
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
1a6e329
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
03df1cd
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
6af9c91
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
e3cea6f
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
1c1ed52
ci: retrigger checks after billing fix
cursoragent Jul 7, 2026
fe97f9b
style(ui): run Prettier on mode-home-template for CI format:check
cursoragent Jul 7, 2026
60ef97a
Merge pull request #342 from BigSimmo/claude/db-reliability
BigSimmo Jul 7, 2026
2d9882a
Merge pull request #335 from BigSimmo/claude/search-pages-review-f4xmhp
BigSimmo Jul 7, 2026
46217a6
Merge pull request #336 from BigSimmo/claude/dashboard-decomp-final
BigSimmo Jul 7, 2026
acec986
Merge pull request #334 from BigSimmo/claude/chunking-unit-lines
BigSimmo Jul 7, 2026
3f67a79
Merge pull request #333 from BigSimmo/claude/universal-search-algorit…
BigSimmo Jul 7, 2026
9dc337e
Merge pull request #339 from BigSimmo/claude/ingestion-concurrency-scale
BigSimmo Jul 7, 2026
3416639
Merge remote-tracking branch 'origin/main' into claude/audit-sweep-pr…
BigSimmo Jul 7, 2026
e47b70f
Merge remote-tracking branch 'origin/claude/audit-sweep-property-test…
BigSimmo Jul 7, 2026
1c7d4c0
test(ui): accept Library matches heading on differentials home
cursoragent Jul 7, 2026
ed23069
Merge pull request #338 from BigSimmo/claude/audit-sweep-property-tests
BigSimmo Jul 7, 2026
92b46aa
test(ui): match differentials pills eyebrow text instead of heading
cursoragent Jul 7, 2026
aaff02d
test(ui): target differentials pills region, not duplicate Recent wor…
cursoragent Jul 7, 2026
d11b479
Merge pull request #337 from BigSimmo/cursor/services-pathway-pills-r…
BigSimmo Jul 7, 2026
a860c22
Relocate and redesign Also in your library cross-mode links (#340)
BigSimmo Jul 7, 2026
3e6c1cd
chore: resolve merge conflict in docs/rag-hybrid-findings-and-todo.md
Copilot Jul 7, 2026
abb3bed
chore: resolve merge conflict in docs/process-hardening.md
Copilot Jul 7, 2026
17d1754
fix: resolve merge conflict and update drift-manifest schema_sha256 f…
Copilot Jul 7, 2026
7bb257c
Merge pull request #344 from BigSimmo/copilot/fix-and-merge
BigSimmo Jul 7, 2026
2c4ecd7
Merge pull request #345 from BigSimmo/copilot/fix-merge-issue
BigSimmo Jul 7, 2026
8893822
Merge pull request #341 from BigSimmo/claude/rag-decomp
BigSimmo Jul 7, 2026
8878151
Merge pull request #343 from BigSimmo/claude/retrieval-correctness
BigSimmo Jul 7, 2026
5e60952
fix(ingestion): clear cleanup-ledger storage paths on DELETE abort (R11)
BigSimmo Jul 7, 2026
95b1aac
fix(ingestion): stop retry route destroying a live indexed document's…
BigSimmo Jul 7, 2026
3ca2870
fix(ingestion): don't let queue recovery cancel a pending reindex of …
BigSimmo Jul 7, 2026
c0808b9
fix(ingestion): gate route enrichment on a live agent pass (R24d)
BigSimmo Jul 7, 2026
042cec6
refactor(rag): extract extractive-answer + answer-quality family to r…
BigSimmo Jul 7, 2026
f7c15bb
docs: record rag.ts decomposition part-2 move 1 (L+M extraction)
BigSimmo Jul 7, 2026
6c00ebf
refactor(rag): extract retrieval query-variant + alias + owner-scope …
BigSimmo Jul 7, 2026
1bb9fb4
docs: record part-2 move 2 (retrieval variants) + environment-blocked…
BigSimmo Jul 7, 2026
9289d9b
Merge pull request #346 from BigSimmo/claude/ingestion-concurrency-fixes
BigSimmo Jul 7, 2026
a5a1235
refactor(rag): extract cache region + context-packing to rag-cache.ts…
BigSimmo Jul 7, 2026
edbc57c
docs: record part-2 move 3 (cache + context-packing) + eval-owner/cor…
BigSimmo Jul 7, 2026
8a8426f
Merge pull request #347 from BigSimmo/claude/rag-decomp-part2
BigSimmo Jul 7, 2026
e5c72da
fix(eval): default golden retrieval eval owner to public sentinel
claude Jul 7, 2026
9c0978a
docs: record live 36/36 golden retrieval eval pass, close #347 part-2…
claude Jul 7, 2026
c356487
Merge pull request #348 from BigSimmo/claude/fix-eval-owner-default-m…
BigSimmo Jul 7, 2026
db4b75b
Add Supabase MCP server to project config
claude Jul 7, 2026
4406c46
Format .mcp.json with Prettier
claude Jul 7, 2026
2e91245
Merge pull request #349 from BigSimmo/claude/supabase-mcp-setup-jgklu9
BigSimmo Jul 7, 2026
4482b6f
docs(audit): add UX & accessibility review
claude Jul 7, 2026
ca48bff
fix(ui): reclaim answer-mode bottom strip when follow-up dock hides o…
claude Jul 7, 2026
0e62b8f
Add verification footer to Documents home
claude Jul 7, 2026
ac0bedb
Show source table screenshot when a clinical table can't be reconstru…
claude Jul 7, 2026
471d331
fix(differentials): make diagnosis tabs work and remove mobile black gap
claude Jul 7, 2026
a7ad694
Refine Favourites library styling: more compact and sophisticated
claude Jul 7, 2026
84c6593
Apply Prettier formatting to favourites library restyle
claude Jul 7, 2026
fd458b2
perf(ux): fix image CLS, throttle popover scroll, bound answer stream
claude Jul 7, 2026
c257713
Fix dark-mode, keyboard, and trust polish from accessibility review
claude Jul 7, 2026
14e6739
Improve interaction feedback: auth notices, cancellable search, uploa…
claude Jul 7, 2026
6d6bdf8
Apply Prettier formatting to touched components
claude Jul 7, 2026
0d0afbe
Add adaptive-feedback recovery to the answer flow
claude Jul 7, 2026
f49adaa
perf(dashboard): isolate per-keystroke re-renders, fix answer CLS, sk…
claude Jul 7, 2026
082d451
feat(dev): dev-only Core Web Vitals reporter
claude Jul 7, 2026
f11e143
fix(auth): add mobile-keyboard and autofill hints to sign-in email input
claude Jul 7, 2026
bc10dd4
Merge pull request #352 from BigSimmo/claude/home-page-footer-style-k…
BigSimmo Jul 8, 2026
e80c235
Merge pull request #354 from BigSimmo/claude/differentials-mobile-fix…
BigSimmo Jul 8, 2026
5af81f1
Merge pull request #351 from BigSimmo/claude/search-bar-scroll-black-…
BigSimmo Jul 8, 2026
84fe0c4
Merge pull request #358 from BigSimmo/claude/interaction-feedback-rev…
BigSimmo Jul 8, 2026
3e69a6e
Merge pull request #355 from BigSimmo/claude/library-content-style-dw…
BigSimmo Jul 8, 2026
3492823
Merge pull request #350 from BigSimmo/claude/ux-accessibility-review-…
BigSimmo Jul 8, 2026
2a9e03b
fix(viewer): show searchable images whose clinical_use_class drifted
claude Jul 8, 2026
fe46225
Merge remote-tracking branch 'origin/main' into claude/app-polish-acc…
claude Jul 8, 2026
b225b01
Merge branch 'main' into claude/rag-images-display-fix-8d1fg0
cursoragent Jul 8, 2026
4ad4d08
Merge branch 'main' into claude/table-formatting-issue-n62km7
cursoragent Jul 8, 2026
f6cf75a
Merge branch 'main' into claude/frontend-perf-ux-review-rtq6g8
cursoragent Jul 8, 2026
8c37e19
Merge branch 'main' into claude/adaptive-feedback-review-75smq7
cursoragent Jul 8, 2026
e61de8c
Merge branch 'main' into claude/ux-performance-screening-yrjciq
cursoragent Jul 8, 2026
afb0855
fix(dashboard): remove stale answerAbortRef after merge with stop-search
cursoragent Jul 8, 2026
ec35a5e
Merge pull request #362 from BigSimmo/claude/rag-images-display-fix-8…
BigSimmo Jul 8, 2026
82d711b
Merge pull request #357 from BigSimmo/claude/app-polish-accessibility…
BigSimmo Jul 8, 2026
7e75eb0
Merge pull request #353 from BigSimmo/claude/table-formatting-issue-n…
BigSimmo Jul 8, 2026
3af4fbf
Merge pull request #360 from BigSimmo/claude/ux-performance-screening…
BigSimmo Jul 8, 2026
3d2eea6
Merge pull request #359 from BigSimmo/claude/adaptive-feedback-review…
BigSimmo Jul 8, 2026
510087b
feat(search): smarter, more integrated universal typeahead
BigSimmo Jul 8, 2026
821051d
Remove trust/scope chip row below the search bar
BigSimmo Jul 8, 2026
f881649
Merge pull request #356 from BigSimmo/claude/frontend-perf-ux-review-…
BigSimmo Jul 8, 2026
69d2e37
Merge pull request #364 from BigSimmo/claude/eager-dhawan-d5b893
BigSimmo Jul 8, 2026
b24573f
Merge branch 'main' into claude/gracious-khorana-2d2f52
cursoragent Jul 8, 2026
d37135a
fix(csp): drop COEP require-corp that blocked all Supabase images
claude Jul 8, 2026
593064e
fix(search): remove ScopeChipRow merged from main to match chip-row r…
cursoragent Jul 8, 2026
0d622cc
Harden RAG answer prompt against source-text injection
claude Jul 8, 2026
3c05a04
Merge pull request #365 from BigSimmo/claude/images-failing-render-dj…
BigSimmo Jul 8, 2026
3860140
Merge pull request #366 from BigSimmo/claude/llm-pipeline-review-7wihci
BigSimmo Jul 8, 2026
02a03ad
test(ui-tools): extend tablet search layout test timeout for 15 route…
cursoragent Jul 8, 2026
4c5b7ec
Fix ui-smoke timeout in multi-route layout test
cursoragent Jul 8, 2026
0d58435
test(security): guard against image-breaking response headers
claude Jul 8, 2026
7b2a23b
Merge pull request #363 from BigSimmo/claude/gracious-khorana-2d2f52
BigSimmo Jul 8, 2026
94b08e5
Merge pull request #367 from BigSimmo/claude/images-failing-render-dj…
BigSimmo Jul 8, 2026
d754ef4
refactor(eval): share public-sentinel owner default across read/eval …
claude Jul 8, 2026
90a6b2d
docs: runbook — sentinel owner default now spans the whole eval suite
claude Jul 8, 2026
612f4bb
fix(storage): R11 janitor-side guard — never delete a live document's…
BigSimmo Jul 8, 2026
79501bf
fix(worker): R1 lease heartbeat — stop false-reclaiming live long jobs
BigSimmo Jul 8, 2026
7192091
docs: record shared eval-owner default + close #347 part-2 answer-pat…
claude Jul 8, 2026
63dba7f
Apply safe pending migrations to live; neutralize regressive 20260705…
BigSimmo Jul 8, 2026
71e2d4c
feat: device-optimised "+" mode-action menu (mobile action sheet, des…
BigSimmo Jul 8, 2026
3ac4062
perf(search): lexical-only typeahead + abort/cache
BigSimmo Jul 8, 2026
970c352
feat(badges): site-wide semantic colour system + medication badge fixes
BigSimmo Jul 8, 2026
710794d
fix(search): stop /api/search/universal serving demo docs to live pub…
BigSimmo Jul 8, 2026
f1e8704
Merge branch 'main' into claude/fix-eval-owner-default-m7zoww
BigSimmo Jul 8, 2026
c0eaea7
Merge pull request #369 from BigSimmo/claude/ingestion-concurrency-fi…
BigSimmo Jul 8, 2026
d730c60
Merge branch 'main' into claude/fix-eval-owner-default-m7zoww
BigSimmo Jul 8, 2026
ea6443a
Merge branch 'main' into claude/beautiful-hugle-dd3fb8
BigSimmo Jul 8, 2026
7556f5b
Merge branch 'main' into claude/laughing-sanderson-7a028f
BigSimmo Jul 8, 2026
2afaebe
Merge branch 'main' into claude/goofy-goldwasser-3d2fcb
BigSimmo Jul 8, 2026
b6249bf
Merge branch 'main' into claude/db-reliability
BigSimmo Jul 8, 2026
0163be8
Merge origin/main into claude/intelligent-ritchie-682fd9
Copilot Jul 8, 2026
c98c47d
privacy: enforce query-hash secret in prod + purge rag_query_misses (…
BigSimmo Jul 8, 2026
b3bc8bb
Merge pull request #372 from BigSimmo/claude/laughing-sanderson-7a028f
BigSimmo Jul 8, 2026
39a436d
Merge pull request #373 from BigSimmo/claude/beautiful-hugle-dd3fb8
BigSimmo Jul 8, 2026
f161ed4
Merge pull request #374 from BigSimmo/claude/goofy-goldwasser-3d2fcb
BigSimmo Jul 8, 2026
745e9c8
Merge pull request #370 from BigSimmo/claude/fix-eval-owner-default-m…
BigSimmo Jul 8, 2026
cb6a3c3
Merge branch 'main' into claude/db-reliability
BigSimmo Jul 8, 2026
09ca556
Merge branch 'main' into claude/intelligent-ritchie-682fd9
BigSimmo Jul 8, 2026
6d47ab1
docs(ingestion): sequenced work-order for remaining phase-3 concurren…
BigSimmo Jul 8, 2026
bbd0ce8
refactor: honest deriveConfidence naming + drop dead UniversalSearchR…
BigSimmo Jul 8, 2026
be337a2
chore: drop unused Activity/CalendarDays imports after conflict resol…
BigSimmo Jul 8, 2026
ae917ed
feat(tools): link the colour-coding reference from the tools launcher
BigSimmo Jul 8, 2026
01a13e9
fix(demo): fail closed when synthetic demo data would reach live prod…
BigSimmo Jul 8, 2026
8070da6
feat(chunking): measure wrapped-dose-unit prevalence in the live corpus
BigSimmo Jul 8, 2026
0dcd270
Merge pull request #379 from BigSimmo/claude/colour-ref-nav-link
BigSimmo Jul 8, 2026
a71f38a
Merge pull request #371 from BigSimmo/claude/intelligent-ritchie-682fd9
BigSimmo Jul 8, 2026
24a676c
perf(bundle): lazy-load results surfaces off the initial answer-home …
BigSimmo Jul 8, 2026
043de06
fix(measure): defer chunking import until after loadEnvConfig
BigSimmo Jul 8, 2026
d013942
fix(ingestion): R1/R2 lease fences + R7/R9/R23 RPC hardening (migrati…
BigSimmo Jul 8, 2026
4fc5419
Merge pull request #377 from BigSimmo/claude/ingestion-concurrency-fo…
BigSimmo Jul 8, 2026
31e99e7
fix(ci): eval canary must run as public-owner sentinel, not E2E user
claude Jul 8, 2026
4567003
Merge pull request #382 from BigSimmo/claude/dose-prevalence-measure
BigSimmo Jul 8, 2026
597ba0b
ci: add Semgrep SAST gate (blocking, OSS-engine, no GHAS required)
claude Jul 8, 2026
ba152a9
feat(governance): derive document_status for date-inferable unknown docs
BigSimmo Jul 8, 2026
452f1bb
refactor(governance): tidy derive-unknown-status doc + share cycle de…
BigSimmo Jul 8, 2026
51da05b
Merge branch 'main' into claude/db-reliability
BigSimmo Jul 8, 2026
65fc7a6
Merge pull request #384 from BigSimmo/claude/semgrep-sast
BigSimmo Jul 8, 2026
20a5e58
test: align preview replay guard with neutralized retrieval migration
Copilot Jul 8, 2026
d5fd4ee
test: WebKit hide-on-scroll flake fix + retrieval owner_filter callsi…
BigSimmo Jul 8, 2026
2925b5c
chore(mcp): remove committed project Supabase MCP server config (#385)
BigSimmo Jul 8, 2026
756fdbb
docs(governance): source-governance status closeout + corrected framing
BigSimmo Jul 8, 2026
282c23e
docs(governance): mark unknown-status pass applied (55 docs, verified)
BigSimmo Jul 8, 2026
08adac5
Harden page error boundaries: add global-error, fill segment gaps, de…
BigSimmo Jul 8, 2026
ff5df94
feat(governance): derive document_status for date-inferable unknown d…
BigSimmo Jul 8, 2026
6fbc9ad
feat(governance): auto-derive review-cycle status in the canonical ba…
BigSimmo Jul 8, 2026
fd03b05
Merge pull request #383 from BigSimmo/claude/fable-repo-tasks-nseked
BigSimmo Jul 8, 2026
263f494
fix(db): remove phantom ingestion_job_stages.job_id FK to match live …
BigSimmo Jul 8, 2026
3bc8a2d
docs: record composer-chrome CSS layering findings; fix stale class name
claude Jul 8, 2026
8879309
docs(scale): correct F1 — table-facts slowness is a generic plan, not…
BigSimmo Jul 8, 2026
221cde0
Merge branch 'main' into claude/ingestion-r24e-drop-stage-fk
BigSimmo Jul 8, 2026
fdae516
ci: build production app + worker Docker images from main
BigSimmo Jul 8, 2026
de119a2
feat(answer): stream answer prose as it generates, with a clinical re…
BigSimmo Jul 8, 2026
982c3ea
Merge branch 'main' into claude/db-reliability
BigSimmo Jul 8, 2026
fda54d1
ci: also validate images on container-affecting PRs
BigSimmo Jul 8, 2026
d49da7e
Merge branch 'main' into claude/goofy-goldwasser-3d2fcb
BigSimmo Jul 8, 2026
6c91c3d
fix(db): keep retrieval_owner_matches when neutralizing 20260705210000
BigSimmo Jul 8, 2026
e678028
Merge pull request #392 from BigSimmo/claude/docker-image-ci
BigSimmo Jul 8, 2026
38ba6f4
Merge branch 'main' into claude/composer-chrome-css-findings
BigSimmo Jul 8, 2026
e6e8d40
Merge pull request #389 from BigSimmo/claude/ingestion-r24e-drop-stag…
BigSimmo Jul 8, 2026
63c3e59
Merge origin/main and resolve conflicts
Copilot Jul 8, 2026
7307edb
Merge branch 'main' into claude/db-reliability
BigSimmo Jul 8, 2026
0afa739
Merge branch 'main' into claude/scale-f1-plan-cache
BigSimmo Jul 8, 2026
72f8310
Merge branch 'main' into claude/derive-unknown-status
BigSimmo Jul 8, 2026
3efac07
Merge pull request #393 from BigSimmo/claude/goofy-goldwasser-3d2fcb
BigSimmo Jul 8, 2026
591e4f2
fix: add select 1 where false sentinel to neutralized retrieval owner…
Copilot Jul 8, 2026
0d9923b
Merge pull request #390 from BigSimmo/claude/composer-chrome-css-find…
BigSimmo Jul 8, 2026
1fd2d9a
Merge pull request #394 from BigSimmo/claude/derive-unknown-status
BigSimmo Jul 8, 2026
510fd0e
fix(db): add ensure_retrieval_owner_matches migration for preview bra…
BigSimmo Jul 8, 2026
520a333
Merge pull request #391 from BigSimmo/claude/scale-f1-plan-cache
BigSimmo Jul 8, 2026
789bddc
fix(db): ensure retrieval_owner_matches before 20260706130000 on preview
BigSimmo Jul 8, 2026
f71422e
fix(db): remove colliding 20260705220000 ensure migration
BigSimmo Jul 8, 2026
5fc0798
fix(ingestion): suppress agent stage ids from OCR retry targets
BigSimmo Jul 8, 2026
e28837a
style: format ingestion quality route for CI prettier gate
BigSimmo Jul 8, 2026
0489012
Merge pull request #375 from BigSimmo/claude/db-reliability
BigSimmo Jul 8, 2026
ef42791
Merge pull request #395 from BigSimmo/cursor/fix-agent-stage-retry-ta…
BigSimmo Jul 8, 2026
64db191
fix(search): stale search-effect closure, missing effect dep, dead co…
BigSimmo Jul 8, 2026
49b4b7d
style(composer): layer the composer pill surface via chatComposerShel…
BigSimmo Jul 8, 2026
40dc7df
Merge pull request #396 from BigSimmo/claude/stale-search-effect-fix
BigSimmo Jul 8, 2026
36302b6
Merge pull request #397 from BigSimmo/claude/composer-chrome-layering
BigSimmo Jul 8, 2026
39a341d
fix(enrichment): re-clean document-card summaries on the read path
BigSimmo Jul 8, 2026
73bd523
feat(answer-home): differentiate recent searches from quick actions
BigSimmo Jul 8, 2026
d90abb6
Merge pull request #398 from BigSimmo/claude/upbeat-ardinghelli-099abd
BigSimmo Jul 8, 2026
a848654
Merge pull request #399 from BigSimmo/claude/priceless-wu-6235c8
BigSimmo Jul 8, 2026
d0c65e9
Make Supabase identity guard staging-aware; add staging setup runbook
BigSimmo Jul 8, 2026
272f70d
security(csp): migrate script-src from 'unsafe-inline' to per-request…
BigSimmo Jul 8, 2026
5974717
test(csp): cover the production nonce path in the proxy
BigSimmo Jul 8, 2026
1148517
refactor(csp): derive runtime flags from one shared helper
BigSimmo Jul 8, 2026
c2ae52e
Merge pull request #400 from BigSimmo/claude/staging-provisioning
BigSimmo Jul 8, 2026
1bcb71c
Merge pull request #401 from BigSimmo/claude/csp-nonce-migration
BigSimmo Jul 8, 2026
1468611
docs: mark operator-decisions migrations + edge deploy as applied/dep…
claude Jul 8, 2026
224143b
fix(db): reconcile retrieval_owner_matches search_path drift (schema.…
BigSimmo Jul 8, 2026
689ca08
fix(rag): close prompt-neutralizer bypass for cross-document titles
BigSimmo Jul 8, 2026
0f9f575
Merge pull request #402 from BigSimmo/claude/operator-decisions-applied
BigSimmo Jul 8, 2026
ca919f6
Merge pull request #406 from BigSimmo/claude/g-prompt-neutralizer-cro…
BigSimmo Jul 8, 2026
b6cd419
feat(rag): land simplest deferred injection hardening and answer tele…
BigSimmo Jul 8, 2026
1abd50a
docs(rag): correct answer telemetry log_source path in comment
BigSimmo Jul 8, 2026
a4bd32e
Merge pull request #407 from BigSimmo/claude/deferred-rag-improvement…
BigSimmo Jul 8, 2026
08f1496
docs: chunking/OCR re-index lever measured negligible — do not re-ind…
BigSimmo Jul 8, 2026
b97f453
fix(db): fail closed when retrieval_owner_matches gets a NULL owner_f…
BigSimmo Jul 8, 2026
763b46f
fix(ingestion): R17 — structural unique index for one open job per do…
BigSimmo Jul 8, 2026
ceed974
chore(supabase): refresh drift manifest for R17 schema change
BigSimmo Jul 8, 2026
eaf59d6
Merge pull request #405 from BigSimmo/claude/r17-open-job-unique-index
BigSimmo Jul 8, 2026
a5d54a4
fix(ingestion): R5 — deep-merge document metadata instead of full rep…
BigSimmo Jul 8, 2026
e08c250
Fix differential badge design for mobile search results
cursoragent Jul 8, 2026
8c6af60
fix(a11y): use aria-selected only on result type tabs
cursoragent Jul 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 41 additions & 0 deletions .claude/hooks/session-start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash
# SessionStart hook for Claude Code on the web.
# The app is engine-strict on Node 24.x / npm 11.x, but web containers ship an
# older Node on PATH, so nothing installs or runs until Node 24 is present.
# Installs Node 24 into $HOME/.node24 (cached with the container), exposes it
# via $CLAUDE_ENV_FILE, and installs npm dependencies.
set -euo pipefail

if [ "${CLAUDE_CODE_REMOTE:-}" != "true" ]; then
exit 0
fi

NODE_VERSION="24.13.0"
NODE_HOME="$HOME/.node24"
NODE_BIN="$NODE_HOME/node-v${NODE_VERSION}-linux-x64/bin"

current_major="$(node -v 2>/dev/null | sed -E 's/^v([0-9]+).*/\1/' || echo 0)"
if [ "$current_major" != "24" ] && [ ! -x "$NODE_BIN/node" ]; then
echo "[session-start] Installing Node ${NODE_VERSION} (found v${current_major:-none})"
mkdir -p "$NODE_HOME"
curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" \
| tar -xJ -C "$NODE_HOME"
fi

if [ -x "$NODE_BIN/node" ]; then
export PATH="$NODE_BIN:$PATH"
echo "export PATH=\"$NODE_BIN:\$PATH\"" >> "$CLAUDE_ENV_FILE"
fi

echo "[session-start] Using node $(node -v) / npm $(npm -v)"

cd "$CLAUDE_PROJECT_DIR"
# npm ci keeps the lockfile untouched (npm install rewrites peer/optional
# metadata and dirties the worktree); skip entirely when the cached container
# already has node_modules.
if [ ! -d node_modules ]; then
npm ci --no-audit --no-fund
echo "[session-start] Dependencies installed"
else
echo "[session-start] node_modules already present, skipping install"
fi
14 changes: 14 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh"
}
]
}
]
}
}
7 changes: 7 additions & 0 deletions .cursor/mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"mcpServers": {
"supabase": {
"url": "https://mcp.supabase.com/mcp?project_ref=sjrfecxgysukkwxsowpy&read_only=true"
}
}
}
234 changes: 234 additions & 0 deletions .cursor/skills/cursor-codebase-indexing/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
---
name: cursor-codebase-indexing
description: 'Set up and optimize Cursor codebase indexing for semantic code search
and @Codebase queries.

Triggers on "cursor index", "codebase indexing", "index codebase", "cursor semantic
search",

"@codebase", "cursor embeddings".

'
allowed-tools: Read, Write, Edit, Bash(cmd:*)
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- cursor
- cursor-codebase
compatibility: Designed for Claude Code, also compatible with Codex and OpenClaw
---

# Cursor Codebase Indexing

Set up and optimize Cursor's codebase indexing system. Indexing creates embeddings of your code, enabling `@Codebase` semantic search and improving AI context awareness across Chat, Composer, and Agent mode.

## How Indexing Works

```
Your Code Files
Syntax Chunking ─── splits files into meaningful code blocks
Embedding Generation ─── converts chunks to vector representations
Vector Storage (Turbopuffer) ─── cloud-hosted nearest-neighbor search
@Codebase Query ─── your question → embedding → similarity search → relevant chunks
```

### Key Architecture Details

- **Merkle tree** for change detection: only modified files are re-indexed (every 10 minutes)
- **No plaintext storage**: code is not stored server-side; only embeddings and obfuscated metadata
- **Privacy Mode compatible**: with Privacy Mode on, embeddings are computed without retaining source code
- Indexing runs in the background; small projects complete in seconds, large projects (50K+ files) may take hours initially

## Initial Setup

1. Open your project in Cursor
2. Indexing starts automatically on first open
3. Check status: look at the bottom status bar for "Indexing..." indicator
4. View indexed files: `Cursor Settings` > `Features` > `Codebase Indexing` > `View included files`

### Verify Indexing Status

The status bar shows:

- **"Indexing..."** with progress indicator -- initial indexing in progress
- **"Indexed"** -- indexing complete, `@Codebase` queries are available
- No indicator -- indexing may be disabled or not started

## Configuration

### .cursorignore

Exclude files from indexing and AI features. Place in project root. Uses `.gitignore` syntax:

```gitignore
# .cursorignore

# Build artifacts (large, not useful for AI context)
dist/
build/
out/
.next/
target/

# Dependencies
node_modules/
vendor/
venv/
.venv/

# Generated files
*.min.js
*.min.css
*.bundle.js
*.map
*.lock

# Large data files
*.csv
*.sql
*.sqlite
*.parquet
fixtures/
seed-data/

# Secrets (defense in depth -- also use .gitignore)
.env*
**/secrets/
**/credentials/
```

### .cursorindexingignore

Exclude files from indexing only but keep them accessible to AI features when explicitly referenced:

```gitignore
# .cursorindexingignore

# Large test fixtures -- don't index, but allow @Files reference
tests/fixtures/
e2e/recordings/

# Documentation build output
docs/.vitepress/dist/
```

**Difference:** `.cursorignore` hides files from both indexing and AI features. `.cursorindexingignore` only excludes from the index; files can still be referenced via `@Files`.

### Default Exclusions

Cursor automatically excludes everything in `.gitignore`. You only need `.cursorignore` for files tracked by git that you want to exclude from AI.

## Using the Index

### @Codebase Queries

Ask semantic questions about your entire codebase:

```
@Codebase where is user authentication handled?

@Codebase show me all API endpoints that accept file uploads

@Codebase how does the payment processing flow work?

@Codebase find all places where we connect to Redis
```

`@Codebase` performs a nearest-neighbor search using your question's embedding. It returns the most semantically similar code chunks, even if they do not contain the exact keywords you used.

### @Codebase vs @Files vs Text Search

| Method | When to Use | Context Cost |
| -------------- | --------------------------------------- | ------------------- |
| `@Codebase` | Discovery -- you don't know which files | High (many chunks) |
| `@Files` | You know exactly which file | Low (one file) |
| `@Folders` | You know the directory | Medium-High |
| `Ctrl+Shift+F` | Exact text/regex match | N/A (editor search) |

Use `@Codebase` for discovery, then switch to `@Files` once you know where the code lives.

## Optimization for Large Projects

### Monorepo Strategy

For monorepos with many packages, open the specific package directory instead of the root:

```bash
# Instead of opening the entire monorepo:
cursor /path/to/monorepo # Indexes everything -- slow

# Open the specific package:
cursor /path/to/monorepo/packages/api # Indexes only this package -- fast
```

Or use `.cursorignore` at the root to exclude packages you are not actively working on:

```gitignore
# .cursorignore -- monorepo, focus on api and shared
packages/web/
packages/mobile/
packages/admin/
# packages/api/ ← not listed, so it IS indexed
# packages/shared/ ← not listed, so it IS indexed
```

### Re-Indexing

If search results are stale or indexing appears stuck:

1. `Cmd+Shift+P` > `Cursor: Resync Index`
2. Wait for status bar to show indexing progress
3. If that fails, delete the local cache:
- macOS: `~/Library/Application Support/Cursor/Cache/`
- Linux: `~/.config/Cursor/Cache/`
- Windows: `%APPDATA%\Cursor\Cache\`
4. Restart Cursor and allow full re-index

### File Watcher Limits (Linux)

On Linux, large projects may hit the file watcher limit:

```bash
# Check current limit
cat /proc/sys/fs/inotify/max_user_watches

# Increase (temporary)
sudo sysctl fs.inotify.max_user_watches=524288

# Increase (permanent)
echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
```

## Enterprise Considerations

- **Data residency**: Embeddings are stored in Turbopuffer (cloud). Obfuscated filenames and no plaintext code, but metadata exists
- **Privacy Mode**: With Privacy Mode on, embeddings are computed with zero data retention at the provider
- **Air-gapped environments**: Indexing requires network access to Cursor's embedding API. Not available offline
- **Indexing scope**: Only files in the currently open workspace are indexed. Closing a project removes its index from active queries

## Troubleshooting

| Symptom | Cause | Fix |
| ---------------------------- | ----------------------------------- | -------------------------------- |
| @Codebase returns no results | Index not built | Wait for "Indexed" in status bar |
| Search misses known files | File in .gitignore or .cursorignore | Check ignore files |
| Indexing stuck at N% | Large project or network issue | Resync index via Command Palette |
| Stale results after refactor | Index not yet updated | Wait 10 min or manual resync |
| High CPU during indexing | Initial embedding computation | Normal for first run; subsides |

## Resources

- [Codebase Indexing Docs](https://docs.cursor.com/context/codebase-indexing)
- [Ignore Files](https://docs.cursor.com/context/ignore-files)
- [Secure Codebase Indexing](https://cursor.com/blog/secure-codebase-indexing)
66 changes: 66 additions & 0 deletions .cursor/skills/supabase-postgres-best-practices/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
name: supabase-postgres-best-practices
description: Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.
license: MIT
metadata:
author: supabase
version: "1.1.1"
organization: Supabase
date: January 2026
abstract: Comprehensive Postgres performance optimization guide for developers using Supabase and Postgres. Contains performance rules across 8 categories, prioritized by impact from critical (query performance, connection management) to incremental (advanced features). Each rule includes detailed explanations, incorrect vs. correct SQL examples, query plan analysis, and specific performance metrics to guide automated optimization and code generation.
---

# Supabase Postgres Best Practices

Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.

## When to Apply

Reference these guidelines when:

- Writing SQL queries or designing schemas
- Implementing indexes or query optimization
- Reviewing database performance issues
- Configuring connection pooling or scaling
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
| -------- | ------------------------ | ----------- | ----------- |
| 1 | Query Performance | CRITICAL | `query-` |
| 2 | Connection Management | CRITICAL | `conn-` |
| 3 | Security & RLS | CRITICAL | `security-` |
| 4 | Schema Design | HIGH | `schema-` |
| 5 | Concurrency & Locking | MEDIUM-HIGH | `lock-` |
| 6 | Data Access Patterns | MEDIUM | `data-` |
| 7 | Monitoring & Diagnostics | LOW-MEDIUM | `monitor-` |
| 8 | Advanced Features | LOW | `advanced-` |

## How to Use

Read individual rule files for detailed explanations and SQL examples:

```
references/query-missing-indexes.md
references/query-partial-indexes.md
references/_sections.md
```

Each rule file contains:

- Brief explanation of why it matters
- Incorrect SQL example with explanation
- Correct SQL example with explanation
- Optional EXPLAIN output or metrics
- Additional context and references
- Supabase-specific notes (when applicable)

## References

- https://www.postgresql.org/docs/current/
- https://supabase.com/docs
- https://wiki.postgresql.org/wiki/Performance_Optimization
- https://supabase.com/docs/guides/database/overview
- https://supabase.com/docs/guides/auth/row-level-security
Loading
Loading