From 1d03f5b6b433b062a098bf7899a349d550aafac7 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Mon, 29 Jun 2026 00:08:52 +0800
Subject: [PATCH] docs: update results map QA evidence

---
 C1.source/Sources/Aligner/DebugWindowActivationService.swift |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/C1.source/Sources/Aligner/DebugWindowActivationService.swift b/C1.source/Sources/Aligner/DebugWindowActivationService.swift
index 50ef5c4..2a7df3b 100644
--- a/C1.source/Sources/Aligner/DebugWindowActivationService.swift
+++ b/C1.source/Sources/Aligner/DebugWindowActivationService.swift
@@ -3,6 +3,19 @@
 
 final class DebugWindowActivationService: WindowActivationServiceProtocol {
     func activate(window: AlignerWindow) throws -> WindowActivationResult {
+        switch ProcessInfo.processInfo.environment["ALIGNER_DEBUG_WINDOW_ACTIVATION_RESULT"] {
+        case "windowNotFound":
+            return .windowNotFound
+        case "activationFailed":
+            return .activationFailed
+        case "unsupported":
+            return .unsupported
+        case "appActivatedOnly":
+            return .appActivatedOnly
+        default:
+            break
+        }
+
         if window.title.contains("App Activated Only") {
             return .appActivatedOnly
         }

--
Gitblit v1.9.3