镜牢入场前切队 + 选队页守卫;补回归结果与问题需求台账

Browse Source
实机回归发现: 镜牢入场时 AALC 直接点「进入」, 根本不走 select_battle_team,
用的是游戏记住的旧队伍; 「星之恩惠」页满屏星星又会让「选队星级」模板误命中。

- aalc_patches: 点「进入」前若在选队页且顶栏不是目标队, 先按体系名切队(充能优先,
  没有就震颤); 新增选队页守卫(只有出现「恩惠」字样才忽略星级模板); 选队扫描从每轮
  3 次拖动改为 1 次(3 次会整屏跳过, 实测漏掉「充能」)
- tests: 44→45 个用例, 覆盖偏好顺序、星之恩惠判定、守卫行为
- docs: REGRESSION-RESULTS.md(勾选结果), ISSUES.md(问题/需求台账),
  BACKLOG 状态表, HANDOVER 补「拉取后必须重启服务」

单测: 641 passed。实机: 2026-11-15 01:51 入场精确选中「充能」。
This commit is contained in:
Codex Agent
2026-11-15 02:03:27 +08:00
parent 908713b922
commit 599282729c
8 changed files with 497 additions and 36 deletions
+3 -1
View File
@@ -14,7 +14,8 @@ from .aalc_engine import bootstrap
from .aalc_patches import (WindowGuard, driver_click_tasks, headless_hdr_warning, from .aalc_patches import (WindowGuard, driver_click_tasks, headless_hdr_warning,
install_default_battle_team, install_event_choices, install_exact_team_match, install_default_battle_team, install_event_choices, install_exact_team_match,
install_gift_preference, install_robust_set_foreground, install_shop_audit, install_gift_preference, install_robust_set_foreground, install_shop_audit,
install_shop_by_name, install_system_team_selection, install_theme_pack_audit, install_shop_by_name, install_system_team_selection, install_team_screen_guard,
install_theme_pack_audit,
install_typed_keyboard_road, mirror_progress, stop_driver_click) install_typed_keyboard_road, mirror_progress, stop_driver_click)
from .decisions import decisions from .decisions import decisions
from .game_lock import GameBusyError, exclusive_game from .game_lock import GameBusyError, exclusive_game
@@ -130,6 +131,7 @@ def _run(task, params):
# 镜牢: 编队是自定义名字(体系名), AALC 只会找 "编队#N"; 改成按体系名点选。 # 镜牢: 编队是自定义名字(体系名), AALC 只会找 "编队#N"; 改成按体系名点选。
if task in ('mirror', 'all'): if task in ('mirror', 'all'):
install_system_team_selection(log=log) install_system_team_selection(log=log)
install_team_screen_guard(log=log)
install_typed_keyboard_road(log=log) install_typed_keyboard_road(log=log)
install_gift_preference(log=log) install_gift_preference(log=log)
install_event_choices(log=log) install_event_choices(log=log)