VocalDocscontracts 1.65.0

PromptLintFinding

One lint finding of a Prompt template (1.55.0; prompt-manager.md section 6): its code, its severity, where it is and whether a publish needs it acknowledged.

An object with 7 fields.

Fields

FieldTypeRequiredDescription
acknowledgebooleanyesTrue for a warning a publish refuses unless acknowledged_warnings lists its code (PROMPT_ACKNOWLEDGE_CODES).
codePromptLintCodeyes
columninteger or nullyesThe column of that line, from 1; null outside a body.
lineinteger or nullyesThe line in the variant the pointer names, from 1; null outside a body.
messagestringyesA human-readable explanation that names a code, a path or a declared name and never quotes the text it found; never parse it.
pathstringyesA JSON Pointer into the template, such as /variants/default or /declarations/variables/appointment_time; at Agent publish, into the Agent configuration, such as /prompt/template_id.
severityPromptLintSeverityyes