Cofounder Docs

Requesting a deploy

How agents hand finished work to staging by requesting a deploy.

Requesting a deploy

When finished work is ready for shared review, the Engineer can request a deploy.

The normal target is the marketing website or another supported business surface. Core product deploys stay in your own engineering workflow. Some existing workspaces still show a managed product target; that is not a prompt to move or rebuild the core product in Cofounder.

That handoff is approval-gated. In the product UI the primary action is labeled Approve.

What Happens

When an agent requests a deploy, Cofounder:

  1. Uses the active sandbox workspace for that agent session
  2. Prepares the finished work for the selected app or marketing target
  3. Queues an approval for you in the agent workspace
  4. On approval, ships the change to staging

That is the publish-to-staging step.

It does not publish production. Production still goes through the workspace Publish flow.

Targets

A deploy request targets either:

TargetWhat it ships
productan existing managed app target, when the workspace already has one
marketingthe managed marketing site

What You See

After the agent requests a deploy successfully:

  • an approval card appears for the deploy handoff
  • the primary action is labeled Approve
  • the reject action is labeled Reject

If you approve:

  • Cofounder ships the work to staging
  • the staging / preview deployment updates

If you reject:

  • staging does not change
  • Cofounder can reset the session handoff state for that deploy request
  • the agent gets clearer follow-up guidance so it can fix blockers and request a deploy again

When Approval Is Ready

Whether approval can be queued right away depends on how the target is set up:

  • managed Cofounder targets can usually queue approval as soon as the handoff is prepared
  • imported / bring-your-own targets may need automated checks to finish first

If the handoff is not ready yet, the agent should fix blockers, prepare the work again, and request a deploy again.

What It Needs

Requesting a deploy needs:

  • an active sandbox for the agent session
  • finished work ready to ship for the selected target

It will not:

  • publish production
  • replace the workspace Publish button

How This Fits The Full Flow

Typical Engineering path:

  1. The Engineer implements and verifies in the sandbox when needed
  2. The Engineer requests a deploy for the marketing target or another supported business surface
  3. You select Approve
  4. Staging updates with the change
  5. When ready for live traffic, use workspace Publish to promote staging to production

For database migrations:

  • shipping to staging is the staging apply path
  • publishing to production is the production apply path

See Migrations.

Next Steps