UnifyApps Headless
Logo
Solutions and folders

Solutions and folders

Logo

5 mins READ

Every solution you work on gets a folder of its own on your computer. This page explains why that matters, what is in the folder, and the few rules that keep your work safe.

Why a solution needs its own folder

A solution is your project on the tenant. It groups the apps, objects, automations and AI agents built for one purpose. For example, "Purchase Orders".

Your folder is that solution's home on your computer. It tells UnifyApps Headless which tenant and which solution you mean. So you never have to say it again.

The folder also remembers. It holds your plans, notes, a copy of each part, and the history of what was built. When you come back next week, nothing is lost. When a teammate works on the same solution, they see the same decisions.

That only works if a folder holds one solution on one tenant. Mix two in one folder and it can no longer tell which one you mean. So the plugin will not let you.

  1. Folder: on your computer: plans, notes, copies

  2. Solution: your project: apps, objects, automations, AI agents

  3. Tenant: your UnifyApps address, such as your-company.unifyapps.com

How a folder gets linked

You link a folder once, with /ua:setup ($ua:setup in Codex). Setup asks for your tenant, signs you in, and lets you pick or make a solution. After that, the folder stays linked to that solution.

What is in the folder

UnifyApps Headless writes these files for you. You only read them. The two exceptions are the loop settings files in tests/ and the design files you add in design/.

Path

What it holds

Should you touch it?

AGENTS.md

The guide your coding agent reads in this folder: which solution it is, how to work, what it must never do. Setup writes it.

No. If you already had a CLAUDE.md, setup adds one line to it and keeps your own text.

memory.md

The team's shared memory for this solution: decisions, corrections and facts.

Read it. To add a line, say "remember that…" in chat.

plans/

Each plan, with its tasks and where each task is.

Read it to see a plan.

specs/

What each change agreed to, as text and as a web page.

Read it.

docs/

Notes on how each built feature works.

Read it.

docs/prd/

Each app's approved plan: what it is for, what it needs, and its tickets. /ua:scope-loop writes it. /ua:build-loop keeps it up to date.

Read it before you change that app.

tests/

UI test runs, one folder per app.

Read it.

tests/<app>/run-contract.md, design-contract.md, tickets-contract.md

The settings a test or review loop saved for one app, so the next run asks nothing.

Yes. You may edit them between runs.

design/<app id>/sources/

Design files you give a loop, such as Figma exports and screenshots.

Yes. Put your files here when a loop asks.

app-critique/

Reports from the review loop's live review, one folder per run.

Read it.

reviews/

App reviews from /ua:app-config-review, one folder per app and run.

Read it to see the last review.

<appId>/<branch>/

A code app's source code, kept here while it is changed. It also holds the app's installed packages, so it can be large.

Leave it to the builder.

Some other files and hidden folders hold copies of each part and how the parts are wired together. Setup also writes small files for the other coding agents, such as .agents/, .codex/ and opencode.json. They are managed for you. Don't edit or delete them.

Warning: Do not edit or move the copies by hand. Editing them does not change your tenant. The loop settings files and your design files are the only ones you may change.

The rules

Step : One folder per solution

Each solution has its own folder. Each folder has one solution, on one tenant.

Step : Start new work in a new, empty folder

Before you begin, make sure you know which folder you are in. A new solution always starts in a folder with nothing in it.

Step : Never mix or move

Don't work on two solutions in one folder. Don't move files between solution folders.

An example layout

Keep one folder called UnifyApps. Inside it, make one folder for each solution.

UnifyApps/

├── Purchase Orders/

├── Leave Manager/

└── Customer Portal/

To work on leave requests, open your agent in Leave Manager. To work on the portal, open it in Customer Portal.

Coming back later

Open your agent in the same folder again. Everything from last time is still there: the plans, the notes and the memory. Each new session brings the folder's copy up to date from your tenant.

Signed out? Run /ua:setup again. It signs you back in.

Working on another solution or tenant

Another solution means another folder. If you ask for a different solution in this folder, it tells you this folder works on the current one. It then offers two choices:

  • Use a new folder (recommended). The other solution opens in its own folder.

  • Override this folder. This folder is linked to the other solution instead.

If you ask about something on another tenant, it does not change it here. It offers to start a new chat in a folder for that tenant.

Tip: One part, such as an object, can belong to many solutions. Adding it to one solution never removes it from another.

Next steps