| name | contradiction-resolution |
| description | Resolve conflicting claims, evidence, tests, or failures without forcing false consensus. Use when sources or observed behavior disagree and the coding agent must preserve uncertainty and decision boundaries. |
Lifecycle: draft
Contradiction Resolution and Failure Learning
Purpose and scope
Use this skill when sources, skills, tests, reviewers, or real-world failures disagree. It produces an auditable decision or preserves an unresolved contradiction with explicit boundaries. It does not force consensus, average incompatible evidence, or declare an authority correct without tracing the claim.
Triggers and prerequisites
Trigger when two claims conflict, a validation result contradicts a trusted skill, a production failure recurs, or reviewers disagree on a material decision. Prerequisites: claims, provenance, contexts, affected artifacts, and the observed failure or counterexample.
Decision criteria
Prefer the claim supported by more direct, independent, current, and scope-matched evidence. If evidence is incomparable or insufficient, preserve the contradiction and narrow the decision rather than forcing a winner.
Procedure
- State each competing claim separately, including scope, assumptions, knowledge label, confidence, and intended decision.
- Trace each claim to primary evidence and identify circular, dependent, stale, or non-independent sources.
- Normalize the comparison: same inputs, versions, definitions, populations, risk tolerance, and success criteria. Do not compare context-free slogans.
- Seek disconfirming evidence for each claim and design the smallest discriminating experiment, test, or source lookup.
- Classify the relationship: one claim is refuted, claims apply in different contexts, evidence is insufficient, or the contradiction remains unresolved.
- Record decision boundaries, affected skills, rejected hypotheses, and required follow-up. Preserve the losing claim and rationale rather than deleting it.
- For failures, record symptom, impact, root cause, contributing conditions, detection gap, corrective action, and regression guard. Avoid substituting blame for mechanism.
- Update dependent artifacts only after the decision is evidenced; mark confidence and freshness changes explicitly.
Acceptance checklist
Examples and counterexamples
Good: Two sources disagree because one describes a newer version; compare versions and scope, preserve the older boundary, and record which claim applies when.
Bad: Choose the source with the larger audience or average incompatible claims without checking provenance.
Failure modes and recovery
If evidence is incomparable, split the claims by context instead of choosing a winner. If evidence is insufficient, keep the contradiction open and lower confidence. If a failure has no reproducible mechanism, record the uncertainty and prioritize instrumentation or reproduction before changing foundational guidance.
Validation evidence and provenance
Separate observations from hypotheses and recommendations; record confidence and freshness for each material conclusion. Check whether apparently independent sources share an origin.
- Governing research report: contradiction hunting, adversarial review, preserved rejected hypotheses, failure recovery, and provenance notes improve agent reliability.
- NIST AI RMF GenAI Profile: monitoring, incident/error tracking, after-action assessment, and continual improvement guidance.
- Label observed conflicts separately from explanatory hypotheses and recommended resolutions; preserve uncertainty when the evidence does not decide between them.
Confidence: medium. Freshness review: after material failures, contradictory evidence, or methodology changes.
For material conclusions, seek disconfirming evidence, distinguish observations from hypotheses and recommendations, record tradeoffs and uncertainty, and note confidence, freshness, and source independence.
Related skills and conflicts
Related: differential-patch-review, knowledge-maintenance, repository-change-verification, and epistemic-coding. This skill does not authorize silently weakening governing principles to resolve local disagreement.