feat: restore opt-in review harness

This commit is contained in:
vorotamoroz
2026-07-20 10:50:08 +00:00
parent 71f1b63b9a
commit f70779c352
14 changed files with 907 additions and 5 deletions
@@ -253,6 +253,19 @@ describe("ReviewHarnessController", () => {
expect(controller.snapshot().results["compatibility-review"].status).toBe("waiting-for-user");
});
it("does not claim that a compatibility pause was cleared when none was pending", async () => {
const runtime = createRuntime();
runtime.compatibilityPause = undefined;
const controller = new ReviewHarnessController(runtime);
await controller.openCompatibilityReview();
expect(controller.snapshot().results["compatibility-review"]).toMatchObject({
status: "passed",
detail: "No compatibility review is pending on this device.",
});
});
it("copies a Markdown report after compatibility evidence is recorded", async () => {
const runtime = createRuntime();
const controller = new ReviewHarnessController(runtime);