Request a demo
All articles How it works

Versions, certification and environment labels: how a prompt is released

Immutable versions, a review and certification step that the author cannot do alone, and three labels that applications resolve. The model behind every release in InsightPrompts.

November 5, 2026 · 7 min read

InsightPrompts separates two questions that teams often mix up. Is this wording good enough? is answered by certification. Which wording does production use? is answered by environment labels. Keeping them apart is what makes rollback instant and the audit trail readable.

Versions are immutable once they leave draft

A prompt version holds everything the model receives: the system prompt, the template with its variables, few-shot examples, model provider and model id, a fallback model and parameters such as temperature and max tokens. While a version is a DRAFT its author can edit it. Once it is submitted it is frozen. Saving a change to a frozen version in the Studio creates the next draft instead (the Studio says so above the editor: "saving creates v1.1.1 as a new DRAFT").

That rule has a practical consequence: a version number is a fact. If a trace says an answer came from v1.0.0, the exact text that produced it is still there, and the Versions tab can diff it against any other version, system prompt and template side by side.

The Versions tab of a made-up claim summary prompt: v1.1.0 in review by Marcus Lee and v1.0.0 certified with the dev and qa labels, and a side-by-side compare below.
Versions: v1.1.0 is in review, v1.0.0 is certified and serves @dev and @qa. Compare shows a line diff of exactly what the model receives.

The lifecycle

Each move is one validated transition, recorded with who made it and why:

MoveWho may make it
DRAFT → IN_REVIEW (submit)The author
IN_REVIEW → APPROVED, APPROVED → CERTIFIEDAn admin, the prompt's technical approver, or a project owner or editor, and never the version's author
IN_REVIEW → DRAFT (revision requested)A reviewer, or the author taking it back
CERTIFIED → DEPRECATED / RETIREDSomeone allowed to certify

The "never the author" rule is enforced in the API, not just hidden in the interface: an author who calls the approve or certify endpoint on their own version gets a 403. The prompt's detail page shows the result as a small chain, author → reviewer and certifier → released to @prod, with a "separation of duties held" marker when two different people were involved.

Labels: what each environment serves

There are three canonical labels: @dev, @qa and @prod. A label is a pointer to one version. Promoting moves the pointer; nothing is copied. The gates differ by label:

  • @dev can point at any version that is not deprecated or retired.
  • @qa and @prod need a CERTIFIED version.
  • @prod adds separation of duties and an evaluation regression check, covered in The @prod gate.

A promotion is refused if the label already points at that version, so the history only contains real moves.

The Labels and history tab: cards for @dev, @qa and @prod showing the version each serves, with Promote and Roll back buttons, and the promotion history below.
Labels & history: each label card shows the version it serves and who moved it. The history below lists every promotion and rollback.

Rollback walks back, it does not toggle

Rolling back a label undoes its most recent promotion that has not already been undone. A second rollback goes one step further back. This stack behaviour matters on a bad day: if v1.2 replaced v1.1 which replaced v1.0, two rollbacks take you to v1.0, rather than bouncing between the last two versions. A rollback runs the state checks (the target must still be certified for @qa and @prod, and not deprecated or retired), so you cannot roll @prod back onto a version that has since been retired. It skips separation of duties and the evaluation check, because it restores a version that already served.

Every promotion and rollback writes a promotion event and an audit record. The prompt's Audit tab and the organisation-wide Audit log show them alongside edits, certifications and token changes.

What applications see

Applications never ask for "the latest version". They call the consume API with an app token that is bound to one label, and receive what that label points at, provided the version is certified. A token for @prod asking for a prompt that has no @prod label gets a "not released to prod" answer. The details are in How applications call a released prompt.

A note on insights. Insights (a prompt bundled with context) follow the same pattern: versioned bundles, certification and dev, qa and prod labels. Their gates also check that every pinned prompt and context version is itself certified, and Tier 1 insights must pin a specific bundle.

A worked example: three versions, one bad week

Take a made-up prompt that drafts replies to customer emails. v1.0.0 is certified and serves all three labels. The author writes v1.1.0, which shortens the replies, and a second person certifies it. The technical approver moves @dev and then @qa to v1.1.0 so the application team can try it, while @prod stays on v1.0.0. After an evaluation that scores no worse than v1.0.0, @prod moves to v1.1.0. A week later v1.2.0 adds a closing line and goes through the same path.

Then a complaint arrives about v1.2.0. One rollback of @prod returns it to v1.1.0; if the problem turns out to be older, a second rollback returns it to v1.0.0. At each step the history records the move, the person and the reason, and the labels for @dev and @qa are untouched unless someone moves them too. Nothing was copied or rebuilt: each step was a pointer moving between versions that already existed.

Rules that are easy to miss

  • A draft that a label serves is locked. @dev may point at a draft, but while it does, editing that draft is refused with a 409: move or roll back the label first. What a label serves never changes under it.
  • Version numbers. When you save a change to a frozen version the next draft gets the next patch number (1.1.0 becomes 1.1.1). A new version can also be created with an explicit number, for example when a change deserves 1.2.0; a number that already exists for the prompt is refused.
  • Retiring a whole prompt is refused while anything still points at it: a label, an insight bundle that uses it, or an open approval request. The API returns the list, so you know what to clean up first.
  • Subscriptions. People, teams and apps can subscribe to a prompt for new certified versions, deprecations, flags and changes to what @prod serves. Alerts go to Slack when a Slack token is configured; email is not wired yet, so email alerts are only written to the server log.

How to decide when to certify and when to promote

Because the two steps are separate, teams can choose how close together they are. A checklist that works for most:

  • Certify when the wording has been read by someone other than the author and passes its golden set.
  • Promote to @qa as soon as it is certified, so the calling team tests against the exact version that will ship.
  • Promote to @prod when the calling team is ready, not when the reviewer happens to be free.
  • Deprecate an old certified version once nothing should pin it any more; consumers that still call it get deprecation headers before it is retired.

Frequently asked questions

Can an administrator certify their own version in an emergency?

No. The "never the author" rule has no admin exception, for certification or for promotion to @prod. Plan for at least two people who can certify each important prompt.

Is a label move instant for applications?

The next consume call resolves the new version. Applications that cache the fetched prompt, as the Python client does for a configurable number of seconds, see it when their cache expires.

Can two people move the same label at once?

Label moves for one prompt are serialised in the database, so two simultaneous promotions cannot both win; the second one is refused and can be retried.

In short

  • A version number always means the same text and settings.
  • Certification is a second person's verdict on quality.
  • Labels are the release: moving one is a deploy, moving it back is a rollback.
  • Everything is recorded, so "what did production say on the 4th, and who approved it?" has an answer.

See your own prompts go through the gate

Bring two or three prompts you already run. We load them, test them and walk them to @prod with you.

Request a demo