Imagine you have a prompt:
- name: "summarize_document"
- version: "1.0.0"
- Required argument: document_text
You decide to:
- Add a required max_words argument.
- Change the output to always return a JSON object with summary and word_count.
This is a breaking change. One safe approach:
Create a new prompt:
- name: "summarize_document_v2"
- version: "2.0.0"
- Arguments: document_text (required), max_words (required)
- Output: JSON format described in the docs
Leave summarize_document v1 as-is.
Document the difference and guide users to adopt summarize_document_v2 when ready.
Over time, once nothing depends on v1, you can deprecate or remove it.