Guide › Your app, page by page › Setup and history
Dev, QA and Production
Try something where it can’t hurt anyone, then copy it to the real thing.
An environment is a running copy of your app. Every app starts with Dev, QA and Production. Production is the one your real users use. Rules and trust are set for each, so you can try a rule or a trust level in Dev or QA before it reaches them.
What is different in each
- Rule switches. A new rule starts on in the first environment only.
- Skill trust. Dev can be more trusting than Production. Things that can’t be undone are held at Suggest everywhere.
- The key. Each environment has its own key. Production keys look different (
cog_live_…) from the others (cog_test_…). - What it’s running. Each reports the commit it runs, so “merged” and “running” stay apart. New tools arrive only when your developer deploys the commit that holds them.
Copying settings to another environment
Copy settings… on the Rules or Skills page copies the rule switches and trust from one environment to another. (It used to be called Promote.) Pick From and To, and read the preview. It lists every rule it will switch on or off and every skill it will move, and says so when the two already match. Copying into Production asks again and says what would give the assistant more room there. It never moves code.
Copying into Production is yours. The AI helper can copy between the other environments, but not into Production.
So people know where they are
A small badge sits above the assistant in your app. It shows the environment, the tenant label, the rules version and the running commit, for example “Production · Acme Rentals · rules v3 · 7d41e0b”. Nobody mistakes Dev for the real thing. In Dev and QA a dot beside it shows the rules check: green when the last check worked, amber when the next message will check again, red when the last check failed and the assistant can only look things up. You can preview the badge on the Setup page.
More environments
You can add one, such as Staging, by asking your AI helper (see Set up with an AI helper). It starts with no rules switched on, and it can’t be Production. On the Setup page you can edit each environment’s branch and tenant label.