diff --git a/.cursor/config/bugbot.yaml b/.cursor/config/bugbot.yaml new file mode 100644 index 0000000000..0857e7bd52 --- /dev/null +++ b/.cursor/config/bugbot.yaml @@ -0,0 +1,33 @@ +version: 1 + +triggers: + drafts: false + frequency: everyPush + +review: + effort: smart + incremental: true + smartPrompt: | + Use high effort for changes to core scene and geometry logic (packages/core, + packages/nodes, packages/geometry-script), the MCP server (packages/mcp), + file import and export or parsing of user-supplied files (packages/ifc-converter, + apps/ifc-converter), CLI scripts that run commands (packages/cli, scripts), + dependency manifests (package.json, bun.lock), and CI workflows (.github/workflows). + HIGH wins for the whole PR. Also use HIGH for apps/editor/proxy.ts, + apps/editor/app/api/**, apps/editor/app/embed/**, apps/editor/lib/{self-host-auth, + scene-api-security,scene-sharing,scene-thumbnails,public-url,safe-next-path}.ts, + packages/editor/src/lib/geometry-script/**, any server code under apps/*, and any + change to auth, sessions, sharing, CSP/headers, redirects, raw HTML sinks, iframe + sandboxing or trusted postMessage handling, uploads or stored user bytes (incl. + packages/core/src/lib/asset-storage.ts), and tests protecting these. Use HIGH for + .cursor/**, .claude/**, .agents/**, the */skills symlinks, AGENTS.md/CLAUDE.md/ + GEMINI.md (any depth), .github/copilot-instructions.md, **/SKILL.md, skills/**, + mcp.json, server.json, plugin.json, gemini-extension.json, .cursor-plugin/**, + .codex-plugin/**, .claude-plugin/**, packaging/**, and any mcp.json, server.json, + plugin.json or marketplace.json at any depth, patches/**, .githooks/**, tooling/release/**, Dockerfile, docker-compose.yml, + .devcontainer/**, apps/*/next.config.*. + Use LOW only when every change is human-facing prose, translation text in + messages.po/messages.ts with unchanged code, isolated non-security tests, or literal + UI text or cosmetic CSS. Changed links, handlers, loaders, fixtures or sinks are not + LOW. Never infer LOW from a directory, filename or title; if a trimmed diff can't + rule out a HIGH cue, don't use LOW. If LOW isn't clearly established, use DEFAULT.