Skip to content

Name the provider in the account rename hint - #14099

Merged
omarchybot merged 1 commit into
omacom:quattrofrom
manuaudio:fix/account-rename-hint-provider
Oct 31, 2026
Merged

omarchybot merged 1 commit into
omacom:quattrofrom
manuaudio:fix/account-rename-hint-provider

Conversation

@manuaudio

Copy link
Copy Markdown
Contributor

omarchy-agent-account-rename ends with a hint for switching to the renamed account, but leaves out the provider:

$ omarchy agent account rename codex side Side Project
Renamed to Side Project. Switch to it with: omarchy agent account use side-project

omarchy agent account use falls back to the default agent when no provider is given. So with Claude as the default, that hint runs against Claude and fails with "No Claude account named side-project". omarchy-agent-account-add already prints omarchy agent account use $provider <id>, and the rename hint now does the same.

Testing

agent-account-test.sh captures the rename output and checks that it suggests omarchy agent account use claude day-job. That check fails on quattro and passes with this change; all 28 checks in the file pass.

🤖 Generated with Claude Code

@greptile-apps

greptile-apps Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Changes account rename hint to include provider name.

This PR appears safe to merge.

What we checked:

  • Hint selects the right provider: The rename command inserts the default provider when needed and rejects unsupported providers before printing the hint. The switch command accepts that provider followed by the account ID.

Summary

Adds the provider to the account-switch command printed after a rename.

  • The hint now selects the renamed account without relying on the default agent.
  • Adds a test that checks the hint includes claude day-job.
  • No actionable issues found. Tests were not run during this review.

Reviews (1) · Last reviewed commit: "Name the provider in the account rename ..."

@chessing234 chessing234 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything seems fine, ready to merge.

@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review ready Good to merge labels Oct 15, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed, nothing found. The bug is real on current quattro and this fixes it.

Reproduced on a worker built from the Omarchy ISO. With Claude as the default agent, renaming the Codex account side to "Side project" prints Switch to it with: omarchy agent account use side-project, and running that fails with "No Claude account named side-project". With this pull request merged onto quattro (246f33a), the printed command names codex and switches Codex to the renamed account; with the one-line change in bin/omarchy-agent-account-rename reverted, it fails again. That check was written separately from the test in this pull request, which also fails on quattro and passes here.

Suite. ./test/cli passes on the merged tree. In test/shell.d, every file that failed also fails on quattro on the same worker, or passed when rerun.

Read. $1 is the provider by the time the hint prints, including when it was left out and the default agent was filled in; the change matches the hint omarchy-agent-account-add already prints, and no other command prints a provider-less account use hint.

Second opinion: Codex Medium reviewed the same questions and found no defects, agreeing on each point; it can read this session's notes, so its agreement is not guaranteed to be independent.

Nothing is waiting on you; it is with the maintainer.

@manuaudio

Copy link
Copy Markdown
Contributor Author

Thanks @chessing234 — I appreciate the review. The provider-qualified rename hint remains covered on the current clean head, and the checks pass.

@omarchybot
omarchybot merged commit dfdf0b0 into omacom:quattro Oct 31, 2026
1 check passed
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
berenddeboer pushed a commit to berenddeboer/omarchy that referenced this pull request Nov 6, 2026
Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit dfdf0b0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready Good to merge verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants