refactor: 移除网页 RPA 社交发帖模块 + README 下线本地直连(路径C) - #3
Merged
Conversation
去掉多余的雪球发帖能力(enable_rpa_suite/xueqiu_publish_review): - 删 src/trader/rpa/ 包(cdp_client/xueqiu)、tests/test_xueqiu_rpa.py、 docs/specs/desktop_rpa_copilot_suite.md 设计稿 - dispatcher: 移除 XUEQIU_RPA_TOOL 定义/注册/白名单/分派分支 - main_window: 移除 RPA UI 卡片 + 开关/浏览器补丁方法 + SharedState 字段 - config/main: 移除 enable_rpa_suite / chrome_cdp_port 字段与读写 交易主链路不受影响(该模块本就 default-off、与交易解耦)。 README: 下线"路径 C 本地直连(stdio+Tailscale)",接入路径保留 A(托管版)+ B(mcp.guling.pro)两条;保留 local_only_stdio_mcp_setup.md 设计稿备后续复活。 全量 pytest: 89 passed / 10 skipped(仅少了被删的 6 个 RPA 用例)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
suny911
marked this pull request as ready for review
July 4, 2026 08:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
按产品决策精简范围:
改了什么
移除雪球 RPA 模块(默认关、与交易主链路解耦,删除零影响交易功能):
src/trader/rpa/(cdp_client / xueqiu)、tests/test_xueqiu_rpa.py、docs/specs/desktop_rpa_copilot_suite.mddispatcher.py:移除XUEQIU_RPA_TOOL定义 / schema 注册 / 方法白名单 / 分派分支main_window.py:移除整张"🌐 网页 RPA 社交发帖"UI 卡片 + 开关/浏览器补丁方法 +SharedState.enable_rpa_suiteconfig.py/main.py:移除enable_rpa_suite/chrome_cdp_port字段与读写、传参README:删路径 C(表格行 / 章节 / 交叉链接 / 文件树注释);保留
docs/local_only_stdio_mcp_setup.md设计稿(标注"暂未开放",备后续复活)。验证
python -m py_compile四个改动文件通过pytest:89 passed / 10 skipped(相较之前 95 passed,恰好少了被删的 6 个 RPA 用例;交易核心用例零回归)enable_rpa_suite/xueqiu/chrome_cdp/ 路径 C 活代码残留(仅历史规划文档保留当时记录,未改写)净变更:-889 / +3。
🤖 Generated with Claude Code