Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Merge branch 'main' into fix/discover-external-fast-mode

Martin Vogelac09fe7eae7b
diff --cc src/discover/discover.c
index e42efa117,4595a8b9e..907a960e8
--- a/src/discover/discover.c
+++ b/src/discover/discover.c
@@@ -51,24 -53,25 +53,35 @@@ static const char *ALWAYS_SKIP_DIRS[]
/* Misc */
".codebase-memory", ".qdrant_code_embeddings", ".tmp", "vendor", "vendored", NULL};
+ /* Always-skip directories matched by relative-PATH suffix, not by basename:
+ * generated build output whose last path component alone ("views") is far too
+ * common to skip everywhere. A rule matches the whole relative path or a
+ * '/'-aligned tail of it, so "storage/framework/views" and
+ * "backend/storage/framework/views" match while "app/views",
+ * "mystorage/framework/views" and "storage/framework/views_old" do not. */
+ static const char *ALWAYS_SKIP_DIR_SUFFIXES[] = {
+ /* Laravel's compiled Blade view cache (#1735): generated PHP with no source
+ * value, skipped even when Laravel's stock .gitignore there is missing. */
+ "storage/framework/views", NULL};
+
static const char *FAST_SKIP_DIRS[] = {
- "generated", "gen", "auto-generated", "fixtures", "testdata", "test_data",
- "__tests__", "__mocks__", "__snapshots__", "__fixtures__", "__test__", "docs",
- "doc", "documentation", "examples", "example", "samples", "sample",
- "assets", "static", "public", "media", "third_party", "thirdparty",
- "3rdparty", "external", "migrations", "seeds", "e2e", "integration",
- "locale", "locales", "i18n", "l10n", "scripts", "tools",
- "hack", "bin", "build", "out", NULL};
+ /* Generated */
+ "generated", "gen", "auto-generated",
+ /* Tests */
+ "fixtures", "testdata", "test_data", "__tests__", "__mocks__", "__snapshots__", "__fixtures__",
+ "__test__",
+ /* Docs and samples */
+ "docs", "doc", "documentation", "examples", "example", "samples", "sample",
+ /* Assets */
+ "assets", "static", "public", "media",
+ /* Third-party */
+ "third_party", "thirdparty", "3rdparty",
+ /* Data and integration tests */
+ "migrations", "seeds", "e2e", "integration",
+ /* Localization */
+ "locale", "locales", "i18n", "l10n",
+ /* Tooling and build output */
+ "scripts", "tools", "hack", "bin", "build", "out", NULL};
/* ── Ignored suffixes ───────────────────────────────── */