Skip to content
Back to the app

Release a Workflow Safely ​

Time: 25 minutes · Level: Intermediate · Runs on: the web app

A change to a workflow that other people rely on should be tested, approved by someone else, and possible to undo. In CHANGENTS.AI that is: save a draft → rehearse it → add proving sets → submit → a second person approves → release, with roll back when needed.

You need: an organisation, and a second member who is an admin or owner to approve.


1. Drafts: what Save changes ​

Save in Power House Studio saves a draft. It does not change what runs on schedules or through the API with useRelease: those keep running the last approved release until a new one is approved. A workflow that has never been released runs its saved draft.

2. Rehearse ​

In Power House Studio, open the Studio tab, then Rehearse, and choose Save and rehearse. You can do the same in Workspace → Workshop → Rehearse & release under 2. Rehearse.

A rehearsal runs the saved draft end to end with real models.

  • Lookups run for real.
  • Anything that would send, create, book or change something is recorded instead of done, so you can see exactly what the run would have done.
  • Approval steps are noted rather than filed, so nobody is asked to approve a test.

Latest rehearsal of the saved version shows the outcome. A release needs a completed rehearsal of exactly the version being submitted. Change the workflow and you rehearse again.

3. Add proving sets ​

A proving set is the cases a workflow must get right. In the Studio tab open Guardrails and tests → Add test cases, or go to Workspace → Vault → Proving sets → New proving set.

For each case:

  • Run inputs (JSON): the inputs, as a user would give them.
  • Result must mention / Result must not mention: comma-separated words or phrases. Each case needs at least one.
  • Share of cases that must pass: All, 90% or 80%.

To test fairness between groups, choose that kind of proving set and name the Attribute to test, then set:

  • Score label in the result: the first number after this word is read as the score.
  • Words that mean a positive decision and Words that mean a negative decision. Negative words are read first, so "not shortlisted" counts as negative.
  • Largest allowed gap in average score (points).

Each case runs as a rehearsal. Choose Run to score the set. When few cases were decided, the page warns that one different decision moves the ratio a lot.

4. Submit for review ​

In Workshop → Rehearse & release, check the draft under 1. Check, then under 3. Submit for review add Notes for the reviewer (what changed and why) and choose Submit. In the Studio tab this is Release → Submit for review.

Withdraw takes a submission back before it is decided.

5. A second person approves ​

An organisation admin or owner other than the submitter opens Workspace → Workshop → Review queue. They see the submission, any Warnings recorded at submission, and the rehearsal, then choose Approve and release or Reject, with Review notes.

If you submitted it, the page says You submitted this, so someone else has to approve it. Your organisation can add further release conditions in Workspace → Vault → Guardrails → What it takes to release:

  • Require a completed rehearsal of the exact version being released
  • Require every proving set to pass
  • Approver must be someone other than the submitter (applies to releases and agent charters)

6. Run the release ​

  • Schedules run the approved release.
  • The API runs it with POST /api/workflows/run and "useRelease": true (see Call the CHANGENTS.AI API).
  • Release history in the Workshop lists the released versions.

7. Roll back ​

An organisation admin or owner can roll back. In Release history, choose Roll back to this on an earlier version and give a Reason for rolling back. The reason is required. A rollback goes live immediately, without review, and is recorded on the audit trail.

To stop an agent or a workflow at once, without rolling back, an admin uses Workspace → Oversight → Halts. See Oversight.

Crews ​

A crew is two or more catalogue agents working one job together, either in order (each works on the previous result) or side by side, combined at the end. Build one in Workshop → Crews → New crew: give each member a Role in this crew and Instructions, and tick Pause for human approval before this step where a person should decide. A crew is released exactly like a workflow.

Export and Import move a workflow between installations as a file in the changents.workflow/v1 format.


What's next? ​

Served from this deployment. No page view leaves it.