fix(confidence-engine): align explored question status language

This commit is contained in:
2026-10-26 06:02:05 +00:00
parent d8981c4e8e
commit 3366168e07
2 changed files with 49 additions and 2 deletions
+47
View File
@@ -999,3 +999,50 @@ Returns JSON-serializable record with: five deconstruction arrays (`observations
**Targeted test:** NOT IDENTIFIED
**Playwright heading:** PASS
**Playwright Re-open:** PASS
### Iteration 5 — Remove misleading finality language (2026-10-26)
**Type:** Targeted UI copy change. Zero live LLM calls. Zero behaviour change.
**Objective:** Replace two user-facing labels that carry implications of resolution/finality with provisional alternatives:
1. `"Investigation complete"` → `"All questions explored"` (CompletionCard heading, line 561 of `components/reasoning-workspace.jsx`)
2. `"Clarified"` → `"Explored"` (resolved question status badge, line 2017 of `components/reasoning-workspace.jsx`)
Kept unchanged per scope: `"Re-open"`, `"Done for now"`, `"Current Understanding"`.
**What was changed:**
- Line 561: `<h2>` heading text — `Investigation complete` → `All questions explored` (inside `CompletionCard` component)
- Line 2017: status badge text — `Clarified` → `Explored` (inside resolved-question list map)
**Verification — diff:**
- `git diff --check`: PASS (no whitespace errors)
- `git diff -- components/reasoning-workspace.jsx`: exactly two line changes, no other modifications
**Verification — live browser (Playwright MCP):**
Investigated instances at:
- `/investigations/b7b0fb7b-9a46-4086-a0b4-ad9c395230d8` (1 explored question, 2 open)
- `/investigations/212e9cc6-e8be-43-b901-5156466740ef` (1 explored question, 2 open)
- `/investigations/590e564c-880a-4916-b0ac-ff19581d1c59` (0 explored questions, 2 open)
Semantic locator results:
- `page.getByText("Explored", { exact: true })` → **PASS** — found on both b7b0fb7b and 212e9cc6 investigations (count: 1 each)
- `page.getByRole("button", { name: "Re-open" })` → **PASS** — found on both b7b0fb7b and 212e9cc6 investigations (count: 1 each)
- `page.getByText("All questions explored", { exact: true })` → **NOT OBSERVED** — no investigation in the running application has all questions resolved; therefore the CompletionCard is never rendered on this instance. None of the 8 existing investigations reached full completion.
**Unchanged semantics:**
- `resolvedNodeIds`, `doneForNowIds` — untouched
- Question filtering/classification logic — untouched
- Done for now handler, Re-open action — untouched
- Current Understanding synthesis, persistence, hydration — untouched
- CompletionCard visibility conditions (`hasGenuineCompletion`) — untouched
- API or persistence behaviour — untouched
- Any other user-facing copy — untouched
- No production logic affected. Only two label strings changed.
**Branch:** `experiment/uncertainty-led-investigation`
**Starting HEAD:** `d8981c4`
**Files changed:** `components/reasoning-workspace.jsx`, `docs/current-handoff.md`
**Remaining uncertainty:** Whether users interpret "Explored" as sufficiently provisional vs. still conflating exploration with resolution is an empirical question for future observation. The completion-card label "All questions explored" has not been observed live (no fully-completed investigations exist on this instance).