xai / grok-4.7-efficient / high / high effort preferred over xai / grok-4.7-efficient / medium / medium effort · close win.
Primary judge: Sol 6.1, requested Low. Effective provider effort and internal attempts were not verified. A close win is still a scored preference; it does not establish a material defect.
Reviewed public evidence
Task goal
Independent review of a frozen login-page candidate. Do not implement. Return PASS or FAIL.
[REDACTED: person name] asked for three small MVP fixes only. MFA is explicitly future and must not be added. Do not request a redesign, forgot-password, show-password, backend changes, audit-label cleanup, or lockout-row locking.
Acceptance criteria:
1. 401 says "Invalid email or password. Check both and try again." Both email and password are aria-invalid and aria-describedby the alert. The message does not identify which field was wrong.
2. 429 says "Too many sign-in attempts. Try again later." Fields are not marked invalid.
3. 403 with detail exactly "Account is disabled" says "This account is disabled. Contact the person who invited you." Any other 403, 500, or network error says "Could not sign in. Try again." Raw backend detail is never shown.
4. The form no longer has noValidate. DOM-value reads for password-manager autofill remain. Existing redirect tests still submit.
5. Logo and "INVITATION-ONLY BETA" stay visible below lg. The long essay and founder block use hidden lg:block, remain in the DOM, and desktop placement is unchanged. The aside still has an accessible name when the heading is hidden.
6. No edits outside LoginPage.tsx and LoginPage.workspaceRedirect.test.tsx. No loginEvidenceCopy.ts or auth.py changes. No AI wording. One Sign in button remains.
Writer verification: `cd [REDACTED: private project name]/frontend && npx vitest run tests/auth/LoginPage.workspaceRedirect.test.tsx` exited 0. The first attempt failed only because the isolated worktree had no node_modules; the rerun passed. Do not treat that environmental miss as a product defect.
FAIL only for a real miss of the criteria above, a behavior regression, or an accessibility break in the changed lines. Do not request extra features. If PASS, say PASS and list any non-blocking notes separately.
xai / grok-4.7-efficient / high / high effort answer
PASS. The frozen candidate meets all six acceptance criteria. No product defect in the changed lines.
1. **401.** `LoginPage.tsx` lines 30–31 and 299–300, 325–326, 338–346 set the exact message `Invalid email or password. Check both and try again.` Both inputs get `aria-invalid` and `aria-describedby="login-error"` only when `login.isError` and status is 401. The alert has that id and `role="alert"`. The copy does not say which field failed.
2. **429.** Lines 32–33 use `Too many sign-in attempts. Try again later.` `invalidCredentials` is 401-only, so neither field is `aria-invalid` or described by the alert.
3. **403 / other.** Lines 34–36 allow only `detail === 'Account is disabled'` to the disabled-account sentence. Any other 403, 500, missing `response`, or network error falls through to `Could not sign in. Try again.` Detail is compared, never rendered.
4. **Validation.** `noValidate` is gone (line 285). DOM reads in `handleSubmit` (lines 42–44) are unchanged. Existing redirect cases still dispatch `submit` after setting `.value`; the new test covers native `requestSubmit` blocking and that path still calling `mutateAsync`.
5. **Narrow layout.** Logo and `INVITATION-ONLY BETA` stay in the unhidden top block (lines 140–168). Essay (line 172) and founder (line 237) use `hidden lg:block`, stay in the DOM, and are not reordered. Aside name is `aria-label="[REDACTED: private project name] by [REDACTED: private project name]"` (line 121), independent of `#login-brand-heading`.
6. **Scope.** Diff touches only `LoginPage.tsx` and `LoginPage.workspaceRedirect.test.tsx`. No `loginEvidenceCopy` or `auth.py` edits, no MFA, no AI wording, one Sign in button.
Writer verification exit 0 is consistent with this. The earlier missing `node_modules` failure is environmental, not a product defect.
**Non-blocking notes**
- `errorMessage` is computed even when `isError` is false; render is still gated on `login.isError`.
- `dispatchEvent('submit')` bypasses constraint validation; a real button click uses it. That split is what criterion 4 requires.
- Aside `aria-label` duplicates the logo `alt`. That is the requested persistent name, not a break.
- `lg:block` on flex children does not change desktop placement: at `lg` they remain flex items with blockified display.
**Discarded**
- Failing because `aria-labelledby` was removed: the heading is `display: none` below `lg`, so a name that depends on it would be the break.
- Failing on `lg:block` inside `flex flex-col`: the task required that utility, and desktop order is unchanged.
- Failing the first vitest miss: isolated worktree had no `node_modules`; the rerun passed.
**Uncertainty**
- `useLogin`’s axios shape is outside the packet. Mapping follows the required `error.response.status` / `data.detail` contract and does not change the client. If the client stripped `response`, every failure would show the generic sentence and would not leak detail. That does not change this verdict.
**Next action**
- Accept the candidate. No further writer turn for these criteria.xai / grok-4.7-efficient / medium / medium effort answer
PASS
The frozen candidate meets all six acceptance criteria. The two-file diff maps the specified statuses without leaking raw detail, removes `noValidate` while keeping DOM-value reads, and hides only the essay and founder blocks with `hidden lg:block`.
Non-blocking notes:
- The aside accessible name is now always `aria-label="[REDACTED: private project name] by [REDACTED: private project name]"`, including on desktop. That is the right persistent name; `#login-brand-heading` id and text are unchanged and stay in the DOM.
- Non-401 fields omit `aria-invalid` / `aria-describedby` rather than setting `aria-invalid="false"`. That matches “do not mark the fields invalid.”
- The stated vitest rerun (exit 0, 15 tests) is accepted. The earlier missing `node_modules` failure is environmental, not a product defect.
1. Conclusion: PASS, high confidence. Evidence is in `LoginPage.tsx` lines 28–36, 121, 172, 237, 285, 299–300, 325–326, and 338–346, and in the new cases in `LoginPage.workspaceRedirect.test.tsx`. 401 uses the exact check-both string and points both inputs at `#login-error`. 429, exact disabled 403, other 403/500, and missing response use the specified strings and do not mark fields invalid. Detail is never interpolated. One Sign in button remains. No AI wording and no out-of-scope files.
2. Discarded as non-fails: replacing `aria-labelledby` at all breakpoints; omitting `aria-invalid` instead of `"false"`; `dispatchEvent('submit')` still bypassing native validation so existing redirect tests submit. None of these miss the criteria or break the changed lines.
3. `../api/auth` is outside the packet, so the live mutation error shape was not re-checked. The task required mapping `error.response.status` / `data.detail` and not changing the client. That uncertainty does not change the verdict.
4. Next action: accept this candidate. Do not add MFA, forgot-password, show-password, or further login work.Primary judge's stated reason
B makes the validation assurance slightly easier to audit against the supplied test: invalid native submissions are blocked while the existing programmatic path remains usable. This is a forced, weak preference between near-equivalent reviews, not an established material quality difference; an independent review could reasonably reject the preference.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 3373029e-0d5c-4d07-885d-94f372276ca0. Pair: brp1_b510919eb7cf3cd9398a84d7036804d6c9b4948c4bb7495e88abedbda4b43c8b. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.