tooling: expose closure metadata in live harness

This commit is contained in:
2026-08-14 09:30:55 +01:00
parent fa821a53dd
commit 831e395511
2 changed files with 86 additions and 1 deletions
@@ -343,6 +343,16 @@ async function runUpdateOnlyMode() {
}
}
// ── Capture explicit closure metadata from accepted update ─
const finalActiveUnknownNodeId =
updatedGraph?.activeUnknownNodeId === undefined
? null
: updatedGraph.activeUnknownNodeId;
console.log(
`finalActiveUnknownNodeId: ${JSON.stringify(finalActiveUnknownNodeId)}`,
);
console.log(`finalSelectedQuestion: ${JSON.stringify(sq)}`);
// ── Capture persistent graph after update ───────────────
const pNodes = updatedGraph?.nodes ?? [];
const pEdges = updatedGraph?.edges ?? [];