Stop reporting missing credentials from the Studio shell hint #2

Merged
arthur merged 1 commit from fix/studio-signin-guidance into main 2026-09-13 17:04:23 +00:00
Owner

The shell cannot infer account sign-in from agent-env

The reported terminal banner says there is no account credential and that signing in locally only works in this workspace. Both statements are misleading:

  • agent-env is an API-key export file; Claude/Codex OAuth credentials can exist independently.
  • agent-creds already synchronizes local provider credentials for this account.

Replace the claim with neutral navigation to /welcome for Claude, Codex and Vibe, and /agents for API keys. Keep export loading and agent wrappers unchanged. Opening a shell does not start a login, contact OpenBao, inspect OAuth tokens, or assert that a provider is authenticated.

Verification

  • bash -n workspace/bashrc-hook.sh passed.
  • Six Python tests passed: four new shell-hint/export/noninteractive tests, plus the existing editor-policy and isolated tmux clipboard tests.
  • No customer credentials were inspected, changed or synchronized, and no live workspace/session was restarted.

Normal Git branch. Not merged or deployed. The workspace build workflow runs on main, not PRs; deployment needs the normal image build and existing rollout mechanism after merge.

Companion card copy-command fix: https://git.z3k.sh/z3k-tech/console/pulls/21

## The shell cannot infer account sign-in from agent-env The reported terminal banner says there is no account credential and that signing in locally only works in this workspace. Both statements are misleading: - agent-env is an API-key export file; Claude/Codex OAuth credentials can exist independently. - agent-creds already synchronizes local provider credentials for this account. Replace the claim with neutral navigation to /welcome for Claude, Codex and Vibe, and /agents for API keys. Keep export loading and agent wrappers unchanged. Opening a shell does not start a login, contact OpenBao, inspect OAuth tokens, or assert that a provider is authenticated. ## Verification - bash -n workspace/bashrc-hook.sh passed. - Six Python tests passed: four new shell-hint/export/noninteractive tests, plus the existing editor-policy and isolated tmux clipboard tests. - No customer credentials were inspected, changed or synchronized, and no live workspace/session was restarted. Normal Git branch. Not merged or deployed. The workspace build workflow runs on main, not PRs; deployment needs the normal image build and existing rollout mechanism after merge. Companion card copy-command fix: https://git.z3k.sh/z3k-tech/console/pulls/21
Use accurate agent sign-in guidance in Studio shells
All checks were successful
build-workspace / workspace (push) Successful in 30m3s
ca26994a20
arthur merged commit ca26994a20 into main 2026-09-13 17:04:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
z3k-images/images!2
No description provided.