Inspect a prompt manifest
A prompt manifest records ownership, variables and intended use. Missing metadata makes future evaluation and rollback harder even when the prompt text itself is readable.
Understand the pattern
A prompt manifest records ownership, variables and intended use. Missing metadata makes future evaluation and rollback harder even when the prompt text itself is readable.
Interpret the evidence
Supply the declared question and context variables before rendering this prompt.
A tempting mistake
Invent undeclared variable names and silently drop the missing ones.
All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.
Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-prompts-config-002.json{
"fixture": "Fictional training data; not a live measurement.",
"revision": "p7",
"owner": "ops-team",
"variables": [
"question",
"context"
],
"purpose": "source-grounded summary"
}Exit status: 0. The command completed successfully in the training fixture.
$ jq .variables /opt/ai-lab/cases/aiops-prompts-config-002.json[ "question", "context" ]
Exit status: 0. The command completed successfully in the training fixture.
$ printf '%s\n' 'validate-two-variables' > /home/learner/lab/aiops-prompts-config-002-decision.txt(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Separate system and user inputTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01List prompt versionsA prompt registry separates the active revision from drafts and rollback candidates. A listed draft should not receive traffic until its rollout is deliberate.Practice
- 02Separate system and user inputTrusted application instructions and untrusted user input belong in distinct roles. Quoted user text should not gain authority merely because it resembles an instruction.Practice
- 03Validate prompt variablesPrompt-variable validation catches missing substitutions before inference. An unresolved placeholder is a configuration defect, not useful context for the model to guess.Practice