consensus-deployment-guard
by @kaicianflone
Pre-deployment governance for release and infrastructure rollout requests. Use when an agent or workflow proposes shipping code/config/infrastructure changes...
clawhub install consensus-deployment-guardπ About This Skill
name: consensus-deployment-guard description: 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. version: 0.1.9 homepage: https://github.com/kaicianflone/consensus-deployment-guard source: https://github.com/kaicianflone/consensus-deployment-guard upstream: consensus-guard-core: https://github.com/kaicianflone/consensus-guard-core
requires: bins: - node - tsx env: - CONSENSUS_STATE_FILE - CONSENSUS_STATE_ROOT metadata: openclaw: requires: bins: - node - tsx env: - CONSENSUS_STATE_FILE - CONSENSUS_STATE_ROOT install: - kind: node package: consensus-deployment-guard bins: - node - tsx
consensus-deployment-guard
consensus-deployment-guard is the final safety gate before deployment execution.
What this skill does
ALLOW | BLOCK | REQUIRE_REWRITEDecision policy shape
Hard-block examples:
Rewrite examples:
Runtime and safety model
node, tsxCONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOTInvoke contract
invoke(input, opts?) -> PromiseModes:
mode="persona" (default): use local deterministic persona defaults for internal votingmode="external_agent": consume external_votes[], aggregate deterministically, and enforce policyInstall
npm i consensus-deployment-guard
Quick start
node --import tsx run.js --input ./examples/input.json
Tests
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.
π‘ Examples
node --import tsx run.js --input ./examples/input.json