Skip to content

Ship my changes

Say "ship my changes" and get the Change reviewed, merged into a new Version and deployed on every Interface.

Review a Change, merge it into a new Version of the business, and point the live address at it.

Needs Change

What you get

  • 1review: every test and Evaluator run on the previewChange
  • 1Approval first, when the Change is high stakesApproval
  • 1new build of the business at a fingerprintVersion
  • 1live address pointed at that build, with the last one keptVersion
  • 4regenerated API, SDK types, CLI operations and MCP toolsInterface
  • 1new Stripe Price, when an Offer price changedStripe's Price
  • 3Events: reviewed, merged, deployedEvent

Your agent does

Change.review → Change.merge → Version.deploy
You, to your agent

Ship my changes.

Put my edits to the lease fields live.

Deploy the branch once its checks pass.

# 1. Change.review
curl -X POST https://api.sb/leaseline.app/changes/change_42/review \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"

# 2. Change.merge
CHANGE=$(curl -X POST https://api.sb/leaseline.app/changes/change_42/merge \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" | jq -r '.change["$id"] | split("/") | last')

# 3. Version.deploy
curl -X POST https://api.sb/leaseline.app/versions/$CHANGE/deploy \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
import { $ } from 'startup-builder'

await $.Change.review({ change: 'change_42' })
const { change } = await $.Change.merge({ change: 'change_42' })
await $.Version.deploy({ version: change.$id })
npx startup-builder do Change.review --json '{"change":"change_42"}'
CHANGE=$(npx startup-builder do Change.merge --json '{"change":"change_42"}' | jq -r '.change["$id"] | split("/") | last')
npx startup-builder do Version.deploy --json '{"version":"'"$CHANGE"'"}'
{
  "name": "do",
  "arguments": {
    "code": "await $.Change.review({ change: 'change_42' })\nconst { change } = await $.Change.merge({ change: 'change_42' })\nreturn await $.Version.deploy({ version: change.$id })"
  }
}

Change it

  • Ship it to 10% of customers first.
  • Undo the last change.
  • Ask me before shipping anything that removes a field.

Under the hood

Systems
Repositories, Changelog
Nouns
Change, Version, Interface
Events
Change.reviewed, Change.merged, Version.deployed
Stripe objects
Price