← Model losses

Head-to-head comparison

openai / gpt-6-astra / medium / medium effort preferred over openai / gpt-6.1-sol / low / low 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

MVP source audit; taskCategory=ux; module category=ux, difficulty=high, expectedTests=none. Inspection review lifecycle, client state transitions, keyboard and tier behavior using the rendered route and focused tests. State exact backend contract edges not included. Source review only; no tests run. Use only exact supplied files and cite file plus original line. Do not run tests, use shell/globs/root traversal, live services, databases, customer data, or edit source. Report concrete source-proven issues with impact and confidence, otherwise state no findings. Identify every excluded boundary explicitly; do not infer production readiness. This source-only audit packet is bound to verified merged main commit 9dab4e99d3bfadf995dbaa031b9b6a365970e1e3; it does not verify runtime or production behavior.

openai / gpt-6-astra / medium / medium effort answer

## Conclusion

**Four source-proven UX issues.** Reviewed all 20 supplied files directly and independently. No tools, tests, rendering, or external actions were performed.

Evidence is limited to the packet bound to commit `9dab4e99d3bfadf995dbaa031b9b6a365970e1e3`, digest `sha256:781652784ae54bf7176b1722d4bdacf5297722e946330fd23bc8653f0947af42`. This does not establish runtime behavior or production readiness.

## Findings

### 1. Metadata failure leaves the review permanently displaying a loading message
**Severity: Medium · Confidence: High**

- The page consumes metadata `data` and `refetch`, but ignores its error state: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:104`.
- Loading/error recovery screens depend on the separate boot request: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:242–259`.
- The shell refuses to render while metadata is absent, showing “Loading review pack…” indefinitely: `[REDACTED: private project name]/frontend/src/components/v3-review/V3LayoutShell.tsx:514–516`.
- Metadata requests explicitly disable retries: `[REDACTED: private project name]/frontend/src/api/inspections.ts:159–176`.

**Impact:** If boot succeeds but the metadata request fails without cached data, the reviewer receives neither an error explanation nor a retry control.

**Recommendation:** Surface metadata loading/error state explicitly, with a retry action, while retaining the certification fail-closed gate.

### 2. “Review paused” impersonation overlay does not suspend or isolate the review
**Severity: Medium · Confidence: High**

- The ended-session interstitial renders alongside the still-mounted providers and shell; session loss is not passed into them as a suspension condition: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:407–428`.
- Its overlay is an ordinary fixed-position `div`, without dialog semantics, focus transfer, focus containment, or background inertness: `[REDACTED: private project name]/frontend/src/components/impersonation/ImpersonationEndedInterstitial.tsx:105–120`.
- The visible statement is “review paused”: `[REDACTED: private project name]/frontend/src/components/impersonation/ImpersonationEndedInterstitial.tsx:53`.
- The mounted shell retains its document-level Escape listener: `[REDACTED: private project name]/frontend/src/components/v3-review/V3LayoutShell.tsx:2020–2047`. The shared guard does not recognize this overlay: `[REDACTED: private project name]/frontend/src/components/v3-review/keyboardGuards.ts:18–41`.

**Impact:** The overlay itself does not pause ongoing playback/scan effects. Keyboard focus can remain in the background, and Escape can change the underlying review selection or navigate away during recovery. Screen-reader users receive no modal boundary.

**Recommendation:** Explicitly suspend review activity on session loss and implement accessible modal focus/background isolation while retaining recoverable client state. Successful backend writes during expiry are **not** established by this finding.

### 3. Right-pane resizing has no keyboard-accessible operation
**Severity: Medium · Confidence: High**

- The resize separator exposes only pointer handlers, with no `tabIndex` or keyboard handler: `[REDACTED: private project name]/frontend/src/components/v3-review/V3LayoutShell.tsx:2253–2275`.
- Width adjustment is driven by pointer coordinates: `[REDACTED: private project name]/frontend/src/components/v3-review/V3LayoutShell.tsx:1969–1988`.

**Impact:** Keyboard-only users cannot operate the provided panel-resizing control.

**Recommendation:** Make the separator focusable, support keyboard width adjustment, and expose current/minimum/maximum values.

### 4. Malformed inspection IDs can select different records for metadata and review data
**Severity: Medium · Confidence: High**

- `parseInt` accepts numeric prefixes; the check only rejects `NaN`: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:89–94`.
- Metadata uses the original string: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:104`.
- Boot and review-pack requests use the parsed number: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:109–110`.
- The invalid-ID screen only checks falsiness: `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:221–237`.

**Impact:** On the explicit `inspId` route, a value such as `42abc` requests metadata for `42abc` but boot/pack data for `42`. It bypasses the intended invalid-ID screen and can produce inconsistent or indefinitely loading UI. Negative IDs also pass this page guard while boot fetching requires a positive value (`[REDACTED: private project name]/frontend/src/hooks/useInspectionData.ts:26`).

**Recommendation:** Validate the entire parameter as a positive safe integer before requests, and use one normalized identity throughout.

## Focused-test evidence and discarded hypotheses

- The mount-test `render` and `screen` implementations deliberately throw; these are not executable rendering evidence: `[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.test.tsx:23–31`.
- Redirect tests exercise a local mirror rather than the page: `[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.uuif-redirect.test.tsx:45–57`. Actual DOM cases remain TODOs at lines `185–190`.
- Keyboard zone navigation is also locally mirrored: `[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.keyboard.test.tsx:126–177`. This does not prove current global keyboard behavior.
- Standard-tier rendering/routing assertions remain TODOs: `[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.standard-tier.test.tsx:131,185–190`.
- Test headers say these files are excluded from Vitest. The configuration and TypeScript checking setup are outside the packet, so their actual discovery/type-check status was not verified.
- **Not reported as an entitlement bypass:** the legacy route deliberately retains the full surface, while the workspace alias applies the entitlement/presentation gate (`[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:55–59`). Backend authorization is outside scope.
- **Not reported as an unsigned-acceptance bypass:** the shortcut helper permits `unsigned`, but the actual verdict handler and server gate are excluded. The helper alone cannot establish an invalid acceptance.
- Certification-stage gating and inspection-scoped hydration are present in the supplied callers; their delegated implementations and backend enforcement are not verified.

## Excluded boundaries

### Backend contracts: client declarations only

No backend implementation was supplied. Consequently, the following edges are explicitly unverified:

- `GET /inspections/{id}` and `GET /inspections/{id}/review-boot`: response schemas, identity consistency, visibility, and meanings of 401/403/404.
- `PUT /inspections/{id}`: valid acceptance transitions, role/owner/contractor restrictions, sign-off requirements, open-zone overrides, pack-hash validation, concurrency, transactionality, and audit durability.
- `GET /inspections/{id}/reviewed-zones`: reconstruction, pack identity, zone/span dispositions, and full-video-review status.
- `POST /inspections/{id}/full-video-review`: played-range validation, pack binding, and `Idempotency-Key` behavior.
- `GET`/`PUT /inspections/{id}/review-progress`: revision conflicts, restart semantics, cursor/range persistence, and inspection/pack binding.
- `POST /inspections/{id}/reviewer-signoff`: attestation validation, authority, idempotency, and subsequent revocation.
- `POST /inspections/{id}/recompute-scores`; `GET /inspections/{id}/pacp-detail` and `/macp-detail`: validation errors, completeness, and scoring correctness.
- `GET /review-pack/{id}/inspection.json`, review-pack media/overrides/evidence, and `GET /inspections/{id}/video`: enrichment, certification sanitization, regeneration identity, storage, streaming, and media access.
- `POST /media/sign-url`: token scope, lifetime, revocation, impersonation/organization binding, and media-request authorization.
- `GET /auth/me`, authentication refresh, `POST /super-admin/stop-impersonation`, and `POST /super-admin/impersonate/{target}`: identity transitions, cookies, expiry, authorization, and recovery guarantees.
- Workspace entitlement, preferences, UUIF field permissions, and observation operations: server contracts are not supplied.
- Other supplied inspection-client operations—listing, pill-state, query/selection, header-copy, duplicate detection, merging, work-order linking/unlinking, creation, reclassification, and batch reprocessing—have no verified backend counterpart here.
- Documentation-only lifecycle guarantees—including submissions/resubmission, archival, soft-delete cascades, variance resolution, draft actions, bulk operations, and auto-clear—were not treated as implemented backend evidence.

### Every declared outside dependency

Paths below are relative to `[REDACTED: private project name]/frontend/src/`; these files were **not inspected**:

- **`api/`:** `client.js`, `queryKeys.js`, `searchInput.js`, `userPreferences.js`, `uuif.js`, `workspace.js`.
- **`types/`:** `fullVideoReview.js`, `reviewData.js`, `auth.js`.
- **`lib/`:** `crossTabReset.js`, `useUserPreferencesQueue.js`, `prefetchReviewStills.js`, `reviewVideoEmptyState.js`, `reviewVideoSessionPlayer.js`, `videoPlaybackBuffer.js`.
- **`hooks/`:** `useMergedObservations.js`, `useNasscoMode.js`, `useZoneBoundaryAlert.js`, `useDistance.js`, `useFocusZoneTimeRange.js`, `useImageUrl.js`, `useOverrides.js`, `useTokenKeepAlive.js`, `useVideoSync.js`, `useZoneEvidence.js`.
- **State/context/storage:** `stores/useV3SessionStore.js`, `stores/inspectionStore.js`, `store/useWorkspaceProModeStore.js`, `context/reviewWave2.js`, `utils/storage.js`.
- **Styles:** `styles/review-viewer.css`, `styles/v3-review.css`.
- **`components/review-tabs/`:** `Filmstrip.js`, `VideoPlayer.js`.
- **`components/v3-review/`:** `AddObsSlideOver.js`, `CertificationReviewPanel.js`, `GuidedReviewControlBar.js`, `SidescanPanel.js`, `V3DenseHeader.js`, `V3DistanceStepControls.js`, `V3RightPane.js`, `V3SpatialStrip.js`, `V3VerdictBar.js`, `V3ZoneAnnouncer.js`, `blockingCoding.js`, `coverageRecovery.js`, `editModeGuard.js`, `obsPredicates.js`, `observationCardParams.js`, `pacpRequiredSetup.js`, `reviewEvidenceAssist.js`, `reviewNavigation.js`, `reviewPositionCapture.js`, `reviewPresentation.js`, `reviewStationCards.js`, `reviewTravelChrome.js`, `reviewZoneQueues.js`, `scanNavigation.js`, `throughputPace.js`, `useReviewTargetCursor.js`, `useV3GlobalKeyboard.js`, `zoneObservationLinking.js`.
- **`components/v3-review/hooks/`:** `useCoverageRecovery.js`, `useFullVideoReviewAttestation.js`, `usePlayedSpanAttestation.js`, `useReviewProgress.js`, `useReviewResumePlayback.js`, `useReviewReturnSeek.js`, `useSessionReviewPace.js`, `useV3ZoneBoundaryHotkeys.js`.
- **Panel:** `components/v3-review/panels/V3ZoneProgressChip.js`.

These exclusions prevent verification of actual verdict actions, keyboard ownership across children, store resets, persistence/recovery algorithms, observation editing, player behavior, and final visual layout. Also excluded: route registration/AppShell/AuthContext, test/build configuration, browser/assistive-technology execution, live services, databases, customer data, and deployment state.

**Next useful action:** Address the four localized findings and reconcile the focused test contracts with the current route before separately authorizing runtime verification.

MATERIAL_EVIDENCE_CONFLICT: `[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.test.tsx:124–136` and `[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.uuif-redirect.test.tsx:63–80` require UUIF redirects, while `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:96–102,398–428` explicitly removes that redirect and mounts V3 for all inspection types.

openai / gpt-6.1-sol / low / low effort answer

## Conclusion

Direct, independent source review found **three concrete UX issues**. No tools, tests, rendered runtime, or external services were used. Findings apply only to packet `781652784ae54bf7176b1722d4bdacf5297722e946330fd23bc8653f0947af42` at commit `9dab4e99d3bfadf995dbaa031b9b6a365970e1e3`; they do not establish production readiness.

### 1. Metadata failure leaves the review indefinitely “loading”
**Severity: Medium · Confidence: 0.99**

- `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:104` retains metadata data/refetch but does not handle metadata error state. Its error screens check only review-boot errors (`:259–384`).
- `[REDACTED: private project name]/frontend/src/components/v3-review/V3LayoutShell.tsx:514–516` displays “Loading review pack…” whenever metadata is absent.
- `[REDACTED: private project name]/frontend/src/api/inspections.ts:174–175` disables automatic metadata retries.

**Impact:** If review-boot succeeds but the independent metadata request fails, the page mounts a permanent loading message with no metadata retry action—even when the pack itself loaded.

**Recommendation:** Surface metadata errors separately and provide an explicit retry while preserving the certification fail-closed boundary.

### 2. “Review paused” impersonation overlay does not actually isolate or pause the review
**Severity: Medium · Confidence: 0.97**

- `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:411–429` mounts the expiry overlay alongside the still-mounted inspection providers and shell; it supplies no pause/disabled signal.
- `[REDACTED: private project name]/frontend/src/components/impersonation/ImpersonationEndedInterstitial.tsx:105–119` implements a visual fixed overlay without focus management, modal semantics, or background inertness.
- `[REDACTED: private project name]/frontend/src/components/v3-review/keyboardGuards.ts:18–41` does not recognize that overlay.
- The shell’s document-level Escape listener remains registered (`[REDACTED: private project name]/frontend/src/components/v3-review/V3LayoutShell.tsx:2020–2047`).

**Impact:** Existing playback is not explicitly paused by this transition. Keyboard focus can remain behind the overlay, and Escape can clear review selection or navigate away despite the displayed “review paused” message. Background controls remain reachable by keyboard.

**Recommendation:** Explicitly pause review playback/scanning, suppress background shortcuts, and manage modal focus/inertness during recovery. Whether omitted playback hooks independently stop playback is unverified; the exposed Escape path is source-proven.

### 3. Route ID validation accepts malformed IDs and disagrees between requests
**Severity: Medium · Confidence: 0.99**

- `[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:90–94` validates with `parseInt`, accepting values such as `42abc` as `42`.
- Metadata uses the original string (`:104`), while boot and provider use the parsed integer (`:109`, `:422`).
- Negative integers also pass the page guard (`:222`), although boot is disabled for nonpositive IDs (`[REDACTED: private project name]/frontend/src/hooks/useInspectionData.ts:26`).

**Impact:** A malformed route can request metadata for `42abc` while requesting the pack for inspection `42`, bypassing the intended invalid-ID screen and potentially entering the indefinite metadata-loading state. Negative IDs enter an inconsistent disabled-boot path.

**Recommendation:** Validate one positive safe integer representation before enabling any inspection request; use that same canonical ID throughout.

## Focused-test evidence and discarded hypotheses

- The supplied mount test cannot mount anything: its `render` shim deliberately throws (`[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.test.tsx:23–30`).
- Keyboard tests frequently exercise mirrored handlers rather than rendered components (`[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.keyboard.test.tsx:126–141`, `:193–219`, `:293–304`).
- Tier tests leave rendered Workspace/Pro behavior as TODOs (`[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.standard-tier.test.tsx:181–190`).
- UUIF redirect tests still assert redirects (`[REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.uuif-redirect.test.tsx:63–80`), whereas the page explicitly removed that redirect (`[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:96–102`). This is stale contract evidence, **not proof that current UUIF rendering is defective**.
- Test headers claim exclusion from Vitest, but the configuration is outside this packet; actual discovery/execution was not verified.
- Legacy-route Pro behavior is explicitly intentional (`[REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:56–59`); it is not reported as an entitlement bypass.
- Acceptance authority and certification routing contain explicit client gates. Their backend enforcement and omitted verdict implementation cannot be certified here.

## Explicit excluded boundaries

**Runtime:** Browser rendering/layout, CSS effects, responsive behavior, assistive-technology behavior, actual event timing, playback/buffering/autoplay, network failures, test execution/discovery, build/type checks, live services, databases, customer data, deployment, and production behavior.

**Backend contracts:** No server implementation was supplied for inspection reads/writes and lifecycle transitions; owner-org/RBAC/tenant enforcement; submission locks; archival, deletion and merge effects; reviewed-zone persistence and pack-hash validation; full-video proof/idempotency; review-progress revisions/restarts; reviewer sign-off issuance/revocation; score validation/recomputation; review-boot and review-pack enrichment/certification sanitization; media signing/expiry/path scope/range serving; auth refresh, impersonation stop/start/TTL; workspace entitlements; preferences; codebooks/permissions; bulk, playlist, creation and reprocessing endpoints. Client declarations and documentation do not verify these contracts.

**Every declared outside dependency remains excluded:**

Under `[REDACTED: private project name]/frontend/src/`:

- `types/`: `fullVideoReview.js`, `reviewData.js`, `auth.js`.
- `api/`: `client.js`, `queryKeys.js`, `searchInput.js`, `userPreferences.js`, `uuif.js`, `workspace.js`.
- `lib/`: `crossTabReset.js`, `useUserPreferencesQueue.js`, `prefetchReviewStills.js`, `reviewVideoEmptyState.js`, `reviewVideoSessionPlayer.js`, `videoPlaybackBuffer.js`.
- `hooks/`: `useMergedObservations.js`, `useNasscoMode.js`, `useZoneBoundaryAlert.js`, `useDistance.js`, `useFocusZoneTimeRange.js`, `useImageUrl.js`, `useOverrides.js`, `useTokenKeepAlive.js`, `useVideoSync.js`, `useZoneEvidence.js`.
- `stores/`: `useV3SessionStore.js`, `inspectionStore.js`; `store/useWorkspaceProModeStore.js`; `context/reviewWave2.js`; `utils/storage.js`.
- `styles/`: `review-viewer.css`, `v3-review.css`.
- `components/review-tabs/`: `Filmstrip.js`, `VideoPlayer.js`.
- `components/v3-review/`: `AddObsSlideOver.js`, `CertificationReviewPanel.js`, `GuidedReviewControlBar.js`, `SidescanPanel.js`, `V3DenseHeader.js`, `V3DistanceStepControls.js`, `V3RightPane.js`, `V3SpatialStrip.js`, `V3VerdictBar.js`, `V3ZoneAnnouncer.js`, `blockingCoding.js`, `coverageRecovery.js`, `editModeGuard.js`, `obsPredicates.js`, `observationCardParams.js`, `pacpRequiredSetup.js`, `reviewEvidenceAssist.js`, `reviewNavigation.js`, `reviewPositionCapture.js`, `reviewPresentation.js`, `reviewStationCards.js`, `reviewTravelChrome.js`, `reviewZoneQueues.js`, `scanNavigation.js`, `throughputPace.js`, `useReviewTargetCursor.js`, `useV3GlobalKeyboard.js`, `zoneObservationLinking.js`.
- `components/v3-review/hooks/`: `useCoverageRecovery.js`, `useFullVideoReviewAttestation.js`, `usePlayedSpanAttestation.js`, `useReviewProgress.js`, `useReviewResumePlayback.js`, `useReviewReturnSeek.js`, `useSessionReviewPace.js`, `useV3ZoneBoundaryHotkeys.js`.
- `components/v3-review/panels/V3ZoneProgressChip.js`.

Router/AppShell registration, AuthContext integration, third-party implementation details, Vitest configuration, and referenced tests outside the packet are also excluded.

**Next useful action:** Address the three source-proven transitions and reconcile the stale focused-test contracts; runtime verification requires a separately authorized scope.

MATERIAL_EVIDENCE_CONFLICT: UUIF redirect tests require navigation to V1 ([REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.test.tsx:124–136; [REDACTED: private project name]/frontend/src/__tests__/V3InspectionReview.uuif-redirect.test.tsx:63–80), but the rendered page source explicitly removes that redirect and renders any inspection type ([REDACTED: private project name]/frontend/src/pages/v3/V3InspectionReview.tsx:96–102).

Primary judge's stated reason

A offers a slightly more complete actionable keyboard audit and more exact backend exclusion mapping. This supports a weak, forced preference, not an established material quality difference; B's sharper local uncertainty qualification is meaningful counterevidence, and an independent review could reject the preference.

This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.

Battle wave: 5276beb5-613e-4538-b8ae-dfc9265f64df. Pair: brp1_98cb8635a5e15a7ca79008347614d0214e8eccb12817346488f38bfdd35cdda9. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.