← 返回
内容创作 中文

consensus-send-email-guard

Persona-weighted pre-send email governance for AI systems. Produces APPROVE/BLOCK/REWRITE decisions, writes decision artifacts to the board ledger, and retur...
面向AI系统的角色权重预发邮件治理。生成APPROVE/BLOCK/REWRITE决策,将决策记录写入账本并返回结果。
kaicianflone
内容创作 clawhub v1.1.15 2 版本 100000 Key: 无需
★ 0
Stars
📥 824
下载
💾 25
安装
2
版本
#latest

概述

consensus-send-email-guard

consensus-send-email-guard is a production-style outbound communication guardrail.

What this skill does

  • evaluates an email draft with a persona panel
  • aggregates votes by reputation (weighted approval policy)
  • enforces hard-block categories (sensitive data, legal/medical certainty, disallowed guarantees)
  • returns final decision: APPROVE | BLOCK | REWRITE
  • writes decision artifacts to board state

Why this matters

Email is high-impact and irreversible once sent. This skill reduces hallucinated promises and policy-violating claims before external side effects occur.

Ecosystem role

Stack position:

consensus-tools -> consensus-interact pattern -> persona_set -> send-email-guard

It converts raw generation into governed action with auditability.

Governance and learning

  • strict JSON contracts for automation pipelines
  • idempotent retries to prevent duplicate reputation mutation
  • reputation updates calibrate evaluator influence over time

Use cases

  • customer-facing outbound messaging
  • partner/legal-sensitive communications
  • automated campaign quality gates

Runtime, credentials, and network behavior

  • runtime binaries: node, tsx
  • network calls: none in guard decision logic
  • environment config read by this package: CONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOT
  • 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

Install

npm i consensus-send-email-guard

Quick start

node --import tsx run.js --input ./examples/email-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.15 当前
    2026-03-29 12:47 安全 安全
  • v1.1.8
    2026-03-07 01:55

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,438
productivity

consensus-interact

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

Baidu Wenku AIPPT

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