Expand description
llmlint — an LLM-as-judge linter for code-quality checks that deterministic linters can’t express.
Architecture (see AGENTS.md): domain is pure logic (config model +
validation, template rendering, schema generation, judge planning, vote
aggregation, reporting); io owns all I/O (config discovery + includes,
file globbing, the oneharness subprocess); commands wires them to the
cli.
Modules§
- cli
- Command-line interface (clap).
lintis the default when no subcommand is given, sollmlint [FILES...]works like any other linter. - commands
- Command dispatch: wire the CLI to domain + io. Each command returns the
process exit code (a completed-but-failing lint is
1, not an error). - domain
- Pure domain logic: no process, filesystem, env, or clock I/O lives here.
- errors
- Error type for failures that prevent llmlint from completing a lint run.
- io
- All I/O lives here: embedded assets, config discovery + merge + include
resolution, target-file globbing, and the
oneharnesssubprocess client. The domain layer (crate::domain) stays pure.