Source Document
consensus-code-merge-guard SKILL.md
--- name: consensus-code-merge-guard description: Persona-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. homepage: https://github.com/kaicianflone/consensus-code-merge-guard source: https://github.com/kaicianflone/consensus-code-merge-guard --- # consensus-code-merge-guard `consensus-code-merge-guard` turns code merge approval into a governed, auditable decision. ## What this skill does - consumes PR/change summary input - runs persona-weighted vote arbitration - enforces hard constraints (e.g., tests/security flags) - maps to engineering decision states: `MERGE | BLOCK | REVISE` - writes decision and updated persona artifacts to board state ## Why this matters CI passing does not guarantee risk-aware merge quality. Consensus review reduces silent failure propagation into production. ## Ecosystem role Uses the same consensus substrate as other guards, enabling cross-domain governance with comparable metrics. ## Useful for - autonomous or semi-autonomous merge pipelines - high-risk repos needing policy checks - repeatable release governance with artifact history ## Quick start ```bash node --import tsx run.js --input ./examples/input.json ```