You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.