← 返回
内容创作 中文

consensus-agent-action-guard

Pre-execution governance for high-risk agent actions. Uses persona-weighted consensus to decide ALLOW/BLOCK/REQUIRE_REWRITE before external or irreversible s...
对高风险智能体操作进行预执行治理。使用角色加权共识在外部或不可逆操作前决定允许/阻止/要求重写。
kaicianflone
内容创作 clawhub v1.1.14 2 版本 100000 Key: 无需
★ 0
Stars
📥 797
下载
💾 25
安装
2
版本
#latest

概述

consensus-agent-action-guard

consensus-agent-action-guard is the final safety gate before autonomous action execution.

What this skill does

  • evaluates proposed agent actions (risk, irreversibility, side effects)
  • applies hard-block and weighted consensus logic
  • returns one of: ALLOW | BLOCK | REQUIRE_REWRITE
  • emits required follow-up actions (e.g., human confirmation)
  • writes decision and persona updates to board artifacts

Why this matters

Most catastrophic automation failures happen at execution time. This skill inserts explicit governance before side effects.

Ecosystem role

Built on the same consensus stack as communication and merge guards, giving one policy language across agent operations.

Typical usage

  • gating destructive operations
  • controlling external messaging/posting actions
  • requiring human confirmation for irreversible high-risk tasks

Runtime, credentials, and network behavior

  • runtime binaries: node, tsx
  • network calls: none in the guard decision path itself
  • filesystem writes: board/state artifacts under the configured consensus state path

Dependency trust model

  • consensus-guard-core is the first-party consensus package used in guard execution
  • versions are semver-pinned in package.json for reproducible installs
  • this skill does not request host-wide privileges and does not mutate other skills

Quick start

node --import tsx run.js --input ./examples/input.json

Tool-call integration

This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):

  • readBoardPolicy
  • getLatestPersonaSet / getPersonaSet
  • writeArtifact / writeDecision
  • idempotent decision lookup

This keeps board orchestration standardized across skills.

Invoke Contract

This skill exposes a canonical entrypoint:

  • invoke(input, opts?) -> Promise

invoke() starts the guard flow and executes deterministic policy evaluation with board operations via shared guard-core wrappers.

external_agent mode

Guards support two modes:

  • mode="external_agent": caller supplies external_votes[] from agents/humans/models for deterministic aggregation.
  • mode="persona": requires an existing persona_set_id; guard will not generate persona sets internally.

版本历史

共 2 个版本

  • v1.1.14 当前
    2026-03-29 13:38 安全 安全
  • v1.1.9
    2026-03-07 01:55

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,401
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,131
productivity

consensus-interact

kaicianflone
使用本地优先或托管看板(取决于...),端到端操作 consensus.tools(发布任务、创建提交、投票及解析结果)。
★ 1 📥 1,955