You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read public WebArena site logins only from the repository env file #159
AGENTS.md says evaluation credentials come only from the repository .env. Site logins in src/harness/environments/webarena/topology.py follow that after #141, through harness.env_file.repository_credential.
The public WebArena replay path does not. src/harness/trajectory_replay/public_webarena/webarena_environment.py reads the variables named by credentials_env from os.environ. load_runtime_env in public_webarena/config.py fills them with setdefault, so an exported value overrides the file. This predates #141.
credentials_env accepts any variable name from the runtime configuration.
The CLI's --env-file can select a file other than the repository .env, and Web Fetch rejects credentials from such a file while this path allows them.
Existing tests set those variables through the environment.
Suggested change
Read these logins through repository_credential or an equivalent repository-only rule, decide what --env-file means for credentials on this path, and update the tests. Add a test that an exported value cannot change the login used.
Activity