feat(chart): 「那一刻的天空」封面 — engine, BFF, canvas painter, chart header entry
T1 scripts/birth_sky.py: real alt/az of the seven visible grahas (swe.calc_ut + swe.azalt, geometric altitude, azimuth converted from swe's south origin to north-east) and Yale BSC5 stars V<=4.0 (IAU 1976 precession); phase day / twilight_morning / twilight_evening / night. Thin POST /api/birth_sky registration in do_POST (no new handler method, no __new__). T2 GET /api/birth-sky?subject=: birth truth read server side through loadSubjectBirth + prepareChartViewProfile; zod contract; no billing, no writes, no birth data in the response. T3/T4 lib/birth-sky: sentence table, pure Canvas 2D drawBirthSky (night / paper palettes from DESIGN tokens, east on the left, serif headline with 1.5 s font wait), PNG export via navigator.share or Blob + a.download. Chart page prefetches and paints the cover once the chart is ok; the header button appears only when the PNG is ready. Dialog is a lazy chunk. T7 DESIGN §17, VOICE, CONTEXT glossary, CHANGELOG, real-device checklist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199rbQDTsUbCVw84wc8BTFe
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d670521f47
commit
d277cbd8ad
@@ -142,6 +142,25 @@ Jyotisha 的可见文案是产品的一部分。正确性红线(真实性、
|
||||
|
||||
普通对话里的纯打招呼、道谢、告别,只回一句简体白话,最多 20 字,不以句号结尾;不套开场形状,不写星盘或运势主张,不用客服套话、星月比喻或一串追问。本命、申报时段、无出生分钟三种模式共用。含咨询、解释前文、纠错、抱怨或不确定意图时仍按咨询处理。
|
||||
|
||||
## 那一刻的天空(2026-09-28,TASK-birth-sky-cover-20260928)
|
||||
|
||||
封面上的字**只描述天空,不讲运势**:不写大运、上升、星座性格,不给人贴标签。同一张盘永远同一句,按天空状态确定性选出,不调模型、不扣点。句子只能从下表出,不得另加。
|
||||
|
||||
| 天空状态 | 主句 |
|
||||
| --- | --- |
|
||||
| 白天(太阳高度 > 0) | 星星都在,只是还看不见。 |
|
||||
| 晨昏(太阳高度 −18°~0°,上午) | 天快亮了,星星正一颗颗退场。 |
|
||||
| 晨昏(太阳高度 −18°~0°,下午) | 天刚暗下来,星星正一颗颗出来。 |
|
||||
| 夜里(太阳高度 < −18°) | 那一刻,头顶就是这片天。 |
|
||||
|
||||
事实句用「,」连接,不带句号:白天先写「太阳在{八方位}」;然后月亮——在地平线上写「月亮在{八方位}」,在地平线下写「月亮在脚下」;然后除日月外最高的一颗可见行星「{行星}正悬在{八方位}」(没有就不写)。八方位是北、东北、东、东南、南、西南、西、西北。例:「太阳在东,月亮在脚下,火星正悬在东南」。
|
||||
|
||||
出生时间不是已采用的校正时间时,事实句下加一行「按你填写的时间」。最底固定「仅供自我探索,不替你做决定。」。顶部小字「JYOTISHA · 那 一 刻」。
|
||||
|
||||
首页开场语不用星星、月亮一类比喻(上文),那一条只管首页问候。封面写的是出生那一刻真实在天上的天体,不是比喻,两者不冲突。
|
||||
|
||||
弹层文案:标题「那一刻的天空」(也是星盘页按钮字),按钮「保存图片」「关闭」,首次揭幕多一个「继续」。保存失败(极少见,分享与下载都不可用时)写「没能保存。长按或右键上面的图,也能存下来。」图片的替代文字是主句加事实句。
|
||||
|
||||
## 七条原则
|
||||
|
||||
1. **先回应人,再展开方法。** 用户问婚姻,先用人话答方向,再进入度数和分盘。
|
||||
|
||||
Reference in New Issue
Block a user