Do not guess a profile-specific variable. Register the exact Server and Token pair, then read
token_env from the successful result:
Precedence
For the Server, resolution order is:--server- Active verified Server profile
LOOMLOOM_SERVERwhen no profile state exists
--token- Active profile’s generated
LOOMLOOM_TOKEN_<PROFILE>variable - Browser credential saved by
loomloom loginfor that profile LOOMLOOM_TOKENonly when it is bound to the selected Server
BATCHJOB_SERVER and BATCHJOB_TOKEN are not part of the v0.2.1 profile resolution path. New setups should use verified profiles and their generated Token variables.
Bootstrap a new profile
Pass the Server and Token explicitly to the first verification rather than relying on temporary global variables:next_action: persist_token, store the Token under the returned token_env. Do not commit shell profiles or environment files containing real tokens. For profile management, see Server profiles.