VocalDocscontracts 1.65.0

PromptLintCode

A lint code of a Prompt template (1.55.0; prompt-manager.md section 6). template_invalid: the source does not parse in the closed template language (the code of 1.17.0). undeclared_reference, type_mismatch, unknown_binding: a path, a filter argument or a retrieval slot that the declarations, or at Agent publish the Agent and its Knowledge bindings, do not cover. layer_reference_not_allowed: an Organization layer reads variables or slots, or a task template reads slots. variant_declarations_mismatch: two variants of a version declare different values. phi_literal: an individual-identifying class in literal text or a default() literal (an error in PHI mode, a warning otherwise; allow_terms exempts staff names). phi_before_verification (a warning to acknowledge): a phi variable interpolated outside a condition on a trusted bool variable. secret_like_literal: a key, token or private key pattern. deny_ai_identity, override_attempt and card_collection: forbidden instructions. compliance_claim: a restricted claim of ADR 0015 (an error in a library template, a warning otherwise). enforcement_by_prompt (a warning to acknowledge, Agent publish only): an absolute rule about a Tool, an entity class or a transfer that no Policy of the Agent version guards. unlisted_destination, unknown_tool_name, unguarded_optional, dead_branch and voice_formatting: warnings. length_exceeded: the maximum rendered length against the smallest context window of the chain (an error above the hard limit, a warning above the soft budget; targets).

An enumeration of 20 values.

Values

  • template_invalid
  • undeclared_reference
  • type_mismatch
  • unknown_binding
  • layer_reference_not_allowed
  • variant_declarations_mismatch
  • phi_literal
  • phi_before_verification
  • secret_like_literal
  • deny_ai_identity
  • compliance_claim
  • override_attempt
  • card_collection
  • enforcement_by_prompt
  • unlisted_destination
  • unknown_tool_name
  • unguarded_optional
  • dead_branch
  • length_exceeded
  • voice_formatting