convergence-debugger

Diagnose deliberation convergence failures and output actionable remediation reports.

1|1|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/blueman82/ai-counsel --skill convergence-debugger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convergence-debugger
Source: https://github.com/blueman82/ai-counsel/tree/main/.claude/skills/convergence-debugger
Command: npx skills add https://github.com/blueman82/ai-counsel --skill convergence-debugger

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sentence-transformers, scikit-learn.

What problem does it solve?

AI deliberations may not converge as expected, early stopping might fail, or semantic similarity scores could be incorrect, leading to wasted API calls and inefficient AI interactions. This skill provides a systematic guide to diagnose and fix these issues, ensuring your AI models reach consensus efficiently.

Core Features & Use Cases

  • Transcript Analysis: Quickly identify convergence status, similarity scores, and voting outcomes from deliberation transcripts.
  • Configuration Verification: Debug common misconfigurations in config.yaml related to thresholds, min rounds, and early stopping.
  • Backend Selection & Debugging: Verify which semantic similarity backend is in use (SentenceTransformer, TF-IDF, Jaccard) and debug score discrepancies.
  • Early Stopping & Impasse Debugging: Diagnose why early stopping isn't triggering or why impasse detection isn't working as expected.
  • Use Case: If your AI deliberation runs for too many rounds despite models appearing to agree, use this skill to check config.yaml for early_stopping.enabled and respect_min_rounds, and examine the transcript for continue_debate: false flags in model votes.

Quick Start

Begin by examining the latest deliberation transcript in the transcripts/ directory. Look for the "Convergence Information" and "Final Voting Results" sections to understand the deliberation's outcome and status.

Frequently Asked Questions about convergence-debugger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose why my AI deliberation isn't converging?

Convergence failures stem from misconfigured thresholds, backend mismatches, or early stopping settings. Examine your deliberation transcript for the Convergence Information section and compare convergence_threshold, divergence_threshold, and early_stopping configuration against actual semantic similarity scores and voting outcomes to identify the root cause.

What should I check in my config.yaml if models keep deliberating past consensus?

Verify early_stopping.enabled is true, respect_min_rounds is configured correctly, and convergence_threshold matches your semantic similarity backend output range. Check that min_rounds_before_check and consecutive_stable_rounds align with your expected deliberation length.

How do I verify which semantic similarity backend my deliberation system is using?

The skill validates three backends: SentenceTransformer, TF-IDF, and Jaccard. Inspect your configuration file and deliberation logs to confirm which backend is active, then cross-check semantic scores in your transcript against expected output ranges for that backend to detect score discrepancies.

Why might early stopping not trigger even when models appear to agree?

Early stopping failures occur when continue_debate flags remain true despite agreement, when consecutive_stable_rounds haven't been reached, or when min_rounds_before_check hasn't elapsed. Analyze your transcript's Final Voting Results and convergence signals to pinpoint which condition is blocking early termination.

Can I use this skill to debug semantic voting conflicts across deliberation rounds?

Yes. The skill detects conflicts between voting outcomes and semantic similarity signals across rounds by comparing scores, thresholds, and consensus flags in your transcript and logs, then outputs diagnostic steps to resolve misalignment or recalibrate thresholds.

What happens if my deliberation transcript is missing convergence sections?

The skill enforces functional validation and detects missing convergence sections, flagging them as errors in the diagnostic report with actionable remediation steps to restore logging or reconfigure your deliberation system to emit required metrics.