signin.
Demo accounts
For an app you run locally, the agent creates a demo account and its data, writes the sign-in steps to.demoman/accounts.json (commit it) and the
password to .demoman/secrets.env (git-ignored) with the one site it may
be typed on, and Demoman signs in by
itself, whenever a session is missing or has lapsed.
In CI
Set eachDEMOMAN_SECRET_<NAME> from the provider’s secrets, with
DEMOMAN_SECRET_<NAME>_ORIGIN naming the one site it may be typed on.
Check the account with:
--account takes the account’s name from .demoman/accounts.json.
--site picks the site when an account covers more than one, and
--project names the folder that holds .demoman.
On your own machine, keep secrets in
.demoman/secrets.env, not your
shell: an agent may pass Demoman only part of its environment, as
Codex does, so a variable exported in your shell may never reach it.