feat: restore opt-in review harness

This commit is contained in:
vorotamoroz committed 2026-07-20 10:50:08 +00:00
1 parent 71f1b63b9a
commit f70779c352
14 files changed
+907 -5

No files matched your search

@@ -227,13 +227,16 @@ export class ReviewHarnessController {
this.current = "compatibility-review";
this.notify();
try {
const pauseWasPending = this.runtime.getCompatibilityPause() !== undefined;
await this.runtime.openCompatibilityReview();
const inspection = this.inspectCompatibilityReview();
this.results["compatibility-review"] =
inspection.status === "passed" && !this.runtime.getCompatibilityPause()
? {
status: "passed",
detail: "The device-local compatibility pause was reviewed and cleared.",
detail: pauseWasPending
? "The device-local compatibility pause was reviewed and cleared."
: inspection.detail,
observations: inspection.observations,
}
: inspection.status === "failed"