Documentation
Guides

Drafts, versions, and deployments

Create named Drafts, validate and save Blueprint changes, publish or deploy them, and review version history.

This page explains the lifecycle of a Blueprint change. You create a named Draft, edit and validate it, and save private versions. Then you publish it, deploy a Bundle Version, and audit version history. For what a Blueprint contains and how to inspect and test definitions, see Blueprints.

How the Draft lifecycle works

Bobsled AI separates editing, validation, saving, and publication. A Project can hold several named Drafts. You save each one independently and publish only the Draft that you select. The following table shows what each stage changes:

Stage
What Bobsled AI does
What changes
EditSaves your file edits in the selected Draft.The Draft only.
ValidateChecks structural rules and supported semantic rules.Nothing. A later edit clears the result.
SaveStores a private immutable version of the Draft's files.The Draft's private versions.
PublishCombines the Draft's complete changes with the deployed version, and then saves, validates, and deploys the result.The Project's latest committed and deployed versions.
DeployPromotes an existing shared Bundle Version.The deployed version.

A Draft moves through edit, validate, save version, and publish. Publishing updates the latest committed and deployed versions. Deploy promotes an existing shared Bundle Version.

For definitions, see Draft session, Bundle Version, and Deployment.

Project version state

A Project shows three independent kinds of state:

  • Latest committed: The shared Project version. Saving a private Draft doesn't change it.
  • Deployed: The exact version that's live.
  • Named Drafts: Separate sets of edits and saved work.

Don't assume that the highest version is deployed. Check the labels before you diagnose runtime behavior or start new authoring work.

Before you begin

To create, edit, save, publish, or discard a Draft, you need the Maintainer role on the Project. A Reader can read Blueprint files, Drafts, and versions through Balto, the API, and MCP. For more information, see Roles and permissions.

Create, name, and resume a Draft

Keep one purpose in each Draft so that you can review and publish it independently.

To create a Draft, do the following:

  1. In the sidebar, click Blueprints.
  2. Select a Project.
  3. Click New draft.
  4. Enter a name, and then click Create draft. The Draft starts from the deployed version.

If you create the Draft from the Project overview, its chat opens with a saved setup exchange and suggested next steps. The setup exchange confirms that the Draft is ready. It doesn't run an authoring request until you send one. If Bobsled AI created the Draft but its chat didn't open, click Open draft chat to retry opening the same Draft.

To open or switch Drafts, use one of these options:

  • Open a Draft: On the Project overview, select the Draft under Open drafts. The editor opens on Changes.
  • Switch Drafts: Close the editor. The Draft stays selected, and the header shows a Draft picker that you can use to switch Drafts. The picker is hidden while the editor is open.
  • Start another Draft from the editor: Click Draft actions, and then select New draft.
  • Reopen the selected Draft: On the Project overview, click Resume draft.

A Draft's URL opens the same Draft in another browser tab.

Edit and review changes

To edit a file, click Edit YAML on the file, and then wait for saving to finish. Use the Files and Changes toggle to switch between editing and review.

To review your changes, click Changes. This view compares every changed file with the committed base. Review added, changed, renamed, and deleted files, including changes outside the file that you intended to edit.

The Changes view of a Draft, with changed files marked in the file tree and a line-level diff.

To fill the workspace with the Draft, in Files or Changes, click Full page. To return to the paired chat layout, click Restore side panel or press Escape. Unsent messages and editor state stay in place. Opening a different Draft resets this expansion.

To check a model's SQL or a verified query before you validate, see Test Draft behavior.

Validate and save a Draft

The Draft header has a Validate button and a Save button. To validate and save a Draft, do the following:

  1. Click Changes to open your changed files.
  2. Click Validate. The result appears in a notification at the top right of the Draft workspace.
  3. If validation fails, read each problem in the notification.
  4. In the notification, click a file button to open the affected file.
  5. Resolve the problems, and then validate again. A successful check shows Draft is valid.
  6. Click Save.
  7. Optional: In the Save version dialog, enter a description.
  8. Click Save version.

Validation reports structural and supported semantic problems. It doesn't create a version or deploy anything. Dismissing the notification keeps the saved validation result. A later file edit clears that result, and you must validate again. If you skip Validate, Save validates the Draft first and opens the Save version dialog only when validation passes.

After you save a Draft, the following is true:

  • The same Draft stays open and editable.
  • Bobsled AI stores a private version of the Draft's files.
  • The Project's latest committed and deployed versions stay unchanged.

Saving uses the diff and validation fingerprint that you reviewed. If another edit or a conflicting version makes that validation stale, Bobsled AI clears the result and requires you to validate again. It doesn't silently save different work.

Agentic model validation

Validation blocks new failures when Bobsled AI resolves an agentic model's inputs or plan. Read the diagnostic for the affected source or model. Check the referenced columns, types, and input keys. If an unchanged model has the same failure in the base version, validation can keep it as a warning. For input and output requirements, see Agentic models.

Update an older Draft

Older Drafts keep their files when the Blueprint toolkit changes. Validation identifies retired content and gives the required replacement. To update an older Draft, do the following:

  1. Rebase the Draft onto the latest version. This step updates the files that you didn't edit.
  2. Before you publish, repair any remaining validation findings.

Validation still accepts three deprecated aliases: bobsled_connection_ref, bobsled_source_kind, and destination type: bobsled_managed. In new definitions, use dogsled_connection_ref, dogsled_source_kind, and type: dogsled_managed.

Publish one selected Draft

Publication combines the selected Draft's complete changes with the deployed version. To publish a Draft, do the following:

  1. In Blueprint, select the named Draft.
  2. If your own Draft is closed, click Resume draft. A saved Agent Draft opens read-only and doesn't need this step.
  3. Review the Draft's files and changes.
  4. Click Save & publish.

Publishing saves the selected Draft and validates the combined result. The Project's latest committed and deployed versions update after deployment succeeds.

Other Drafts stay separate. For example, publishing Draft B after Draft A keeps A's live changes and adds B's changes. Draft C stays private.

After publication, the Draft stays readable with its publication result. You can't edit or resume it. Private saved versions stay with their Draft.

Publish a Draft saved by an Agent

A Background Agent can save a private Draft after its Action succeeds. The Draft picker on the Project overview labels it Saved by Agent. Project members can review it, but they can't edit it. Publishing the selected Agent Draft saves and deploys it in one operation. Other Drafts stay private.

Resolve overlapping changes

If publication reports overlapping changes, do the following:

  1. Click Refresh from live.
  2. For each conflict, select Keep draft, Use live, or Use editor content.
  3. Validate the Draft again.
  4. Publish the Draft again.

When Balto rebases the Draft, Safe rebase shows its base versions and its incoming, carried, and conflicting files. Select a listed file to inspect it. Resolve conflicts before you save or publish.

Reconcile an uncertain publication

A publication with an uncertain outcome stays locked. Before you start another publication, click Reconcile to check that same attempt.

Author with Balto or MCP

Balto and Model Context Protocol (MCP) clients use the same Draft lifecycle through named tools. When a call works on a selected Draft, it carries the exact Project and Draft IDs. MCP clients call the tools in this order:

  1. list_drafts lists named Drafts and their fingerprints.
  2. resume_draft resumes one saved Draft by ID.
  3. project_sync writes a bounded set of changes into that Draft.
  4. project_check validates that Draft and returns its complete diff. Follow any continuation to read the remaining changes.
  5. project_commit saves the exact checked Draft diff and rejects drift.
  6. publish_draft saves and publishes the selected Draft's complete changes.

Balto uses validate_project and commit_project in place of project_check and project_commit, and also publishes with publish_draft. Bounded continuations and validation fingerprints belong to this tool flow, not to the Validate button. Balto's authoring actions follow the chat's approval mode.

A chat works in one Draft at a time, and later turns continue in that Draft. To use another Draft, ask Balto to use it by name, or select it from the chat's Drafts menu.

Balto's saved validation appears in a notification as Latest validation passed or Latest validation is invalid. A file edit clears the chat's latest validation status. Validate the updated Draft again.

For the tool inputs and publication retries, see MCP reference.

Choose a Draft from chat

The chat header's Drafts menu lists the chat's Draft under In this chat and other editable Drafts under Other drafts. To find a named Draft, use Search drafts. To create a Draft, select New draft. An existing read-only binding can stay visible for review. The menu doesn't offer other read-only Agent Drafts as editing destinations.

Before you select a Draft, point to it or focus it with the keyboard to inspect its preview. The preview shows the following:

  • Changed-file counts and available line totals. Large changes can show Line totals omitted for large changes.
  • Base and saved versions. A saved version stays private until publication.
  • The recorded owner.

Wait for Bobsled AI to confirm a switch before you send another authoring request. If confirmation fails, Bobsled AI keeps the previous destination and reports Draft switch not confirmed. Check the selection before you retry. Unsent composer content stays in place during the switch.

Review the chat's changes

An existing chat with a bound Draft shows its Draft context above the message box. After active chat work finishes, select the change summary to open that Draft's Blueprint review. To browse the Project's Drafts from the composer preview, use All drafts. New chats and chats without a bound Draft keep the header selector but don't show this context strip.

Opening another Draft in the Blueprint workspace doesn't change an existing chat's bound Draft. A new, unbound chat can inherit the Draft that's open in that workspace. Published or otherwise non-editable bindings show Reviewing instead of Working in. Select an editable Draft before you ask Balto to make further changes.

Deploy a Bundle Version

Deploy promotes an existing shared Bundle Version, including a version that was deployed before. For a version older than the deployed one, the button reads Rollback. To make a private Draft live, use Save & publish instead.

Before deployment, verify the following:

  • The version label and commit message
  • The expected file diff and lineage impact
  • Connection and secret prerequisites
  • Pipeline changes and scheduling implications
  • Any coordinated consumer or operator work

After deployment, observe affected Balto questions and pipelines. If a problem appears, deploy a known-good committed version or prepare a corrective version according to your team's operating policy. Don't change history.

Browse version history

To see the Project's shared Bundle Versions, open Version history in Blueprint. Each entry shows the version's author, description, and whether it was deployed.

To narrow a long history, use the controls over the list:

  • Search versions matches the version label, the author, and the version description.
  • Filters narrow the list by author, deployment status, or date.

To see what changed between two versions, click Compare versions, select both versions, and then click the Compare button. Version comparison opens. Use the comparison to check what a version contained before you deploy it, and what a rollback would restore.

Version history covers shared versions. Private versions from Save version don't appear in it. To compare your open Draft against its base, use the editor's Changes toggle. For more information, see Edit and review changes.

Discard a Draft

Discarding a Draft removes the whole Draft, including saved and unsaved changes. Before you confirm, check that you want to remove that work. To discard a Draft, use one of these options:

  • In the editor: Click Draft actions, and then select Discard Draft.
  • On the Project overview: In the Draft picker, click Draft actions, and then select Discard draft.

Coordinate concurrent work

When several people or agents author in parallel, follow these practices:

  • Keep Drafts narrow, and name the intended change in the thread or external work item.
  • Inspect the deployed version before you publish.
  • Don't edit the same definition without coordination.
  • After any later edit or conflict resolution, validate the Draft again. For Balto or MCP work, run project_check again.
  • Publish the Draft that contains the intended changes.

Audit a historical result

To explain older behavior, connect the event to the following evidence:

  1. The deployed Bundle Version at that time
  2. The version manifest and parent history
  3. Relevant pipeline run and task logs
  4. Query or response evidence preserved in the chat

If deployment has advanced since the event, the current Blueprint files aren't sufficient evidence for it.

What's next

On this page