Skip to content

Configuration reference

Project config. Unknown keys are errors; keys that start with `x-` are ignored. Semantics: docs/contract/config.md. Owner: slopvac-8l4.2.5.

This page writes a key inside an array of tables as name[].key. It writes a key inside a table of user-chosen names as table.<name>.key.

Key Type Default Description
schema_version (required) 3 none Root artifact schema version.
mode one of prose, code-comments prose Input surface.
extends array of string none Config files merged below this one, lowest first. A path relative to this file or `<plugin>:<name>` for a plugin config.
styles array of string none Ordered style presets. The last listed wins.
exclude array of string none Files never linted.
plugins array of table none Data plugins and code plugins the project uses, in one list. Each id appears once, and `core` is reserved for the built-in plugin. A code plugin also needs `slopvac plugins trust`; one that is not trusted never starts.
plugins[].id (required) string none Identifier of a plugin, or of the namespace a publisher signs for. Same character set as `PackId`. `core` is reserved for the built-in plugin that is compiled into the binary, so no manifest, lock entry, index entry or config entry may use it as an id or a namespace. Semantics: docs/contract/plugins.md, section 9.
plugins[].source (required) string none An `oci://` reference, a `git+https://` URL with a commit, or a path relative to the config file.
plugins[].version string none
index table none Which plugin indexes `slopvac plugins search` reads. Project-scoped: no user config, environment variable, front matter or override sets it. Naming an index grants it no trust. Semantics: docs/contract/plugin-index.md, sections 5 and 6.
index.default boolean true Read the signed first-party index, named `slopvac`.
index.extra array of table none Extra unsigned indexes, at most 16, read in this order after the default index. Each `name` appears once; the config validator checks that, because JSON Schema cannot.
index.extra[].name (required) string none The name of an extra index: a plugin-id-shaped slug. `core` is reserved for the built-in plugin and `slopvac` names the default index.
index.extra[].source (required) string none Where to fetch an extra index: an `oci://` reference or an `https://` URL. The URL carries no user-info. `http://`, `git+https://` and path sources are invalid.
genres array of table none
genres[].genre (required) string none A style or genre name. A bare name resolves against the active plugins and must be unambiguous; `<plugin>:<name>` is exact.
genres[].files (required) array of string none
genres[].profile one of strict, normal, relaxed or table none A built-in strictness tier, as a name or as a table that adds a severity shift. A profile sets gate thresholds and shifts severities, and nothing else.
genres[].profile.name one of strict, normal, relaxed none
genres[].profile.severity_shift integer none Steps to move the inherited severity of each rule along suggestion, warning, error. Inherited means the level from rule definitions, styles and the genre chain. Positive is stricter. A level that a rules or categories entry sets is final and does not move. `off` never moves, and results clamp at the ends.
genres[].locale one of en-US, en-GB, und none Spelling target. `und` disables the spelling check.
genres[].thresholds table none Document-level gates, evaluated after every finding is collected.
genres[].thresholds.max_total_per_100_words number none Severity-weighted error and warning density per 100 words; errors count 1.0 and warnings 0.5.
genres[].thresholds.max_errors integer none
genres[].thresholds.max_warnings integer none
genres[].thresholds.min_score number none Floor on the 0-100 quality score.
genres[].thresholds.max_unicode_dashes integer none Ceiling on Unicode em and en dashes in the source.
genres[].categories table of one of error, warning, suggestion, off or table none
genres[].categories.<name> one of error, warning, suggestion, off or table none A rule or category name: qualified `<plugin>:<id>` or a bare name that is unambiguous across the active plugins. Keys of maps in this file are data, so the `x-` convention does not apply to them. Names match the pattern ^([a-z][a-z0-9-]*:)?[A-Za-z0-9][A-Za-z0-9._-]*(?![\s\S])
genres[].categories.<name>.severity one of error, warning, suggestion, off none The level a rule or category reports at. `off` disables it.
genres[].categories.<name>.minimum_severity one of error, warning, suggestion, off none Lowest level that inherited rules in this category may report at. `off` means no floor, and it cancels a floor set in a lower layer.
genres[].categories.<name>.max_per_100_words number or none none Density budget; above it the category fails even with no error finding. The string none clears a budget that a lower layer set, so the category has no budget.
genres[].categories.<name>.weight number none Multiplier on this category’s share of the score. 0 makes it informational.
genres[].rules table of one of error, warning, suggestion, off none Rule levels by rule name.
genres[].rules.<name> one of error, warning, suggestion, off none A rule or category name: qualified `<plugin>:<id>` or a bare name that is unambiguous across the active plugins. Keys of maps in this file are data, so the `x-` convention does not apply to them. Names match the pattern ^([a-z][a-z0-9-]*:)?[A-Za-z0-9][A-Za-z0-9._-]*(?![\s\S])
genres[].terms table none Project vocabulary.
genres[].terms.allow array of string none Words this project spells or uses its own way. The spelling check and identifier checks skip them.
genres[].terms.files array of string none Terms files, relative to the config file.
genres[].terms.blocklists array of string none Word blocklist files, relative to the config file. Each entry names a word, a part of speech and a reason.
frontmatter table none Which fields of a document’s `slopvac:` block take effect. A block field outside the allowed set is an error at its line and column.
frontmatter.enabled boolean true When false, `slopvac:` is plain data and is not read.
frontmatter.allow array of one of genre, profile, locale, thresholds, categories, rules, terms ["genre", "locale", "terms"]
guidance table none Agent steering. Project-wide: overrides, genre blocks and front matter cannot set it.
guidance.level one of brief, standard, full standard Detail of the rendered `prime` topics.
guidance.write one of auto, off auto
guidance.review one of auto, ask, off auto
guidance.review_depth one of self, subagent, adversary subagent
guidance.report one of ask, off ask
overrides array of table none
overrides[].files (required) array of string none
overrides[].profile one of strict, normal, relaxed or table none A built-in strictness tier, as a name or as a table that adds a severity shift. A profile sets gate thresholds and shifts severities, and nothing else.
overrides[].profile.name one of strict, normal, relaxed none
overrides[].profile.severity_shift integer none Steps to move the inherited severity of each rule along suggestion, warning, error. Inherited means the level from rule definitions, styles and the genre chain. Positive is stricter. A level that a rules or categories entry sets is final and does not move. `off` never moves, and results clamp at the ends.
overrides[].locale one of en-US, en-GB, und none Spelling target. `und` disables the spelling check.
overrides[].thresholds table none Document-level gates, evaluated after every finding is collected.
overrides[].thresholds.max_total_per_100_words number none Severity-weighted error and warning density per 100 words; errors count 1.0 and warnings 0.5.
overrides[].thresholds.max_errors integer none
overrides[].thresholds.max_warnings integer none
overrides[].thresholds.min_score number none Floor on the 0-100 quality score.
overrides[].thresholds.max_unicode_dashes integer none Ceiling on Unicode em and en dashes in the source.
overrides[].categories table of one of error, warning, suggestion, off or table none
overrides[].categories.<name> one of error, warning, suggestion, off or table none A rule or category name: qualified `<plugin>:<id>` or a bare name that is unambiguous across the active plugins. Keys of maps in this file are data, so the `x-` convention does not apply to them. Names match the pattern ^([a-z][a-z0-9-]*:)?[A-Za-z0-9][A-Za-z0-9._-]*(?![\s\S])
overrides[].categories.<name>.severity one of error, warning, suggestion, off none The level a rule or category reports at. `off` disables it.
overrides[].categories.<name>.minimum_severity one of error, warning, suggestion, off none Lowest level that inherited rules in this category may report at. `off` means no floor, and it cancels a floor set in a lower layer.
overrides[].categories.<name>.max_per_100_words number or none none Density budget; above it the category fails even with no error finding. The string none clears a budget that a lower layer set, so the category has no budget.
overrides[].categories.<name>.weight number none Multiplier on this category’s share of the score. 0 makes it informational.
overrides[].rules table of one of error, warning, suggestion, off none Rule levels by rule name.
overrides[].rules.<name> one of error, warning, suggestion, off none A rule or category name: qualified `<plugin>:<id>` or a bare name that is unambiguous across the active plugins. Keys of maps in this file are data, so the `x-` convention does not apply to them. Names match the pattern ^([a-z][a-z0-9-]*:)?[A-Za-z0-9][A-Za-z0-9._-]*(?![\s\S])
overrides[].terms table none Project vocabulary.
overrides[].terms.allow array of string none Words this project spells or uses its own way. The spelling check and identifier checks skip them.
overrides[].terms.files array of string none Terms files, relative to the config file.
overrides[].terms.blocklists array of string none Word blocklist files, relative to the config file. Each entry names a word, a part of speech and a reason.
network table none Network policy. `offline = true` is sticky: no other source can unset it, so `false` only restates the default. See docs/contract/policies.md.
network.offline boolean false
network.update_check boolean true
review table none Agent review. The provider is a trusted plugin; it stays idle during lint.
review.provider string none Plugin id of the model provider.
review.model string none Model name the reviewer must report.
review.author_model string none Model name of the author. The review refuses a reviewer with the same name.
profile one of strict, normal, relaxed or table none A built-in strictness tier, as a name or as a table that adds a severity shift. A profile sets gate thresholds and shifts severities, and nothing else.
profile.name one of strict, normal, relaxed none
profile.severity_shift integer none Steps to move the inherited severity of each rule along suggestion, warning, error. Inherited means the level from rule definitions, styles and the genre chain. Positive is stricter. A level that a rules or categories entry sets is final and does not move. `off` never moves, and results clamp at the ends.
locale one of en-US, en-GB, und none Spelling target. `und` disables the spelling check.
thresholds table none Document-level gates, evaluated after every finding is collected.
thresholds.max_total_per_100_words number none Severity-weighted error and warning density per 100 words; errors count 1.0 and warnings 0.5.
thresholds.max_errors integer none
thresholds.max_warnings integer none
thresholds.min_score number none Floor on the 0-100 quality score.
thresholds.max_unicode_dashes integer none Ceiling on Unicode em and en dashes in the source.
categories table of one of error, warning, suggestion, off or table none
categories.<name> one of error, warning, suggestion, off or table none A rule or category name: qualified `<plugin>:<id>` or a bare name that is unambiguous across the active plugins. Keys of maps in this file are data, so the `x-` convention does not apply to them. Names match the pattern ^([a-z][a-z0-9-]*:)?[A-Za-z0-9][A-Za-z0-9._-]*(?![\s\S])
categories.<name>.severity one of error, warning, suggestion, off none The level a rule or category reports at. `off` disables it.
categories.<name>.minimum_severity one of error, warning, suggestion, off none Lowest level that inherited rules in this category may report at. `off` means no floor, and it cancels a floor set in a lower layer.
categories.<name>.max_per_100_words number or none none Density budget; above it the category fails even with no error finding. The string none clears a budget that a lower layer set, so the category has no budget.
categories.<name>.weight number none Multiplier on this category’s share of the score. 0 makes it informational.
rules table of one of error, warning, suggestion, off none Rule levels by rule name.
rules.<name> one of error, warning, suggestion, off none A rule or category name: qualified `<plugin>:<id>` or a bare name that is unambiguous across the active plugins. Keys of maps in this file are data, so the `x-` convention does not apply to them. Names match the pattern ^([a-z][a-z0-9-]*:)?[A-Za-z0-9][A-Za-z0-9._-]*(?![\s\S])
terms table none Project vocabulary.
terms.allow array of string none Words this project spells or uses its own way. The spelling check and identifier checks skip them.
terms.files array of string none Terms files, relative to the config file.
terms.blocklists array of string none Word blocklist files, relative to the config file. Each entry names a word, a part of speech and a reason.