git init
This commit is contained in:
21
.cursor/rules/common/deferred-recall.mdc
Normal file
21
.cursor/rules/common/deferred-recall.mdc
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
description: 每次会话开始时扫描延期方案记录,在任务与已有 deferred item 关联时主动提醒用户
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
## 延期方案主动回忆
|
||||
|
||||
每次会话处理用户第一个任务前,执行以下检查:
|
||||
|
||||
1. 读取 `.cursor/deferred/registry.md`(不存在则跳过)
|
||||
2. 扫描所有 `status: deferred` 的条目
|
||||
3. 将每个条目的 **tags** 和 **related_files** 与当前任务的关键词/文件做匹配
|
||||
4. 如果匹配到关联条目,在回复开头简要提醒:
|
||||
> 提醒:你之前有一个延期方案 **[标题]** 与当前任务相关(tags: xxx)。要一并处理吗?
|
||||
5. 每个条目每次会话最多提醒一次,不重复打扰
|
||||
|
||||
### 注意
|
||||
|
||||
- 只匹配 `status: deferred` 的条目(`reminded` / `in_progress` 不再提醒)
|
||||
- 提醒应简洁,不超过 2 行,不打断用户主线任务
|
||||
- 具体的记录/管理操作请参考 `deferred-decisions` Skill
|
||||
Reference in New Issue
Block a user