← Model losses

Head-to-head comparison

openai / gpt-6.1-sol / high / high effort preferred over cursor / composer-2.5 / Composer 2.5 default / unknown effort · clear 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

Review the core [REDACTED: private project name] inspection-review workflow from evidence navigation through reviewer decision and acceptance. Identify the most consequential reproducible product behavior gap or inconsistency between displayed state, user action, and persisted authority; give exact source-grounded reproduction, smallest safe change, and focused regression coverage. Preserve certification and server acceptance authority.

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

## Finding: an unlocated finding can inherit another finding’s video and saved observation location

**High confidence in the client behavior and submitted payload.** This can make a reviewer appear to resolve finding B while creating an observation at finding A’s location.

### Exact reproduction

Use `ReviewTab` with:
- A visible unified queue: not `isCleanPipe`, and no active segment-triage branch (`ReviewTab.tsx:1198–1246`).
- An available asset and loaded code tree.
- Item A: a timed signal-only observation, for example `time_s=30`, `end_s=38`.
- Item B: a profile anomaly with both `start_s` and `end_s` absent. This explicitly produces an item with **no image, distance, or seek time** (`791–804`).

Then:

1. Click **Review** on A. It starts highlighted playback and sets A’s active review zone (`882–890`).
2. While that highlight is running, click B’s content or **Review**.
3. B becomes the active item, but neither playback nor the active zone is cleared: `startReview` has no fallback when B has no usable timing (`885–895`).
4. Click **+ Add Obs**, available for every active item with an asset (`1483–1504`). The picker captures the player’s current distance—still associated with A (`924–928`).
5. Save without changing that distance. The mutation submits A’s distance (`930–943`), then marks **B** “Added” (`944–945`, `1525–1527`).

**Mismatch:** selected finding B has no linked location; displayed video still represents A; the submitted observation uses A’s location; B receives the completion indicator. The captured `frozenTime` is also never included in this mutation, so it does not supply an evidence binding.

### Smallest safe change

In `[REDACTED: private project name]/frontend/src/components/review-tabs/ReviewTab.tsx`:

- When selecting an unseekable item, explicitly cancel the previous highlight and clear the active review zone.
- Disable guided **+ Add Obs** for that item and defensively enforce the same restriction in the save handler. Explain: “No linked video location.”
- Do not silently substitute the previous player position. Supporting manual location assignment would require an explicit binding step, not merely clearing the highlight.

Keep this fix confined to evidence navigation and observation creation. Do **not** change certification, acceptance status, or the gates in `inspectionAcceptanceAuthority.ts`.

### Focused regression coverage

1. **Timed A → unlocated B:** verify highlight cancellation, cleared active zone, and no enabled guided Add action.
2. **Defensive save:** selecting B cannot submit an observation or mark B added using A’s position.
3. **Located item success/failure:** successful creation marks the correct item added; rejected creation does not.
4. **Authority invariants:** unauthorized, red-gate, already-accepted, and unknown-signoff shortcuts remain blocked; amber remains override and green remains bare accept (`inspectionAcceptanceAuthority.ts:30–50`).

### Boundaries and discarded hypotheses

- The packet proves the request payload and local “Added” state. Actual database persistence depends on `useObservations` and the server, neither supplied.
- `V3LayoutShell` is outside the packet, so this does not establish that `ReviewTab` is reachable on every V3 surface.
- The supplied acceptance helper does not establish an acceptance bypass. Allowing an `unsigned` shortcut may initiate a signoff flow; its caller is not supplied.
- Queue “Skipped” progress is local, but there is no evidence that it satisfies certification or server acceptance requirements.

**Next useful action:** reproduce this fixture in a component test, then apply the navigation-clear and Add-action guard directly. This assessment used only the supplied snapshot.

cursor / composer-2.5 / Composer 2.5 default / unknown effort answer

## Evidence packet: inspection-review workflow (navigation → decision → acceptance)

### 1. Conclusion (highest-impact gap)

**When segment triage is active, the UI hides the unified evidence review queue (Review / Skip / + Add Obs) even though that queue is still built from cross-check data.** Reviewers get seek-only navigation on classified segments while signal-only and convergence items remain in `unifiedQueue` with no in-tab workflow to resolve them. That is a reproducible split between **what the product still treats as open review work** (queue + Decision Strip / Decision Assist) and **what the reviewer can act on in this pane** (local `itemStatuses` never updates in that branch; acceptance stays on `inspectionMeta.acceptance_status` only).

**Confidence:** High for the branch logic; medium that no other pane (e.g. `V3LayoutShell`, not in packet) fully replaces this queue.

**Supporting evidence**

| Behavior | Location |
|----------|----------|
| Queue built from cross-check (signal-only, profile gaps, convergence, top findings) | `ReviewTab.tsx` 771–879 |
| Segment path chosen when `hasSegmentTriage && !isCleanPipe` | 994–995, 1198–1212 |
| In that branch: only `SegmentTriageView` + `DecisionAssist` — **no** `unifiedQueue` UI | 1199–1211 |
| Queue UI (progress, `itemStatuses`, Add Obs, Skip) only in the `else` branch | 1245–1574 |
| Disposition is **display-only** from `inspectionMeta?.acceptance_status` | 558, 997–998, 1075–1076 |
| Acceptance gating lives in `inspectionAcceptanceAuthority.ts`; **not referenced in supplied `ReviewTab`** | authority file 4–57; ReviewTab imports omit it |

**Reproduction (source-grounded)**

1. Load Review tab with `data` such that `trustGate != null`, `reviewSegments.length > 0`, and `isCleanPipe` is false (e.g. `auto_clear.tier !== 'GREEN'` or grade/defect rules at 1014–1017 fail).
2. Ensure cross-check produces `unifiedQueue.length > 0` (e.g. `crossCheck.signalOnly` non-empty → items at 775–788).
3. **Observed:** Segment triage (“Review required” segments, seek on click) and Decision Assist; **not** observed: “N items to review”, Review/Skip/+ Add Obs, `reviewedCount` / `unresolvedCount` (1032–1033, 1247–1572).
4. **Persisted authority:** `acceptance_status` unchanged by this tab; observations only if created elsewhere — `createObservation` is only wired from queue flow (`handleObservationSave` 930–948) and `openAddObservation` from active queue row (1485–1504), which are absent in the triage branch.

**Implications**

- Reviewers can satisfy **spatial** navigation without **certification-relevant** disposition of flagged evidence items in the same surface that shows Decision Strip / disposition contradiction logic (1053–1070).
- Local queue progress is **ephemeral** (`itemStatuses` 640) and **branch-dependent**, so displayed “review complete” semantics (e.g. “All findings corroborated — no review needed” when `unifiedQueue.length === 0`, 1263–1266) do not align with server acceptance and can diverge from hidden non-empty queue logic when triage is shown for other reasons.

**Smallest safe change (preserves server acceptance authority)**

- Do **not** add client writes to `ACCEPTED` from Review tab; keep `canAcceptInspection` / server as authority.
- **Minimal product fix:** In the `hasSegmentTriage && !isCleanPipe` branch, if `unifiedQueue.length > 0`, also render the existing queue block (1245–1574) below segment triage, or a compact “Open evidence queue (N)” entry that mounts the same handlers — reuse `startReview` / `skipItem` / `markAdded` without new persistence semantics.

**Focused regression coverage**

- Fixture: `hasSegmentTriage === true`, `isCleanPipe === false`, `unifiedQueue.length > 0`.
- Assert: Review (or Start Review), Skip, and + Add Obs (when `assetId` present) are present and drive `itemStatuses` / `createObservation` as in the non-triage branch.
- Negative: `isCleanPipe === true` still suppresses alarming queue UX (1213–1244).
- Authority: no test that Review tab sets `acceptance_status`; optional assert DispositionCard remains non-interactive (div-only disposition chips 589–604).

---

### 2. Alternatives / discarded hypotheses

| Hypothesis | Verdict |
|------------|---------|
| **DispositionCard looks actionable but isn’t** | Likely intentional (“display-only v1”, 558); weaker than triage hiding the only Add Obs path in this file. |
| **`skipItem` / `markAdded` use stale `itemStatuses` in `findIndex`** (900, 914) | Real UX bug when advancing queue in the **else** branch; narrower than triage hiding entire queue. |
| **“All findings corroborated — no review needed”** when `unifiedQueue.length === 0` (1265) | Messaging vs formal acceptance (`acceptance_status`); important but secondary if queue is non-empty yet hidden. |
| **Multiple DB statuses collapse to one “Needs Review” chip** (`CONDITIONAL`, `PENDING_REVIEW`, etc. → same label, 560–567, 581) | Display vs persisted granularity; not a write authority bug. |
| **Contradiction only for `ACCEPTED` / `REJECTED`** (1056–1070) | Incomplete warnings for `PENDING_REVIEW` + RED auto-clear; display consistency, not action blocking. |

---

### 3. Missing evidence / uncertainty

| Dependency (outside packet) | Consequence |
|-----------------------------|-------------|
| `V3LayoutShell`, verdict bar, Accept / Accept Anyway, sign-off | Cannot confirm whether hidden queue is fully compensated elsewhere; triage gap remains **proven in ReviewTab** regardless. |
| `InspectionContext` / `inspectionMeta` refresh after `createObservation` | Unclear if observations added outside queue update cross-check on next load. |
| `useSegmentClassification`, `useTrustGate` thresholds | Exact conditions for `hasSegmentTriage` in production need those hooks; branch condition itself is explicit in snapshot. |
| Tests directory | No existing regression cited; recommendation is new focused tests only. |

---

### 4. Next useful action

Implement the **conditional queue render under segment triage** (smallest diff: shared sub-render or duplicate conditional wrapping 1245–1574), add the fixture test above, and spot-check one real inspection with both `reviewSegments` and `crossCheck.signalOnly` to confirm Review/Add Obs appear without exposing Accept to non-`canAcceptInspection` users (acceptance stays in gated shell/API).

Primary judge's stated reason

B provides a clearer actionable safeguard against associating an unlocated finding with a previous finding’s location, while preserving server authority and distinguishing submitted payload from persisted outcome. This is a supported substantive advantage, not merely a forced slight preference, although it does not establish production frequency or prove that this is the globally most consequential defect.

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

Battle wave: f6382501-bcc3-49c9-a1b7-b4247e5a724c. Pair: brp1_1b7dfa510f43444d76940c57eb749dfeb717f84df446ae0d4a30f68cd35326fe. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.