From 028aef273751c31915dfecabb6c46436c6e222b7 Mon Sep 17 00:00:00 2001 From: Jesse_Chen Date: Mon, 28 Sep 2026 20:28:22 +0800 Subject: [PATCH] =?UTF-8?q?docs(report):=20birth-sky=20report=20cover=20bl?= =?UTF-8?q?ocked=20=E2=80=94=20no=20birth=20binding=20on=20reports=20(T5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Report rows, report documents, jobs, sections and appendices carry no birth-data fingerprint (request_fingerprint excludes birth data; calculation_hash is an engine result hash or the markdown sha256). Per the brief the cover is not shown rather than drawn from the current profile. reportView, the report page and print styles are unchanged. BLOCKED.md lists the evidence and two options for the product owner. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0199rbQDTsUbCVw84wc8BTFe --- BLOCKED.md | 12 ++++++++++++ CHANGELOG.md | 1 + docs/tasks/PROGRESS-birth-sky-cover-20260928.md | 1 + docs/tasks/README.md | 2 +- docs/testing/birth-sky-cover-checklist.md | 9 +++++++++ frontend/DESIGN.md | 4 ++++ 6 files changed, 28 insertions(+), 1 deletion(-) diff --git a/BLOCKED.md b/BLOCKED.md index a59322cb..29eb033e 100644 --- a/BLOCKED.md +++ b/BLOCKED.md @@ -1,5 +1,17 @@ # BLOCKED +## TASK-birth-sky-cover T5:报告封面没有可靠的出生资料绑定(2026-09-28) + +- 任务书要求「只有报告生成时的出生资料与现在一致时才显示封面」。逐项查过,报告侧**没有任何出生资料指纹**: + - `personal_reports` 表列(`20260806010000_personal_reports.sql` 及其后 `add column`):`chart_profile_id`、`request_fingerprint`、`calculation_hash`、`evidence_hash` 等,没有出生资料快照或 `profileFingerprint`。 + - `request_fingerprint` 只哈希 `reportType / presentationMode / depth / themes / sessionId / chartProfileId`(`personal-report-route-core.ts` `computeRequestFingerprint`),不含出生资料。 + - `calculation_hash`:普通报告取引擎 `result_hash`(含计算结果,不是出生资料指纹,且 BUG-693/694 记过哈希含墙钟);长报告取 markdown 全文的 sha256(`personal-report-longform-cover.ts`)。两者都不能和当前 `profileFingerprint` 比。 + - 报告文档 `subject` 只有 `displayName / birthTimeStatus / birthPlaceLabel`;`personal_report_jobs`、`personal_report_sections`、`personal_report_longform_appendices` 也没有出生资料。 + - 仓库里 `result_binding` 只出现在 Python 的 `calculation_profile_contract.py` / `full_report_quality_gate.py`,不进报告行。 +- 按任务书:本单**不显示**报告封面,不拿当前资料冒充当时资料;`reportView` 未改、报告页未改、打印样式未改,旧报告不补算不补写库。 +- 解除需要一个产品决定(二选一,都不改表结构):① 生成报告时把当时的 `profileFingerprint`(`resolveServerOwnedChartBirth(...).fingerprint`)写进报告文档(如 `subject.birthFingerprint`,v2 schema 加可选字段),只对新报告生效,旧报告永远无封面;② 接受「当前资料」作为封面依据并在封面上说明——与任务书红线冲突,需产品推翻。 +- `draw.ts` 的 `paper` palette 已实现并有单测(打印用),解除后报告封面可直接复用。 + ## TASK-site-button-contrast(BUG-1079):真机、登录态与两条待决发现(2026-09-28) - 无受控登录账号与真机:各页实心按钮只在 harness(新 build CSS + 无头 Chrome,样本按源码类名渲染)上测,页面级走查按 `docs/testing/site-button-contrast-20260928.md`。 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c89b7c1..c5c10e46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - 星盘页顶栏右侧多一个按钮「那一刻的天空」:出生地、出生那一刻头顶的真实天空,画成一张 3:4 的图。天顶在圆心、东在左,地平线以上的行星和亮星(北斗、仙后、猎户连线)照实画。 - 图上只有一句描述天空的话(四句之一,按当时是白天、清晨、傍晚还是夜里选),加一行「太阳在东,月亮在脚下,火星正悬在东南」这样的事实句;不讲运势、不贴标签,不印姓名、日期、时刻、经纬度和地名。出生时间没采用校正时,多一行「按你填写的时间」。 - 「保存图片」:iPhone 弹系统分享(可「存储图像」),其他浏览器直接下载 `jyotisha-sky.png`;手机长按预览图也能存。家人的盘也能生成。不扣点、不调模型。 +- 报告封面本期不上:报告里没有存生成时的出生资料指纹,对不上就不画(见 BLOCKED.md)。 - Skill 版本不 bump(Skill 文本未改)。不改数据库。 ## 2026-09-28 — 标题改用宋体,正文仍是黑体(待验收) diff --git a/docs/tasks/PROGRESS-birth-sky-cover-20260928.md b/docs/tasks/PROGRESS-birth-sky-cover-20260928.md index 619a376e..e310ad85 100644 --- a/docs/tasks/PROGRESS-birth-sky-cover-20260928.md +++ b/docs/tasks/PROGRESS-birth-sky-cover-20260928.md @@ -5,3 +5,4 @@ - 基线:`origin/staging` = `d670521f`(serif-headings 已合入) - 分支 / 工作树:`codex/birth-sky-cover-20260928` / `.worktrees/birth-sky-cover-20260928`(本地提交,**未推送**) - 状态:提交 1(T1–T4 + T7)已完成;T5、T6 见后续提交。完整数字在最后一个提交里补齐。 +- 提交 2(T5):报告封面 **blocked**,不显示;缺口与解除方案写进 `BLOCKED.md`。 diff --git a/docs/tasks/README.md b/docs/tasks/README.md index b4934833..46be25ab 100644 --- a/docs/tasks/README.md +++ b/docs/tasks/README.md @@ -248,7 +248,7 @@ | `TASK-consult-first-frame-and-pacing-20260928.md` | `PROGRESS-consult-first-frame-and-pacing-20260928.md` | **普通对话发出即有反馈、正文按打字节奏放出**:客户端分类前静默(BUG-976 副作用)+ 服务端分类后才开流 → 发出后一两秒空白;服务端 160 字截留 + 客户端 settle 一帧全放 → 追问轮正文一下全出。D1 首帧「收到,正在看你的问题…」、D2 先建流、D3 每帧上限 + 限时收尾、D4 160 字阈值不动 | 已验收并部署 staging(真机欠) | 分支 `codex/consult-first-frame-and-pacing-20260928`(未推送);进度 `PROGRESS-consult-first-frame-and-pacing-20260928.md`;BUG-1074 / BUG-1075 | | `TASK-chart-types-and-report-buttons-20260928.md` | `PROGRESS-chart-types-and-report-buttons-20260928.md`、`PROGRESS-ayanamsa-report-buttons-20260928.md` | **星盘盘型扩充 + 表格随盘换 + 七政隐藏 + 岁差 6 项 + 我的报告按钮配色**:分盘表一直显示 D1 数据(BUG-1076);盘型条 + 「星盘类型」面板共 23 种(加 月亮盘 / Bhava / 行运 / D40 / D45 / D60);Bhava 端点缺 MC 静默等宫(BUG-1077);报告深色主按钮黑字深红、禁用半透明(BUG-1078,只改报告范围) | 已验收、已部署 staging `6a4e312c`(真机欠) | `af27709d`…`4189750c`(子代理实现 + Claude 验收补丁);BUG-1076~1078;含迁移 `20260928010000_profile_ayanamsa_six` | | `TASK-site-button-contrast-20260928.md` | `PROGRESS-site-button-contrast-20260928.md` | **全站实心按钮配色与禁用态统一**:层外 `button { color: inherit }` 压掉 Tailwind 文字色(61 个 `