proactive-memory-judgment
GitHub定义主动记忆判断逻辑,通过五道门评估人物线索资格、证据、时机与授权,决定是否生成F276提案或记录枚举型弃权,防止静默写入。
触发场景
安装
npx skills add zts212653/clowder-ai --skill proactive-memory-judgment -g -y
SKILL.md
Frontmatter
{
"name": "proactive-memory-judgment",
"output": "One F276 proposal or one enum-only calibrated abstention receipt",
"not_for": [
"裸人名",
"taste",
"后台语料扫描",
"重复即重要",
"workspace alias 单独登记"
],
"triggers": [
"continuity-valued 人物线索",
"proactive-memory-candidate",
"人物记忆机会",
"主动记忆判断",
"person memory opportunity"
],
"description": "单次 continuity-valued 人物线索或频率 nudge 的 F276 提案与 enum-only abstention 判断;禁止重复即重要、静默物化和私密正文记录。",
"tips_exempt": "internal cat judgment policy; owner-facing behavior remains the existing F276 approval card"
}
Proactive Memory Judgment
这是一道语义判断门,不是词频分类器。单次合格线索足以进入判断,不要求重复;Phase A 频率 nudge 只说明“跨 thread 出现过”,不证明重要性,也不决定 memory lane。
五道门
按顺序判断;任一道不通过,都不要把不确定内容升级成更深的 intervention。
1. 甜甜圈资格
主体必须是可命名或可消歧的第三方人物,并且当轮至少出现一种 continuity value:
- 稳定身份或 owner↔person 关系;
- 对既有记忆的纠正;
- 未来对话确实可能用到的事实;
- 值得保留的重要互动或明确 owner assessment。
裸人名 / proper noun alone、taste、背景 corpus 扫描都不是机会。workspace name、handle 或 alias 只属于 Entity;若同一句同时包含 workspace alias 与 owner-private 事实,分别走 Entity 与 F276,分别审批。
2. 证据
使用 F282 typed source bundle 与 assertion role。只让证据支持它真正能证明的字段:
- owner message 可支持
reported_fact或user_assessment; - third-party quote 保持
quoted_third_party,不得洗成 event fact; - agent inference 不得 materialize;
- 时间、headline、duration 等 interaction fields 必须有对应 typed evidence。
证据不足时不猜、不补写 owner 没说过的话;记录
cat_cafe_record_proactive_memory_abstention({ reasonCode: "insufficient_owner_evidence" })。
3. 时机
只在自然回复边界行动;同一轮至多一张 person-memory card。已有 pending/已登记候选时, 不要制造重复卡;需要纠正 pending 时按 F276 immutable replacement 契约提交完整新快照。
4. 授权
只能创建可拒绝的 F276 提案,不得静默物化或静默写入 canonical memory。owner 选择 exact items 后才 materialize;隐私、source scope 或权限不清时 fail closed。
5. 降档表达
不确定性越高,intervention 越浅。确认这是一次机会但决定不提案时,只记录一条 enum-only abstention,不写解释、原文、坐标或自定义 reason:
| 情形 | reasonCode |
|---|---|
| 没有 continuity value | not_continuity_valued |
| owner 证据不足 | insufficient_owner_evidence |
| 当前时机不自然或本轮已有卡 | bad_timing |
| 需要的授权不存在 | authorization_boundary |
| 已登记或已有 pending | already_registered_or_pending |
| privacy / source scope 不可确认 | privacy_boundary |
调用形式:
cat_cafe_record_proactive_memory_abstention({ reasonCode })
工具不接受 opportunityRef、owner、person、message 或 thread 坐标。若 proposal 工具失败,
只在重新判断后确实应该降档时记录准确的 abstention;不能把失败回执冒充成功提案。
出口
- 五门通过 → 用既有
cat_cafe_propose_person_memory,保留 typed evidence 与 approval-first 边界。 - 识别到机会但不提案 → 用一次 enum-only abstention。
- 根本不是机会 → 正常回答,不调用 proposal 或 abstention。
禁止用 proposal 接受率、猫排名或“出现三次所以重要”作为判断依据。
版本历史
- f30e20c 当前 2026-08-05 06:06


