Skip to content

Releases

0.2.8

Choose a tag to compare

@KatsuyaITO KatsuyaITO released this 22 Nov 11:25
  • 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
    nearest jevlint.toml or .git, so run inside one, jevlint audits it even when only an outer
    checkout has a jevlint.toml, which then no longer applies there.
  • jevlint hook reviews edits in a desktop worktree session. It starts from the cwd in 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

Choose a tag to compare

@KatsuyaITO KatsuyaITO released this 22 Nov 09:15
  • A built-in model, with no API key. jevlint now ships a small decision model of its own, the
    local provider. With no key, audit and 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-code and security, 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-only still runs no model. Semantic rules, --intent, --acceptance, spec, test and
    architecture reviews 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 new acceptance-criteria preset, whether it is an acceptance
    criterion. It then judges the diff against each criterion as met, partly, not-met or
    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. --json adds an acceptance object, and
    jevlint test knows 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 an id, title, date, status
    (proposed, accepted, deprecated or superseded), supersedes, superseded_by,
    components, enforced_by and evidence in its frontmatter. A changed decision gets a new record
    that supersedes the old one, so no decision is rewritten or dropped. list exits 2 when the
    records do not fit together (duplicate ids, a successor that does not exist or does not agree, a
    loop, an enforced_by id that is no rule or checklist item) and warns about their evidence as it
    does for chapters. show --markdown and --html build 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 with review --perspective design. jevlint's own decisions moved there (#19).
  • Decisions are audited, statically where there is an exact answer. check names the
    accepted decisions behind a violated rule (decisions in --json). drift reports
    unenforced-decision (an accepted decision with no enforced_by and no new unenforceable
    reason), edited-decision (an accepted record's body, title, date or supersedes changed since the
    commit that accepted it, beyond typo fixes; skipped with a warning in a shallow clone) and stale-decision (it cites a file
    changed since compiled_at; with a model, one the code still follows is dropped).
    drift --docs compares documents with accepted decisions too. review --perspective decision
    scores each accepted record with the new architecture-decision preset, which has fixtures for
    every question (#19).
  • list --as-of and show --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 on HEAD'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_on in index.yaml. The date of the compiled_at commit, shown beside it by list,
    show --markdown and show --html. The compile and update prompts ask the agent to set it.

0.2.6

Choose a tag to compare

@KatsuyaITO KatsuyaITO released this 12 Nov 05:55
  • An architecture SSOT compiled from the code. jevlint architecture is now a command group,
    and with no subcommand it runs review, 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.

    • compile prints a prompt with the facts and a draft that tells a coding agent to write
      .jevlint/architecture/, or to update it from what changed since compiled_at. --copy
      copies it, --agent runs the agent, and --docs adds documents as context.
    • list validates the SSOT, exits 2 when it does not load, and warns when it is over the size
      budget.
    • show draws the SSOT, or the draft when there is none, with real dependencies laid over the
      declared ones: --view map|layers|flow:<id>|component:<id>, --markdown for an
      ARCHITECTURE.md with Mermaid, --html for one offline page, and --json.
    • check decides 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, --new leaves out what jevlint baseline recorded, and
      components with status: target are reported as distance from the target.
    • drift reports unmapped code, undocumented dependencies and externals, stale references, and
      with a model, stale summaries and documents with --docs.
    • plan ranks problems by severity, churn and fan-in and computes a move for each, such as the
      cheapest edge to cut in a cycle. --prompt, --copy and --agent ask an agent for plan.md.
    • review adds the component and design perspectives when an SSOT exists, from the new
      architecture-component and architecture-design presets, and --copy/--prompt give 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 in chapters/ with
    cited evidence. show --markdown builds 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. compile now 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, drift reports chapters whose cited files changed, and
    review adds a chapter perspective.

  • pr --architecture and commits --architecture report the SSOT violations each change
    added, with no model, and exit 1 when there are any. --json adds architecture to each review.

  • jevlint baseline records architecture violations when an SSOT exists, for
    architecture check --new.

  • The architecture review now resolves TypeScript paths from the root tsconfig.json and pnpm,
    npm and bun workspace packages, so those links are no longer missing.

  • jevlint test finds fixtures for the questions of the architecture presets without adding them
    to presets.

  • New setting architecture.dir, where the SSOT lives. Default .jevlint/architecture.

  • The library API exports checkArchitecture, driftArchitecture, loadArchitecture,
    planArchitecture and collectArchitectureFacts.

  • [[quickfix.after]]: run the project's formatters and fixers after quickfix. Each entry
    names a command and optional files patterns. After the agent succeeds, quickfix runs 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.toml may 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 new jevlint trust; --yes never 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.json and the lockfile for pnpm, so a git pull that changes one asks again. Each
    command is stopped after its timeout, 300 seconds by default. --json adds fixers and
    fixerOnly to each file, and the commit message names the commands that ran and lists the files
    only they changed apart from the agent's.

  • retry = true on a quickfix.after command. 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. --json adds retried, and the commit message
    names the checks that caused the retry and any that still fail.

  • fix and quickfix no longer claim the working tree is not clean when git fails. Outside a git
    repository, or when git refuses one, as with detected 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

Choose a tag to compare

@KatsuyaITO KatsuyaITO released this 09 Nov 08:11
  • jevlint quickfix. Runs a coding agent on the worst file with the same issues as prompt, 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 that git apply accepts when redirected, with a --stat style
    summary on stderr. It takes the same flags as fix, 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-side choose. 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 with git commit, one commit per file with the score
    change in its message, and prints the hash. --no-commit leaves the changes in the working tree.
    It never commits over changes that were there before the run.
  • audit suggests jevlint quickfix <worst file> --agent claude under its table, beside explain
    and prompt.
  • --agent-login for fix and quickfix. 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 = true makes it the default for an agent, and key_env
    names the variables. When an agent fails while such a key is set, the error now says so.