cot-lint: Detecting Chain-of-Thought Leakage in Code Repositories

`cot-lint` is a linter for detecting and fixing AI agent chain-of-thought leakage in code repositories. It specializes in identifying session artifacts in documentation, comments, and JSDoc, such as stale references and version markers. The tool is zero-dependency, supports multiple scan modes (including JSON output and deep scanning), and includes a built-in remediation skill, `cot-trim`. It uses strict rules to distinguish necessary standard references from ephemeral traces of thought, keeping codebase documentation clean and well suited for teams using AI-assisted coding and CI pipelines.

Read More