Skip to content

fix: 固定 Registry 受信文本换行 - #4

Merged
yi-ge merged 1 commit into
mainfrom
codex/fix-registry-lf-trust-anchor
Aug 30, 2026
Merged

yi-ge merged 1 commit into
mainfrom
codex/fix-registry-lf-trust-anchor

Conversation

@yi-ge

@yi-ge yi-ge commented Aug 30, 2026

Copy link
Copy Markdown
Member

变更

  • 用 .gitattributes 固定 Registry 文本为 LF
  • 防止 Windows checkout 将受审 Schema 改写为 CRLF 后触发哈希失败关闭
  • 保持常见二进制扩展为 binary

验证

  • npm test:29/29
  • git check-attr:Schema 与 Kimi manifest 均为 text=auto, eol=lf
  • git diff --check

English

Pin trusted Registry text files to LF so Windows checkouts preserve the reviewed schema bytes and do not fail closed solely because of CRLF conversion.

@yi-ge
yi-ge merged commit 67aeb72 into main Aug 30, 2026
1 check passed
@yi-ge
yi-ge deleted the codex/fix-registry-lf-trust-anchor branch August 30, 2026 19:41
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