How indxdev/jevlint works
jevlint is a model-based code-quality linter: it combines measurable AST findings with model judgments, scores and ranks files, and supports change reviews and agent-assisted fixes. It also offers architecture reviews and document-to-code specification checks. The graph preserves those documented product branches; edges are limited to relationships visible in excerpts, SOURCE INDEX references, or the README, so some unsampled command and integration wiring is omitted.
Main entry points: audit.ts Repository audit · decide.ts Model decisions · shared.ts Shared commands · review.ts Architecture review
Components 26
User workflows
- CLI entry
src/cli.ts - Shared commands
src/commands/shared.ts - Configuration
src/config.ts - Presets and rules
src/presets.ts - Coding agent
src/agent.ts
Audit and scoring
- Repository audit
src/audit.ts - Source discovery
src/files.ts - Git churn
src/git.ts - AST analysis
src/ast/analyze.ts - Language grammars
src/ast/languages.ts - Generic metrics
src/ast/generic.ts - Score calculation
src/scoring.ts - Audit reporting
src/report.ts
Judgment and caching
- Model decisions
src/decision/decide.ts - Model providers
src/decision/providers.ts - Local decision cache
src/cache.ts - Shared cache
src/remote-cache.ts
Change and architecture review
- Change review
src/review.ts - Architecture review
src/architecture/review.ts - Module extraction
src/architecture/extract.ts - Dependency structure
src/architecture/structure.ts
Specification checks
- Spec loading
src/spec/load.ts - Spec checks
src/spec/check.ts - Spec drift
src/spec/drift.ts - Spec prompt
src/spec/prompt.ts
Other components
- Developer
Connections 33
- Developer → CLI entry: runs commands
README.md - CLI entry → Repository audit: dispatches audit
- Shared commands → Repository audit: runs audit
src/commands/shared.ts - Shared commands → Configuration: loads config
src/commands/shared.ts - Shared commands → Model providers: checks model
src/commands/shared.ts - Shared commands → Coding agent: launches agent
src/commands/shared.ts - Repository audit → Source discovery: discovers files
src/audit.ts - Repository audit → Git churn: gets churn
src/audit.ts - Repository audit → Presets and rules: loads questions
src/audit.ts - Repository audit → AST analysis: analyzes source
src/audit.ts - Repository audit → Generic metrics: uses fallback metrics
src/audit.ts - Repository audit → Model decisions: requests judgments
src/audit.ts - Repository audit → Model providers: resolves model
src/audit.ts - Repository audit → Score calculation: combines scores
src/audit.ts - AST analysis → Language grammars: uses language specs
src/ast/analyze.ts - AST analysis → Score calculation: uses AST scoring
src/ast/analyze.ts - Model decisions → Model providers: uses resolved model
src/decision/decide.ts - Model decisions → Local decision cache: looks up results
src/decision/decide.ts - Model decisions → Shared cache: reads and writes
src/decision/decide.ts - Model providers → Developer: calls configured provider
- Change review → Repository audit: audits changed files
src/review.ts - Change review → Git churn: reads change history
src/review.ts - Architecture review → Module extraction: extracts modules
src/architecture/review.ts - Architecture review → Dependency structure: builds structure
src/architecture/review.ts - Architecture review → Model decisions: scores subjects
src/architecture/review.ts - Architecture review → Presets and rules: loads perspectives
src/architecture/review.ts - Module extraction → AST analysis: uses AST analysis
src/architecture/extract.ts - Spec prompt → Developer: creates compile prompt
README.md - Spec checks → Spec loading: loads checklist
src/spec/check.ts - Spec checks → Source discovery: checks repository files
src/spec/check.ts - Spec checks → Score calculation: scores findings
src/spec/check.ts - Spec drift → Spec loading: loads checklist
src/spec/drift.ts - Spec drift → Source discovery: reads repository files
src/spec/drift.ts