Skip to content

[Question] Windows 下 core.autocrlf=true 克隆会导致 managed runtime 校验失败(runtime unavailable) #6

Description

@AL-spiritphoenix

DSH snapshot, plugin version, and profile

DeepSeek Harness:0.1.0-rc.5(Web profile)

Operating system and runtime mode

Windows

What are you trying to accomplish?

环境:

DeepSeek Harness:0.1.0-rc.5(Web profile)
dsh-vision-toolkit:v0.1.2(本地 checkout + dsh plugin add file:… 安装)
上游快照 commit:c27d1a300962b553c0884993c575cd3e819465ce
平台:Windows,git 全局配置 core.autocrlf=true
问题现象: Web profile 重启后,Settings → Vision Toolkit 显示「运行时不可用」,错误信息:

复制
packaged upstream file failed its hash check: CHANGELOG.md
根因: UPSTREAM_MANIFEST.json 对 vendor/agent-vision-toolkit 下 16 个文件做 SHA-256 + 字节数校验。在 Windows 上以默认 core.autocrlf=true 克隆仓库时,git 会把所有文本文件从 LF 转成 CRLF(每行多 1 字节 \r),导致全部 16 个文件哈希与字节数全部不匹配——不只是报错的 CHANGELOG.md(例如它从预期的 913B/3eb86d51… 变成 929B/a2ffa733…)。runtime 准备因此被拒,插件无法发布 vision-tools Skill 和工具。

What have you tried?

no

Pre-submission checks

  • I checked the README, troubleshooting table, and existing issues.
  • I removed credentials and private data from this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions