Files
nexus/wiki/concepts/Pattern-Key.md
2026-04-17 23:18:07 +08:00

988 B
Raw Blame History

title, type, tags, last_updated
title type tags last_updated
Pattern-Key concept
openclaw
memory
agent
2026-04-17

Definition

Pattern-Key模式键是 Self-Improving Skill 中用于追踪同一类型问题生命周期的检索键,帮助 Agent 区分一次性错误和系统性重复。

Usage

在 LRN 记录的 Metadata 中使用:

### Metadata
- Pattern-Key: cron.telegram-delivery
- Recurrence-Count: 2
- See Also: LRN-20260325-001

Detection Logic

Recurrence-Count 含义 处理方式
1 一次性错误 记录并解决
2+ 系统性重复 需要系统性修复

Example

  • cron.daily-self-review出现9次持续优化领域
  • cron.telegram-delivery出现2次第二次解决

Core Insight

Pattern-Key 重复本身就是一个信号——第一次记了,第二次就该解决了。