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_invalidundeclared_referencetype_mismatchunknown_bindinglayer_reference_not_allowedvariant_declarations_mismatchphi_literalphi_before_verificationsecret_like_literaldeny_ai_identitycompliance_claimoverride_attemptcard_collectionenforcement_by_promptunlisted_destinationunknown_tool_nameunguarded_optionaldead_branchlength_exceededvoice_formatting