Windows: various symbols and escaping
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.820.60940
What subscription do you have?
pro
What platform is your computer?
x64
What issue are you seeing?
能不能对windows好一点我一直感觉太受苦 以下是三段gpt5.6 sol的原话
【第一次执行被 PowerShell 把 Maven 的逗号测试列表解析成参数分隔,尚未进入编译;这是命令转义问题,不是测试结果。我改为把 -Dtest=... 作为单个参数重新运行。
已运行 mvn -pl brain-api-app -am -DskipTests=false '-Dtest=GrowthInterfaceFeedbackContractTest,ParentGrowthRewardConsumerTest,ChildGrowthRewardClaimsConsumerTest' -Dsurefire.failIfNoSpecifiedTests=false test】
【第二次仍未编译:PowerShell 把带点号的 -Dsurefire.failIfNoSpecifiedTests=false 也拆坏了。所有 Maven -D 参数统一加引号后再跑;不会把这两次算进测试执行数。】
【历史对照已找到,结论很明确:
- 这不是今天的新客户端回归。至少从 2026-08-20、08-24、08-25、08-26 的用户消息开始,同一路径在会话 JSONL 中都显示为 20260819_2.0...。
- 2026-08-24 同样是 gpt-5.6-sol:模型收到带转义的文本后,实际工具调用正确使用了 20260819_2.0...。所以以前不需要你提醒,也不需要额外规则。
- 本次是我的推理错误:第一次 Test-Path 失败后,我没有回到界面截图和父目录事实核对,反而把 Markdown 转义当成用户键入的 Windows 分隔符。
- 当前文本链路不是“精确字节通道”。对普通说明无碍,但复杂部署命令若从聊天正文手工复制,确实存在风险;高风险语法必须以仓库文件/附件等精确来源执行,不能靠我猜转义。】
What steps can reproduce the bug?
win11 随便写个电脑文件路径就行
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem on Windows 11 using a file path containing symbols, then trace how the Codex app passes paths and escaped arguments to PowerShell. Done means Windows paths and commands containing symbols are preserved and executed without being split or misinterpreted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100