$ open semantic-lint
semantic-lint.
A second reader for the conventions ESLint cannot express: one calibrated yes/no question per rule, run on the diff before every push.
- Role
- solo
- Years
- 2026–
- Status
- live
- Stack
- typescript · vitest · openrouter · system one
ESLint reads the AST; the dependency checker reads the import graph. semantic-lint reads the conventions neither can express, and never pretends to replace either. It runs on drift, so a floor is never a vibe: every rule is one question whose error and warn floors were swept against labelled fixtures, with the date and result written down in the eval file.
The pattern every tool in it shares: a question, some state — a file, a diff, a rendered page opening — a probability back, a floor decided by evidence. Skips never fail a build; only an error-severity finding does.
The three tools
- semantic-lint lints files. Twenty rules, one file each: use-case shape, repositories, routes, error unions, the design system, tests a no-op would pass.
- docs-drift reads a diff against AGENTS.md sections and accepted ADRs: does this change make the doc false without editing it? It runs pre-push and in CI, advisory by design, and a diff that already edits the doc is skipped — someone is already reviewing the prose.
- review-gate routes diffs to deep review. Path rules fire first, no key needed — migrations, auth and crypto, webhooks, retention, deploy config — then six risk questions, with the diff split into batches riskiest-files-first and each dimension keeping its highest answer. It is tuned for recall, because a false escalation costs one review. On the last 150 commits 25% escalate, inside the 15–30% band where a gate is signal rather than noise.
The fourth reader: page openings
--copy grades what a reader actually sees. A harvest script reruns the web tests and records every rendered page opening — head, hint, lede, facts, move — and copy-* rules judge those openings as units. The first sweep of copy-says-what-it-means put true restatements on top: copy that reports a number and leaves the reader to judge it. That is the tool’s argument in miniature — a convention a person can state in one sentence is a rule, and a model can hold it to account when the floor underneath it is evidence.
