By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
In a conventional service the code version is usually the whole story. In an LLM feature at least three things can change behaviour, often independently: the prompt text, the model behind an alias, and the configuration around them — temperature, output limits, tool allowlist, retrieval settings. A change in any one of them invalidates the evidence you collected for the previous release.
The fix is a manifest. Every request records the exact prompt version, resolved model snapshot, tool-policy version and config hash it ran with. A prompt is immutable once shipped: fixing a typo produces v8, not an edit to v7, because an in-place edit silently changes what every historical evaluation was testing.
import hashlib
def content_hash(text: str) -> str:
"""Hash normalized prompt text, so whitespace-only edits do not pass as new."""
normalized = " ".join(text.split())
return "sha256:" + hashlib.sha256(normalized.encode()).hexdigest()[:16]
PROMPT_V7 = (
"You draft a customer update for a freight exception. "
"Cite the carrier clause that supports each claim."
)
PROMPT_V7_WHITESPACE_EDIT = (
"You draft a customer update for a freight exception. "
"Cite the carrier clause that supports each claim."
)
MANIFEST = {
"prompt_id": "wp-exception-update",
"prompt_version": "v7",
"prompt_hash": content_hash(PROMPT_V7),
"model_alias": "waypoint-standard",
"resolved_snapshot": "sim-2026-09-01",
"tool_policy": "waypoint-tools@v4",
"temperature": 0.2,
"max_output_tokens": 600,
}
print("prompt_version:", MANIFEST["prompt_version"])
print(
"hash stable after whitespace:",
content_hash(PROMPT_V7) == content_hash(PROMPT_V7_WHITESPACE_EDIT),
)
print("model alias pinned to:", MANIFEST["resolved_snapshot"])
print("manifest fields:", len(MANIFEST))Applications should ask for waypoint-standard, not provider-model-2026-08-14. The alias maps to a pinned snapshot in config, and moving the pin is a reviewed change with the same eval and canary discipline as a prompt edit. A provider can deprecate a snapshot on its schedule; your manifest is how you notice before your customers do.
| Change | Typical risk | Safe path |
|---|---|---|
| Prompt wording edit | Silent customer-visible behaviour change | New immutable version, eval, canary, then promote |
| Provider deprecates a snapshot | Unplanned behaviour and latency shift | Alias map, change notice, eval against the replacement before pin move |
| Temperature or output limit | Verbosity, schema drift and cost change | Config hash in the manifest, gate on cost and schema |
| Tool allowlist change | Authority boundary change | Separate tool-policy version with security review |
| Retrieval index rebuild | Citations and coverage change | Index version in the manifest, rerun golden cases |
| SDK or adapter upgrade | Serialization and error-shape changes | Contract tests against the fake provider in CI |
Key takeaways
Prompt text, model snapshot and config all change behaviour independently; version all three.
Prompts are immutable after release; a fix is a new version with review and evidence.
Use model aliases mapped to pinned snapshots, and treat a pin move as a change with an eval and canary.
Attach the manifest and config hash to every eval report and trace so evidence matches the shipped system.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.