tooling: supply anchored previous question in update-only mode
This commit is contained in:
@@ -239,7 +239,10 @@ async function runUpdateOnlyMode() {
|
||||
|
||||
// Deep-copy so mutation doesn't corrupt the original fixture.
|
||||
const situationGraph = JSON.parse(JSON.stringify(initialGraph));
|
||||
let selectedQuestion = null;
|
||||
|
||||
// Derive previousQuestion from the committed savings-realism anchor so that
|
||||
// update-only mode can reach the production Update path without requiring Start.
|
||||
let selectedQuestion = fixtureData.unresolved_question ?? savingsNode.label;
|
||||
|
||||
// ── Exactly one Update through production route ────────
|
||||
const updateNum = 1;
|
||||
|
||||
Reference in New Issue
Block a user