test(rectification): compare same-day scores against legacy path in process
Replace machine-specific float hashes with strict score and matrix byte comparisons. Keep quick bridge coverage and document duplicate collection. Verify Windows/Linux float behavior and in-memory candidate-date reversal; record the separate-machine acceptance gap and BUG-984 end-to-end blocker. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
Purpose: read this file before substantial project work. It exists to stop repeat mistakes caused by multiple Codex windows, WorkBuddy mirrors, local drafts, backup folders, and partial cloud-git visibility.
|
||||
|
||||
## 2026-09-20 · 跨午夜门禁回归的异环境复现
|
||||
|
||||
- BUG-985 将同日不变性写成跨机浮点哈希,Windows 原测试全绿,Python 3.13/glibc Linux 容器 ordinal 2/3 红;同进程新路径 vs legacy 路径逐位对照后两环境定向与校正 glob 通过。不得以更新本机哈希或容差消红。
|
||||
- Windows 原生 `python3` launcher 不可用、无项目 `.venv`,改用已验证的 Python 3.11.7;quick 两侧均缺 mcp。Docker 实际可用,独立 `python:3.13-bookworm` 容器按仓库要求安装依赖补验,不修改业务代码/依赖声明适配本机。
|
||||
- 同一物理机 Windows 与 Linux 容器虽浮点行为已实证不同,仍不等于任务书“两台机器”;独立 runner 补验未到位时必须保留 blocked。预检 focused 仍因历史镜像路径缺失失败,不伪造 `.workbuddy` 目录。
|
||||
- F3 查证不可跳过缓存命中边界:`block_scan` 重算会进修复 helper,但旧缓存可提前返回。unknown 的全日初始窗同日,不能由“跨度大于 120”推断“跨日期”。证据见本轮进度记录。
|
||||
|
||||
## 2026-09-20 · 跨午夜生产修复的身份与本机预检
|
||||
|
||||
- 任务书的“V9 `engine_version` 全仓只写不比”不完整:成功回执来自实际 `algorithmVersion`,已有 score cache 通过版本接口/环境覆盖比较算法身份。只 bump 前端默认串不能保证成功结果与旧缓存可区分;本单同步 bump 既有后端算法身份,不新增历史会话打开门,不重标旧缓存。
|
||||
|
||||
Reference in New Issue
Block a user