Signalint is a diagnostic intelligence layer for AI coding agents (Claude Code, Cursor, Codex, VS Code) and CI workflows, running read-only by default. Its core goal is to solve the problem of AI coding agents receiving massive amounts of raw compiler output after modifying code, which floods the context window.
Main Capabilities
- Diagnostic normalization and clustering: Unifies and normalizes diagnostic information produced by compilers, linters, and language servers, organizing it into bounded, priority-clustered issue summaries instead of directly dumping thousands of raw compiler lines.
- Verification Deltas: Computes precise arithmetic for new, resolved, and unchanged diagnostics against an explicit baseline, and uses semantic identity matching so that even if line numbers shift, they can still be correctly matched.
- Loop detection: Can detect oscillating fix loops, preventing AI agents from getting stuck in infinite modifications.
- Immutable snapshots and concurrency safety: Isolated in-memory snapshot storage keyed by checkId, eliminating race conflicts during concurrent checks.
- Monorepo-aware planning: Parses pnpm-workspace.yaml via pure JS YAML (supporting glob negation exclusion
!), and combined with TypeScript Project References, builds a topological dependency graph and executes checks in topological order. - Multi-source provenance: Distinguishes compiler, linter, and editor/LSP diagnostics, covering JavaScript, TypeScript, Python (Ruff/Mypy), Rust (Clippy), and Go (GolangCI-Lint).
- Portable host hooks: Provides native post-change verification adapters for Claude Code, Cursor, Codex, and VS Code.
- In-memory preview and in-process rollback: In-memory preview does not touch disk; when applying modifications, it uses per-file adjacent temporary file replacement, pre-write drift detection, and in-process best-effort rollback for multi-file writes (it does not claim durable crash recovery capability in the event of sudden termination).
Usage
- Environment requirements: Node.js >= 22.12.0 (uses native node:sqlite). The project needs to install diagnostic engines itself (typescript, oxlint, eslint, and/or @biomejs/biome). Signalint detects project-local installations and does not bundle any built-in engines.
- Initialize in the repository: This step detects the project's linter/compiler, generates signalint.config.json, and configures installed MCP clients.
- Add to MCP clients: Add Signalint to the MCP configuration (e.g., claude_desktop_config.json, .cursor/mcp.json).
Signalint exposes 13 strictly typed MCP tools via stdio and provides a complete command-line interface. For the complete JSON Schema and error codes, see docs/mcp-contract.md.
Monorepo Support
Configure "monorepoMode": "auto" in signalint.config.json to detect pnpm-workspace.yaml via pure JS YAML parsing, with support for glob negation exclusion. It strictly distinguishes local workspace packages (workspace:*) from external npm registry dependencies, buildingCombines the topological dependency graph of the package manifest and TypeScript project references, and caches the TypeScript build of the entire program into per-package isolated directories (.signalint/cache/tsc/<project-id>/). Changes to a shared package automatically invalidate the caches of dependent packages, while keeping independent sibling packages still cached. See docs/monorepo.md for more configuration and architecture.
Post-change verification hooks
To automatically perform post-edit verification while avoiding infinite agent loops, Signalint provides native adapters for Claude Code, Cursor, Codex, and VS Code. It outputs bounded context to the prompt window and blocks only when unresolved syntax/type errors exist. See docs/hooks.md for setup instructions.
Documentation index
- Architecture and subsystems
- MCP protocol contract and Schema
- Host hook adapter guide
- Monorepo planning and incremental TypeScript
- Known limitations and risk register
- Wire reduction benchmarks
- Security and threat model
Limitations
- No built-in diagnostic engine; it must rely on the project-local installed typescript, oxlint, eslint, or @biomejs/biome.
- Node.js version requirement >= 22.12.0.
- Multi-file write rollback is in-process best-effort and does not claim durable crash recovery in the event of a sudden abort.
The project is released under the MIT license, copyright Tran Trong Qui (2026).