fix(rectification): compare health and occupation aliases through one merge (BUG-672)
Independent Staging Quality Gate / validate (push) Successful in 12m12s
Independent Staging Quality Gate / publish (push) Successful in 24m21s

Skipped or already-reported health must not be asked again as health_pressure, and occupation declined as other must still close the occupation line.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-13 23:08:55 +08:00
co-authored by Cursor
parent 9912760104
commit 14d199e694
13 changed files with 442 additions and 57 deletions
+3 -1
View File
@@ -588,8 +588,10 @@ def precision_stage(scan: dict[str, Any], event_count: int) -> dict[str, Any]:
def oos_blind_prompts(request: dict[str, Any]) -> list[dict[str, Any]]:
from scripts.rectification.event_probes import canonical_domain
covered = {
str(event.get("domain"))
canonical_domain(event.get("domain"))
for event in request.get("events") or []
if isinstance(event, dict) and event.get("domain")
}