fix(report): keep the chat annual card's Tajika list, finish KP headings, say the dasha caveat once (BUG-1282)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-10-08 22:30:33 +08:00
co-authored by Claude Opus 5.5
parent b8eef75871
commit a13f5c2683
9 changed files with 116 additions and 18 deletions
+6 -3
View File
@@ -670,8 +670,11 @@ def solar_return_full_report(
# 9. 综合总结
result['summary'] = _make_sr_summary(result)
# Keep the longitudes and chart already calculated above so the report
# pack can print them. This does not recompute the return.
# Keep the longitudes already calculated above so the report pack can print
# them. This does not recompute the return. Do not attach `chart` here: a
# `chart` key switches annual_tajika_pack._tajika_yogas_field onto the named-
# yoga authority surface and empties the chat annual card's Tajika aspects.
# The report reads that surface from `tajika_named_yogas` instead.
if not degraded:
result['planet_lons'] = {
name: float(value)
@@ -680,7 +683,7 @@ def solar_return_full_report(
}
chart = sr.get('chart') if isinstance(sr, dict) else None
if isinstance(chart, dict):
result['chart'] = chart
result['sr_chart'] = chart
return result