Install
openclaw skills install consensus-code-merge-guardPersona-weighted merge governance for AI-assisted engineering. Evaluates PR risk (tests, security markers, reliability signals), returns MERGE/BLOCK/REVISE decisions, and records board-native audit artifacts.
openclaw skills install consensus-code-merge-guardconsensus-code-merge-guard turns code merge approval into a governed, auditable decision.
MERGE | BLOCK | REVISECI passing does not guarantee risk-aware merge quality. Consensus review reduces silent failure propagation into production.
Uses the same consensus substrate as other guards, enabling cross-domain governance with comparable metrics.
node, tsxconsensus-guard-core is the first-party consensus package used in guard executionpackage.json for reproducible installsnpm i consensus-code-merge-guard
node --import tsx run.js --input ./examples/input.json
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() starts the guard flow and executes deterministic policy evaluation with board operations via shared guard-core wrappers.
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.