From 8520f2195df2f132ad88019d19f9df65bb9be5de Mon Sep 17 00:00:00 2001 From: robbond Date: Wed, 19 Aug 2026 07:44:55 +0100 Subject: [PATCH] test(experiment): expose two-turn live refinement route --- scripts/experimental/rto-two-turn-focused-refinement.mjs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/experimental/rto-two-turn-focused-refinement.mjs b/scripts/experimental/rto-two-turn-focused-refinement.mjs index fe1b4d2..7581e19 100644 --- a/scripts/experimental/rto-two-turn-focused-refinement.mjs +++ b/scripts/experimental/rto-two-turn-focused-refinement.mjs @@ -314,9 +314,16 @@ function assertRequiredEnv(name) { return value; } -// ─── Main: inspect only (no live calls) ─────────────────────────────────── +// ─── Main: inspect by default, live when --live is supplied ──────────────── async function main() { + if (process.argv.includes("--live")) { + const result = await makeLiveCall(); + console.log("=== RTO.14A Live Result ==="); + console.log(JSON.stringify(result, null, 2)); + return; + } + const result = await inspectApparatus(); console.log("=== RTO.14A Apparatus Inspection ==="); console.log(JSON.stringify(result, null, 2));