Error codes
Every message the command line prints has a stable code. A code never changes meaning and is never reused. Message text can change in any release, so match on the code.
slopvac-agents
Section titled “slopvac-agents”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
prime-override-symlink |
notice | Ignored .slopvac/PRIME.md (prime-override-symlink): a path component is a symlink. The guidance above is complete. |
none | The notes file, or a directory on its path, is a symlink. |
prime-override-not-regular |
notice | Ignored .slopvac/PRIME.md (prime-override-not-regular): it is not a regular file. The guidance above is complete. |
none | The notes file is not a regular file. |
prime-override-too-large |
notice | Ignored .slopvac/PRIME.md (prime-override-too-large): it is larger than 64 KiB. The guidance above is complete. |
none | The notes file is larger than the cap. |
prime-override-not-utf8 |
notice | Ignored .slopvac/PRIME.md (prime-override-not-utf8): it is not valid UTF-8. The guidance above is complete. |
none | The notes file is not UTF-8. |
prime-override-unreadable |
notice | Ignored .slopvac/PRIME.md (prime-override-unreadable): it could not be read. The guidance above is complete. |
none | The notes file could not be read. |
prime-override-unknown-topic |
notice | Ignored .slopvac/PRIME.md (prime-override-unknown-topic): a topic marker names no topic. The guidance above is complete. |
none | A marker in the notes file names a topic that does not exist. |
prime-override-hardlinked |
notice | Ignored .slopvac/PRIME.md (prime-override-hardlinked): it has more than one hard link. The guidance above is complete. |
none | The notes file has more than one hard link. |
steering-unsafe-target |
error | unsafe steering target: {target} |
target | A steering target escapes the project or is not a Markdown file. |
steering-malformed |
error | {message} |
message | The managed block or the file around it cannot be edited safely. |
steering-not-utf8 |
error | steering must be UTF-8: {path} |
path (path) | The steering file is not UTF-8. |
steering-conflict |
error | file changed during setup; retry: {path} |
path (path) | The file changed between read and write. |
steering-not-managed |
error | {path} is not a slopvac-managed file; move it aside to install it |
path (path) | The path holds a file slopvac did not write. |
setup-usage |
error | {message} |
message | A command was used wrongly or a template or JSON step failed. |
setup-io |
error | {path}: {reason} |
path (path), reason | A file could not be read or written. |
claims-text-failed |
error | text segmentation failed: {detail} |
detail | The text library failed to segment or tokenize a document. |
agents-notice-invalid |
error | cannot build notice {notice_code}: {reason} |
notice_code, reason | A notice could not be built from its code and message. |
models-eval-invalid |
error | model evals: {detail} |
detail | The reviewer model results file is not valid. |
review-scope-approval |
error | the review would add {extra} checks beyond the {required} changed claims; the budget is {budget}. Ask the user to confirm this scope, then rerun with --scope-approved, or set review_approval = "auto". |
extra (count), required (count), budget (count) | The review would add more checks than the budget allows without the user’s approval. |
review-model-same |
notice | the reviewer model {reviewer} is the author's model, so the review is not independent. Use a model from a different family than the author's. |
reviewer | The reviewer model is the author’s model. |
review-model-reported-mismatch |
notice | the provider reported {reported} for part of the review, not the requested {requested}. Check which model reviewed those items. |
requested, reported | The provider reported a model other than the one the review asked for. |
review-provider-reply-invalid |
error | the model provider's reply is invalid at payload item {index}: it repeats an item, names an item outside the {count} payload items, leaves an item out, or has an entry without text or a model |
index, count | The provider’s reply breaks the completion contract: a repeated, outside or missing item, or an entry without text or a model. |
review-type-ineligible |
error | --type {chosen} is too light for this change: it needs at least {needed} because {reason} |
chosen, needed, reason | The review type named with –type is lighter than the change needs. |
review-provider-missing |
error | no trusted model provider: run `slopvac plugins trust` for one and name it under [review] provider, or use --dry-run |
none | The review needs a trusted model provider and none is set. |
setup-reviewer-model-format |
error | {message} |
message | The reviewer model is not valid for the agent file format. |
review-model-unchecked |
notice | the reviewer is not checked against the author: {missing} is unknown. Pass --author-model and --reviewer-model, or set author_model and model under [review]. |
missing | The reviewer could not be checked against the author’s model. |
setup-reviewer-model-unset |
notice | no reviewer model is set, so the harness picks it: {picks}. That can be the author's model. Pass --reviewer-model with a model from a different family than the author's. |
picks | No reviewer model is set, so the harness picks one. |
slopvac-config
Section titled “slopvac-config”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
config-io |
error | cannot read {path}: {reason} |
path, reason | A file could not be read. |
config-too-large |
error | {path} is larger than {cap} bytes |
path, cap (count) | A config file is larger than the config size cap. |
style-too-large |
error | {path} is larger than {cap} bytes |
path, cap (count) | A style file is larger than the style size cap. |
document-too-large |
error | {path} is larger than {cap} bytes |
path, cap (count) | A document is larger than the document size cap. |
config-parse |
error | {message} |
message | The file is not valid TOML or YAML, or its front matter does not parse. |
config-unknown-key |
error | {message} |
message | A key that the schema does not define. |
config-invalid-type |
error | {message} |
message | A value of the wrong type. |
config-invalid-value |
error | {message} |
message | A value of the right type that the schema refuses. |
config-missing-key |
error | {message} |
message | A required key is absent. |
config-legacy-version |
error | {message} |
message | A 2.x config: no schema_version, or version 2. |
config-unsupported-version |
error | {message} |
message | A schema_version newer than this build supports. |
config-extends-cycle |
error | {message} |
message | An extends chain that loops back on itself. |
config-budget-exceeded |
error | {message} |
message | An extends graph that passes a budget: depth, files applied or bytes read. The diagnostic data names the budget, the limit and the file. |
config-extends-missing |
error | {message} |
message | An extends entry that names no readable config. |
config-duplicate-scope |
error | {message} |
message | Two [[overrides]] or [[genres]] blocks with the same files set. |
config-frontmatter-field-denied |
error | {message} |
message | A front-matter field that [frontmatter] allow does not list. |
slopvac-config-text
Section titled “slopvac-config-text”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
config-unknown-rule |
notice | {place}: unknown rule {rule}; use a rule id from `slopvac rules` |
place, rule | A rule id in a config layer that no loaded rule has. The run goes on without it. |
slopvac-context
Section titled “slopvac-context”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
tagger-pattern-too-long |
error | pattern is {len} bytes, over the {max}-byte limit |
len (count), max (count) | A tagger pattern is longer than the pattern cap. |
slopvac-engine-notices
Section titled “slopvac-engine-notices”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
rule-style-not-implemented |
notice | {count} active {kind} rule(s) did not run: the engine runs only the sentence style |
count (count), kind | Active capitalization rules use an unsupported style. |
rule-kind-not-implemented |
notice | {count} active {kind} rule(s) did not run: the engine does not run {kind} rules yet |
count (count), kind | Active rules use an unsupported kind. |
comment-rules-not-run |
notice | {count} active rule(s) do not run on code comments, which only the tokens, pattern, substitution and capitalization rules read: {rules} |
count (count), rules | Nonlexical rules do not run on comments. |
comment-rule-named-not-run |
notice | {count} rule(s) you enabled by name do not run on code comments, which only the tokens, pattern, substitution and capitalization rules read: {rules} |
count (count), rules | Rules the user enabled by name cannot run on comments. |
cases-rule-unchecked |
notice | {count} active rule(s) of a mechanically checkable kind were not checked by the case runner |
count (count) | The case runner could not check active rules of a checkable kind. |
vocabulary-no-blocklist |
notice | {count} active vocabulary rule(s) did not run: no word blocklist is set |
count (count) | Vocabulary rules lack a blocklist. |
vocabulary-no-taggable-entries |
notice | {count} active vocabulary rule(s) did not run: the blocklist holds no noun, verb, adjective or adverb entry of three or more letters |
count (count) | The blocklist has no usable entries. |
vocabulary-sweep-shared |
notice | {count} other vocabulary rule(s) did not run separately: the blocklist sweep runs once, under {owner} |
count (count), owner | Vocabulary rules share one sweep. |
rst-prose-unplaced |
notice | {message} |
message | RST nodes have no usable source lines. |
rst-line-precise |
notice | {message} |
message | RST blocks could only be placed by line. |
rst-converter-missing |
notice | {message} |
message | No RST converter was available. |
rst-unchecked |
notice | {message} |
message | The RST converter failed. |
extract-unsupported |
notice | {reason}; the diagram was not checked |
reason | Valid diagram content is unsupported. |
extract-malformed |
notice | {reason}; the diagram was not fully checked |
reason | A diagram is malformed. |
extract-budget |
notice | the {cap} limit of {limit} was reached; the diagram was not fully checked |
cap, limit (count) | A diagram extractor reached a limit. |
extract-output-invalid |
notice | {reason} |
reason | An extractor plugin returned invalid output. |
slopvac-engine-refusals
Section titled “slopvac-engine-refusals”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
fix-outside-root |
error | fix-outside-root |
none | A fix target is outside the project root. |
fix-symlink |
error | fix-symlink |
none | A fix target is a symlink. |
fix-not-regular |
error | fix-not-regular |
none | A fix target is not regular. |
fix-hardlinked |
error | fix-hardlinked |
none | A fix target has multiple hard links. |
fix-not-owner |
error | fix-not-owner |
none | A fix target has a different owner. |
fix-unsafe-directory |
error | fix-unsafe-directory |
none | A fix target directory is writable by others. |
fix-group-mismatch |
error | fix-group-mismatch |
none | A replacement cannot retain the group. |
fix-acl-present |
error | fix-acl-present |
none | A fix target has an access control list. |
fix-unsupported-platform |
error | fix-unsupported-platform |
none | This platform lacks safe in-place writes. |
fix-changed |
error | fix-changed |
none | A fix target changed before commit. |
report
Section titled “report”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
render-missing-source |
error | {format} output needs the text of {path} |
format, path | The format needs the document text and the caller gave none. |
render-position |
error | {path}: {reason} |
path, reason | A span does not fit the document text. |
render-json |
error | cannot serialise the report: {reason} |
reason | Serialisation failed. |
slopvac-lsp
Section titled “slopvac-lsp”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
lsp-protocol-error |
error | language server protocol error |
none | The connection broke or the client broke the protocol. The message carries no protocol text, because it can quote a whole client message, document text included. |
lsp-initialize-invalid |
error | invalid initialize parameters: {category} error at line {line}, column {column} |
category, line (count), column (count) | The client sent initialize parameters this server cannot read. The message names the failure’s category and position only, because the parser’s text quotes the rejected value, such as a workspace path. |
lsp-connection-closed |
error | the client connection closed |
none | The connection closed while the server was still sending. |
lsp-worker-panicked |
error | the lint worker panicked |
none | The lint worker thread panicked or could not start. |
lsp-setup-failed |
error | cannot start the language server: {detail} |
detail | The engine could not be built. |
lsp-io-failed |
error | language server input or output failed: {detail} |
detail | The standard streams failed. |
lsp-binary-unchecked |
notice | binary host not linted in the editor; run the CLI |
none | A binary container is not linted in the editor. |
lsp-lint-incomplete |
notice | slopvac could not lint this document: {reason} |
reason | The lint could not finish, so the buffer must not look clean. |
lsp-method-unsupported |
error | method not supported: {method} |
method | The client sent a request the server does not handle. |
lsp-params-invalid |
error | invalid {method} parameters: {category} error at line {line}, column {column} |
method, category, line (count), column (count) | The client sent request parameters the server cannot read. The message names the failure’s category and position only, because the parser’s text quotes the rejected value, such as document text or a path. |
slopvac-packs
Section titled “slopvac-packs”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
pack-name-ambiguous |
error | pack-name-ambiguous{at}: `{name}` is ambiguous: {claims}; use a qualified name |
at, name, claims | A bare name is claimed by more than one plugin. |
plugin-not-locked |
error | plugin `{id}` is not in the lock; run `slopvac plugins sync` to pin it |
id | The config lists a plugin that the lock does not pin. |
plugin-not-installed |
error | plugin `{id}` is locked but not installed; run `slopvac plugins sync` |
id | The lock pins a plugin that the store does not hold. |
plugin-tampered |
error | the installed tree of plugin `{id}` differs from its lock digest; run `slopvac plugins sync` to restore it |
id | The stored tree of a plugin differs from its lock digest. |
plugin-store-unreadable |
error | cannot read the installed tree of plugin `{id}` |
id | The store could not be read for a plugin. |
plugin-api-unsupported |
error | plugin `{id}` targets extension API {api}, which this slopvac does not implement |
id, api (count) | A plugin targets an extension API that this build does not implement. |
plugin-manifest-mismatch |
error | plugin `{id}`: the installed manifest has another {field} than the lock |
id, field | The installed manifest disagrees with the lock entry. |
plugin-requires-cycle |
error | plugins require each other in a cycle: {cycle} |
cycle | Plugins require each other in a loop. |
plugin-requirement-unmet |
error | plugin `{id}` requires `{needs}` {requirement}, which the lock does not provide |
id, needs, requirement | A required plugin is missing or at a version that does not satisfy the requirement. |
plugin-glob-too-complex |
error | a `provides` glob is too complex: it may nest {depth} levels, hold {alternatives} alternatives and run {bytes} bytes |
depth (count), alternatives (count), bytes (count) | A provides glob nests, branches or runs past the limits. |
plugin-rule-id-collision |
error | plugin `{plugin}` is refused: its rule `{rule}` has the id of a rule that another plugin supplies, and nothing from the plugin loads |
plugin, rule | A plugin supplies a rule with the id of one that an earlier plugin supplies. |
plugin-file-link |
error | the plugin holds a link at `{path}`, which is not allowed |
path | A plugin directory holds a link, which a plugin may not contain. |
plugin-too-many-entries |
error | the plugin directory holds more than {limit} entries |
limit (count) | A plugin directory holds more entries than a plugin may. |
slopvac-plugins
Section titled “slopvac-plugins”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
command-not-wired |
error | `slopvac {command}` is not available in this build yet. |
command | The subcommand exists in the command tree but has no implementation in this build. |
plugins-lock-unreadable |
error | cannot read the lock file: {detail} |
detail | The lock file could not be read. |
plugins-lock-invalid |
error | {detail} |
detail | The lock file is not a valid lock. |
plugins-fetch-failed |
error | {detail} |
detail | A registry could not be listed. |
plugins-store-failed |
error | {detail} |
detail | The trust store failed, or the group could not be set up. The cause is redacted text: the store’s own error names the absolute path of the file. |
plugins-unknown-plugin |
error | `{id}` is not in the lock |
id | The id names no plugin in the lock. |
plugin-not-code |
error | `{id}` is a data plugin; it runs no code, so trust does not apply to it |
id | trust or untrust named a data plugin. |
plugins-untrust-not-trusted |
error | no trust is recorded for `{id}` |
id | untrust named a plugin that has no trust record. |
plugins-trust-revoked-plugin |
error | `{id}` is on the revocation list; trust is refused |
id | The revocation list names the plugin, so trust is refused. |
plugins-trust-inputs-failed |
error | cannot load `{id}` to record trust: {detail} |
id, detail | The files of a code plugin could not be loaded for trust. |
plugins-output-failed |
error | cannot write the output: {detail} |
detail | Writing the output failed. |
plugin-untrusted |
error | plugin {plugin} is not trusted; run `slopvac plugins trust` for it |
plugin | The content hash has no recorded trust. |
trust-key-missing |
error | the trust key is missing while trust records exist, so plugin {plugin} cannot be checked; run `slopvac plugins trust` for it to trust it again |
plugin | Trust records exist but the key they were made under is gone. |
trust-key-mismatch |
error | the trust key changed after plugin {plugin} was trusted, so it cannot be checked; run `slopvac plugins trust` for it to trust it again |
plugin | The trust records were made under another key than the store’s. |
trust-key-unusable |
error | the trust key cannot be used for plugin {plugin}; fix the file, or delete it and run `slopvac plugins trust` for each plugin |
plugin | The trust key file is not private to the user or does not hold a key. |
plugin-hash-mismatch |
error | plugin {plugin} changed after it was trusted; run `slopvac plugins sync` to restore the verified files, and `slopvac plugins trust` to approve new content |
plugin | The installed bytes differ from the hash that trust recorded. |
plugin-timeout |
error | plugin {plugin} timed out: {what} |
plugin, what | A timer of the protocol expired. |
plugin-exited |
error | plugin {plugin} exited ({status}){stderr} |
plugin, status, stderr | The process ended with requests pending. |
plugin-protocol-violation |
error | plugin protocol violation: {detail} |
detail | A framing error, a limit breach or a duplicate key. |
plugin-output-invalid |
error | plugin output invalid: {detail} |
detail | A result does not match its schema or breaks a rule such as span bounds. |
plugin-spawn-failed |
error | plugin failed to start: {detail} |
detail | The program did not start. |
launcher-not-installed |
error | the running program did not install the slopvac plugin launcher, so plugins and git plugin sources cannot start |
none | The running program never installed the plugin launcher. |
plugin-declaration-mismatch |
error | plugin declaration mismatch: {detail} |
detail | The reply disagrees with the hashed manifest. |
request-id-exhausted |
error | request ids exhausted |
none | The request counter reached its limit. |
protocol-version-unsupported |
error | no common protocol version: host speaks {host}, plugin speaks {plugin} |
host, plugin | No common protocol version. |
required-feature-missing |
error | plugin requires feature `{feature}`, which the host does not offer |
feature | The host lacks a feature the plugin requires. |
request-cancelled |
error | request cancelled |
none | The host cancelled the request and discarded the answer. |
message-too-large |
error | message too large: {detail} |
detail | The hook or document does not fit a message and cannot be split. |
plugin-usage |
error | invalid use of plugin: {detail} |
detail | The caller used the plugin wrongly, for example an undeclared hook. |
parse-error |
error | {detail} |
detail | The plugin answered with the JSON-RPC code for malformed JSON. |
invalid-request |
error | {detail} |
detail | The plugin answered with the JSON-RPC code for an invalid request. |
method-not-found |
error | {detail} |
detail | The plugin answered with the JSON-RPC code for an unknown method. |
invalid-params |
error | {detail} |
detail | The plugin answered with the JSON-RPC code for invalid parameters. |
not-initialized |
error | {detail} |
detail | The plugin answered that it is not initialized. |
document-invalid |
error | {detail} |
detail | The plugin answered that the document is invalid. |
offline |
error | {detail} |
detail | The plugin answered that it needs the network while offline mode is on. |
internal-error |
error | {detail} |
detail | The plugin answered with a code the contract does not define. |
namespace-reserved |
error | namespace `{namespace}` is reserved; no key can be pinned for it |
namespace | A key cannot be pinned for a reserved or first-party namespace. |
revocation-list-invalid |
error | {detail} |
detail | The revocation list, its signature or its artifact cannot be used. The detail is the sentence of the failure. |
revocation-list-unavailable |
error | the revocation list could not be fetched: {detail} |
detail | The registry or the network failed, or withheld the revocation list. |
revocation-list-expired |
error | the revocation list served online expired at {expires}; the source is replaying an old list |
expires | The fetched list is past its signed expiry. |
revocation-list-rollback |
error | the fetched revocation list (issued {fetched}) is older than the cached one (issued {cached}) |
cached, fetched | The fetched list is older than the cached one. |
revocation-list-equivocation |
error | the fetched revocation list differs from the cached one with the same issued time ({issued}) |
issued | Two different signed lists claim the same issue time. |
revocation-cache-invalid |
error | {detail} |
detail | The cache file does not hold a signed list, or a file operation on it failed. The detail is the sentence of the failure. |
revocation-clock-invalid |
error | the current time `{now}` is not YYYY-MM-DDTHH:MM:SSZ |
now | The caller’s clock is not a UTC time in the expected form. |
revocation-list-missing |
notice | no revocation list has been fetched; run `slopvac plugins sync` online |
none | No revocation list was ever fetched on this machine. |
revocation-list-stale |
notice | the cached revocation list (issued {issued}) expired at {expires}; run `slopvac plugins sync` online |
issued, expires | The cached revocation list is past its signed expiry. |
credential-helper-untrusted |
error | credential helper `{program}` was not found in a trusted directory; it exists only in {dir}. Tighten the permissions of that directory so that only you or root can write it, or sign in with a static `auths` login in the Docker config, with SLOPVAC_OCI_USER and SLOPVAC_OCI_TOKEN, or with GITHUB_TOKEN for ghcr.io |
program, dir (path) | A helper exists only in an untrusted directory. |
credential-helper-project-unknown |
error | credential helper `{program}` was not run: the project directory is unknown |
program | A helper cannot be checked without the project directory. |
offline-plugin-missing |
error | offline: plugin `{id}` ({digest}) is not in the cache: {what} |
id, digest, what | Offline mode and the cache lacks content the lock needs. |
lock-mismatch |
error | the lock does not match the resolved plugins: {diff} |
diff | The resolved plugins differ from the lock. |
cache-tampered |
error | plugin `{id}`: the cached tree {path} was modified and was removed; offline sync cannot restore it |
id, path (path) | An installed tree changed and offline sync cannot fetch it again. |
digest-mismatch |
error | plugin `{id}`: digest mismatch: the lock pins {expected}, the content is {actual} |
id, expected, actual | Fetched or read content does not hash to the locked digest. |
signature-invalid |
error | {detail} |
detail | The signature gate refused the artifact. |
sync-fetch |
error | {detail} |
detail | A network or registry fetch failed and the source error has no code of its own. |
sync-unsigned |
error | {detail} |
detail | The lock has no signature for an OCI entry. |
plugin-revoked |
error | plugin `{id}`: {what} is on the revocation list |
id, what | The revocation list names the artifact or its signing key. |
sync-failed |
error | {detail} |
detail | Any other failure of a sync, status or check. |
update-lock-busy |
error | another `plugins update` holds the lock on {path}; gave up after {secs} s |
path (path), secs | Another update holds the guard lock. |
unsupported-on-windows |
error | `{path}`: writes are not supported on Windows yet; the lock was not changed |
path (path) | The lock cannot be written on Windows. |
update-plugin-unknown |
error | {detail} |
detail | plugins update named a plugin that the lock does not list. |
update-failed |
error | {detail} |
detail | Any other failure of plugins update. |
slopvac-rules
Section titled “slopvac-rules”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
rules-file-too-large |
error | [rules-file-too-large] file is larger than {cap} bytes |
cap (count) | A rule or category file is larger than the file cap. |
rules-budget-exceeded |
error | [rules-budget-exceeded] the input passes the limit of {limit} {unit} ({budget}) |
limit (count), unit, budget | A load passed one of the pack budgets: files, entries, bytes, or entries in one rule. |
rules-pattern-too-long |
error | [rules-pattern-too-long] a pattern is {len} bytes, over the {limit}-byte limit |
len (count), limit (count) | An authored pattern is longer than the pattern cap. |
slopvac-styles
Section titled “slopvac-styles”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
style-conflict |
notice | style `{loser}` conflicts with `{winner}`; `{winner}` wins |
loser, winner | Two active styles declare a conflict. The later style wins. |
style-detect-file-too-large |
notice | {label} is over the 1 MiB style detection limit; house-style detection skipped it. |
label (path) | House-style detection skipped a file over the size limit. |
slopvac-terms
Section titled “slopvac-terms”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
terms-file-too-large |
error | [terms-file-too-large] {path} is larger than {cap} bytes |
path (path), cap (count) | A terms or blocklist file is larger than the terms file cap. |
report issue
Section titled “report issue”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
report-incomplete |
error | required fields are missing: {fields}. Pass each as --field ID=VALUE (tick a box with ID=true). |
fields | A required form field is missing. |
report-body-file |
error | --body-file: {reason} |
reason | The --body-file path cannot be used or written. |
report-gh-missing |
error | the GitHub CLI `gh` was not found on PATH. Nothing was created. Install it from https://cli.github.com/, or run the printed command yourself. |
none | The GitHub CLI (gh) was not found. |
report-gh-not-logged-in |
error | `gh auth status` failed; run `gh auth login`. Nothing was created. |
none | The GitHub CLI is not logged in to github.com. |
report-gh-failed |
error | `gh issue create` failed: {reason} |
reason | gh issue create failed or ran longer than 60 seconds. |
report-invalid |
error | invalid report input: {detail} |
detail | A title, field or document sample holds a control character, or an argument is malformed. |
report-sample-unreadable |
error | --include-text: {reason} |
reason | The --include-text file cannot be read. |
slopvac-migrate
Section titled “slopvac-migrate”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
config-legacy-dropped |
error | {records} |
records | Settings with no 3.0 equivalent; nothing is written. The records follow one per line. |
config-already-migrated |
error | {file}: already migrated (schema_version is 3 or higher) |
file | The config already carries schema_version = 3. |
migrate-config-conflict |
error | {detail} |
detail | Two config files in one directory make the result ambiguous. |
migrate-unsafe-path |
error | unsafe: {detail} |
detail | A path leaves the project, crosses a link or shares an inode, or a backup is in the way. |
migrate-file-changed |
error | changed: {detail} |
detail | A file changed after the migration was planned or written. |
migrate-override-overlap |
error | {file}:{line}: `overrides[{block}]`: cannot decide how this block overlaps the others: {reason}. --preserve-behavior accepts one pattern per block: an anchored path such as `docs/api` or a tree such as `docs/**` |
file, line, block, reason | An override block whose files pattern is outside the grammar --preserve-behavior reads. |
migrate-rename-table |
error | rename table: {detail} |
detail | The rename table is malformed. |
migrate-lint-failed |
error | lint: {detail} |
detail | The engine could not lint the project. |
migrate-output-invalid |
error | {file}: the migrated config is refused, so nothing is written: {reason} |
file, reason | A config that the migration would write is refused: it does not load in 3.0, or it would not keep the 2.x levels. Nothing is written. |
migrate-run-limit |
error | {path}: run limit reached: more than {limit} {what} in one run |
path, limit (count), what | A run read more files or bytes than its limits allow. what is files or bytes. |
migrate-not-utf8 |
error | {path}: not valid UTF-8 |
path | A file is not valid UTF-8. |
migrate-io-failed |
error | {path}: {reason} |
path, reason | A filesystem operation failed. |
migrate-rule-removed |
notice | migrate-rule-removed: {setting}; see removed-rules.toml at https://github.com/slopvac/slopvac/blob/main/docs/contract/compat/removed-rules.toml |
setting | A rule that 3.0 no longer has was dropped. The run goes on. |
migrate-category-removed |
notice | migrate-category-removed: {setting}; see removed-rules.toml at https://github.com/slopvac/slopvac/blob/main/docs/contract/compat/removed-rules.toml |
setting | A category that 3.0 no longer has was dropped. The run goes on. |
lint options
Section titled “lint options”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
explain-config-format-unsupported |
error | `--explain-config` prints text only; remove `--format {format}`. |
format | --explain-config was given with a report format other than text. |
explain-config-option-unsupported |
error | `--explain-config` cannot be used with `{option}`; remove it. |
option | --explain-config was given with an option it would ignore. |
unknown-style |
error | slopvac.toml: unknown style {name}; the styles that ship are: {shipped}. |
name, shipped | styles in the project config lists a style that does not ship. |
ambiguous-category |
error | The category name {name} is ambiguous: {candidates} all match. Write `<plugin>:<category>`. |
name, candidates | A bare category name that more than one plugin ships. |
ambiguous-rule |
error | The rule id {name} is ambiguous: {candidates} all match. Write `<plugin>:<rule>`. |
name, candidates | A bare rule id that more than one plugin ships. |
lint fix
Section titled “lint fix”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
fix-failed |
error | {shown}: not fixed: {reason} |
shown, reason | The fix failed for a reason other than a lint error or a refusal. |
self update
Section titled “self update”| Code | Kind | Message | Parameters | Summary |
|---|---|---|---|---|
self-update-unmanaged |
error | this install ({method}) is not managed by the slopvac installer; {advice} |
method, advice | self update ran on an install that the slopvac installer does not manage. |
offline-network-needed |
error | offline: {command} needs the network |
command | A command that needs the network ran with offline mode on. |
update-check-failed |
error | {detail} |
detail | Asking the registry for the newest version failed. |
self-update-failed |
error | {detail} |
detail | The download, extraction or replacement of the binary failed. |
update-verification-failed |
error | {detail} |
detail | The signature check refused the downloaded archive. |
update-prerelease-refused |
error | {detail} |
detail | The newest release is a prerelease, which self update never installs. |
update-policy-too-large |
error | larger than {cap} bytes |
cap (count) | The nearest slopvac.toml is larger than the policy read allows. The text follows the path. |
update-available |
notice | slopvac {latest} is available (you have {current}). {advice} |
latest, current, advice | A newer release exists. The advice names the upgrade command or the releases page. |
update-in-progress |
error | another slopvac update is running (lock file {file}); try again when it finishes |
file | Another self update held the update lock for the whole 60-second wait. |
update-lock-unsafe |
error | refusing to use the update lock {file}: {problem} |
file, problem | The update lock file is a symbolic link, has more than one hard link, belongs to another user or has a mode looser than 0600. |
update-interrupted |
error | an earlier update was interrupted and the installed binary is not one it knows; check the installed slopvac. {hint} |
hint | An earlier update died part-way and the installed binary matches no known build, or the update record is unreadable. |
update-version-unknown |
error | cannot tell which version of slopvac is installed ({reason}); refusing to install over it. Check that the installed slopvac runs, then run the update again |
reason | No update record vouches for the installed binary and it did not report a version when run. |
Retired codes
Section titled “Retired codes”These codes no longer appear. Do not reuse them.
| Code | Note |
|---|---|
config-invalid-toml |
Merged into config-parse. |
review-same-model |
A reviewer on the author’s model no longer stops a review. See review-model-same. |
migrate-comment-switch-blocks |
migrate –preserve-behavior folds each profile switch into the override block that selects the profile, so it writes no switch block. |
migrate-note-added-switch-blocks |
Replaced by migrate-note-merged-switch. |
plugin-category-id-collision |
A plugin category may share a bare id with a core category, because the engine keys categories by plugin and id. A shared rule id is still refused with plugin-rule-id-collision. |