The repair loop fixes what is wrong, whatever it is about. This page shows what it can fix, what to give it, and what you get at the end.
Before you start
A folder set up with
/ua:setup.In Codex, type
$ua:repair-loop. In Copilot CLI, ask in words.
What it does
The repair loop does not guess at a fix. First it makes the problem happen again, so it can see it. Then it looks for the real cause, one layer at a time. Only then does it fix it.
After the fix, it tests again the same way. So you know the problem is really gone.
What it can fix
It is about | How it makes the problem happen again |
|---|---|
A page of a web app or code app | Runs the steps in a browser |
A page of a mobile app | Runs the steps on a test device |
An AI agent that answered wrongly, or scored badly in a test | Sends the same message again and reads how it answered |
An automation that failed or wrote the wrong thing | Runs it again with the same input on test records |
Note: An object, a connection or a record has no repair loop. Just describe the problem in chat. UnifyApps Headless finds and fixes it in chat. A connection's sign-in is fixed with you.
What you can give it
The problem in your own words. Say what you saw and where.
A ticket. Paste it, give a file, or a link it can open in your own Chrome. It reads the description, every comment, and every screenshot. To read a ticket's files, it downloads them in your Chrome after one yes. A screen recording needs ffmpeg.
A list of tickets. Paste the list or give a file. It works through them one by one.
A failed run. Give the run id, or say which automation failed.
An app to check. It fixes the problems a check of the app found.
If it cannot tell what the problem is about, it asks you. It never guesses.
Examples
/ua:repair-loop The approval automation fails for orders with no manager
/ua:repair-loop The Orders page is slow to open. Find out why and fix it.
/ua:repair-loop <ticket>
You can also say it in words: "fix the approval automation".
How it works
Step 1: It reads your ask
It reads your words, ticket or run. It finds the app, page, agent or automation the problem is in.
Step 2: It picks the right steps
It tells you in one line which kind of fix it is running, and why.
Step 3: It makes the problem happen again
It repeats the steps, the message or the run. Now it can see the problem for itself.
Step 4: It finds the cause
It looks layer by layer. For a page, that can be a block, its data, an automation or an AI agent.
Step 5: It fixes the cause
A builder agent saves the fix as a draft. The fix is read back from the platform.
Step 6: It tests again
It repeats the same steps as in step 3. If the problem is still there, it tries again.
What you get at the end
Each problem is fixed and tested, or you accepted it as it is.
If a problem cannot be fixed, it says why and stops on it.
For an AI agent or an automation, a before and after table shows what changed.
For an automation, it checks that everything that uses it still works.
For a ticket, a comment and a status for you to put on the ticket. It does not write to your tracker.
Warning: The repair loop never publishes your app. Page fixes stay as drafts.
Note: An automation fix is deployed once its test run passes. On a test (UAT) tenant, it does not ask. On any other tenant, it asks you first. An AI agent fix is published only after you say yes.
Next steps
Review loop: Find the problems in an app before go-live.
Test loop: Run your tests again after a fix.
What a loop is: See how all 5 loops work.