Files
nexus/wiki/concepts/Pattern-Key.md
2026-04-27 20:02:52 +08:00

41 lines
1.3 KiB
Markdown
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.
---
title: "Pattern-Key"
type: concept
tags: []
sources: []
last_updated: 2026-04-17
---
## 定义
经验记录Learning中的分类键字段用于跨时间识别同一类问题是否重复出现。格式`领域.子领域.具体问题`(如 `cron.telegram-delivery`)。
## 使用方式
记录到 LEARNINGS.md 的 Metadata 中:
```markdown
### Metadata
- Pattern-Key: cron.telegram-delivery
```
## 核心信号
**Pattern-Key 重复本身就是一个信号——第一次记了,第二次就该解决了。**
## 实际案例
| Pattern-Key | 出现次数 | 含义 | 处理策略 |
|------------|---------|------|---------|
| `cron.daily-self-review` | 9次 | 每日复盘活跃领域 | 持续积累,每次深化 |
| `cron.telegram-delivery` | 2次 | Telegram通知配置 | 第二次解决后不再出现 |
| `cron.naming-convention` | 1次 | 任务命名规范 | 一次性错误,无需跟进 |
## 区分原则
- 同一 Pattern-Key 多次出现 → 系统性问题,需要根本性解决
- 只出现一次 → 偶发性错误,记录即可
## 相关 Concept
- [[Self-Improving-Skill]]Pattern-Key 的承载结构
- [[Recurrence-Count]]:配合 Pattern-Key 判断问题严重程度
- [[每日复盘机制]]:检查 Pattern-Key 重复的执行机制
## Aliases
- pattern key
- 模式键