experiment(confidence-engine): add reconstruction-only helper flag
This commit is contained in:
@@ -141,6 +141,24 @@ describe("start-case-experiment-helper.cjs apparatus", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("B.1 — reconstruction-only CLI option", () => {
|
||||
it("passes reconstructionOnly through the startCase seam without selecting OpenAI", async () => {
|
||||
const result = await runHelper(["--reconstruction-only", "Scenario text"]);
|
||||
expect(result.exitCode).toBe(0);
|
||||
const parsed = parseOutput(result);
|
||||
expect(parsed.diagnostics).toMatchObject({
|
||||
modelName: "inline-test-double",
|
||||
reconstructionOnly: true,
|
||||
});
|
||||
});
|
||||
|
||||
it("composes reconstruction-only with file input", async () => {
|
||||
const result = await runHelper(["--reconstruction-only", "--file", tmpFile]);
|
||||
expect(result.exitCode).toBe(0);
|
||||
expect(parseOutput(result).diagnostics.reconstructionOnly).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
// ── C — Environment loading ─────────────────────────────────────
|
||||
|
||||
describe("C — environment loading", () => {
|
||||
|
||||
Reference in New Issue
Block a user