Install
openclaw skills install consensus-deployment-guardPre-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.
openclaw skills install consensus-deployment-guardconsensus-deployment-guard is the final safety gate before deployment execution.
ALLOW | BLOCK | REQUIRE_REWRITEHard-block examples:
Rewrite examples:
node, tsxCONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOTinvoke(input, opts?) -> Promise<OutputJson | ErrorJson>Modes:
mode="persona" (default): use local deterministic persona defaults for internal votingmode="external_agent": consume external_votes[], aggregate deterministically, and enforce policynpm i consensus-deployment-guard
node --import tsx run.js --input ./examples/input.json
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.