JevLint-LE
Supports linting TypeSafe decision questions defined through LangChain's langchain_typesafe integration, including NoulCriteria(...) definitions in Python code.
Provides linting for OpenAI's Decisions API requests, including /v1/decisions bodies and client.decisions.create(...) calls, applying rules for predicates, choices, and levels. Optionally can call the model with a user-provided key to check files.
Integrates with Vercel AI Gateway and the Vercel AI SDK's decide({ questions }) calls, linting decision requests for either TypeSafe or OpenAI shapes and enforcing Vercel-specific limits such as 255 choices.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@JevLint-LElint the Jev questions in request.json"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DecisionLint
Lint the questions you send to a decision model: TypeSafe's Jev, OpenAI's Decisions API, and every platform that serves either shape, from OpenRouter and Vercel AI Gateway to a llama.cpp on your own machine. DecisionLint reads them out of your JSON and your code, and reports the ones written in a way that is measured to produce bad answers. Linting makes no API calls and needs no key. One optional command asks the model itself to check a file, using your own key, at whichever platform you send it to.
By the author of the LE tools.

Install
VS Code: search for DecisionLint in the Extensions view, or run
ext install nolindnaidoo.decisionlint.Cursor, VSCodium and other editors that use Open VSX: the same name,
nolindnaidoo.decisionlint.Command line:
npx decisionlint. Nothing to install first.MCP server, for an agent host:
npx -y decisionlint-mcp.
Related MCP server: jev-agent-mcp
At a glance
Lints as you type in JSON, JavaScript, TypeScript, Python, Rust and Go.
Fixes on the lightbulb for the mechanical mistakes, and a way to silence a finding you disagree with.
The same rules in CI, from a command line, and for AI agents, from an MCP server. One settings file covers all three.
Every platform, one set of rules. TypeSafe's
/v1/systemoneshape and OpenAI's/v1/decisionsshape,predicate,choicesandlevels, are read into the same rules, and the AI SDK'sdecide()call for either. The limits a request is held to are the platform's own, read from the model id's spelling, a URL in the file or atargetsetting: Vercel's 255 choices, LiteLLM's 128 questions, none where a platform publishes none.Two optional commands that use your own key: one asks the model whether your questions have problems a text pattern cannot see, and one re-sends a question with its layout changed to see whether the answer holds. Both go to the platform the model id names, or to an endpoint you set, a local llama.cpp included.
A request like this one looks fine and has three problems:
{
"model": "jev-latest",
"state": "My parcel came three days late and the lid is cracked.",
"questions": {
"team": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": { "billing": "Charges and refunds", "delivery": "Late or damaged parcels" }
},
"late": { "type": "noul", "instructions": "Did more than two parcels arrive late?" }
}
}Finding | Why it matters |
| The alias moves with each release, so answers can change with no change on your side |
| A message about neither team is still forced into one of them |
| Jev does not count reliably. Ask about each parcel and count in code |
What it catches
Jev and Luna guarantee the type of the answer, not the answer. A badly formed question still comes back with a confident-looking number. These rules catch the mistakes that can be read from the text.
Code | Name | Default | What it means |
DEC000 | unreadable | hint | Part of the question is built at runtime, so the rules that need it did not run |
DEC001 | unpinned-model | warning | An alias such as |
DEC002 | choice-option-limit | error | A Choice has more than 255 options. The API rejects it |
DEC003 | score-level-limit | error | A Score has more than 10 levels. The API rejects it |
DEC004 | no-fallback-option | info | A Choice has no |
DEC005 | duplicate | error | A question id, option or level appears twice. In an object the later one silently replaces the earlier |
DEC006 | criteria-shape | error | A Choice needs a map of options, a Score needs an array of levels, and a Noul takes |
DEC007 | invalid-question | error | The type is missing or unknown, or the instructions are an empty string |
DEC008 | numeric-levels | warning | Score levels are bare numbers. Jev matches the state against each description and never sees its position |
DEC009 | too-few-options | info | A Choice with one option or a Score with one level gives every input the same answer |
DEC010 | unused-disable | warning | A |
DEC011 | description-repeats-name | info | An option's description only repeats its name, or a Noul's criteria say yes and no. Jev matches the state against the description, and this one says nothing |
DEC012 | terse-instructions | info | The instructions are one or two words, so the question leans on its id. Jev is sent the instructions and never the id |
DEC013 | newer-model | info |
|
DEC014 | question-limit | error | A request has more questions than the platform it goes to takes in one call. The platform rejects it |
DEC101 | double-negative | info | A question negates twice in one clause, or a negation sits directly on another |
DEC102 | arithmetic | warning | The question asks Jev to count or compare numbers |
DEC103 | date-comparison | info | The question asks Jev to order two times or measure the gap between them |
DEC104 | compound | off | A Noul joins two judgments with 'and' |
DEC105 | generation | warning | The question asks for a value or for text to be written |
DEC107 | negated-noul | off | A Noul with no criteria is phrased so that yes means something is absent |
DEC108 | inverted-criteria | off | A Noul's 'true' criterion describes the negative case |
DEC110 | degree-levels | warning | Score levels are degree words, bare labels, or one word turned up and down. Nothing for Jev to match the state against |
DEC111 | numeric-encoding | off | The question refers to a value by hex or RGB encoding |
DEC112 | undefined-boundary | info | A Noul with no criteria turns on a word such as large, often or enough |
DEC301 | model-counting | warning | Jev reads the question as needing counting or arithmetic |
DEC302 | model-undefined-boundary | info | Jev reads a Noul as turning on a matter of degree with no stated line |
DEC303 | model-overlapping-options | info | Jev reads two options of a Choice as covering the same cases |
DEC304 | model-overlapping-levels | warning | Jev reads two levels of a Score as the same situation |
DEC305 | model-label-mismatch | warning | Jev reads an option as named for one thing and described as another |
DEC306 | model-criteria-off-topic | info | Jev reads the criteria as deciding something the instructions do not ask |
DEC307 | model-ordered-options | info | Jev reads a Choice's options as steps on one scale, which a Score would place between |
DEC308 | model-unordered-levels | info | Jev reads a Score's levels as unordered categories, which a Choice would pick from |
DEC309 | model-depends-on-sibling | info | Jev reads a question as needing another question's answer from the same request |
DEC310 | model-overlapping-questions | info | Jev reads two questions in one request as asking for the same judgment |
DEC311 | model-answer-not-in-state | info | Jev reads the state written in the file as not holding what the question asks about |
DEC312 | model-orders-in-state | info | Jev reads part of the state written in the file as giving orders to its reader |
Each finding links to its own page, with an example that is flagged, one that is not, how to fix it and how to silence it. Each page links on to the TypeSafe documentation the rule comes from.
Where it looks
JSON and JSONC request bodies, in TypeSafe's shape or OpenAI's.
Object literals in JavaScript and TypeScript, including requests passed inline to
client.systemOne(...)andclient.decisions.create(...), and the Vercel AI SDK'sdecide({ questions })for either vendor, with the model id insidetypeSafeAi.decisionModel('...')read as the model.noul(),choice()andscore()calls in files that use@typesafe-ai/sdk.Python: dicts,
Noul(...),Choice(...)andScore(...)fromtypesafe_sdk, from LangChain'slangchain_typesafewith itsNoulCriteria(...), or from a library that wraps either, and requests passed tosystem_one(...)orclient.decisions.create(...).Rust: the JSON inside
json!, structs and enum variants named for a question type, and::noul(...)style constructors.Go: maps with string keys, structs with a
Typefield, structs named for a question type, and OpenAI's Go SDK,openai.DecisionNewParams{...}with itsOfPredicate,OfChoiceandOfScorequestions.A request pasted as JSON into a string, in any of these languages.
Any other language: have your program write the request it sends to a
.jev.jsonfile and open that. Every check runs on it, and nothing in it is built at runtime, so nothing is skipped.jev/askrules in anoxlint-plugin-jevconfig.
OpenAI's Decisions API
OpenAI's Decisions API, model gpt-6-luna, asks the same kind of question
as Jev in a different shape. DecisionLint reads it from 0.5.0. What that
covers, exactly:
Read. A
/v1/decisionsrequest body,client.decisions.create(...)in TypeScript and Python, and the Vercel AI SDK'sdecide(). Apredicateis read as a Noul,choices: [{ value, description }]as a Choice's options andlevels: [{ label, description }]as a Score's levels, into the same rules.Checked. Every rule with evidence behind it: the missing fallback option, a description that only repeats its name, terse instructions, degree levels, duplicates, counting, an undefined boundary and the rest. Findings name Luna. OpenAI's own guide asks for the same things.
Held back.
DEC002andDEC003check a platform's published limits, and OpenAI publishes none, so a request bound for OpenAI gets neither. One bound for a gateway that does, such as Vercel's, gets both.DEC001is about Jev's moving aliases, and OpenAI has one model id.Shape mistakes are reported in OpenAI's own field names:
choiceswritten as a map or as bare names, a Choice with nochoices, a Score with nolevels. A mistypedpredicateis fixed on the lightbulb. The reshape fix is Jev-only.Asking Luna. Run Ask Luna About This File, or pass
--ask-platform openai, with an OpenAI key. The next section says how.Measured on Jev, not yet on Luna. Every default in these rules was set by measuring what the defect costs
jev-1.13.0. Luna has not been measured, so on a Luna question they are the same rules with Jev's defaults, and every finding from asking Luna says its cutoff was set on Jev. The request sent to Luna follows OpenAI's API reference and has not yet been run against the live API. Both wait on a key.
Every platform
Jev and Luna are two of the models, and TypeSafe and OpenAI two of the
places a request can go. Microsoft, Liquid AI and Cloudflare serve their own
models in TypeSafe's shape. OpenRouter, Vercel AI Gateway, LiteLLM and LLM
Gateway forward to any of them, in either shape. llama.cpp, vLLM and Ollaya
run open models on your own machine. DecisionLint reads the two shapes, so
every one of them is covered by the same rules. What differs between them
is held in one table, src/lint/targets.ts, with the page each fact was
read from:
Platform | Reached as | Key variable | Limits it publishes |
TypeSafe |
|
| 255 options, 10 levels |
OpenAI |
|
| none |
OpenRouter |
|
| none |
Vercel AI Gateway |
|
| 255 choices, 10 levels |
LLM Gateway |
|
| none |
Liquid AI |
|
| none |
LiteLLM | an endpoint you set | the shape's | 128 questions per request |
Eden AI | its own path | its own | 255 options |
llama.cpp | an endpoint you set | none | 10 levels |
Three things follow from the table:
The limits a request is held to are its platform's. The platform is read from the model id where its spelling says, from the one platform a URL in the file names, or from
targetindecisionlint.jsonordecisionlint.targetfor a project that sends everything to one place. A platform that publishes no limit gets no finding for it. Nothing says where a request goes: a TypeSafe-shaped question keeps TypeSafe's limits, and any other shape keeps none.A floating alias is caught in every spelling, and pinned in the spelling the platform documents:
jev-latesttojev-1.13.0,~typesafe/jev-latesttotypesafe/jev-1.13.A check with the model goes to the platform the id names, with the key in that platform's variable. A spelling that names no host, such as
openai/gpt-6-luna-decisions, which every gateway writes, is refused rather than guessed at, until you set the endpoint. The next two sections say how.
"Open Jev" is not one of these. It is a name used by at least nine
unrelated projects that reimplement /v1/systemone; the one llama.cpp
serves is ggml-org/OpenJev-GGUF. Each is reached as an endpoint you set.
Ask a model about a file
Rules DEC301 to DEC312 are not part of linting. They run only when you run
one of the Ask commands, or pass --ask on the command line. Each sends
every question in the file to a decision model and asks it about problems a
text pattern cannot see: options that overlap, an option whose name
contradicts its description, criteria about the wrong thing, a Choice that
should be a Score, two questions that ask the same thing, a question that
needs another question's answer.
There is one command per platform, and each has its own key:
Command | Sends to | Model by default | Key |
Ask Jev About This File | TypeSafe |
| Set TypeSafe API Key, or |
Ask Luna About This File | OpenAI |
| Set OpenAI API Key, or |
Ask via OpenRouter About This File | OpenRouter |
| Set OpenRouter API Key, or |
Ask via Vercel AI Gateway About This File | Vercel AI Gateway |
| Set Vercel AI Gateway API Key, or |
Ask via LLM Gateway About This File | LLM Gateway |
| Set LLM Gateway API Key, or |
Ask Liquid d1 About This File | Liquid AI |
| Set Liquid AI API Key, or |
Ask the Model at My Endpoint About This File |
|
| Set Endpoint API Key, or none |
Give it the platform's key, in any of three ways. Run its Set ... API Key command and paste the key, which stores it in your operating system keychain. Or type it into Settings under
decisionlint.ask.keys, by the platform's id, which can only be set in your user settings and is left out of Settings Sync. Or put it in the environment variable the platform names, in the environment VS Code runs in.Open a file with questions and run the platform's Ask command.
The model each command sends is decisionlint.ask.models, by platform.
The TypeSafe default is the version the checks' cutoffs were set on, and a
finding from any other model, Luna included, says so until that model is
measured the same way. The probe asks Jev at TypeSafe, with the TypeSafe
key and model.
For a platform you host, a llama.cpp, vLLM, LiteLLM or Ollaya, set
decisionlint.ask.endpoint to the full URL it listens at,
decisionlint.ask.endpointModel to the model id it serves, and
decisionlint.ask.endpointShape to typesafe or openai when the path
does not end in /systemone or /decisions. Then run Ask the Model at My
Endpoint. It sends the endpoint key if you set one, else the key in
TYPESAFE_API_KEY or OPENAI_API_KEY, whichever the shape's SDK reads, or
no key when there is none, which is how a local llama.cpp is reached. The
endpoint can only be set in your user settings, so a repository cannot point
your key at a host of its choosing.
What to know before you run it:
It uses your key and your credits. One request per question and one more per request body, about 800 input tokens each. At TypeSafe's published price that is roughly three thousandths of a cent per question, and at OpenAI's about a hundredth of a cent.
Only questions are sent: type, instructions, criteria and ids. Your
stateis not, unless you turn ondecisionlint.ask.sendState. With that on, a state written out in the file is sent too, and two more checks run: does the state hold what each question asks about, and does it carry text that gives orders to its reader.A question with a part built at runtime is not sent. The summary says how many were held back.
A run sends at most
decisionlint.ask.maxCallsrequests, 25 by default.It is disabled in an untrusted workspace. Run Workspaces: Manage Workspace Trust and trust the folder to turn it on.
Findings disappear when you edit the file, because they were about the old text. Editing or closing the file during a check stops the check.
Each finding shows the probability Jev gave it. Treat it as an argument with a number attached, not a verdict.
Turn on decisionlint.ask.confirm and it first tells you how many requests it
will make, roughly how many tokens and what that costs, and waits for a yes.
It is off by default: running the command is the decision to send.
Project settings
Put a decisionlint.json in your project and the editor and the command line
both read it, so what you see while writing is what CI reports.
{
"rules": { "DEC004": "error", "DEC112": "off" },
"fallbackOptions": ["other", "none", "unsure"],
"ignore": ["DEC004:department"],
"exclude": ["fixtures", "**/*.generated.ts"]
}exclude lists files and folders not to lint, relative to the settings file.
** crosses folders, * stays inside one, and a name with no slash matches
at any depth. The editor and the command line leave out the same files.
The nearest file wins, looking from the linted file upward, so a folder can
have its own. Where one applies, it replaces the rules, fallbackOptions
and ignore settings in the editor. If it cannot be read, nothing is linted
and the status bar says why. A key it does not know is an error, so a typo
cannot quietly leave a rule on.
To silence one finding, use the lightbulb: Disable DEC004 for this line
or for this file writes the comment for you. Strict JSON has no comments,
so there a finding is silenced with ignore.
Command line
The same linting runs outside the editor, for CI and for any editor that is not VS Code.
One version for the editor and CI
Install it in the project, as you would any linter:
npm install --save-dev decisionlintThe editor then lints with that copy, not the one the extension carries, so
what you see while typing is what npx decisionlint reports in CI. The version
changes when package.json does, and for everyone at once. The status bar
shows project 0.5.2 while a project's copy is in use.
With nothing installed the extension lints with its own copy, with no setup.
It also uses its own copy, and the status bar says project has 0.2.0 with
the reason in its tooltip, when the project's copy cannot be used:
the workspace is not trusted, because loading the copy runs code from it
the copy is older than 0.3.0, the first version an editor can load
the copy fails to load, or does not read that kind of file
When the copy's package.json cannot be read there is no version to show, so
the status bar says project copy unreadable, again with the reason in its
tooltip.
The Ask commands and the probe always run the extension's own code, whatever the project installs.

npx decisionlint src/ # a directory, searched for files it reads
npx decisionlint request.jev.json # one file
npx decisionlint --format github . # annotations on a pull requestIt exits 0 when the run passes, 1 when a finding fails it, and 2 when it
could not do what was asked: an unknown option, a missing path, or nothing to
read. Errors always fail a run. Warnings fail it only past --max-warnings.
Option | What it does |
| How findings are printed. |
| Set one rule to |
| Use this settings file, and no |
| Fail when more than |
| Lint standard input as if it were that file |
| Write the fixes that only mend what the API would refuse |
| Print errors only |
| Also ask the model about each question. Sends them to the platform the model id names: TypeSafe with |
| Say what |
| Where |
| The model |
| The full URL |
| The shape sent to |
| The most requests |
| With |
| Colour the default format, or do not. Without either it is coloured in a terminal, unless |
| Pass when the paths hold no file to lint |
| Run as an MCP server |
The summary line always says how many questions could not be read in full
and names any file skipped for its size and any folder or file it could not
read. It does not follow linked folders. It does not run the checks that ask
Jev, and it never uses the network, unless you pass --ask.
In CI and before a commit
On GitHub, the action annotates a pull request:
- uses: nolindnaidoo/decisionlint@v1.0.0
with:
paths: srcFor GitHub code scanning, write SARIF and upload it:
- run: npx decisionlint --format sarif src > decisionlint.sarif
continue-on-error: true
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: decisionlint.sarif--format junit writes the XML that Jenkins, GitLab and most test reporters
read. Only an error is a failed case there, since only an error fails a run.
With pre-commit:
- repo: https://github.com/nolindnaidoo/decisionlint
rev: v1.0.0
hooks:
- id: decisionlintAsking a model
--ask runs the checks that ask a decision model, DEC301 to DEC312, after
the linting. It is the only option that uses the network, and nothing in a
settings file can turn it on.
npx decisionlint --ask-plan src/ # what it would send. No key, nothing sent
TYPESAFE_API_KEY=... npx decisionlint --ask src/ # send it--ask-platformnames where it goes:typesafe,openai,openrouter,vercel,llmgatewayorliquid, each with a default model in its own spelling and its own key variable,TYPESAFE_API_KEY,OPENAI_API_KEY,OPENROUTER_API_KEY,AI_GATEWAY_API_KEY,LLM_GATEWAY_API_KEYorLIQUID_API_KEY. Without it,--ask-modelwith a platform's spelling,~typesafe/jev-latestfor OpenRouter, sends there, and a bare id goes to its vendor. The key is read from that variable and from nowhere else, and is never printed.--ask-endpoint, orDECISIONLINT_ASK_ENDPOINT, sends to a platform you host, with--ask-shapewhere the path does not say which shape it takes. A spelling that names no host, such asopenai/gpt-6-luna-decisions, is refused without it, with nothing sent.A question with a part built at runtime is never sent. The summary counts the ones held back.
State is not sent unless you add
--ask-send-state.--ask-max-callsis a limit for the whole run. A run that needs more exits 2, so a job cannot pass after checking part of a project.A rejected key, a failed request or a run you stop also exits 2, and says how many requests were answered of how many were planned.
These findings are warnings or less by default, so they fail a run only when
--ruleraises one or--max-warningsis passed.
For AI agents
The same program is an MCP server, so an agent that writes Jev or OpenAI Decisions questions can lint what it wrote and fix it before you see it. The tool descriptions and the server's instructions name both vendors and all three request shapes, so an agent knows to call it for any of them.
Agents running inside VS Code get it with no setup: the extension offers the server to the editor, which starts it when an agent calls a tool. For any other client, point it at the server package:
{
"mcpServers": {
"decisionlint": { "command": "npx", "args": ["-y", "decisionlint-mcp"] }
}
}
A project that already pins decisionlint for CI has the same server behind
npx decisionlint --mcp. The package with no flag is the one to give a client,
because decisionlint started bare is a linter that exits, not a server.
It offers eight tools. lint_text lints a request or source code passed as
text and lint_paths lints files on disk, with each finding carrying the
edit that would mend it. fix_text returns the text with the safe fixes
applied and the report of what is left, and writes nothing. list_rules
lists every rule with what it means, and explain_rule returns a rule's own
page, with an example that is flagged and one that is not. Those send
nothing and need no key.
The other three are the editor's Ask commands and Probe
for an agent. ask_model asks Jev, or Luna with model: gpt-6-luna,
to check the questions in text or in files, and returns the lint report with
the model's findings added. plan_ask says what that would send, and sends
nothing. probe_question sends one question with its layout varied and
reports whether the answer held. The two that send use your key and cost
money, and their descriptions tell an agent to call them only when you ask.
The key is read from TYPESAFE_API_KEY or OPENAI_API_KEY in the
environment the client started the server with, or from .env.local or
.env in the directory it started it in, and never from a tool argument, so
no key lands in an agent's transcript. Every tool answers as structured
content beside the text, and none writes a file.
It is listed on the MCP registry as io.github.nolindnaidoo/decisionlint,
for a client that installs servers from there.
Probe a question
Put the cursor in a question and run DecisionLint: Probe the Jev Question at the Cursor. It sends that question against the state written beside it, three times as written and then with the layout changed: options reversed, option names hidden, levels reversed, criteria removed. A report opens showing whether the answer moved.
If the answer changes when only the order of the options changes, the question is not deciding it. If three identical requests disagree, the input is too close to call.
It needs the state written out in the file, it sends that state, and it costs five or six requests.
Nothing else in this extension uses the network. On the command line, only
--ask does.
What it will not tell you
Whether a well-formed question is right on your data. That needs labeled examples and calls to Jev.
Anything about a value it cannot see. A question built from variables is reported as unreadable and counted in the status bar. A file is never shown as clean while part of it went unread.
Everything about wording.
DEC101toDEC112are heuristics over English text. A rule is on only where a badly written question cost answers or confidence against Jev, in our runs or in someone else's, and it stays on only while it is right on at least 9 of 10 of its findings on public code it was not tuned against. Four that describe failure modes in TypeSafe's docs,DEC104,DEC107,DEC108andDEC111, did not fail onjev-1.13.0and are off. Switch any of them on indecisionlint.rules. Two more were removed in 0.4.0 for being wrong every time they fired.Anything about a question that is not in English.
What a lone object lacks. A
{ type, instructions }outside aquestionsmap may be a template or half of a builder, so a missingcriteriais only reported inside a request.
DEC004 is informational because the advice behind it is conditional: add a
fallback when the options might not cover every input. It fires on 9 of the 11
Choice examples in TypeSafe's own docs. If your options are exhaustive, turn it
off for that question.
Suppressing a finding
In code:
// decisionlint-disable-next-line DEC004
const side = { type: 'choice', instructions: 'Heads or tails?', criteria: { heads: null, tails: null } };decisionlint-disable-line covers the same line and decisionlint-disable the whole file.
Leave the code off to silence every rule.
A comment that silences nothing is reported as DEC010, so one left behind
after its finding was fixed cannot hide a new finding later.
What was written for JevLint-LE still works: a jevlint-le-disable comment, and the JEV codes in a comment, in rules or in ignore, are read for ever. Every finding is written with the DEC code.
Fixing
Some findings can be mended without a decision from you: a Noul criteria key
written yes where the API takes true, a mistyped question type, criteria
in the wrong shape. npx decisionlint --fix writes those, and the summary of
any run says how many it would mend.
In the editor, fix on save does the same:
{ "editor.codeActionsOnSave": { "source.fixAll.decisionlint": "explicit" } }Adding a fallback option and pinning a model change what a working request does, so they are never written for you. They stay on the lightbulb.
JSON has no comments, so use the setting:
{ "decisionlint.ignore": ["DEC004:side"] }Keyboard shortcuts
Every command can be given a shortcut. Open Keyboard Shortcuts, search for
DecisionLint, and press the keys you want on any command in the list. None is
bound out of the box, so nothing here can collide with a shortcut you already
use.
Or write them into keybindings.json. The keys here are only an example:
[
{ "key": "ctrl+alt+j", "command": "decisionlint.lintFile", "when": "editorTextFocus" },
{ "key": "ctrl+alt+k", "command": "decisionlint.askJev", "when": "editorTextFocus" }
]Command | Id |
Lint the Questions in This File |
|
Lint the Questions in the Workspace |
|
Open Settings |
|
Ask Jev About This File |
|
Ask Luna About This File |
|
Ask via OpenRouter About This File |
|
Ask via Vercel AI Gateway About This File |
|
Ask via LLM Gateway About This File |
|
Ask Liquid d1 About This File |
|
Ask the Model at My Endpoint About This File |
|
Set TypeSafe API Key |
|
Set OpenAI API Key |
|
Set OpenRouter API Key |
|
Set Vercel AI Gateway API Key |
|
Set LLM Gateway API Key |
|
Set Liquid AI API Key |
|
Set Endpoint API Key |
|
Clear API Keys |
|
Probe the Question at the Cursor |
|
The Ask commands and the probe send requests with your key, so pick keys for them you will not press by accident.
Settings
Setting | Default | Meaning |
|
| Severity per rule, by code or name: |
|
| Words that make an option a fallback for |
|
|
|
|
| The platform every request goes to, for its limits. Empty reads it from each model id |
|
| The model id each Ask command sends, by platform. The TypeSafe default is the version the checks were calibrated on |
| empty | An API key per platform, and |
|
| The URL Ask the Model at My Endpoint posts to, for a platform you host. User settings only |
|
| The shape sent to that endpoint, |
|
| The model id sent to that endpoint |
|
| The most requests one Ask command may send |
|
| Also send a state written in the file, so the model can check it |
|
| Before a paid command sends anything, show what it will send and cost, and wait for a yes |
| JSON, JavaScript, TypeScript, Python, Rust and Go files | Files the workspace command lints |
|
| Files the workspace command skips |
|
| Larger files are reported as skipped |
|
| How much is said in notifications. |
Development
bun install
bun run typecheck && bun run lint && bun run test
bun run build
bun run test:integration # real VS Code against samples/
bun run package # release/decisionlint-<version>.vsix
bun run test:e2e-vsix # the packaged VSIX in a clean profileAGENTS.md is the engineering standard. SPEC.md is what the product is and
what is planned. samples/ is a workspace with planted mistakes, used by
bun run test:integration, which drives a real VS Code.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Enforces architectural invariants and code quality rules inside your AI agent's edit loop.
Checks AI-written code against your rules as it is written, and keeps a record of what it found.
Lets coding agents check their own code for leaked secrets, risky dependencies and AI-code mistakes
Lints + auto-fixes how AI coding agents discover any new product. 24 rules, 6 tools, score 0-100.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to receive continuous, structured software-quality feedback from Jev across multiple quality dimensions while working locally.603 npm243MIT
- AlicenseAqualityCmaintenanceEnables coding or reasoning agents to request structured judgments from TypeSafe's Jev model at decision points, including choices, scores, claim verification, and code reviews, with probabilities and confidence returned as data.53 npmMIT
- AlicenseBqualityCmaintenanceEnables AI agents to obtain typed judgments from TypeSafe's Jev System One models, including yes/no probabilities, multiple-choice selections with distributions, and rubric-based scores, directly usable in code.52AGPL 3.0
- AlicenseAqualityBmaintenanceConnect AI agents to Jev AI (jev-ai.pro) for classification, scoring, yes/no checks, advisory action assessment, batched typed decisions and saved judges. Returns structured answers and probabilities using your Jev AI API key.6MIT