Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

cntrdct is an evidence-based linter for logical contradictions and technical inconsistencies in Rust and Python code. Every finding cites the peer-reviewed paper that justifies the detection — no detector ships without one.

This guide covers the design constraints, the six Layer 1 detectors, how to configure and suppress findings, the supported workflows (scan, calibrate, eval, cross-model-kappa), and the integrations (GitHub Action, LSP, SARIF, Claude Code skill).

For installation and a one-line quickstart, jump to Getting started.

Status

Alpha. The detector set, ranker priors, and SARIF mapping are stable under SemVer; the LSP server and VS Code extension are still pre-1.0.

Where to find things