What a private copy is#
A private copy is your own running version of the app, started from the latest build Harebell made of it. Only you can open it. A colleague who follows its address sees a page that says the copy can only be opened by the person building it.
It runs in the same place your released app will run, which is your company's cloud account, with the same sign-in and the same rules. That is on purpose. If an app works for you in the private copy, it will work for your colleagues later, because nothing about where it runs changes. Trying an app on your own laptop would not tell you that, and your laptop cannot reach company data anyway.
In the console, a private copy shows as In development, with the name of the person trying it. Its address contains the app's name and your name, so two builders working on the same app each get a copy of their own.
How you use it#
You do not start a private copy yourself. You ask your AI tool to try the app, and the tool sends it to Harebell and gives you the address. Starting takes about a minute. After that, every time your AI tool changes a file, Harebell copies just the changed files into the running copy, and within a couple of seconds the page reflects the change. You do not wait for a new build each time you ask for a tweak.
A brand new app needs to be built once before its first private copy can start, because the copy starts from a build. Your AI tool knows this and ships the app first. Put your first app live shows the order.
Your AI tool can also run a one-off command inside your private copy, such as the app's own tests, and read what it printed. That is how it checks its work without asking you to install anything.
What it can reach#
A private copy can read real company data, within tight limits. This is what makes it useful, because an app that shows a spreadsheet can only be judged against the real spreadsheet.
It reaches only the data the app's settings name, and it reads that data without changing it unless the settings say the app writes. It can do this for 12 hours after it starts, and then its access ends.
It acts as you. For a Slack channel or a Google file, that means the private copy can read only what you could already read yourself, and the only person who can open the copy is you. Because of that, nobody else sees anything and nobody has to approve it. For a company database, an admin has to have named you as a builder who may use that database from a private copy, and your company may allow reading only. Microsoft 365 and Snowflake cannot be used from a private copy.
Calls to Slack and Google from a private copy are limited to about one a second, with short bursts allowed. That is plenty for trying an app, and it protects those services if a loop in the code runs away.
If your app asks for a database or file store, the private copy gets its own small, separate one, made from the cheaper version of the building block, so what you try never touches the live app's data. These are deleted after seven days without use. Ask for a database, files or a Slack channel explains the building blocks.
When it stops#
A private copy does not run forever, so you never leave something running by accident.
- It stops by itself after 30 minutes with no changes sent to it and nobody viewing it.
- It never lives longer than 12 hours, even if you keep using it.
- You, an admin or the security team can stop it at any time from the Apps page, where the In development card has a Stop button next to each private copy.
If it stops, your AI tool starts it again the next time it sends a change. What you had not yet sent to it is lost, which is one more reason to let your AI tool do the sending.
Jobs and agents#
Private copies are for apps. A job has no page to open, and an agent that waits for events cannot be tried this way yet. To try a job, release it and press Run now on its page, which starts it within the minute. Jobs that run on a schedule, and agents explains how.
An example#
Ben Okafor at Initech is building a small app that shows this week's open purchase orders from a Google spreadsheet. He asks his AI tool to try it. A minute later he opens the private copy, and sees his real orders, because the copy reads the spreadsheet as Ben. His colleague Sally cannot open the copy. When Ben is happy, he asks his AI tool to ship the app, and then releases it, as Put your first app live describes. If more people can open the app than can read the spreadsheet, the release page asks the spreadsheet's owner to agree. Use company data explains why.