Repository navigation
fix(usage): name both Grok seats and keep held or signed-out state - #156
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Frozen 2026-11-22 CEO portfolio audit — cash-path priority; can reopen at the Dec 18 runway check. |
CHECKPOINTCLO-694 bounded closeout — BLOCKED. Published head Own-change core failure reproduced twice at this head: diff --git a/packages/shared/src/usageLimits.test.ts b/packages/shared/src/usageLimits.test.ts
--- a/packages/shared/src/usageLimits.test.ts
+++ b/packages/shared/src/usageLimits.test.ts
@@ -1640,7 +1640,6 @@
id: "grok:a-signed-out",
driver: grok,
email: "a@example.com",
- displayName: null,
status: "signed-out" as const,
statusDetail: "Sign-in required.",
usageLimits: limits,This exact one-line patch is retained in the assigned isolated checkout, not committed or pushed. Under Node26.13.1: shared typecheck passes; Required Deployment declaration repaired under guard: exactly one Default-branch workflow audit found tests/builds and sync proposals only, no direct public-site/release/production publication. Private fleet deployment consumer, live paired Usage UI, mobile native behavior and installation remain unverified. No merge, deployment, nested child or new spend. {
"reviewed_head": "d503115771786e8a162c7dcda2e8d6bd2e90feb0",
"reviewer": "Codex gpt-6.1-sol via T3; focused CI failure reconciliation only",
"review_scope": "PR description reports existing full independent pass; no second full review performed; local one-line repair requires parent focused independent recheck before publication/merge",
"findings": [
{
"id": "CLO694-PR156-TS2345",
"severity": "important",
"summary": "Published head has invalid displayName:null fixture and fails shared typecheck; one-line local repair passes 102 tests and typecheck but is unpublished and needs parent focused independent recheck.",
"outcome": "open"
}
]
} |
d503115 to
8018dd4
Compare
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>
…ows it only omitted Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…caption requires Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
f12688b to
fd82cb1
Compare
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/sharedsrc/usageLimits.test.ts: 102 passedapps/serversrc/usage/magpieQuotas.test.ts: 13 passedapps/webbrowserUsageLimitsPooled.browser.test.tsx: 5 passedapps/mobilepooledSegmentCaption.test.ts: 3 passedUnverified:
Magpie itself is not hiding the non-emergency seat. This change is only in the T3 fork.
Deploy: fleet