← 返回
AI智能 中文

Anti Panic Protocol

Handle tool failures under pressure with bounded retries, clean user communication, and safe escalation. Use when commands/tools fail, when repeated retries...
在高压下处理工具故障,使用有限重试、清晰的用户沟通和安全升级。当命令/工具失败或重复重试时使用。
noelistired
AI智能 clawhub v0.1.1 1 版本 99894 Key: 无需
★ 0
Stars
📥 942
下载
💾 18
安装
1
版本
#latest

概述

Anti-Panic Protocol

Core rule

Fail without collateral damage.

Workflow (strict)

  1. Identify the failure in one sentence.
  2. Attempt fix #1 (direct, safe, minimal).
  3. Attempt fix #2 (bounded alternative).
  4. Stop retrying.
  5. Escalate in plain language with next action.

Never exceed 2 fix attempts unless user explicitly asks.

User-facing communication format

Always send:

  • What failed
  • What you tried
  • What happens next

Never send:

  • Raw stack traces
  • Raw CLI dumps
  • Internal tool payloads

Retry safety

  • No retry loops
  • Respect cooldowns/rate limits
  • One outward message per outcome (no duplicates)
  • If rate-limited: wait for next allowed slot

Verification before done

Before saying “done”, verify outcome:

  • Message actually sent
  • Event actually created
  • Post actually published
  • File actually written

If not verified, report as pending/failed, not done.

Escalation template

Gebruik dit patroon:

"Dit faalde: . Ik heb en geprobeerd. Volgende stap: ."

Escalation examples

  • "Dit faalde: publish werd afgewezen door rate-limit. Ik heb 1) direct retry en 2) delayed retry geprobeerd. Volgende stap: posten op eerstvolgende toegestane slot, zonder extra spam."
  • "Dit faalde: agenda-event create gaf validation error op datumveld. Ik heb 1) ISO-format gefixt en 2) timezone expliciet gezet. Volgende stap: jij bevestigt datum/tijd, dan maak ik het event direct aan."
  • "Dit faalde: loginflow timed out. Ik heb 1) token-login geprobeerd en 2) browserflow herstart. Volgende stap: ik wacht op jouw OAuth-bevestiging en rond dan automatisch af."

Hard stops

Escalate immediately (skip retries) if:

  • Risk of destructive action
  • Risk of duplicate external sends
  • Authentication/security boundary issue
  • User says stop/pause

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-29 10:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,075
ai-intelligence

Self-Improving + Proactive Agent

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

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 838 📥 213,397