fix: integrate people archive, report reader and western chart corrections
Independent Staging Quality Gate / validate (push) Successful in 16m28s
Independent Staging Quality Gate / publish (push) Successful in 3m33s

Validate on Linux Node 22 and PostgreSQL 17: 3894 frontend tests and 64 database tests pass, with no removed test names or new failures. Preserve static Home, bounded gzip, assertion-change records and manual acceptance gaps.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
jesse-ux
2026-09-25 20:41:16 +08:00
co-authored by Claude Code
parent 48fe4daf51
commit 4d801e53c3
78 changed files with 34844 additions and 441 deletions
+17
View File
@@ -2,6 +2,23 @@
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-25 · 三份修复单最终验证环境保真
- Windows普通文件形式的migration symlink导致duplicate filename;被错误设为可执行的Skill文件改变hash framing。改用保留Git mode/symlink的archive,不能改迁移duplicate detector或registry hash迎合污染环境。
- 纯archive没有Git metadata,`staging database environment file is ignored`调用`git check-ignore`得到128。隔离快照内补临时Git/index后以新label `final-r4b`重跑,前端3894/3894、PG17标准DB64/64、tsc/lint/build全部exit0;旧失败日志不覆盖,临时index不等于源树提交。
- Node镜像的Python3.11不能执行另一Python3.13镜像创建的venv(python链接指向缺失`/usr/local/bin/python`);首次补验exit127并未启动测试。使用匹配Python3.13镜像、共享本轮已授权验证卷并将独立Node22工具加入PATH,不能把镜像不匹配当业务失败或伪称已跑。
- 日志wrapper可能末步成功但前步失败,交付必须逐一读`.exit`、summary、compare及三种gzip,不只看wrapper状态。匹配Python3.13+Node22后定向49/49、CI quick948/1skip、隐私70/70和双扫描0finding通过,逐步exit均0。细节见整合PROGRESS final-r4b节。
- 交付预检远端verified,focused再现两项机器目录假设失败:历史镜像缺失、candidate_count=4小于workspace_residue_count=45;后者与09-24已有同类记录一致。保留原日志,不伪造镜像、不清其它会话目录,不把预检整体写成pass。
## 2026-09-25 · 三份修复单的独立开工基线
- fetch 成功,固定 `origin/staging=48fe4daf519dab2a5c6bf4b01dd513067de1647b`;与任务书 `fabe0114` 仅文档差异,代码相同。主工作区原有文件不动,基线及三个实现均在独立工作树。
- Python 3.11.7 运行预检:远端 verified,适配器与碎片步骤成功;focused 23 通过 / 1 失败,仍为 `test_preflight_fragment_scan_reports_authority_layers_and_risk_buckets` 要求历史 `.workbuddy` 路径。预检整体 fail,不制造镜像或弱化断言。
- 实测 Windows Node 22.23.2、Linux Docker 引擎可用。本轮准备独立 Linux Node 22 与隔离 Postgres 做全量基线/最终比较,不拿 Windows 定向或旧门禁绿色代替本轮 Linux 全量。任何既有断言改动逐条列「原值 / 新值 / 原因」,包括补前轮欠账;新增失败非零禁止推送。
- 独立 Linux Node22.23.2 基线已完成:npm test 3863/3863、真实DB61/61、tsc0、lint0error/127warning、build0首页Static。零失败基线不得套用旧Node20失败豁免;最终组合尚需同环境全套复跑。
- Python 工具层两次环境修复均保留失败原日志:Windows quick 最初子进程默认GBK解码导致28失败,加 `PYTHONUTF8=1 PYTHONIOENCODING=utf-8` 后948/1skip通过;Linux Python3.13容器最初缺Node导致七政接口测试失败,补同一专用Node22运行时后948/1skip通过。未改产品/断言/依赖锁消红。Git Bash调用Linux容器路径需 `MSYS_NO_PATHCONV=1`;临时索引输入需 `git update-index --add -z --stdin`,不造仓库历史。
- 详细证据与尚未完成的验收见 `docs/tasks/PROGRESS-three-fixes-integration-20260925.md`。
## 2026-09-25 · 读者版同步预检与上游 tip
- 工作树 `codex/report-reader-main-20260924`,基线 `514951d7`。Python 3.11.7(Anaconda)跑通 `pre_work_check.py`:远端 verified,碎片扫描与适配器诊断成功。focused tests 22 通过 / 1 失败,仍是 `.workbuddy/skills/jyotish-vedic-astrology` 镜像路径断言。没有制造镜像目录,预检整体 fail,不记为通过。