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
@@ -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"