Repository navigation
Releases
0.2.8
- Linked worktrees and nested checkouts are no longer audited. A directory below the root that
holds its own.git, such as a worktree in.claude/worktrees/, a nested clone or a submodule,
is skipped, as is any.claude/worktrees/itself. Before, each worktree was audited as part of the
repository, multiplying the files in scope. A path into one says to run jevlint inside it.
(#24) - A worktree, submodule or nested clone is its own root. The search for the root now stops at the
nearestjevlint.tomlor.git, so run inside one, jevlint audits it even when only an outer
checkout has ajevlint.toml, which then no longer applies there. jevlint hookreviews edits in a desktop worktree session. It starts from thecwdin Claude
Code's JSON, as the Claude desktop app runs a worktree session's hooks in the main checkout.- A parser built for another platform no longer breaks every command. Installed by Windows npm
and run from WSL, jevlint crashed even on--help. Now only commands that parse code need the
parser. They stop with the reason it did not load, and say how to reinstall it when its binary is
missing. (#23)
0.2.7
- A built-in model, with no API key. jevlint now ships a small decision model of its own, the
localprovider. With no key,auditand every command built on it score files with it on your
machine instead of running AST-only, and say so on stderr. It answers the 20 questions of
readable-code,clean-codeandsecurity, and the file's model score comes from those. Set
provider.name = "local"to use it even when you hold a key, so that no code leaves your machine.
--ast-onlystill runs no model. Semantic rules,--intent,--acceptance,spec,testand
architecturereviews need questions it was not trained on, so they still need a provider. The
package grows by about 30 MB. See The built-in model and
models/README.md. jevlint pr --acceptance: does the pull request do what was asked? It reads the pull
request's body and the issues it closes (Fixes #12, or linked in the sidebar; issues in other
repositories are named and not read), cuts them into checklist items, list items and sentences,
and asks of each, with the newacceptance-criteriapreset, whether it is an acceptance
criterion. It then judges the diff against each criterion asmet,partly,not-metor
cannot-tell, scores the pull request, and exits 1 when a criterion is not met. Each chunk is
cached on its own, so a second run costs nothing.--jsonadds anacceptanceobject, and
jevlint testknows the new question, with fixtures (#20).- Dated, append-only decision records in the architecture SSOT.
.jevlint/architecture/decisions/
can hold one Markdown file per decision,<n>-<id>.md, with anid,title,date,status
(proposed,accepted,deprecatedorsuperseded),supersedes,superseded_by,
components,enforced_byandevidencein its frontmatter. A changed decision gets a new record
that supersedes the old one, so no decision is rewritten or dropped.listexits 2 when the
records do not fit together (duplicate ids, a successor that does not exist or does not agree, a
loop, anenforced_byid that is no rule or checklist item) and warns about their evidence as it
does for chapters.show --markdownand--htmlbuild the decisions chapter from them: accepted
records in full, then a dated history of superseded and deprecated ones. A chapter places it with
<!-- jevlint:diagram decisions -->. An SSOT without records loads and prints as before, and
records are not sent withreview --perspective design. jevlint's own decisions moved there (#19). - Decisions are audited, statically where there is an exact answer.
checknames the
accepted decisions behind a violated rule (decisionsin--json).driftreports
unenforced-decision(an accepted decision with noenforced_byand no newunenforceable
reason),edited-decision(an accepted record's body, title, date orsupersedeschanged since the
commit that accepted it, beyond typo fixes; skipped with a warning in a shallow clone) andstale-decision(it cites a file
changed sincecompiled_at; with a model, one the code still follows is dropped).
drift --docscompares documents with accepted decisions too.review --perspective decision
scores each accepted record with the newarchitecture-decisionpreset, which has fixtures for
every question (#19). list --as-ofandshow --as-of. Read the SSOT and the code as they were at a commit or on a
date, from git, with nothing checked out. A date is the last commit onHEAD's first-parent history
committed before that day ended in UTC (#19).- The compile and update prompts keep decision history. They ask for one record per decision
with no cap, dated and saying when a date is inferred, and never to edit an accepted record: a
stale decision is confirmed or superseded (#19). compiled_oninindex.yaml. The date of thecompiled_atcommit, shown beside it bylist,
show --markdownandshow --html. The compile and update prompts ask the agent to set it.
0.2.6
-
An architecture SSOT compiled from the code.
jevlint architectureis now a command group,
and with no subcommand it runsreview, whose output does not change until an SSOT exists.
Static analysis collects facts from every file with no network: imports with line numbers,
external packages classified by system, component candidates from directories and import
cohesion, inferred layers, entry points, public interfaces, flows and co-changes. The new verbs
use them. See Architecture-driven development and the
SSOT reference.compileprints a prompt with the facts and a draft that tells a coding agent to write
.jevlint/architecture/, or to update it from what changed sincecompiled_at.--copy
copies it,--agentruns the agent, and--docsadds documents as context.listvalidates the SSOT, exits 2 when it does not load, and warns when it is over the size
budget.showdraws the SSOT, or the draft when there is none, with real dependencies laid over the
declared ones:--view map|layers|flow:<id>|component:<id>,--markdownfor an
ARCHITECTURE.md with Mermaid,--htmlfor one offline page, and--json.checkdecides every structural rule from the AST with a file and line (layers,
depends_on,only,forbid,forbid-call,no-cycles, flows, stale references, unmapped
files), and judges checklist items with the decision model unless--static.--diff <base>
reports only what a change added,--newleaves out whatjevlint baselinerecorded, and
components withstatus: targetare reported as distance from the target.driftreports unmapped code, undocumented dependencies and externals, stale references, and
with a model, stale summaries and documents with--docs.planranks problems by severity, churn and fan-in and computes a move for each, such as the
cheapest edge to cut in a cycle.--prompt,--copyand--agentask an agent forplan.md.reviewadds thecomponentanddesignperspectives when an SSOT exists, from the new
architecture-componentandarchitecture-designpresets, and--copy/--promptgive a
prompt for a prose review.
-
The SSOT is also the architecture document. It can hold curated diagrams in
views/(a system
context, the building blocks, a data model as an ER diagram) and chapters inchapters/with
cited evidence.show --markdownbuilds an ARCHITECTURE.md around the chapters, with diagrams
compiled to Mermaid in GitDiagram's style: subsystems as coloured boxes, shapes by kind, verbs on
the arrows.compilenow asks the agent to write all of it, with rules for drawing from
GitDiagram's generator, a fixed chapter outline and writing rules, and with material for the
reasons: data types, comments in central files and the commits most worth reading. jevlint checks
every solid arrow against the imports and every citation against the files,compile --agent
hands what fails back to the agent,driftreports chapters whose cited files changed, and
reviewadds achapterperspective. -
pr --architectureandcommits --architecturereport the SSOT violations each change
added, with no model, and exit 1 when there are any.--jsonaddsarchitectureto each review. -
jevlint baselinerecords architecture violations when an SSOT exists, for
architecture check --new. -
The architecture review now resolves TypeScript
pathsfrom the roottsconfig.jsonand pnpm,
npm and bun workspace packages, so those links are no longer missing. -
jevlint testfinds fixtures for the questions of the architecture presets without adding them
topresets. -
New setting
architecture.dir, where the SSOT lives. Default.jevlint/architecture. -
The library API exports
checkArchitecture,driftArchitecture,loadArchitecture,
planArchitectureandcollectArchitectureFacts. -
[[quickfix.after]]: run the project's formatters and fixers afterquickfix. Each entry
names a command and optionalfilespatterns. After the agent succeeds,quickfixruns them on
the files it changed, without a shell, and the diff, re-score and commit show the result. A
failing command warns and the run goes on.jevlint.tomlmay set them, so a team can share
them, but jevlint runs a repository's commands only after you approve them, in a prompt or with
the newjevlint trust;--yesnever approves them. The approval covers the list, the
repository's history and the files the commands read, such as a script they name or
package.jsonand the lockfile forpnpm, so agit pullthat changes one asks again. Each
command is stopped after itstimeout, 300 seconds by default.--jsonaddsfixersand
fixerOnlyto each file, and the commit message names the commands that ran and lists the files
only they changed apart from the agent's. -
retry = trueon aquickfix.aftercommand. When the check still fails, the agent gets one
more run with the command's output, fenced as data, to fix only those errors, and then the
commands run again. At most one retry per file.--jsonaddsretried, and the commit message
names the checks that caused the retry and any that still fail. -
fixandquickfixno longer claim the working tree is not clean when git fails. Outside a git
repository, or when git refuses one, as withdetected dubious ownership, the error now gives
git's reason. With uncommitted changes, it names the first few files. Changes outside the project
root, such as in another package of a monorepo, no longer block the run.
0.2.5
jevlint quickfix. Runs a coding agent on the worst file with the same issues asprompt, but
instructions to only edit files: no tests, builds or other commands, no commits, and one turn or a
few. It then prints what changed as a git-style diff, coloured in a terminal with the changed words
highlighted, or as a plain patch thatgit applyaccepts when redirected, with a--statstyle
summary on stderr. It takes the same flags asfix, plus--json. Each agent can set a
quickfix_command, and the built-in Claude Code and Codex ones keep the run short. After each
run it re-audits every changed file and shows its score before and after. In a terminal at least
120 columns wide the diff is side by side, delta-style, with numbered panels;--side-by-side
and--no-side-by-sidechoose. With--top, files run one at a time, labelled[1/5]and so on,
and each diff shows only that run's edits.
By default it then commits each file's run withgit commit, one commit per file with the score
change in its message, and prints the hash.--no-commitleaves the changes in the working tree.
It never commits over changes that were there before the run.auditsuggestsjevlint quickfix <worst file> --agent claudeunder its table, besideexplain
andprompt.--agent-loginforfixandquickfix. Leaves the agent's API key variables, such as
ANTHROPIC_API_KEY, out of its environment, so Claude Code or Codex runs on your subscription
login instead of a stale key.use_login = truemakes it the default for an agent, andkey_env
names the variables. When an agent fails while such a key is set, the error now says so.