fix(gsd): add missing directories to codebase generator exclude list
.agents/, .bg-shell/, .idea/, venv/, target/, .cache/, and tmp/ were missing from DEFAULT_EXCLUDES. This caused /gsd-new-project to scan skill and agent definition files as project code, confusing researcher agents during project initialization. Aligns the exclude list with the gitignore patterns in gitignore.ts.
This commit is contained in:
parent
9016ac362f
commit
099a7723a3
1 changed files with 16 additions and 0 deletions
|
|
@ -71,13 +71,23 @@ interface EnumeratedFiles {
|
|||
// ─── Defaults ────────────────────────────────────────────────────────────────
|
||||
|
||||
const DEFAULT_EXCLUDES = [
|
||||
// ── AI / tooling meta ──
|
||||
".agents/",
|
||||
".gsd/",
|
||||
".planning/",
|
||||
".plans/",
|
||||
".claude/",
|
||||
".cursor/",
|
||||
".bg-shell/",
|
||||
|
||||
// ── Editor / IDE ──
|
||||
".vscode/",
|
||||
".idea/",
|
||||
|
||||
// ── VCS ──
|
||||
".git/",
|
||||
|
||||
// ── Dependencies & build artifacts ──
|
||||
"node_modules/",
|
||||
"dist/",
|
||||
"build/",
|
||||
|
|
@ -85,7 +95,13 @@ const DEFAULT_EXCLUDES = [
|
|||
"coverage/",
|
||||
"__pycache__/",
|
||||
".venv/",
|
||||
"venv/",
|
||||
"vendor/",
|
||||
"target/",
|
||||
|
||||
// ── Misc ──
|
||||
".cache/",
|
||||
"tmp/",
|
||||
];
|
||||
|
||||
const DEFAULT_MAX_FILES = 500;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue