Files
karuo-ai/.cursor/rules/anti-interrupt-search.mdc
2026-07-19 00:21:46 +08:00

18 lines
679 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: 防 SEARCHED FILES 掐断 — 搜文件与 MCP 分轮
globs: "**/*"
alwaysApply: true
---
# 防「SEARCHED FILES」掐断强制
Cursor 单轮 ~3045s全盘 Grep/Glob 与 MCP/Shell 同批并行 → interrupted非用户点停
| # | 必须 |
|:--|:---|
| 1 | 搜文件与 MCP **分轮**;本轮 Search 后禁止同轮 wait 前再堆 Shell |
| 2 | Grep/Glob 必须 path 限定目录,禁止无 path 全仓库 |
| 3 | head_limit ≤ 25先 Glob 文件名再 Read |
| 4 | 禁止 find /Users/karuo、mdfind 全盘 |
| 5 | 单轮工具 ≤ 6 次;搜完短复盘 → wait → 下轮续搜 |
| 6 | interrupted → 当轮续跑,不当结束 |