diff --git a/docs/feedback/2026-10-03/README.md b/docs/feedback/2026-10-03/README.md index e9e1613..927bb95 100644 --- a/docs/feedback/2026-10-03/README.md +++ b/docs/feedback/2026-10-03/README.md @@ -56,3 +56,20 @@ Windows / Python 3.12.14;基础提交 `030527f5de5c83dd8ea6e53288c1c52f3b4a85b ## 导出边界 仅包含本次报告、人工时间线、清理后的三条 Jev 日志、本次时段的服务日志片段、四张游戏截图及测试输出。未包含 API key、MCP token、私有配置、Codex 聊天文件或其他桌面应用截图。代码修复随本反馈分支提供,未推送到默认分支。 + +## 追加:内置经验本流程的编队拖拽缺陷(同分支后续提交) + +原记录把"3 次经验本"当成成功,**这个结论是错的**:只有 2 次真正打完,另一次没进战斗。 + +- `~/lc_mcp/runs/task_20261003_105743_daily.log`:`11:05:55 [ERROR] tasks\battle\battle.py:83: 超出最大尝试次数,未能进入战斗`。任务子进程仍 exit 0,所以 `task_status` 当时报 `succeeded`——只看退出码会把这次失败算成成功。 +- 同日志 `team_formation.py`:`对于配队人数OCR得到:7/5` → `6/5` → `5/5`。AALC 为了进入 5 人副本**点击移除了 TEAMS#1 的两名成员**(实测是六协会以实玛利与 G 公司格里高尔)。这是对用户预设队伍的实际改动,不是只读操作。 + +根因(按 submodule 约定不改 AALC 源码,从 lc-mcp 侧打补丁): + +- AALC 基类要求适配器覆盖 `mouse_swipe_for_team_scroll` 以"规避队伍拖拽判定"(`module/automation/input_handlers/__init__.py` 注释),但上游只有 MuMu 模拟器适配器覆盖了它。Windows 前台(本机 `win_input_type=foreground`,日志确认 `使用前台点击模块`)与后台适配器仍用普通列表手势 `build_windows_scroll_swipe_plan`:escape 仅 30px / 0.01s,在编队列表里不足以脱离"按住罪人卡"判定,滑动被当成拖动卡片。 +- 新增 `lc_mcp/aalc_input_patch.py`:按 MuMu 的参数(按 `set_win_size` 缩放 60px escape、保持 0.1s、分段走完、松手前停稳 0.5s)给 `Input`(前台)与 `BackgroundInput`(后台)补等价实现,在 `bootstrap()` 时安装;`WindowMoveInput` 没有 `set_mouse_pos`,保持原样。 +- `lc_mcp/tasks.py`:退出码为 0 但日志尾部含 `[ERROR]`/异常行时,`task_status` 增加 `errors` 字段,避免只凭 `succeeded` 判断。 + +**验证范围**:滑动的几何与补丁安装有单元测试,101 项回归通过(见 [test-results.txt](test-results.txt),已更新为本次 101 项输出)。**真实编队界面上的滑动没有复测**——当时体力 6/120,不足以进入任何副本。下一次有体力跑经验本时应同时核对编队人数与 `errors`。 + +同一时段另有一项与 AALC 流程无关的养成操作:W Corp L3 堂吉诃德人格等级 35 → 37(HP 161→166、防御等级 34→36),消耗 12 张 III 级经验票,剩余 II 级经验票 19 张;升级时游戏服务器报错一次,点 Retry 后成功。 diff --git a/docs/feedback/2026-10-03/manifest.json b/docs/feedback/2026-10-03/manifest.json index 3be3de2..12471a4 100644 --- a/docs/feedback/2026-10-03/manifest.json +++ b/docs/feedback/2026-10-03/manifest.json @@ -2,7 +2,7 @@ "exported_at_utc": "2026-10-03T02:55:31.845399+00:00", "base_commit": "030527f5de5c83dd8ea6e53288c1c52f3b4a85bb", "test_exit_code": 0, - "tests_passed": 94, + "tests_passed": 101, "main_story_cleared": false, "jev_calls_logged": 3, "simultaneous_human_input_confirmed": true, @@ -49,18 +49,24 @@ }, { "path": "README.md", - "bytes": 7606, - "sha256": "518dea5f19e2dd3beec627a173e86337f2a31e4e8020dab523cd407cf1bb33cc" + "bytes": 10061, + "sha256": "304d6a53972561e3638d16e5f76f71d738070646375f1439810c013a873d61de" }, { "path": "test-results.txt", - "bytes": 14030, - "sha256": "0e1fd946db3376cd7b727b2f28edfd8955c2e6427895f5a339593589f3c262a0" + "bytes": 14939, + "sha256": "c6e6d0fccddfd05ba67ef618fd449561543135f570357e9a2b1d2e796d8b385b" }, { "path": "timeline.jsonl", "bytes": 3103, "sha256": "965f2195f3af3e554b89089cc4735ee3cfcc656f31065a72e7ce59027e58fc83" } - ] + ], + "followup": { + "date": "2026-10-03", + "summary": "内置经验本流程的编队滑动补丁 + task_status errors 字段; 真实编队界面滑动未复测", + "third_exp_run_battle_error": true, + "teams_1_members_removed_by_aalc": 2 + } } diff --git a/docs/feedback/2026-10-03/test-results.txt b/docs/feedback/2026-10-03/test-results.txt index 856b3f1..088e9dd 100644 --- a/docs/feedback/2026-10-03/test-results.txt +++ b/docs/feedback/2026-10-03/test-results.txt @@ -1,12 +1,11 @@ -{"step": 0, "choice": "run_complete", "action": {"tool": "run_complete", "args": {}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T10:55:22", "state": "completed"} -{"step": 0, "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T10:55:22", "action_ms": 0, "finished_at": "2026-10-03T10:55:22", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false} -{"step": 1, "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T10:55:22", "action_ms": 0, "finished_at": "2026-10-03T10:55:22", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false} - test_choice_outside_permitted_actions_is_rejected (test_jev_client.JevClientTest.test_choice_outside_permitted_actions_is_rejected) ... ok test_configured_model_endpoint_session_and_instructions_reach_api (test_jev_client.JevClientTest.test_configured_model_endpoint_session_and_instructions_reach_api) ... ok test_curl_credentials_only_on_stdin_and_http_errors_not_retried (test_jev_client.JevClientTest.test_curl_credentials_only_on_stdin_and_http_errors_not_retried) ... ok test_session_id_stays_stable_across_decisions (test_jev_client.JevClientTest.test_session_id_stays_stable_across_decisions) ... ok +{"step": 0, "choice": "run_complete", "action": {"tool": "run_complete", "args": {}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T11:25:38", "state": "completed"} test_completed_run_archives_context_for_next_run (test_jev_mirror_agent.MainLoopTest.test_completed_run_archives_context_for_next_run) ... ok +{"step": 0, "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T11:25:38", "action_ms": 0, "finished_at": "2026-10-03T11:25:38", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false} +{"step": 1, "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T11:25:38", "action_ms": 0, "finished_at": "2026-10-03T11:25:38", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false} test_tool_errors_are_observed_instead_of_aborting (test_jev_mirror_agent.MainLoopTest.test_tool_errors_are_observed_instead_of_aborting) ... ok test_ambiguous_event_is_not_assumed_free (test_jev_mirror_agent.SceneRegressionTest.test_ambiguous_event_is_not_assumed_free) ... ok test_battle_cinematic_keeps_macro_available (test_jev_mirror_agent.SceneRegressionTest.test_battle_cinematic_keeps_macro_available) ... ok @@ -90,18 +89,25 @@ test_pythonw_streams_are_redirected_to_log (test_lc_mcp.RuntimeTest.test_pythonw test_stdio_isolates_bootstrap_output_and_uses_utf8 (test_lc_mcp.RuntimeTest.test_stdio_isolates_bootstrap_output_and_uses_utf8) ... ok test_template_list_is_scanned_once (test_lc_mcp.RuntimeTest.test_template_list_is_scanned_once) ... ok test_template_scale_tracks_client_and_restores_config_on_error (test_lc_mcp.RuntimeTest.test_template_scale_tracks_client_and_restores_config_on_error) ... ok +test_clean_log_has_no_errors_field (test_lc_mcp.TaskErrorSurfaceTest.test_clean_log_has_no_errors_field) ... ok +test_exit_zero_with_battle_error_is_reported (test_lc_mcp.TaskErrorSurfaceTest.test_exit_zero_with_battle_error_is_reported) ... ok test_leftover_restored_before_next_start_or_start_refused (test_lc_mcp.TaskRestoreTest.test_leftover_restored_before_next_start_or_start_refused) ... ok test_stop_restores_overridden_config (test_lc_mcp.TaskRestoreTest.test_stop_restores_overridden_config) ... ok +test_downward_swipe_shifts_start_into_visible_rows (test_lc_mcp.TeamScrollPatchTest.test_downward_swipe_shifts_start_into_visible_rows) ... ok +test_escape_leg_has_requested_length (test_lc_mcp.TeamScrollPatchTest.test_escape_leg_has_requested_length) ... ok +test_install_patches_team_scroll_on_windows_adapters (test_lc_mcp.TeamScrollPatchTest.test_install_patches_team_scroll_on_windows_adapters) ... ok +test_upward_swipe_escapes_first_then_travels_nominal_delta (test_lc_mcp.TeamScrollPatchTest.test_upward_swipe_escapes_first_then_travels_nominal_delta) ... ok +test_zero_distance_is_noop (test_lc_mcp.TeamScrollPatchTest.test_zero_distance_is_noop) ... ok test_bridge_end_to_end (test_lc_mcp.TransportTest.test_bridge_end_to_end) ... ok test_bridge_offline (test_lc_mcp.TransportTest.test_bridge_offline) ... ok test_client_disconnect_is_not_a_server_error (test_lc_mcp.TransportTest.test_client_disconnect_is_not_a_server_error) ... ok -test_non_ascii_token_is_denied_not_crashed (test_lc_mcp.TransportTest.test_non_ascii_token_is_denied_not_crashed) ... [lc_mcp] rejected connection from ('127.0.0.1', 56231) +test_non_ascii_token_is_denied_not_crashed (test_lc_mcp.TransportTest.test_non_ascii_token_is_denied_not_crashed) ... [lc_mcp] rejected connection from ('127.0.0.1', 51723) ok test_stdio_server (test_lc_mcp.TransportTest.test_stdio_server) ... ok -test_wrong_token_rejected (test_lc_mcp.TransportTest.test_wrong_token_rejected) ... [lc_mcp] rejected connection from ('127.0.0.1', 56234) +test_wrong_token_rejected (test_lc_mcp.TransportTest.test_wrong_token_rejected) ... [lc_mcp] rejected connection from ('127.0.0.1', 51726) ok ---------------------------------------------------------------------- -Ran 94 tests in 8.693s +Ran 101 tests in 8.912s OK