feat(tajika): label the year lord as a Muntha-lord stand-in for Panchavargiya (T9, BUG-1212)

Astrologer ruling 甲11. Muntha stays natal Lagna + completed years (test pins it on
the main path; muntha.calc_muntha_from_sun_sign is imported nowhere). Panchavargiya
is not implemented (native producer blocked). Consultation annual layer gains
varshesha_basis '暂用 Muntha 主星;占星师口径为 Panchavargiya,待接入' (card keys and
the workflow allowlist carry it); reader report 'Selection basis' row says the
same in both annual sections (zh/en).

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 12:50:21 +08:00
co-authored by Claude Opus 5.5
parent b0329ef03e
commit eb00b0f70f
6 changed files with 82 additions and 2 deletions
+3 -1
View File
@@ -580,7 +580,8 @@ def render_pl9_parity_markdown(packet: dict) -> str:
if data.get('selection_basis'):
return _cell(data['selection_basis'])
if data.get('year_lord') and data['year_lord'] == muntha_data.get('muntha_lord'):
return 'Muntha 所在星座的守护星(当前本地口径)'
# BUG-1212 (甲11): say plainly that this is a stand-in for Panchavargiya.
return '暂用 Muntha 主星;占星师口径为 Panchavargiya,待接入'
return '-'
def _degree(value) -> str:
@@ -2297,6 +2298,7 @@ def render_pl9_parity_markdown(packet: dict) -> str:
if year_lord_data:
lines.extend([
f"| Varshesha | {_cell(_annual_field_text(year_lord, 'year_lord', 'lord'))} |",
f"| Selection basis | {_cell(_annual_selection_basis(year_lord, annual_pack.get('muntha')))} |",
f"| Muntha sign | {_cell(_annual_field_text(annual_pack.get('muntha'), 'muntha_sign'))} |",
])
lines.append('')