Automation-launched cloud agents get none of their environment's secrets/env vars; API launches into the same environment get all of them (multi-repo environments)

Hey @Arthur_Lorente, thanks for flagging this!

I’s the same root cause: your automations have the stored “Skip Install” fast-start option on them, and runs with that option don’t get Runtime Secrets or environment variables. The step from my earlier post (re-select the environment and save) doesn’t clear it for automations that use an environment without a single repo selected, which is your setup. So re-saving doesn’t help there. I’ve flagged this to the team.

In the meantime, this should work around it:

  1. In Automations, click New Automation and start from the blank editor. Don’t use Duplicate, a copied config, or a draft an agent built for you, because those carry the option over.
  2. Paste in your prompt, triggers and tools, and select your cloud environment.
  3. Save, then trigger one run.
  4. In that run, have the agent run echo ${CLOUD_AGENT_INJECTED_SECRET_NAMES:-unset}. You should see your secret names listed.
  5. If they show up, disable the old automation.

If you still see “unset” on the new automation, reply with its automation ID.