contradiction-sweep
Skill0 starsChanged 22 days agoMITView on GitHub
Use when: scan do vault por claims contraditórias entre sources/conceitos — reconciliar ou flagar para decisão humana. Diferente de [connection-finder](../connection-finder/SKILL.md) (que produz as conexões e já sinaliza contradições no scan dos últimos 7 dias); contradiction-sweep consome `06-GENERATED/reports/connections/` e reconcilia ou flaga o conflito para decisão humana.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarial-gateSkill
- anti-over-engineeringSkill
- article-draftSkill
- article-publishSkill
- audit-loggingSkill
- autonomous-loopSkill
- backend-implementationSkill
- brainstormSkill
- browser-automationSkill
- cite-or-flagSkill
- codebase-designSkill
- code-optimizeSkill
- code-reviewSkill
- connection-finderSkill
- content-analysisSkill
- content-creationSkill
- content-designSkill
- content-synthesisSkill
- conversor-md-htmlSkill
- councilSkill
- data-ai-implementationSkill
- decisionsSkill
- diagnoseSkill
- diagram-buildSkill
- domain-modelingSkill
- drift-reviewSkill
- editor-mdSkill
- evolveSkill
- frontend-implementationSkill
- fullstack-codeSkill
- fullstack-security-auditSkill
- grill-meSkill
- handoffSkill
- hill-climbSkill
- implementSkill
- infra-implementationSkill
- ingest-proposalSkill
- ingest-verifySkill
- marketing-content-designSkill
- office-hoursSkill
- pipeline-adsSkill
- plan-handoffSkill
- pre-ingest-dedupSkill
- pre-mortemSkill
- prompt-reviewSkill
- prototypeSkill
- reason-judgeSkill
- repo-radarSkill
- report-synthesisSkill
- research-verifySkill
- resolving-merge-conflictsSkill
- retroSkill
- router-selectSkill
- shipping-checklistSkill
- simplify-codeSkill
- skillifySkill
- spec-lifecycleSkill
- study-digestSkill
- subagent-teamSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 132
If pending_human > 0, append to 04-SYSTEM/system/state/context/hot.md:
- Distinctive: line 143
Never auto-resolve methodological contradictions
- Distinctive: line 144
Never delete source content — only add markers/notes
- Very specific: line 145
If >20 contradictions found: likely a systemic issue (e.g., outdated domain).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Contradiction Sweep
Scan vault for contradictory claims across sources and concepts. Reconcile or flag for human decision.
Quando NÃO usar
- Corpus pequeno e estável — sem fontes novas, sweep não encontra contradição nova.
- Semana sem ingest — rodar sweep sem material novo é custo sem retorno.
- Conflito de opinião entre humanos — sweep é para claims contraditórios; desacordo de preferência não é contradição.
Disambiguation: contradiction-sweep procura claims contraditórios; connection-finder procura convergências; drift-review audita docs vs código — sweep é semântico no vault.
Trigger
- Scheduled: bi-weekly Saturday 8 AM
- Manual:
@contradiction-sweepor "sweep contradictions" - Post-connection-finder: when connection report has >2 contradictions
Execution
- Coletar pares candidatos: relatórios de conexão com seção de contradição e fontes com tags sobrepostas.
- Classificar o tipo: factual, metodológica, temporal, perspectiva ou superseded.
- Auto-resolver só factual ou temporal com confiança de pelo menos 80%.
- Gerar
06-GENERATED/reports/contradiction-sweep-YYYY-MM-DD.md; metodológicas e perspectiva vão para decisão humana. - Atualizar o hot cache só se houver pendentes.
1. Collect candidate pairs
Sources of contradictions:
cd $VAULT_DIR
# Recent connection reports with contradiction sections
grep -l "## Contradi" 06-GENERATED/reports/connections/*.md | tail -5
# Sources with overlapping tags but different conclusions
# (cross-reference via frontmatter tags)Also scan:
- Concepts with >3 sources linked — higher chance of conflicting claims
- Sources from same domain published >30 days apart (knowledge evolves)
2. Detect contradiction types
| Type | Description | Resolution |
| Factual | Different numbers for same metric | Find primary source, update stale one |
| Methodological | Same goal, opposite approach recommended | Document both with context where each applies |
| Temporal | Claim was true, no longer is | Add temporal marker, update concept |
| Perspective | Valid from different viewpoints | Create synthesis noting both perspectives |
| Superseded | Newer evidence invalidates older | Mark older as superseded, link to newer |
3. Auto-resolve (high confidence only)
Automatically fix:
- Temporal: source from 2024 says X, source from 2026 says NOT X with evidence -> mark 2024 claim as
[superseded YYYY-MM-DD] - Factual with primary source: official docs > blog post > social media
Do NOT auto-resolve:
- Methodological (both can be valid)
- Perspective (requires judgment)
- Any contradiction where confidence < 80%
4. Generate report
Output: 06-GENERATED/reports/contradiction-sweep-YYYY-MM-DD.md
# Contradiction Sweep
## Auto-Resolved
### [Type] Short description
- **Source A**: path — claim
- **Source B**: path — counter-claim
- **Resolution**: what was done and why
- **Confidence**: HIGH
## Pending Human Decision
### [Type] Short description
- **Source A**: path — claim
- **Source B**: path — counter-claim
- **Options**:
A) Adopt Source A because [reason]
B) Adopt Source B because [reason]
C) Keep both with context note
- **Recommendation**: [A/B/C]5. Update hot cache (only if pending items)
If pending_human > 0, append to 04-SYSTEM/system/state/context/hot.md:
## Contradictions YYYY-MM-DD | N pending human decision
-> `contradiction-sweep-YYYY-MM-DD`Constraints
- Max 20 contradiction pairs per sweep (focus on highest impact)
- Never auto-resolve methodological contradictions
- Never delete source content — only add markers/notes
- If >20 contradictions found: likely a systemic issue (e.g., outdated domain). Flag for
reviewagent - Primary source hierarchy: academic paper > official docs > expert blog > social media
Critério de sucesso: contradições com claim, fontes e tipo; só factual ou temporal auto-resolvidas com evidência, sem source sobrescrito.
Completion
- Contradições identificadas com: claim, source A, source B, tipo (factual/temporal/metodológica)
- Contradições factual/temporal auto-resolvidas com evidência citada
- Contradições metodológicas flagadas para decisão humana
- Source content não deletado nem sobrescrito (append-only)
- Wikilinks no report resolvem
- Primary source hierarchy respeitada (academic > official docs > expert blog > social)
Failure modes
- Auto-resolve metodológica: resolver automaticamente contradição metodológica → requer decisão humana
- Content deletion: sobrescrever source ao reconciliar → append-only, nunca destruir informação
- Vague pending: deixar contradição pendente sem opções concretas → sempre ter A/B/C
Quality Gate
- Every
wikilinkin report resolves - Auto-resolved items cite evidence for resolution
- Pending items have concrete options (not vague)
- No source content was deleted or overwritten
Changelog
- v1.0 (2026-05-25): Created. Inspired by Ghelbur's /obsidian-reconcile + connection-finder contradiction detection.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

