xai / grok-4.7-efficient / high / high effort preferred over cursor / composer-2.5 / Composer 2.5 default / unknown 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
Evaluate [REDACTED: private project name] decision-assist presentation for a practical way to improve reviewer usefulness while preserving explainability and human authority. Ground the recommendation in the current evidence, identify a specific misleading or under-supported decision cue if present, and provide an incremental product change with measurable acceptance criteria.
xai / grok-4.7-efficient / high / high effort answer
The accept cue is a condition verdict the hook cannot support. Replace it with a signal-backed, non-binding review flag, and do not show a positive state when the inputs that could justify it are missing.
## Conclusion
**Misleading cue:** `Accept — pipe is in good condition` (`useDecisionAssist.ts` line 61), shown in green with a check (`#16a34a`, `\u2713`) by `DecisionAssistCard.tsx` lines 16–17.
That string is the default (`useDecisionAssist.ts` lines 23–24) and the fallback whenever nothing downgrades it. The hook never reads defect, structural, or condition fields. Inputs used are only reviewability (`reinspect_recommended`, `reinspect_reason`, `reviewable_pct`, `grade`, `unusable_pct`), water (`high_pct`, `moderate_pct`), review score (`score`, `band`, `tier`), and `autoClearTier`. Those measure visibility and review workflow, not pipe condition.
Reproducible triggers for the unsupported cue:
- All four arguments null/undefined. Reviewability is skipped (`rv?.reinspect_recommended` is falsy; later branches require `rv`). Result is still the green accept label.
- Reviewability present, `reviewable_pct >= 50`, `reinspect_recommended` false, `grade !== 'marginal'`. Every other grade, including unknown values, is ignored (lines 26–38) and still yields “good condition” if water, score, and auto-clear do not downgrade.
- `autoClearTier === 'GREEN'` is not an accept input. Only `RED` is read, and only when `recommend === 'accept'` (lines 55–58). A green auto-clear is not what produces this label.
**Authority problem:** the card’s visual weight is the colored verdict (13px, weight 600). “Decision Assist” is 10px gray (lines 12–17). There is no visible “reviewer decides” line. Limitations render only when non-empty (lines 19–24), so the no-flag path is a bare clearance.
**Explainability gaps on the same path:**
- Review-score and auto-clear RED limitations are pushed only if `recommend === 'accept'` (lines 47–58). If reviewability already set `reinspect` or `accept_limited`, those facts disappear.
- `grade === 'marginal'` with `unusable_pct <= 10` sets `accept_limited` with no reviewability limitation (lines 33–37).
- Thresholds (50% reviewable, 10% unusable, 10% high water, 30% moderate water) are not shown.
`TrustExplanation.tsx` is a second clearance cue, not the primary defect: green check plus “Flywheel/Score Auto-Cleared” (lines 44–47), checkmarks on every `criteria_summary` line (line 67), and “N similar pipes cleared” with no similarity definition (lines 48–53). `trust.explanation` is fetched and never rendered (field at line 12). Whether that card is mounted beside Decision Assist is outside this packet.
**Incremental change:** keep the same card and hook. Stop issuing a disposition or a condition claim.
1. Add `insufficient` when `reviewability` is null/undefined. Do not default to `accept`.
2. Replace the accept label with a condition-neutral line, e.g. `No assist flags on the signals checked`. Use a neutral color and icon, not green check.
3. Reframe the other states as suggestions (`Review with noted limits`, `Reinspection suggested — footage`), not orders.
4. Always append a limitation when a check fires, independent of current `recommend`. If `marginal` does not push a footage line, push the grade itself.
5. Return the consulted values (reviewable %, grade, water high/moderate, score/band/tier, auto-clear tier, or “missing”) and render them in the card on every state.
6. Add a static visible line: `Suggestion only — reviewer decides`.
**Acceptance criteria:**
- AC1: For every input combination, `suggestion.text` does not contain `good condition` or `pipe is in`.
- AC2: `useDecisionAssist(undefined, undefined, undefined, undefined)` is not `accept`, color is not `#16a34a`, icon is not `✓`, and text says signals are missing.
- AC3: No-flags state is reachable only when reviewability is non-null, `reinspect_recommended` is false, `reviewable_pct >= 50`, `grade !== 'marginal'`, water thresholds are not exceeded, review-score tier is not `manual_review`, and `autoClearTier !== 'RED'`. Text must not assert pipe condition.
- AC4: Fixture with `reviewable_pct < 50` (or `reinspect_recommended`), water over threshold, `tier === 'manual_review'`, and `autoClearTier === 'RED'` includes all four limitation strings. Today score and RED are dropped.
- AC5: Fixture with `grade === 'marginal'` and `unusable_pct <= 10` still has a non-empty limitation naming the marginal grade.
- AC6: Every `DecisionAssistCard` render includes the exact visible string `Suggestion only — reviewer decides`, plus the consulted-signal values, including explicit missing markers.
Confidence: high that the condition sentence is unsupported by this hook; high on the null-input and dropped-limitation triggers; medium that a parent might only mount the card after a separate condition check (parent not in packet). That would not make this label safe.
## Alternatives considered
- Treating “Accept” as “accept the inspection media” rather than “pipe is sound” still fails: the words say the pipe is in good condition, and missing data takes that branch.
- Treating `TrustExplanation` social proof (“N similar pipes cleared”) as the main cue is weaker here. The count may be meaningful, but similarity is defined outside this packet. It is a bias risk, not a proven false claim.
- Treating the water line (“some defects may not be visible”) as the false cue overreaches. It is a visibility caveat tied to `high_pct` / `moderate_pct`. The unexplained thresholds are a smaller explainability issue.
- A full scoring redesign was discarded. The smallest fix is copy, default gating, always-on limitations, and a signal strip in the existing card.
## Missing evidence
- `[REDACTED: private project name]/frontend/src/types/reviewData` is outside the packet. Grade and tier enums are unknown. Consequence: a grade other than `'marginal'` might mean “poor” and still hit the accept label; AC3 should lock the fields this hook actually reads, not an assumed enum.
- Parent composition is outside the packet. Consequence: conflict between green auto-clear (`TrustExplanation.tsx` lines 22, 44–47) and a reinspect suggestion is possible but not observed.
- Trust-explanation API semantics for `similar_cleared_count` and `explanation` are outside the packet. Do not treat the similar-count badge as validated support.
## Next useful action
Add hook tests for AC2–AC5 first, then change `useDecisionAssist.ts` labels, default, and limitation guards, then add the authority line and signal strip in `DecisionAssistCard.tsx` and lock AC1 and AC6 with a render test. Leave `TrustExplanation` unchanged until the parent layout and similarity definition are in scope.
cursor / composer-2.5 / Composer 2.5 default / unknown effort answer
## Evidence packet
### 1. Conclusion, recommendation, and confidence
**Conclusion:** Decision Assist is useful as a compact, rule-based nudge (reviewability → water → review score → auto-clear RED), but the primary green label **“Accept — pipe is in good condition”** (`useDecisionAssist.ts` lines 60–64, rendered in `DecisionAssistCard.tsx` lines 16–17) is the main **misleading cue**: it reads as a **structural / condition** verdict while the hook only uses **footage reviewability, water visibility, review-score tier, and auto-clear tier**—no defect grades, ratings, or pipe condition fields in the admitted snapshot.
**Incremental change (smallest actionable):** Reframe copy and hierarchy so disposition ≠ condition, and show **which rules fired** as first-class “reasons,” not only the `limitations` list.
| Current | Proposed |
|--------|----------|
| `accept.text`: “Accept — pipe is in good condition” | e.g. “Accept footage for review” or “No reinspection suggested from footage signals” |
| Limitations only when non-empty | Always show 1–3 **“Based on:”** lines mapping to the branches that ran (reviewable %, water rule, `manual_review`, auto-clear RED) |
Keep human authority explicit in the card: one line such as “Suggestion only — you choose accept, limited accept, or reinspect.”
**Supporting evidence**
- Label mapping: `useDecisionAssist.ts` 60–65; presentation: `DecisionAssistCard.tsx` 12–24.
- Inputs to logic: `useDecisionAssist.ts` 26–58 (`reviewability`, `waterLevel`, `reviewScore`, `autoClearTier` only).
- `TrustExplanation` is a **separate** GREEN flywheel/score panel (`TrustExplanation.tsx` 22–23, 36–73); it does not feed `useDecisionAssist`, so reviewers can see **auto-clear success** and **Decision Assist** side by side without a single integrated narrative.
**Confidence:** **High** on the label–signal mismatch (directly from strings vs hook inputs). **Medium** on severity in production (depends on parent wiring and whether reviewers treat the card as condition truth—outside packet).
---
### 2. Alternatives and discarded hypotheses
- **Discarded:** “Decision Assist is purely decorative.” It materially changes `recommend` across reinspect / accept_limited / accept paths with concrete thresholds (e.g. `reviewable_pct < 50`, `wl.high_pct > 10`, `rs.tier === 'manual_review'`, `autoClearTier === 'RED'`).
- **Alternative:** Merge Trust + Assist into one panel. Valid for explainability, but **larger** than reframing copy + rule trace; Trust is API-gated GREEN only (`TrustExplanation.tsx` 22–23), Assist is always local.
- **Likely false positive:** Calling water messaging “wrong”—the limitation text is cautious (`useDecisionAssist.ts` 43); the issue is **lack of surfaced percentages**, not the warning itself.
**Secondary under-supported cue:** `accept_limited` with `rv.grade === 'marginal'` can occur with **no** unusable-% limitation when `unusable_pct <= 10` (`useDecisionAssist.ts` 33–37), so yellow “Accept with limitations” may appear with **thin** justification unless water/score/RED added limitations.
**Trust explainability gap:** `TrustData` includes `explanation: string` (`TrustExplanation.tsx` 12) but the UI never renders it—only `criteria_summary` and optional similar-pipe count (57–72). That underuses server-side explainability for GREEN pathways.
---
### 3. Missing evidence and consequences
| Dependency | Consequence |
|------------|-------------|
| `../types/reviewData` (`ReviewabilitySummary`, `WaterLevelSummary`) | Cannot verify field semantics (e.g. what `grade === 'marginal'` means operationally). |
| `../../api/client` + trust API payload shape beyond interface | Cannot confirm `explanation` quality or whether `similar_cleared_count` is calibrated. |
| Parent review tab composition | Unknown if Trust + Assist order causes “double green” confusion. |
| Override / final human action UI | Cannot tie assist to measurable override behavior without instrumentation spec. |
---
### 4. Measurable acceptance criteria (for the incremental change)
1. **Comprehension (qualitative or micro-survey):** Among reviewers shown the new copy, **≥80%** agree the green state means “footage/review workflow” rather than “pipe structural condition” (single forced-choice item, n ≥ 20 per cohort).
2. **Misleading-cue proxy:** In moderated sessions or annotated logs, **zero** required instances where reviewers cite Decision Assist green text as the **primary** reason they accepted **without** citing defect/rating evidence (binary rubric per session).
3. **Explainability:** For `accept_limited` and `reinspect`, **100%** of rendered assists include **≥1** “Based on:” line tied to a fired rule (not only generic limitations)—verifiable by unit tests on `useDecisionAssist` return shape (e.g. new `reasons: string[]` parallel to `limitations`).
4. **Authority preservation:** Card shows fixed disclaimer copy; **no** change to who submits the human decision (behavioral: final action still explicit parent control—verify in parent, not in packet).
5. **Trust parity (optional follow-on):** When `trust` loads, render `trust.explanation` below criteria (`TrustExplanation.tsx`); acceptance: **≥90%** of GREEN trust views show non-empty `explanation` when API returns it (analytics on field presence).
---
### 5. Next useful action
Implement in `useDecisionAssist.ts`: rename `accept` label to disposition-safe copy; add `reasons: string[]` populated at each branch that changes `recommend`; render “Based on” + disclaimer in `DecisionAssistCard.tsx`. Add hook unit tests for marginal-without-unusable limitation and RED/manual_review branches. Separately, surface `trust.explanation` in `TrustExplanation.tsx` when non-empty.
**No material evidence conflict** between the three files on logic vs presentation; tension is **product semantics** (condition wording vs available signals), not contradictory code paths.
Primary judge's stated reason
B is the forced, weak preference because its concrete missing-input regression case makes the incremental recommendation slightly more actionable against an evidenced misleading default. A's direct comprehension measurement counterbalances that advantage. This is not an established material quality difference, and an independent review could reasonably prefer A's narrower intervention.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 1f8a0aba-9d16-4839-8714-ef37db460c2e. Pair: brp1_30ffa845882b01b6f0154c2512b52600c89bc3d65247f36fea8a5f0b754925e6. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.