"use client"; import React from "react"; import { loadInvestigation } from "@/lib/storage/investigation-storage"; import ScenarioForm from "@/components/scenario-form"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useEffect, useState } from "react"; const INVESTIGATION_ID = "case-1"; export default function InvestigationPage() { const router = useRouter(); const [existing, setExisting] = useState(null); useEffect(() => { setExisting(loadInvestigation()); }, []); return (
{/* Page-level navigation — owned by route, not ReasoningWorkspace */}

Confidence Engine

Experimental prototype: enter a scenario and send it to a local LLM for evidence-based structured reconstruction. This is a technical vertical slice — not a production system.

{existing ? ( router.push(`/investigations/${INVESTIGATION_ID}/report`)} /> ) : ( router.push(`/investigations/${INVESTIGATION_ID}/report`)} /> )}
); }