Most of the time, you just ask and UnifyApps Headless builds. Sometimes you want to see the plan first. This page shows how to do that with /ua:plan.
Before you start
A folder set up with
/ua:setup. If the folder is not set up,/ua:planruns setup first.In Codex, type
$ua:plan. In Copilot CLI, ask in words: "make a plan first for …".
Why plan first
A plan shows you every part a change will touch before anything changes. You can catch a wrong guess early. That is cheaper than fixing it after the build.
Nothing is written to your tenant while it plans. It only reads.
Plan first when the change is big, or when you are not sure what it will touch. For a small change, just ask in chat.
Sonic or Zen
When you start, it asks which kind of plan you want.
Plan | What you get | Good for |
|---|---|---|
Sonic | A quick plan. A short list of tasks in chat, then one yes. | A change to a few things |
Zen | An in-depth plan. Questions where needed, a written plan and a preview page. | A new app, a change to stored data, or 6 or more things |
Tip: If your ask already says which plan you want, it does not ask again.
Make a plan
Step 1: Type /ua:plan and your change
Write the change in your own words after the command. If you type only /ua:plan, it asks what to plan.
/ua:plan Add a purchase order form. Orders over $5,000 need a manager's approval.
Step 2: Pick Sonic or Zen
Choose the kind of plan. It suggests one based on the size of the change.
Step 3: Answer what it still needs
It reads your tenant first, so it can work out most things itself. Then it asks only what the reads leave unclear. Often it asks nothing.
Step 4: Read the plan
A Sonic plan shows one line per task in chat, and the defaults it filled in.
A Zen plan opens a preview page and also gives you its path. In chat, it shows:
The guesses it made. The ones you should check come first.
One line per task. It says what the task does and which thing it changes. It also names the builder and the tasks it waits for.
The steps that will still ask you first, such as every delete.
Step 5: Say yes, change it, or keep it for later
A Sonic plan asks for one yes. A Zen plan asks one question with three choices:
Start it. The builder agents build the plan. Each one reads its work back from the platform.
Change something. Tell it what to change. It shows the new plan and asks again.
Keep it for later. Nothing is built. The next time you start a session in this folder, it reminds you of the plan.
Note: A yes to the plan is not a yes to everything. A delete still asks you on its own, every time.
What you get
A plan you have read and approved, with one line per task.
For Zen, a preview page you can open again.
After your yes, the work built by builder agents, often side by side.
Every write read back from the platform before it is called done.
Plans and loops
The build loop makes its own plan and asks for your yes before it builds. So you do not need /ua:plan before it. Use /ua:plan for a change you would ask for in chat, when you want to see it first.
Next steps
Build a web page: Build a page from your words or a Figma link.
Build an automation: Write, test-run and deploy an automation.
What a loop is: Let a loop plan, build, check and fix for you.