From cc3a5dabd4483d5236e782f2013ed4fcda7ba2fb Mon Sep 17 00:00:00 2001 From: robbond Date: Fri, 4 Sep 2026 10:18:22 +0100 Subject: [PATCH] feat(confidence-engine): v0.60j preserve investigation on restart --- app/page.jsx | 4 +- components/scenario-form.jsx | 8 +- docs/current-handoff.md | 50 +++++ lib/storage/investigation-storage.js | 14 +- lib/storage/providers/local-storage.js | 35 +++ tests/storage/investigation-storage.test.js | 215 ++++++++++++++++++ tests/ui/v060j-restart-contract.test.jsx | 232 ++++++++++++++++++++ 7 files changed, 551 insertions(+), 7 deletions(-) create mode 100644 tests/ui/v060j-restart-contract.test.jsx diff --git a/app/page.jsx b/app/page.jsx index 5883028..2507b76 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -1,7 +1,7 @@ "use client"; import React from "react"; -import { listInvestigations, clearInvestigation } from "@/lib/storage/investigation-storage"; +import { listInvestigations, restartInvestigation } from "@/lib/storage/investigation-storage"; import Link from "next/link"; import { useRouter } from "next/navigation"; @@ -98,7 +98,7 @@ function Portfolio() {