Skip to content

win-matrix:Windows 验收机迁到 omarchy 上的 KVM 虚拟机(#542) - #545

Open
belliedmonkey wants to merge 1 commit into
mainfrom
win-matrix/kvm-vm
Open

belliedmonkey wants to merge 1 commit into
mainfrom
win-matrix/kvm-vm

Conversation

@belliedmonkey

Copy link
Copy Markdown
Owner

做什么

把验收矩阵第 8 行(Windows 11 Chrome / Edge / Firefox)的目标从「Mac 上的 VMware Fusion Windows 11 ARM」迁到宿主机 omarchy 上的 KVM 虚拟机,并把它跑通。改的是验收脚本(harness)与文档,不含产品代码。

对应 issue:#542(本迁移)· #543(Firefox YouTube 缺口的跟踪,不在本 PR 修)。

改了什么

harness 缺陷(scripts/win-matrix/)

  • yt-subtitles.js、speech-fullscreen-chromium.js、speech-fullscreen-firefox.js:点「译」后轮询等 #mt-yt-menu > div。v1.19.0 起菜单由 React bundle 异步渲染,固定 600ms 常拿成 null,扩展根本没打开。
  • speech-fullscreen-firefox.js:跳板页改用 MT_WIN_PAGE。原来硬编码旧网段 192.168.2.1,页面加载失败 ⇒ 自导航到扩展页被拒、脚本直接崩。
  • firefox.js:扩展页截图改为可选。Firefox 157 的 BiDi 不支持对特权上下文(moz-extension://)截图,原先把这当成 problem。

文档

  • docs/verification-spec.md:§2.H 重写为新拓扑 + 2026-10-02 读数;旧 VMware 记录降级为「Historical record — retired 2026-10-02」保留;§1 矩阵第 8 行更新。
  • .claude/skills/win-matrix/SKILL.md:目标 / 驱动方式 / guest agent 通道 / 代理与英文语音前提 / 陷阱索引全部改到新拓扑。

新拓扑(要点)

  • 宿主机 omarchy(100.69.15.88 / 192.168.50.5):libvirt 域 win11,Windows 11 Pro 26H2(26300.9457)简体中文,macvtap 静态 IP 192.168.50.237,随宿主自启,常驻自动登录。从 Mac 直连驱动。
  • 命令/文件经 QEMU guest agent(virtio-serial)送入,不走网络。
  • YouTube 走宿主代理(第二条 NAT 网卡 + socat 中继 mihomo mixed 端口);英文 TTS 需装 en-US 语音能力(否则回落连不上的 Google 在线声)。
  • 浏览器必须用计划任务 -LogonType Interactive 起(guest agent 是 session 0,起的浏览器不渲染、CDP 全超时)。

2026-10-02 读数(v1.19.0)

验证

  • npm test 通过(本分支基于 main:2229 passed / 0 failed)。
  • 实机读数见上(.local/win/,未提交)。

@claude 请审 harness 的三处行为改动。

- verification-spec:§2.H 重写为新拓扑 + 2026-10-02 读数;旧 VMware Fusion 记录降级为
  「Historical record — retired 2026-10-02」保留;§1 矩阵第 8 行状态格更新。
- win-matrix skill:目标 / 驱动方式 / guest agent 通道 / 代理与英文语音前提 / 陷阱索引全部改到新拓扑。
- harness(scripts/win-matrix):点「译」后轮询等 React 菜单(yt-subtitles、
  speech-fullscreen-chromium、speech-fullscreen-firefox);speech-fullscreen-firefox 跳板页改用
  MT_WIN_PAGE;firefox.js 扩展页截图容错(Firefox 157 不支持特权上下文截图)。

2026-10-02 读数(v1.19.0):Chrome/Edge/Firefox 核心全过;Chrome 语音 zh/en 本地声、
YouTube 字幕、全屏叠层通过;Edge 核心通过;Firefox 语音通过。
Firefox 上 YouTube 真字幕缺口另见 #543。

Co-Authored-By: opencode <noreply@opencode.ai>
Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
Co-Authored-By: GLM 5.3 <noreply@zhipuai.cn>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant