LittleYellow
f9a0cd2369
feat: convert 新增 --verify 對帳模式 + 修復 Windows CRLF 使 hash 失準
- convert.py --verify:純唯讀 re-hash 全部登記檔並掃未登記檔,
報 missing/mismatch/unregistered,不一致退出碼 1(供刪除/竄改後稽核)
- 修 write_text 在 Windows 轉 \n→\r\n 使磁碟 bytes 與登記 SHA-256 不符
(converted md 與 web 快照原始檔),改 write_bytes 寫入所登記的那份 bytes
- selfcheck 補 clean/missing/mismatch/unregistered 四情境(全程唯讀斷言)
- AGENTS.md §14 raw 完整性與修復流程 + §1.4 hash==磁碟 bytes 不變式
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 08:21:39 +08:00
..
2026-07-23 08:21:39 +08:00
2026-07-22 07:21:45 +08:00
2026-07-21 07:00:32 +08:00
2026-07-14 21:01:37 +08:00
2026-07-22 07:21:45 +08:00
2026-07-22 07:21:45 +08:00
2026-07-22 07:21:45 +08:00
2026-07-22 07:21:45 +08:00