Configuration reference
Generated from jevgate.schema.json,
which is generated from the configuration types. Configuration explains
how the keys work together.
| Key | Type | Meaning |
|---|---|---|
cache_ttl_secs | integer | Cache lifetime in seconds for the jev-latest and jev-preview aliases; pinned versions never expire. Default: 3600. |
concurrency | integer | Ceiling on simultaneous requests (1-8). Default: 6. |
context | list of strings | Files always sent as related evidence, like --context. |
fail_on | list of strings | The level for rules without their own, like --fail-on. Default: [“review”]. |
generated | list of strings | Globs of generated files, which are skipped, in addition to the built-in names. |
include_tests | boolean | Judge tests, like --include-tests. Default: false. |
max_context_bytes | integer | Ceiling on context bytes per request. Default: 32768. |
max_file_bytes | integer | Files larger than this are reported as needs-context, never truncated. Default: 262144. |
max_requests | integer | Ceiling on API attempts per invocation; flags can only lower it. Default: unlimited. |
model | string | TypeSafe model; a pinned version keeps results repeatable. --model overrides it. |
rules | rules list or table | A list selects rules; a table gives each group or rule a level. Default: the default group. |
scope | list of tables | Gate levels for the files some paths match, such as report-only tooling. |
tests | list of strings | Globs of additional test files. |
upload_allow | list of strings | Globs of the paths that may be uploaded, including instruction files and context. Default: every path. |
upload_deny | list of strings | Globs never uploaded, even when allowed. |
[[scope]]
[[scope]]: gate levels for the files paths match. fail_on applies to every rule there, and rules to single rules or groups. The last scope that matches a file and addresses a rule wins; other files and rules keep the levels set outside scopes.
| Key | Type | Meaning |
|---|---|---|
fail_on | list of strings | The level for every rule in these files. |
paths | list of strings | Globs of the files this scope applies to. |
rules | object | Levels of single rules or groups in these files; off is not accepted (use upload_deny). |
Levels
review, consider, uncertain, report, none, off. off is accepted in [rules] only.
Rule names
maintainability/file-organization, file_organization, maintainability/function-simplification, function_simplification, maintainability/shared-logic, shared_logic, maintainability/hardcoded-values, hardcoded_values, security/injection, injection, security/sensitive-data, sensitive_data, security/unsafe-settings, unsafe_settings, security/access-control, access_control, security/workflows, workflows, tests/value, test_value, tests/redundancy, test_redundancy, documentation/agent-context, agent_context, documentation/large-docs, large_docs, documentation/staleness, doc_staleness, documentation/duplication, doc_duplication, documentation/comments, comments, maintainability, security, tests, documentation, default, all.