Skip to content

Show account plan type in codex-auth list#19

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/add-codex-auth-list-account-plan-labels-2026-05-04-08-05
May 4, 2026
Merged

Show account plan type in codex-auth list#19
NagyVikt merged 1 commit intomainfrom
agent/codex/add-codex-auth-list-account-plan-labels-2026-05-04-08-05

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

@NagyVikt NagyVikt commented May 4, 2026

Automated by gx branch finish (PR flow).

Operators need the bare account inventory to distinguish Codex usage-based accounts from ChatGPT seat accounts without opening details for every snapshot. The list command now derives a friendly type label from existing planType metadata, while --details keeps the raw plan value for troubleshooting.

Constraint: Reuse existing planType metadata; do not add new snapshot registry fields.

Rejected: Add a new registry accountType field | would duplicate a value already derivable from planType and risk drift.

Confidence: high

Scope-risk: narrow

Directive: Keep raw plan= in --details when changing friendly labels so unknown upstream plan strings stay debuggable.

Tested: npm test (71/71); node --test dist/tests/account-plan-display.test.js; npm run build; git diff --check; openspec validate --specs

Not-tested: Live codex-auth list against the user's real account directory was not run to avoid mutating local usage registry state.

Co-authored-by: OmX <omx@oh-my-codex.dev>
@NagyVikt NagyVikt merged commit a9067ee into main May 4, 2026
@NagyVikt NagyVikt deleted the agent/codex/add-codex-auth-list-account-plan-labels-2026-05-04-08-05 branch May 4, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant