Feature/product platform foundation v0.62 #1

Merged
robbond merged 683 commits from feature/product-platform-foundation-v0.62 into feature/emergent-unknowns-v0.5 2026-09-09 07:58:20 +01:00
Showing only changes of commit d22c992f60 - Show all commits
+3 -3
View File
@@ -365,7 +365,7 @@ export default function ScenarioForm() {
doneInProgressRef.current = true;
try {
const result = await executeEpisodeDone({
const doneResult = await executeEpisodeDone({
resultSituationGraph: result?.situationGraph,
targetNodeId,
focusedContributions: focusedContributions ?? [],
@@ -381,8 +381,8 @@ export default function ScenarioForm() {
});
/* CU synthesis — install only on success */
if (result?.synthesisResult?.ok && result.synthesisResult.data?.currentUnderstanding) {
setCurrentUnderstanding(result.synthesisResult.data.currentUnderstanding);
if (doneResult?.synthesisResult?.ok && doneResult.synthesisResult.data?.currentUnderstanding) {
setCurrentUnderstanding(doneResult.synthesisResult.data.currentUnderstanding);
}
/* On synthesis failure: KEEP nextGraph, KEEP Findings, KEEP existing CU. Do NOT rollback. */