test(experiment): expose two-turn live refinement route

This commit is contained in:
2026-08-19 07:44:55 +01:00
parent ebcf1d9306
commit 8520f2195d
@@ -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));