feat(consult): Rath running MD on every domain card, budget 12,500 / 18,500 (BUG-1221)

Product decision 2026-10-03 (changes the BUG-1160/1161 budget): every
domain card carries the Sanjay Rath Narayana running MD beside the legacy
one, in its short form (label, start sign, MD sign, start / end age).
Card budget 12,000 -> 12,500, with the method checklist 18,000 -> 18,500;
three budget assertions rewritten with old / new / reason notes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4f2nya58RoRu4yEmJgRGE
This commit is contained in:
Jesse_Chen
2026-10-03 22:49:30 +08:00
co-authored by Claude Opus 5.5
parent 8ca06c4f20
commit 11225171ee
7 changed files with 117 additions and 54 deletions
+17
View File
@@ -16467,3 +16467,20 @@
- 相关记录:BUG-1095、BUG-1026~1028、ERR-109。
- 复发自:无(ERR-109 同类漏同步)
- 修复版本:staging `01929bae`(生产待提升)
## BUG-1221 | Rath 版 Narayana 当前大运只上年运、时运卡,婚恋、事业等领域卡看不到
- 状态:resolved(分支 `codex/astrologer-rulings-batch4-20261003`,未推送;待验收)
- 首次发现 / 最近更新:2026-10-03 / 2026-10-03
- 来源:第三批进度记录「下轮问占星师」第 9 条(产品问题);产品负责人 2026-10-03 决定;任务书 `TASK-astrologer-rulings-batch4-20261003` T1。
- 影响面:`frontend/src/lib/consultation-evidence-card.ts` `baseTiming`(`base.timing.narayana_rath`);三份字数断言(`consult-evidence-card-20260927`、`consult-evidence-card-v2-20260927`、`consult-condensed-checklist-20260927`)。
- 现象:BUG-1218 T4 把 Rath 当前大运只放进 timing / annual 卡(`RATH_NARAYANA_CARD_DOMAINS`),婚恋、事业、财富、健康、父母等单领域卡只有旧算法 Narayana。
- 触发条件:任何非年运 / 时运的单领域或双领域对话。
- 根因:字数预算。单领域卡最大 11,979 / 12,000(乔布斯婚恋,含清单),Rath 大运约 +174 字会超(BUG-1160/1161 的 12,000 / 18,000 口径)。
- 决策(产品负责人 2026-10-03,修改 BUG-1160/1161 的预算决定):全部领域卡都加 Rath 当前大运;卡片预算 12,000 → 12,500,加方法清单的总量 18,000 → 18,500。
- 修复:删掉 `RATH_NARAYANA_CARD_DOMAINS` 与 `withRath`,`baseTiming` 对所有卡都放 Rath;字段按任务书红线 2 收短为 `algorithm`(引擎短标签「Sanjay Rath 版(并列参考,未进打分与时间轴结论)」)、`seed_sign`、`md: {sign, start_age, end_age}`;大运宫主、年数(= 止 − 起)、起运宫第几级、子运留在报告。旧算法 `narayana` 与「旧算法」标签不变。不改提示词。三份字数断言改为 12,500 / 18,500(三栏写在测试注释与进度记录)。
- 验证:`frontend/tests/consult-narayana-rath-card-20261003.test.ts` 三条:timing / annual 卡、三张 golden 盘 × 12 个领域、9 位公开名人回测 golden × 4 条路由 × 12 个领域,每张卡都带 Rath 当前大运、字段只有上述三项且取自引擎原值、不含子运、旧算法标签仍在。9 盘 × 12 领域卡长度表(改前 / 改后 / 余量)见进度记录:契约 + 卡最大 10,284 → 10,244(年运卡因收短字段反而少 40),含清单 total 最大 13,734 → 13,694;单领域非清单重口径最大 11,913(巴拉克·奥巴马综合);乔布斯婚恋 total 11,979 → 12,113。
- 防复发:上述测试;预算断言 12,500 / 18,500。
- 相关记录:BUG-1160、BUG-1161、BUG-1218。
- 复发自:无
- 修复版本:待发布