Skip to content

[Agent Harness] 明确 Bash 超时、编码与 Windows 路径行为 #1108

Description

@vastsa

反馈

  • Bash 默认 60 秒超时缺少清楚提示,用户难以区分超时、仍在运行或命令失败。
  • Bash 调用 cmd 子进程时观察到编码不一致和乱码;触发条件及根因尚未确认。
  • Windows 下提供的 $PI_SCRATCH_DIR 路径不能直接在 Bash 中使用;分支会话中的路径更新/提醒不足,可能静默指向错误位置。
  • 有反馈称长命令可能被静默截断、导致未完整执行;该现象目前未复现,需要调查后再确认。

期望

超时状态和限制明确可见;跨 shell 的编码及路径能正确处理或给出明确、可操作的错误;长命令不能静默截断。

验收建议

分别验证 Bash 原生命令、Bash 调用 cmd 子进程、Windows scratch 路径及分支会话,并为长命令截断反馈补充可重复的最小复现或明确排除。

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: agent-runtimeAgent execution, subagents, tools, and runtime behaviorarea: platformOperating-system and environment-specific behaviorbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions