Commit Graph
2378 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 8ae116d303 feat(ux): novice walkthrough pass — onboarding, settings flash, type scale B (BUG-1662, BUG-1663, BUG-1664, BUG-1670)
Independent Staging Quality Gate / validate-frontend (push) Failing after 3m16s
Independent Staging Quality Gate / validate-python (push) Successful in 5m54s
Independent Staging Quality Gate / publish (push) Skipped
Walked sign-up → profile → chart → question → answer as a first-time user
and fixed what got in the way:

- 星盘档案 showed 「出生时间待补全」 for a reported time the chart already
  draws at; period profiles showed the raw key (BUG-1662).
- Phone header: title, person chip and guide pill overlapped at 360–390px
  (BUG-1663).
- Birth time: a recorded time no longer demands an earliest/latest range;
  design B folds the six sources into one row with 更改 (BUG-1664). Intake
  hints trimmed with the owner's approval.
- Page switch rendered the new page twice; the copy in the leaving slot took
  /?account=… and its dialog vanished with it (BUG-1670). The leaving page now
  keeps its own router context.
- 新手指引 design C: 「下一步:…」 pill plus count, no prices, no 去做 buttons;
  short labels on narrow phones. 「这次提问免费」 removed.
- Login: consent box above the button, 「登录或注册」, plain two-step copy.
- Place: no false 「搜索」 claim, 北纬/东经 first, UTC offset with 夏令时 note,
  Chinese country names in pinyin order.
- One name 「生时纠正」 on user-facing copy; middle dots off the main path;
  calmer delete and error styles; no frosted glass or in-page card shadows.
- Type scale B: every page uses 13 / 16 / 20 / 28 px (chart drawings excepted).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-06 20:53:42 +08:00
ClaudeandClaude Opus 5.5 18ba6b39c9 fix(reports): a generating row moves and shows N / M chapters; the list is one card; the reader gets canvas A's cover (BUG-1665)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m7s
Independent Staging Quality Gate / validate-python (push) Successful in 5m50s
Independent Staging Quality Gate / publish (push) Successful in 2m56s
Product, 2026-11-06: 「生成中的报告是不是应该加一个动画,而且告诉用户进度」,
「为什么就只有上面那一个边」, 「报告页里面的 UI 不是重新设计了吗?为什么没有应用上」.

- The list GET reads section rows and the job phase for generating reports
  and returns stage + finished/total, computed with the waiting screen's own
  describeReportProgress (never a percentage, DESIGN.md · 报告生成等待态). A
  failed progress read leaves the list unchanged.
- A generating row shows the app's chart-draw motion in its icon slot (also on
  phones), 「已完成 N / M 章」 and one cell per chapter along the bottom.
- 过往的报告 is one bordered card like the 年运 row; hairlines only between rows.
- 生成报告 opens the report already being written (「查看生成进度」) instead of
  meeting 「已有报告正在生成中」.
- Reader direction A, the part BUG-1631 left out: the report opens on a cover
  (kicker, 「名字的星盘」, birth and generated line, AI notice, hairline); the
  bar names the person. The generating page's bar gets ‹ 我的报告.

Four source-literal tests updated with 原值/新值/原因.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 20:34:50 +08:00
ClaudeandClaude Opus 5.5 6f10cce7ae fix(report): Avastha state names follow the calculator; nakshatra dasha context as in the upstream export (BUG-1661)
- BUG-1661: Avastha states were translated by the general glossary, which had
  Young as 青年期 and Youth as 壮年期 (the calculator says 少年期 / 青年期) and
  left Old, Dina, Sabha and others in English ("Deep 睡眠"). One table taken
  from the calculator's enum comments now names them in the report body, the
  appendix and the frontend fact table. The Python export also uses a comma
  for simultaneous Deeptadi states in English (BUG-1391 fixed only the
  frontend).
- Nakshatra dasha context: natal Moon nakshatra, the current MD and AD lords'
  nakshatras and Taras, and the nakshatra of each AD lord in the MD. Both
  Ashtottari applicability rules are listed; when they disagree the report
  says no ruling has been made.

Frontend: report-fact-tables.test.ts assertions updated with 原值/新值/原因.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 18:25:02 +08:00
ClaudeandClaude Opus 5.5 4a937ff0e4 fix(report): name the Shadbala components; add Vimsopaka and varga-ruler detail (BUG-1660)
- BUG-1660: the six Shadbala columns used generic labels (合计 / 内容 / 分数 /
  年数 / 落座度数 / 容许天数). They are now Sthana, Dig, Kala, Cheshta,
  Naisargika and Drik, with totals, the BPHS minimum and the ratio, plus Sthana
  and Kala sub-part tables. Values are unchanged.
- Vimsopaka: per-varga dignity, points, weight and weighted score.
- Divisional mapping: per-varga sign, sign lord and sign-only dignity
  (Moolatrikona inside vargas awaits BUG-1622, so it is not marked).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 17:50:54 +08:00
ClaudeandClaude Opus 5.5 9351b0b633 feat(report): Lagna Kendradi, Niryaana Shoola sub-periods and non-applicable conditional dashas, as in the upstream export
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m20s
Independent Staging Quality Gate / validate-python (push) Successful in 6m3s
Independent Staging Quality Gate / publish (push) Successful in 3m28s
Product decision 2026-11-06: follow the upstream export for these tables.

- Lagna Kendradi: upstream profile kendradi_narayana_duration_candidate_v1
  (Lagna sign, then kendra / panaphara / apoklima order, Narayana sign years,
  the same years Drig uses). Major periods only; labelled as not checked
  against a book example.
- Niryaana Shoola: sub-periods forward from the MD sign, twelve equal parts;
  the research chapter adds the third level. Labelled: PVR gives no separate
  rule, comparison only.
- Conditional dashas whose classical gate fails (Satabdika, Shodashottari,
  Dwadashottari, Dwisaptatisama, Panchottari, Chaturshitisama) get a separate
  reference copy with the existing standard-table profile. The reading's own
  modules stay not_applicable, so consultation, convergence and
  rectification are unchanged; the report states the unmet condition.

Tests that locked the old omissions are updated with 原值/新值/原因.
Pre-work ledger: notes from this session (restore, CRLF files, baseline failures).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 17:39:39 +08:00
ClaudeandClaude Opus 5.5 81f1ab45d6 fix(report): yoga participants, nine-body transits, four restored sections; opening and appendix parity (BUG-1657..1659)
Compared against the upstream customer export of 2026-11-05.

- BUG-1657: detected yogas carry the planets the rule bound (structured
  evaluators, solar/lunar rows, loop-free custom expressions via AST; an
  `or` over different planets names nobody). The report lists participants
  and current-Dasha overlap instead of 未判定.
- BUG-1658: the dated transit table reads transit_positions, so all nine
  bodies have sign, degree, speed and retrograde.
- BUG-1659: Navamsha AD durations, current convergence (12 houses), Pancha
  Pakshi and Rashi Tulya Navamsa are put on the worksheet and rendered;
  Pancha Pakshi uses the birth weekday instead of always Sunday.
- Opening: timeline (next PDs, Narayana current period) and career /
  finance / relationship evidence (house lords, AmK/DK, A10/UL, D10/D9/D2/D11)
  under 「重点」, then a reading guide. The focus card stays under the title
  (BUG-1316).
- Traditional supportive practices are wired to the remedies module (reference
  only, mistranslations fixed, duplicate table removed).
- Appendix: Argala per-source detail, nakshatra reference with lord, gana,
  degree and KP sub-lord, and verified calculation notes.

tests/test_full_data_parity_chapters.py: the four "public gap" sections now
must carry real cells (原值/新值/原因 in the test).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 17:23:21 +08:00
ClaudeandClaude Opus 5.5 8f83eb2c25 fix(report): Kalachakra uses the classical sign periods from the Moon longitude (BUG-1656)
The full reading and the dasha registry called the Kalachakra module without
the Moon longitude, so BUG-1487's PVR ch.24 sign periods never ran in the
product. The report printed the legacy approximation (planet lords, 7..18
years) under a "simplified model" label.

Both callers now pass the Moon longitude. The dasha family carries
method_profile. Classical results keep their own AD/PD rows instead of the
rotated simplified table, and the reader and research tables list signs.
The PyJHora comparison was rerun: majors now agree, sub-period division still
differs (documented).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 17:23:21 +08:00
ClaudeandClaude Opus 5.5 07f750436b docs(research): draft candidates for a new annual holdout (36 people, 134 dated events), unreviewed
Independent Staging Quality Gate / validate-frontend (push) Successful in 4m57s
Independent Staging Quality Gate / validate-python (push) Successful in 5m40s
Independent Staging Quality Gate / publish (push) Successful in 2m37s
48 public figures not in the development set; kept the 36 with Rodden AA or
A on Astrotheme. Ratings, sources, birth dates and times re-checked against
the raw pages (all match); 129 of 133 day-precise event dates found verbatim
on their source page, 4 marked derived_needs_review. Draft only: no annual
facts were run for these people, and they are not admitted or frozen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 16:26:46 +08:00
ClaudeandClaude Opus 5.5 8de8f3d45c fix(tajika): sync the astrologer's 3509ccd7: oppositions, no factor promotion, annual cases back to template (BUG-1655)
From yinduzhanxing branch codex/local-web-verification-20261026 (remote SHA checked):
- kernel: a 180-degree opposition keeps its 180 target (it was matched as 0);
  exact and equal-speed states are no longer called applying or separating
- named-yoga authority rows carry source_review_status and
  factor_promotion_allowed: false; the annual year-chart layer honours the
  flag, so no Tajika yoga (Ithasala / Easarapha included) becomes a factor
- the five annual oracle cases go back to template_only (archived text kept);
  the dashboards no longer claim annual closure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 16:26:46 +08:00
ClaudeandClaude Opus 5.5 3a6f09815d feat(rectification): history, current result first, mini charts, all cards open (BUG-1654)
Every save keeps a record (chart_choice_records via chart_choice_adopt_v3);
the page opens on the current result with its time scale and the history
list, a past record can be adopted again while the birth declaration is
unchanged. Comparison cards are all open with a 60px mini chart per side
following the north/south board setting. Saving shows one toast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-06 15:58:19 +08:00
ClaudeandClaude Opus 5.5 c1fa95c0c1 docs(research): annual real-case calibration audit and plan, with questions for the astrologer
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m2s
Independent Staging Quality Gate / validate-python (push) Successful in 5m43s
Independent Staging Quality Gate / publish (push) Successful in 2m41s
All 25 public figures in references/real_case_calibration were replayed,
held out and opened, or annotated before, so they form the development set;
a new annual holdout needs new people. Records the plan (person-level split,
frozen method, windows generated without event dates, coverage and window-day
metrics, comparable random baselines) and the skill-repo questions for the
astrologer (attribution, template_cases marked external_verified, Tajika rule
review, exact-contact windows, case list).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 15:23:17 +08:00
ClaudeandClaude Opus 5.5 4e9430c48b feat(annual): exact Jupiter / Saturn aspect instants as a fact table, no orb, not in windows (BUG-1653)
Exact contacts are roots, not windows: the instant Jupiter (120/180/240)
or Saturn (60/180/270) stands at its Parashari aspect angle from a natal
point, by the transit scan's daily sampling and bisection. Passes of one
retrograde loop form one sequence; a station that only approaches the angle
is never listed. The report card exact_contacts carries them for review
(used_for_windows: false); no influence window until the astrologer sets one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 15:23:17 +08:00
ClaudeandClaude Opus 5.5 2bbf984017 fix(tajika): port the nine-yoga Tajika authority and instantaneous applying test from yinduzhanxing (BUG-1652)
The product still ran the 2026-09-03 two-yoga version, so Nakta, Yamaya,
Manahoo and Kamboola showed as blocked. Port yinduzhanxing fb8fe915: the
governed draft and authority (nine yogas), the kernel's applying/separating
by instantaneous relative speed, the rule record (author corrected to
P.V.R. Narasimha Rao in this copy) and the upstream tests. In the annual
year-chart layer every Tajika connection is marked source_review: pending;
only Ithasala / Easarapha still produce factors until the rules are reviewed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 15:23:17 +08:00
ClaudeandClaude Opus 5.5 a0fd4f8c22 fix(annual): past periods are checked, not advised; window reasons without repeats; 平稳 / 转平 gated (BUG-1651)
Independent Staging Quality Gate / validate-frontend (push) Successful in 4m50s
Independent Staging Quality Gate / validate-python (push) Successful in 5m40s
Independent Staging Quality Gate / publish (push) Successful in 2m32s
Found by running three annual reports locally against a test model:
- every period and window now carries its position against today
  (已过去 / 现在 / 接下来) and each section's evidence opens with today's
  date; the writing rule says 已过去 periods are only written as
  「这段时间是否出现了……」, never as advice
- plainEventLines drops a same-day 「不再照到」 that a 「开始照到」 for the
  same body and target covers, and keeps identical lines once
- the lean gate also stops 平稳 and 转平

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 14:52:04 +08:00
ClaudeandClaude Opus 5.5 a8548673f6 feat(annual): read each phase per domain and per track, and use the user's declared birth range (BUG-1650)
Independent Staging Quality Gate / validate-frontend (push) Successful in 4m58s
Independent Staging Quality Gate / validate-python (push) Successful in 5m41s
Independent Staging Quality Gate / publish (push) Successful in 2m40s
Astrologer ruling 2026-11-06 (two rounds) on the annual defaults:
- no 2/2/1 weighted lean and no tie rule; mahadashas are background;
  Vimshottari and Narayana are read per domain; a lord enters a domain only
  through houses it owns or occupies (same rule for benefics and malefics);
  the Narayana sign only marks a theme as active; summaries never reach past
  the judged domains (部分领域可判断); 平稳 is not produced, a repeat of the
  previous phase reads 延续前一阶段的主题
- phases are never merged in the calculation; today splits the running one;
  timeline rows merge only by reading_group and keep inner dates
- windows need one shared domain; ranking by sources, date certainty and
  conflict; sky events must touch a report domain; Jupiter / Saturn
  Parashari sign aspects (5/7/9, 3/7/10, same sign apart) to each domain's
  natal objects, as relations only
- no confirmed/unconfirmed switch (product: same method for everyone): the
  range the user declared at intake is sampled and every change bisected to
  the minute, through natal chart, vargas, special points, dasha dates, solar
  return, year chart and Mudda / Patyayini; windows keep the whole range the
  dates can fall in, never a "core date"
- year-chart factors in four layers (relation, Tajika connection, limits,
  Panchavargiya capability), never a verdict; Rath method version stamped and
  unresolved branches give no direction; maraka recorded, never scored

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 14:14:41 +08:00
ClaudeandClaude Opus 5.5 325a2e5192 fix(rectification): never block on a missing range; ±15 min default with one-tap quick ranges (BUG-1649)
Product: users who only know an approximate time must not be stopped, and
typing earliest/latest is unfriendly. The default is not written back; a
range the user taps is saved with the adoption.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-06 13:42:47 +08:00
Claude 4f7ae33634 Merge remote-tracking branch 'origin/staging' into codex/rectification-rebuild-20261106
Independent Staging Quality Gate / validate-frontend (push) Failing after 3m7s
Independent Staging Quality Gate / validate-python (push) Successful in 5m46s
Independent Staging Quality Gate / publish (push) Skipped
2026-11-06 13:36:33 +08:00
ClaudeandClaude Opus 5.5 ba6aa2413b fix(rectification): ask for a range only when the profile has none, and save it back (BUG-1649)
Old 0/0 profiles show no range in the form instead of 最早 = 最晚. The page's
range question uses an even 2x2 grid with parallel labels; saving writes the
picked range to the declaration and adopts the minute in one transaction
(chart_choice_adopt_v2). A ±60 min range is compared without narrowing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-06 13:36:32 +08:00
ClaudeandClaude Opus 5.5 2716ae1793 test(skills): count runtime roots in a private TMPDIR, not the shared one (BUG-1612)
Independent Staging Quality Gate / validate-frontend (push) Successful in 4m56s
Independent Staging Quality Gate / validate-python (push) Successful in 5m38s
Independent Staging Quality Gate / publish (push) Successful in 2m51s
Staging CI run 6876 failed 'importing the registry creates no runtime
directory' with '1' !== '0': the test counted jyotisha-skill-runtime-*
entries in the shared OS temp dir while other test files created their
own. Each child now gets an empty TMPDIR of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 11:20:35 +08:00
ClaudeandClaude Opus 5.5 30e4f5ab8d fix(consult): name user-named houses and charts; short subheadings when the user lists items (BUG-1647)
Independent Staging Quality Gate / validate-frontend (push) Failing after 3m10s
Independent Staging Quality Gate / validate-python (push) Successful in 5m43s
Independent Staging Quality Gate / publish (push) Skipped
A family question that named 2/4/9 宫 and D12 got 「管资源……的那一宫」 and
「D12 里同号的那一格」: PLAIN_TERMS outranked the named-items line. PLAIN_TERMS
now covers only terms the user did not name, the named line asks for house
numbers and chart codes, and a question that lists several items may use
### subheadings or lists (general questions stay prose). Blind test, 63
answers per arm: severe 13 -> 11; ten-year and family questions easier to
read 8/9. BUG-1646 history now records its staging deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 11:00:58 +08:00
Claude 6af2161cf8 Merge remote-tracking branch 'origin/staging' into codex/rectification-rebuild-20261106
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m2s
Independent Staging Quality Gate / validate-python (push) Successful in 5m43s
Independent Staging Quality Gate / publish (push) Successful in 2m41s
2026-11-06 10:42:54 +08:00
ClaudeandClaude Opus 5.5 2e837ef48f fix(rectification): a ±0-minute declared range asks for a range instead of failing (BUG-1648)
Also drop the page's intro paragraph and the 77-case footnote (product:
over-explained).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-06 10:36:58 +08:00
ClaudeandClaude Opus 5.5 6e4656a5d3 fix(mobile): chart sheet scrolls from the board; header drops the points pill (BUG-1646)
Independent Staging Quality Gate / validate-frontend (push) Successful in 4m56s
Independent Staging Quality Gate / validate-python (push) Successful in 5m43s
Independent Staging Quality Gate / publish (push) Successful in 2m39s
The phone chart sheet did not scroll when a drag started on the board:
Base UI's drawer looks for an HTMLElement scroll parent, so an SVG target
became swipe-to-close. The board SVG now opts out of the drawer swipe.
The top-bar points pill is removed on every viewport; balance and top-up
live in the avatar menu's 账户与点数 row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 10:25:34 +08:00
Claude 47fa33cafd Merge remote-tracking branch 'origin/staging' into codex/rectification-rebuild-20261106
Independent Staging Quality Gate / validate-frontend (push) Failing after 3m11s
Independent Staging Quality Gate / validate-python (push) Successful in 5m45s
Independent Staging Quality Gate / publish (push) Skipped
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-06 09:55:56 +08:00
ClaudeandClaude Opus 5.5 77e06a2680 fix(chart): 盘面数据 tabs show the table skeleton while their layer loads, never a blank block (BUG-1645)
Independent Staging Quality Gate / validate-python (push) Successful in 6m43s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m45s
Independent Staging Quality Gate / publish (push) Successful in 2m53s
敌友, 虚星, 特殊点, Arudha and 八分法 rendered an empty note while their layer
was pending or not yet asked for. They now show the card's eight-row skeleton,
and a failed layer still shows its failure copy. A layer remembered in memory
now reaches the hook's own view instead of being marked loaded and never shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-06 09:37:42 +08:00
ClaudeandClaude Opus 5.5 c1a69445b5 refactor: retire event-scored rectification backend (BUG-1644)
Remove the V5 scoring pipeline, dynamic rectification, minute-rectification
evaluations and the research scripts built on them, plus their API routes.
Keep the upstream skill layer (gate, questionnaire, active events), the
varga-segments scan and the consult range reading (moved to
scripts/birth_window_range_reading.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-06 02:40:28 +08:00
Claude 945e86911a Merge remote-tracking branch 'origin/staging' into codex/consult-dasha-horizon-20261105
Independent Staging Quality Gate / validate-python (push) Successful in 6m24s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m28s
Independent Staging Quality Gate / publish (push) Successful in 2m37s
2026-11-06 01:12:14 +08:00
ClaudeandClaude Opus 5.5 c0860e9638 fix(chat): queued question and 开新对话 survive leaving Home (BUG-1642 follow-up 2)
- The question queued during a reply lives in the session store, keyed by
  chat and by the reply it waits for. A mounted Home sends it to that chat
  once the reply completes, or puts it back in that chat's composer; nothing
  is sent from another page with a stale Home closure.
- The full-chat notice's 开新对话 records a carry-over in the store and
  returns to Home if needed; the mounted Home opens the new chat with the
  question, linked to the full chat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 00:33:55 +08:00
ClaudeandClaude Opus 5.5 378e875d9d docs(bug-history): BUG-1643 ships to staging
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 00:29:37 +08:00
Claude 84960c6c52 Merge remote-tracking branch 'origin/staging' into codex/consult-dasha-horizon-20261105
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-06 00:29:29 +08:00
ClaudeandClaude Opus 5.5 cf04be2ace docs(bug-history): BUG-1643 dasha horizon on the consult card, with blind eval
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 00:28:41 +08:00
ClaudeandClaude Opus 5.5 e478280596 fix(chat): a run's error and handed-back question reach the Home the user is on (BUG-1642 follow-up)
- requestError and replyOutcome move from Home state into the session store;
  a Home remount keeps them, a new session-list provider drops them.
- A stop or an uncommitted reservation hands its question back through the
  store (composerRestore); use-composer-restore puts it into that chat's
  composer whenever the chat is open, on the Home mounted now or later.
- While a stop is still being confirmed the question stays with the stopped
  chat, so switching rows no longer loses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 00:15:17 +08:00
Claude a190d0660b Merge remote-tracking branch 'origin/staging' into codex/chat-background-run-20261105
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-06 00:01:29 +08:00
ClaudeandClaude Opus 5.5 a01289515d fix(chat): other chats open while a reply generates; coming back attaches to the live reply (BUG-1642)
- Sidebar rows always open; a reply in flight locks only their menu and drag.
  新建对话 is no longer locked by generation.
- The in-flight run's refs live in lib/consultation-run-refs.ts instead of
  Home's useRefs; a Home remount keeps the store's run fields while a run is
  live, so the Home that mounts on return attaches to the same stream instead
  of starting a second recovery that the first closure then cleared.
- Completion drops the tab's pending-consultation record for that request.
- One reply at a time is unchanged (client send guard and queue).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-05 23:59:31 +08:00
ClaudeandClaude Opus 5.5 efceab8a2a feat(reports): report queue lanes — two at once with a short-report lane, waiting screens show the expected wait
Independent Staging Quality Gate / validate-frontend (push) Failing after 4m38s
Independent Staging Quality Gate / validate-python (push) Successful in 6m35s
Independent Staging Quality Gate / publish (push) Skipped
Every report type already queued in personal_report_jobs, one at a time per
server. The worker now runs PERSONAL_REPORT_WORKER_CONCURRENCY lanes (default
2); the second takes only annual and synastry reports so they never wait
behind long personal reports. claim_personal_report_job gains an optional
report-type filter; personal_report_queue_view (owner-only, security definer)
gives the wait, shown as a single line on the annual, personal and synastry
waiting screens. Also keeps the privacy whitelist line numbers in
personal-report-api.test.ts unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-05 23:41:31 +08:00
ClaudeandClaude Opus 5.5 6c11dfd335 fix(reports): paid reports have no daily or hourly cap; a failed run is never counted (BUG-1641)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-05 23:29:17 +08:00
ClaudeandClaude Opus 5.5 f0aab44065 docs(bug-history): BUG-1632 / BUG-1633 ship to staging
Independent Staging Quality Gate / validate-python (push) Successful in 6m34s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m33s
Independent Staging Quality Gate / publish (push) Successful in 4m10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-05 22:44:05 +08:00
Claude cf08be14c0 Merge remote-tracking branch 'origin/staging' into codex/consult-career-field-20261105
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-05 22:43:59 +08:00
ClaudeandClaude Opus 5.5 b1775a4439 docs(bug-history): BUG-1632 / BUG-1633 with the blind eval
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-05 22:19:04 +08:00
ClaudeandClaude Opus 5.5 ca35ef2061 feat(annual): plain voice — life-first copy from a plain-language layer, one paragraph per area, months allowed (BUG-1640)
The writer now reads houses as parts of life, turning points as plain sky
sentences and months instead of dates; a one-page guide with passages from
the approved sample replaces the ban list, and each section sees what the
earlier ones said. Areas are one paragraph plus a 记住 line; window cards
show topic and action with a folded plain 为什么.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-05 22:12:50 +08:00
ClaudeandClaude Opus 5.5 1ef62f30ec feat(chart): 盘面数据 fills its card — 八分法 spans the width, every yoga shows with what it needs (BUG-1639)
Independent Staging Quality Gate / validate-python (push) Successful in 6m30s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m24s
Independent Staging Quality Gate / publish (push) Successful in 2m57s
The 八分法 table is width 100% with fixed columns and full-width 32px cells (a
640px minimum keeps the drag on phones). The 瑜伽 tab lists all eight classical
yogas as a two-column grid: formed ones first and still a pick on the board,
the rest muted with their classical condition, in place of one sentence and a
collapsed 「未满足 N 条」.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 18:31:44 +08:00
ClaudeandClaude Opus 5.5 7bdad0f147 docs(ledger): ERR-118 staging gate red only because the CI Postgres container did not start
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 18:12:47 +08:00
ClaudeandClaude Opus 5.5 1698837486 fix(annual,chart): 年运 starts a new run instead of reopening the last; chart type picker centred on desktop (BUG-1637, BUG-1638)
Independent Staging Quality Gate / validate-frontend (push) Failing after 2m10s
Independent Staging Quality Gate / validate-python (push) Successful in 6m28s
Independent Staging Quality Gate / publish (push) Skipped
- 年运: the page no longer opens the finished report of the same range; only a
  run still being written opens by itself. The server reuses only that in-flight
  run; a finished year no longer blocks a new one, which is charged once like
  any report. The start card says 「这一年已经写过一份,再写一份会另扣 N 点」
  with a link to the last one; history still opens from 过往的报告.
- 星盘类型: from 768px the picker is a centred dialog (560px, full radius);
  phones keep the bottom sheet. The body and the select / close logic are shared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 18:04:05 +08:00
ClaudeandClaude Opus 5.5 6f24b41381 feat(annual): 这一年怎么走 timeline (option B); body copy drops dasha jargon and method talk (BUG-1636)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 2m51s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 2m52s
The remaining phases and the windows render as one timeline: phases carry
the program's lean, each window is pinned to its phase, passed ones fold.
Window fields are capped so cards fit without an inner scroll; reports
written earlier keep the old layout. Writer rules and the gate keep dasha
and functional-role words, the counting method and the material itself
out of the body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-05 17:53:59 +08:00
ClaudeandClaude Opus 5.5 f4f38f1a54 fix(annual): no more 有顺有紧; windows and 年尾 get the program's lean (BUG-1635)
Lean v2 is a weighted sum (AD 2, Narayana AD 2, PD 1; a tie follows the
Vimshottari AD) with only 偏顺 / 偏紧 / 平稳. Phases with both sides keep a
counterweight limit. Window, domain-window, year-end and remember evidence
carry the lean; the gate rejects mixed wording and a window lean that
contradicts the program.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozbkyFNqbu8pVEtZ7W
2026-11-05 17:45:38 +08:00
ClaudeandClaude Opus 5.5 876018e127 fix(reports): export sheet redesign; an English export lists itself in English (BUG-1634)
Independent Staging Quality Gate / validate-python (push) Successful in 6m34s
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m36s
Independent Staging Quality Gate / publish (push) Successful in 3m33s
The sheet is now a top-to-bottom column with the footer pinned: 导出报告 and
the file type, a full-width 中文 / English segment, two equal radio cards for
整篇 / 自选 (outline and dot only, per issue #90), and in 自选 a title filter
with 全选 / 清空 above a tighter list with sticky group heads. The group names
and the summary follow the chosen edition (Chapters / Charts / Tables, 「95
chapters · 21 charts · 8 tables」); the sheet's own controls stay in the app's
language. Rows in the scrolling body no longer shrink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 17:32:37 +08:00
ClaudeandClaude Opus 5.5 c5331e5530 feat(reports): the full report leads 我的报告, 年运 ranges are radio cards, the reader has one bar (BUG-1631)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 48s
Independent Staging Quality Gate / validate-python (push) Canceled after 57s
Product picked A / B / A on the canvas.
- 我的报告 (A): the full natal report is the one large card with a solid
  生成报告; 年运 is a single row link under it. A report row's hover and focus
  band now spans the link and its ⋯ menu, so a row no longer looks split.
- 年运 start (B): 生日年度 / 公历年 / 未来十二个月 are three single-choice
  cards with a dot, a one-line hint, and the picked card's dates.
- Reader (A): SecondaryHeader gains `back` (‹ 我的报告 /) and the language
  switch and 导出 move into it (ReportActions placement="header"); the second
  bar is gone, the text is no longer in a card on screen (print unchanged),
  the reading column is 720px and the contents rail opens only the current
  chapter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 17:17:29 +08:00
ClaudeandClaude Opus 5.5 3fa0bc574b fix(reports): 生成报告 shows the curtain and opens the report; 年运 veil fills the page (BUG-1630)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m36s
Independent Staging Quality Gate / validate-python (push) Successful in 7m35s
Independent Staging Quality Gate / publish (push) Successful in 2m49s
The report center passed onCreated={() => void load()}, so a successful create
only re-read the list below: no move, no notice, a faint 「正在创建…」 at most.
The button now holds the page curtain while it submits and opens the created
report, whose page shows the writing progress; an error drops the curtain and
says why. The 年运 page took the content's height inside the start-aligned
page grid, so its veil stopped short of the window bottom; it now fills the cell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 16:59:48 +08:00
ClaudeandClaude Opus 5.5 484b653ce3 feat(rectification): open the case from the click, the home only takes it (BUG-1629)
Independent Staging Quality Gate / validate-python (push) Successful in 7m21s
Independent Staging Quality Gate / validate-frontend (push) Successful in 7m29s
Independent Staging Quality Gate / publish (push) Successful in 3m24s
Direction B for 「为什么不能直接进入生时纠正对话」. The open request, the case
read, the source lookup and the surface chunk now start at the click that
leads to the rectification chat (the /rectification page's 开始 / 继续上次 /
新建一次 / 看结果, and a 生时校正 row in the sidebar off the home), while the
app navigates. The home's openRectificationCase takes that in-flight open
(same target, once, within 30 s) instead of asking again; errors are handled
exactly as before. The offer card inside a conversation still asks itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-05 16:38:08 +08:00
ClaudeandClaude Opus 5.5 ebb12108b1 docs(bug-history): BUG-1621 career boundary line ships to staging
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 3m3s
Independent Staging Quality Gate / validate-python (push) Canceled after 4m1s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-05 16:34:19 +08:00