Install
openclaw skills install consensus-guard-coreOpen-source Consensus.Tools skill for governed AI decisions with board-native artifacts, strict JSON contracts, and deterministic policy behavior.
openclaw skills install consensus-guard-coreconsensus-guard-core is the common policy engine behind the Consensus guard ecosystem.
aggregateVotes() policy functionWithout a shared core, every guard drifts into incompatible policy logic. This package keeps behavior consistent, replayable, and comparable across domains.
consensus-guard-core is consumed by publish/support/merge/action guards and should be treated as policy infrastructure, not an end-user workflow skill.
node, tsxCONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOT (for board/state path resolution)writeArtifact)consensus-guard-core is a first-party consensus packagepackage.json for reproducible installsnpm i consensus-guard-core
npm test
Use the package root import (stable public API):
import { aggregateVotes, writeArtifact, resolveStatePath } from 'consensus-guard-core';
Do not import internal paths like consensus-guard-core/src/index.mjs in dependent skills.
This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):
This keeps board orchestration standardized across skills.
This skill exposes a canonical entrypoint:
invoke(input, opts?) -> Promise<OutputJson | ErrorJson>invoke() is primitives-only and delegates to a caller-provided handler. It does not perform persona generation or model/provider calls.
See also: SECURITY-ASSURANCE.md for threat model, runtime boundaries, and hardening guidance.