返回顶部
c

consensus-deployment-guard

Pre-deployment governance for release and infrastructure rollout requests. Use when an agent or workflow proposes shipping code/config/infrastructure changes to staging or production and you need deterministic ALLOW/BLOCK/REQUIRE_REWRITE decisions with strict schema validation, idempotency, and board-native audit artifacts.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.10
安全检测
已通过
420
下载量
0
收藏
概述
安装方式
版本历史

consensus-deployment-guard

# consensus-deployment-guard `consensus-deployment-guard` is the final safety gate before deployment execution. ## What this skill does - validates deployment requests against a strict JSON schema (reject unknown fields) - evaluates hard-block and rewrite policy flags for release risk patterns - runs deterministic persona-weighted voting (or aggregates external votes) - returns one of: `ALLOW | BLOCK | REQUIRE_REWRITE` - writes decision artifacts for replay/audit ## Decision policy shape Hard-block examples: - required tests not passing - CI status failed - rollback artifact missing when required - incompatible schema migration - error budget already breached Rewrite examples: - production rollout not using canary when policy requires it - initial rollout percentage above policy limit - production deploy missing explicit human confirmation gate - CI still pending - schema compatibility unknown ## Runtime and safety model - runtime binaries: `node`, `tsx` - network behavior: none in guard decision logic - environment config read by this package: `CONSENSUS_STATE_FILE`, `CONSENSUS_STATE_ROOT` - filesystem writes: consensus board/state artifacts under configured state path ## Invoke contract - `invoke(input, opts?) -> Promise<OutputJson | ErrorJson>` Modes: - `mode="persona"` (default): use local deterministic persona defaults for internal voting - `mode="external_agent"`: consume `external_votes[]`, aggregate deterministically, and enforce policy ## Install ```bash npm i consensus-deployment-guard ``` ## Quick start ```bash node --import tsx run.js --input ./examples/input.json ``` ## Tests ```bash npm test ``` Coverage includes schema rejection, hard-block paths, rewrite paths, allow paths, idempotent retries, and external-agent aggregation behavior. See also: `SECURITY-ASSURANCE.md` for threat model, runtime boundaries, and deployment hardening guidance.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 consensus-deployment-guard-1776288437 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 consensus-deployment-guard-1776288437 技能

通过命令行安装

skillhub install consensus-deployment-guard-1776288437

下载 Zip 包

⬇ 下载 consensus-deployment-guard v0.1.10

文件大小: 21.59 KB | 发布时间: 2026-4-16 18:31

v0.1.10 最新 2026-4-16 18:31
Bumped consensus-guard-core dependency to ^1.1.15 and rolled forward release.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部