Skip to content

fix(panel-acceptance): make macos-dev work without a TTY - #318

Merged
wangzhizhou merged 1 commit into
mainfrom
dev
Nov 14, 2026
Merged

wangzhizhou merged 1 commit into
mainfrom
dev

Conversation

@wangzhizhou

Copy link
Copy Markdown
Contributor

内容

  • make macos-dev 在 Claude Code 的非 TTY stdin 下 selectors.register 抛 EINVAL,窗口随即被清理;改为非 TTY 时只轮询子进程,关闭窗口即结束;
  • 交互会话中真实 config.toml/user-dictionary.tsv 变化降为 WARN(预览只写私有根;已装输入法可能在其它窗口学习);自动化隔离断言仍严格;
  • 报告 287;迭代 skill 补充快速入口说明。

验证

  • 非 TTY 启动 → 关闭窗口 → PASS interactive cleanup,退出码 0,临时目录已清理
  • scripts/run-panel-acceptance.sh --isolation-probe 4 项 PASS
  • make macos-offline-tests 68 文件 / 337 例 PASS;make verify PASS

注:调试期间真实词库 2,046→2,060 行,与已装输入法在其它窗口的正常学习一致,未回滚。

- only register stdin when it is a TTY; otherwise poll the owned process
  and finish when the window closes
- downgrade real-data changes in interactive sessions to WARN: the preview
  writes only its private root; the installed IME may learn in other apps
- add report 287 and note the fast path in the iteration skill

Signed-off-by: wangzhizhou <824219521@qq.com>
@wangzhizhou
wangzhizhou merged commit 21cba0e into main Nov 14, 2026
4 checks passed
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