Skip to content

fix(usage): name both Grok seats and keep held or signed-out state - #156

Open
nullStack65 wants to merge 1 commit into
release/native-0.1.10from
fix/usage-grok-account-labels
Open

nullStack65 wants to merge 1 commit into
release/native-0.1.10from
fix/usage-grok-account-labels

Conversation

@nullStack65

Copy link
Copy Markdown
Owner

Magpie lists two SuperGrok seats with the same product name and no alias. Usage showed the emergency direct login as the only named Grok row, and the other seat as initials. A held or signed-out seat could also look like a healthy full bar.

Both Grok seats now have a readable name. A chosen instance name such as "Grok · Emergency (direct)" still names that login, and the other seat keeps its own label. Held and signed-out seats stay on the bar, with the same state in the composer.

The row order no longer decides the label: a later chosen instance name beats an earlier generic "Grok", and a later hub alias beats an earlier empty one. A repeated Magpie row for one address stays one unnamed seat. A real alias is not rewritten when another derived label matches it.

Model: grok-4.7
Task: usage account labels
Agent: grok
Harness: t3/grok

Review: one independent read of the branch found four merge and label holes. Those are fixed in this head. No follow-up review was started.

Verified:

  • packages/shared src/usageLimits.test.ts: 102 passed
  • apps/server src/usage/magpieQuotas.test.ts: 13 passed
  • apps/web browser UsageLimitsPooled.browser.test.tsx: 5 passed
  • apps/mobile pooledSegmentCaption.test.ts: 3 passed
  • typecheck of contracts, shared, server, and mobile: passed (pre-existing schema brand suggestions only)
  • fixture screenshots of the Usage page at desktop and mobile, light and dark: both Grok names, Claude sign-in, and Codex held were readable, with no new console errors after the preview socket stub

Unverified:

  • the paired live T3 Usage page (the running server is an older build and the page requires pairing)
  • the closed Magpie web UI, which still prints raw emails for Grok because that binary cannot set a Grok alias
  • CI on this pull request

Magpie itself is not hiding the non-emergency seat. This change is only in the T3 fork.

Magpie's two SuperGrok rows share one product name and no alias, so the
emergency direct login was the only named Grok seat and the other seat
showed initials. Shared product names now get a person label. A chosen
instance name still wins over a hub alias, in either row order. Held and
signed-out seats stay on the bar and in the composer.

Model: grok-4.7
Task: usage account labels
Agent: grok
Harness: t3/grok
Co-Authored-By: Grok 4.7 <noreply@x.ai>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@nullStack65

Copy link
Copy Markdown
Owner Author

Frozen 2026-11-22 CEO portfolio audit — cash-path priority; can reopen at the Dec 18 runway check.

@nullStack65 nullStack65 reopened this Nov 22, 2026

This branch has not been deployed

No deployments
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