> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zelinqa.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Review and publish

> Validate a draft, follow compilation, and activate a new version.

Publishing turns an editorial draft into a version the runtime can execute.

<Frame>
  <img src="https://mintcdn.com/zelinqa-d77427f3/Yj84d-FlY_UhrTB0/images/studio-capture-pending.svg?fit=max&auto=format&n=Yj84d-FlY_UhrTB0&q=85&s=db721b85a66499695ac3f76725245e47" alt="Placeholder for the final Review and publish page screenshot" width="1440" height="810" data-path="images/studio-capture-pending.svg" />
</Frame>

## Before publishing

Studio distinguishes between:

* **blocking errors**, which must be fixed before publishing;
* **warnings**, which deserve review but may not prevent publishing;
* the **diff**, which summarizes changes from the active version.

## Three stages

<Steps>
  <Step title="Validation">
    The server checks identifiers, references, question types, sub-objectives, and success information.
  </Step>

  <Step title="Compilation">
    An asynchronous job prepares the decision artifact. You can leave Studio; the job continues on the server.
  </Step>

  <Step title="Activation">
    If compilation succeeds, the new version becomes active for sessions created afterwards.
  </Step>
</Steps>

A failed compilation never replaces the active version. Fix the reported cause or publish again; visitors continue using the latest valid version.

<Note>
  An existing session keeps the version it was created with. Publishing therefore does not alter an ongoing conversation.
</Note>
