AGENT SKILL

consensus-validation

This skill should be used when the user asks to "check consensus", "validate agreement", "evaluate review threshold", "check autonomy mode", "verify consensus gate", or mentions consensus validation, agreement threshold, 75% gate, autonomy modes, or ConsensusGate evaluation.

License 许可
MIT
最近更新
2026-08-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
consensus-validation
description
This skill should be used when the user asks to "check consensus", "validate agreement", "evaluate review threshold", "check autonomy mode", "verify consensus gate", or mentions consensus validation, agreement threshold, 75% gate, autonomy modes, or ConsensusGate evaluation.

03 SKILL.md 正文

Consensus Validation

ConsensusGate (from src/mde/consensus.py)

The consensus gate evaluates agreement across multi-model review results.

Threshold

  • 75% agreement required for consensus to pass
  • Ported from claude-octopus v9.13.0 quality.sh evaluate_quality_branch()

Autonomy Modes

Mode Behavior
FULL Auto-commit if consensus passes and quality gate passes
SUPERVISED Auto-commit with notification to human
GATED Require human approval before commit
MANUAL Human must review and commit manually

Consensus Decision Flow

  1. Collect structured review results from all models
  2. Count agreements on each finding (severity + category match)
  3. Calculate agreement percentage per finding
  4. Apply 75% threshold to determine consensus
  5. Map consensus result to autonomy mode action

Using the Python Module

from mde.consensus import ConsensusGate, ConsensusDecision, AutonomyMode

gate = ConsensusGate(threshold=0.75)
decision = gate.evaluate(review_results)

if decision.passed:
    # Consensus reached — apply autonomy mode
    ...
else:
    # Escalate to human review
    ...

Debate Integrity Integration

Before evaluating consensus, debate integrity rules must pass:

  • DebateIntegrityRule checks from src/mde/consensus.py
  • Circular reasoning detection
  • Severity inflation detection
  • Rubber-stamp detection

Rules

  • 75% threshold is mandatory — never lower it
  • Debate integrity must pass before consensus evaluation
  • Failed consensus always escalates to human review
  • Log consensus decisions with full rationale for audit trail
  • Never auto-commit in GATED or MANUAL autonomy modes

04 同仓库更多 Skills

ray-manaloto
ray-manaloto/macos-development-environment

next-workflow-step

Use this skill when the user wants to transition to the next workflow step, wrap up a session cleanly, prepare a handoff, or says things like "next step", "continue the workflow", "wrap up", "hand off", "move to the next phase", "what's next in embrace", or "prepare for /clear". Also triggers when the current octo:embrace phase appears complete and no explicit next action is set.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

source-discovery

This skill should be used when the user asks to "find sources", "discover URLs", "catalog a source", "classify a URL", "search for libraries", "check what exists", or mentions source discovery, URL cataloging, source classification, or research source management.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

review-synthesis

This skill should be used when the user asks to "summarize review findings", "prioritize fixes", "rank review issues", "combine reviewer feedback", "create action items from review", or mentions review synthesis, finding prioritization, severity ranking, or review result summarization.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

research-scoring

This skill should be used when the user asks to "score research", "check research quality", "evaluate coverage", "measure improvement", "assess research completeness", or mentions research scoring, quality metrics, coverage gaps, improvement baseline, or research pipeline status.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

notebooklm-integration

This skill should be used when the user asks to "ingest into NotebookLM", "query NotebookLM", "add sources to notebook", "cross-source synthesis", "check stale sources", or mentions NotebookLM, notebook integration, source ingestion, or knowledge consolidation.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

evidence-synthesis

This skill should be used when the user asks to "synthesize findings", "combine research", "cross-reference sources", "summarize evidence", "write a deep review", or mentions evidence synthesis, finding consolidation, cross-source analysis, or research summarization.

★ 1