← 返回
未分类 中文

DAF Intent Guard — 意图漂移检测

Tracks intent drift across multi-turn tasks. Before executing any multi-step task, call this to detect if the user's new instruction is a small patch, requir...
在多步骤任务执行前,追踪意图漂移,检测用户新指令是否仅为小范围修改。
deepseek609609-collab deepseek609609-collab 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 427
下载
💾 0
安装
1
版本
#latest

概述

DAF Intent Guard

Use this skill when:

  • A user modifies an in-progress task
  • A user gives a new instruction that might conflict with what is already done
  • You need to decide whether to continue, roll back, or restart

How to use

Call the guard before executing any new instruction on an ongoing task:

python3 {baseDir}/daf_guard.py \
  --current-anchor <index> \
  --old-constraints '<json>' \
  --new-constraints '<json>' \
  --new-action '<action>' \
  --requires '<json_array>' \
  --anchors '<json>'

Decision meanings

  • patch: Small change. Update parameters and continue from current anchor.
  • replan: Significant change. Roll back to anchor first_affected_anchor and re-execute from there.
  • abort: Task cancelled or too much has changed. Stop and confirm with user before restarting.

Example

User was booking a flight (seat locked at anchor 1), now says "change destination to New York":

  • old-constraints: {"destination":"KL","date":"today","cabin":"economy"}
  • new-constraints: {"destination":"New York","date":"today","cabin":"economy"}
  • Expected: replan (destination change affects anchor 0)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 04:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,243 📥 271,418
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 844 📥 325,448
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,412 📥 325,282