+ {/* ═══════════════ CONVERSATION — vertical flow ═══════════════ */}
+
+ {hasSelectedQuestion && (
+
+
+ {/* Current Investigation — primary focus, full width */}
+
+
+ {/* Post-update acknowledgement */}
+ {updateStatus === "success" && !isUpdating &&
}
+
+ {/* Response — directly beneath the question */}
+ {!isUpdating && canAnswer && (
+
+ )}
+
+ {/* Terminal state — when no active question */}
+ {status === "success" && !hasSelectedQuestion && (
+ <>
+ {genuineCompletion && (
+
+ )}
+ {!genuineCompletion && (
+
+ )}
+ >
+ )}
- {/* Investigation status & context — desktop: two-column; mobile: stacked */}
-
-
-
- {hasSelectedQuestion && (
- <>
-
- >
- )}
-
+ )}
- {/* Post-update acknowledgement */}
- {updateStatus === "success" && !isUpdating &&
}
+ {/* History — growing naturally from Response */}
+ {investigationHistory.length > 0 && (
+
+ )}
- {/* Active workspace (Question + Response) — full-width column */}
- {hasSelectedQuestion && (
-
- {isUpdating && (
-
- )}
-
- {!isUpdating && canAnswer && (
-
- )}
-
- )}
-
- {/* Terminal state — when no active question */}
- {status === "success" && !hasSelectedQuestion && (
- <>
- {genuineCompletion && (
-
- )}
- {!genuineCompletion && (
-
- )}
- >
- )}
-
-
- {/* ═══════════════ ZONE 2 — Shared understanding ═══════════════ */}
+ {/* ═══════════════ WORKSPACE — supporting context ═══════════════ */}
{hasSelectedQuestion && hasCurrentSummaryCondition && (