2275 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 387ca35b1e fix(chat): migration drops D12 and education D5 from every routing layer; the gap-fill call only adds missing must-mention layers on first turns, never neutral lines (BUG-2234, BUG-2235)
Independent Staging Quality Gate / validate-python (push) Successful in 9m46s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m43s
Independent Staging Quality Gate / publish (push) Successful in 3m20s
BUG-2234 (astrologer 2026-11-22 section 5, owner approved): migration reads houses
3/4/9/12, their lords, dasha and transits with D4 as a residence aid; D12 is the
parents chart. Education reads D1 houses 4/5/9 and their lords plus D24, not D5.
Registry, plan contract, evidence card spec, checklist, card facts, orchestrator
dispatch and the two _ROUTE_REQUIRED_LAYERS rows change together.

BUG-2235: the repair call added optional layers at about three times the main
answer's error rate and appended 「在这件事上是中性的」 lines on follow-ups. Now:
follow-ups get no layer gap-fill; first turns only get the domain's must-mention
layers that are truly absent, with full rows; added text that is neutral, not
asked for, or fails the fact guard / table checks is dropped; the writing rules
no longer ask for neutral lines and the clean-up removes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 06:14:11 +08:00
ClaudeandClaude Opus 5.5 776227a2ae fix(chat): full-suite follow-ups of the voice port — evidence ids for the added layers, status words kept in audit tables, no lookbehind, pinned tests updated with 原值/新值/原因; BUG_HISTORY entries (BUG-2229, BUG-2230, BUG-2231)
Independent Staging Quality Gate / validate-python (push) Successful in 9m19s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m22s
Independent Staging Quality Gate / publish (push) Successful in 3m23s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:55:49 +08:00
ClaudeandClaude Opus 5.5 6c60f1fd2b test(billing): the chat estimate pins the measured first-turn tokens (BUG-2231)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:55:49 +08:00
ClaudeandClaude Opus 5.5 6c05795b89 fix(chat): a card without dated Saturn data keeps the reference-day reading; 「到…为止」 spans start at the reference day (BUG-2230)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:55:49 +08:00
ClaudeandClaude Opus 5.5 3ef9868ece fix(billing): the chat plan no longer caps a model at 1 point per run; the chat cost estimate uses the measured numbers (BUG-2231)
The chat is charged its chat.standard feature price; the plan's literal ceiling
of 1 on the model's own per-run points only stopped that from being tuned.
Positive whole numbers are still required. No stored price is changed. The
launch page estimate for chat.standard is the 2026-11-23 measured first-turn
average (about 176k input, 22.7k output tokens incl. the repair call).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:17:37 +08:00
ClaudeandClaude Opus 5.5 35af111257 fix(chat): the fact guard checks a dated transit claim against that date, not the reference day (BUG-2230)
A correct 「2029 年 7 月 17 日土星进金牛,走到本命月亮上」 was compared with the
reference day's Saturn and rewritten wrong. Saturn-on-Moon, Jupiter / Saturn /
node sign and house claims and double-transit house lists are now checked for
the days the sentence (or its bullet) names; no data for that day leaves the
sentence alone; undated claims keep the reference-day reading (BUG-2033), and
BUG-2228's 「经过第 N 宫」 check uses the dated span when the clause has one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:17:37 +08:00
ClaudeandClaude Opus 5.5 e947985793 feat(chat): the sectioned chat voice and the full card become the default, no switch (BUG-2229)
Owner 2026-11-23: the 11-22 experiment's candidate is applied directly. Natal chat
answers (first turns and follow-ups) use one voice with fixed sections, every
delivered layer used, the timeline down to the sub-periods, houses and technique
names explained in plain words. The card carries what the backend computed and
used to drop plus precomputed tables (lordship, planets, periods, overlaps,
transit timelines, double transit, Sade Sati). One repair call per answer covers
left-out layers and sentences whose dates, durations or house lords differ from
the tables (flagged, never substituted). Deterministic clean-up only for the
steps that never misfired.

Removed: the experiment flag and every variant c1 did not run (sectioned writer,
model verifier, program substitution), the old plain voice for natal chat, the
body house rewrite (BUG-2149, reversed by the owner) and the body date
shortening (BUG-2164), the 「做哪一行问用户」 career rules. Report chats, report
generation, the no-birth-minute and declared-window agents keep their text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:17:37 +08:00
ClaudeandClaude Opus 5.5 21c85863f9 feat(chart): the 格局 tab shows formed yogas, supporting structures and unfavourable structures with relation diagrams, one fact counted once, minor classes folded (BUG-2226)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 23:02:53 +08:00
ClaudeandClaude Opus 5.5 43be77bb98 fix(chat): drop dangling KP fragment; transit wording by occupation vs aspect (BUG-2227, BUG-2228)
Independent Staging Quality Gate / validate-python (push) Successful in 8m39s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m9s
Independent Staging Quality Gate / publish (push) Successful in 4m2s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 22:27:58 +08:00
ClaudeandClaude Opus 5.5 d7bd90d794 fix(report): three solar-return years reach the reading, Narayana is checked against the main line and named only when it changes a judgment, and a shared window needs each domain's own link (BUG-2223, BUG-2224, BUG-2225)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:34:22 +08:00
ClaudeandClaude Opus 5.5 1c6d8c3411 fix: round-32 leftovers — English place labels, skip button layout, code create response, 「来源」 wording (BUG-2204, 2215, 2216, 2217)
Independent Staging Quality Gate / validate-python (push) Successful in 8m55s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m18s
Independent Staging Quality Gate / publish (push) Successful in 3m47s
- BUG-2204: the English edition wrote the stored Chinese-first place label
  verbatim, so every English edition was dropped as han_leak. English place
  labels now translate country names, drop Han parentheticals and fall back
  to coordinates for all-Chinese places.
- BUG-2215: the first-chart reveal's layout is inline, so the browser's
  dialog padding cannot push 「跳过,查看星盘」 off screen before the lazy
  stylesheet lands.
- BUG-2216: the admin create response fills kind, batch/campaign fields and
  success text from what was sent.
- BUG-2217: reader-facing 「来源」 wording in data chapters and yoga status
  words renamed (Python and the frontend mirror in sync).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 21:02:59 +08:00
ClaudeandClaude Opus 5.5 c5c50d89d6 test: the report's plain terms are the chat's plus the 「位置舒服」 limit (BUG-2210 follow-up)
Independent Staging Quality Gate / validate-python (push) Successful in 9m0s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m29s
Independent Staging Quality Gate / publish (push) Successful in 3m53s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 20:55:14 +08:00
ClaudeandClaude Opus 5.5 f32bfb11d8 fix(report): the astrologer's 2026-11-22 report review — Saturn's return is named, no 「满足自定义条件」, no body guarantees, wealth and partner rules, 「位置舒服」 is one condition, feedback isolation in the reading rules, plain birth-time rows, per-planet Mahapurusha meanings and her rewritten yoga meanings, marriage yogas as conditions (BUG-2205–2214)
Independent Staging Quality Gate / validate-python (push) Successful in 9m16s
Independent Staging Quality Gate / validate-frontend (push) Failing after 12m7s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 20:39:21 +08:00
ClaudeandClaude Opus 5.5 24cfcab877 fix(rect): a same-minute self-choice is not a birth change, saving while a report is written asks first, the chat re-reads a stale birth state, the report card names a running report, and the rectification page says what 线前/线后 and its two outcomes mean (BUG-2192/2193/2194/2195)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 19:02:12 +08:00
ClaudeandClaude Opus 5.5 65f0e3da53 feat(home): newcomer home opens on the three questions with the chart folded; the first-chart animation has a real skip button (BUG-2200, BUG-2201)
Owner approved the v2 screenshots on 2026-11-22: no separate expand row;
the existing top-right toggle opens the chart (own storage key), phones use
the existing bottom sheet, and the normal layout returns after the first
question. The old skip hint was aria-hidden, non-focusable 13px text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:50:02 +08:00
ClaudeandClaude Opus 5.5 29168812e5 fix(ui): dark-mode secondary ink and legends reach 4.5:1; the phone sidebar button says 菜单 (BUG-2202, BUG-2203)
Independent Staging Quality Gate / validate-python (push) Failing after 8m20s
Independent Staging Quality Gate / validate-frontend (push) Successful in 12m48s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:47:56 +08:00
ClaudeandClaude Opus 5.5 09e60bef7a fix(ephemeris,report): month switch moves the selected day; phone report body clears the floating buttons (BUG-2196, BUG-2197)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:47:56 +08:00
ClaudeandClaude Opus 5.5 d0328b083a fix(report): synastry and annual reports salvage named sentences instead of failing whole; annual start keeps a busy refusal in the card; English failure reason in the report read (BUG-2183, BUG-2184, BUG-2185)
Synastry: sections that passed the first check get their draft back when the
rewrite breaks them, then only the sentences/reasons the gate named are removed
(same patterns as the Python gate); structural failures still reject.
Annual: text-rule failures left after the rewrite become month-level dates or a
removed sentence; 409 (another report still writing) stays in the start card;
a time chosen in rectification gets no opening sentence (BUG-2146 rule).
English: the stored englishUnavailable reason is returned (not rendered).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:47:56 +08:00
ClaudeandClaude Opus 5.5 5fb7d8fa2b fix: acceptance round — plan clarify reply saves, recorded certificate times are certain, body dates to the month, no 「来源:」 labels, children yogas conditional, user length requests win (BUG-2179–2182)
BUG-2179: the plan-timing clarify reply (~70 chars) went through the smalltalk
free completion, which the database caps at 20 chars, so every save failed;
it now settles through the feedback free completion (400 chars, still free).
BUG-2180: hospital/ID records saved as 「记录下来的」 store
birth_time_uncertainty_known=false (no range given); birthTimeUncertain no
longer reads that as 「说不准」.
BUG-2181: exact-day dates left in the eight body sections are shortened to the
month; data-chapter labels drop 「来源」; children-related yoga effects use the
「传统上与…有关」 form (topic map regenerated, topics unchanged).
BUG-2182: an explicit length request from the user overrides the default answer
shape in chat and in-report questions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:47:56 +08:00
ClaudeandClaude Fable 5.2 1dc3e20b69 fix(shell): feedback dialog fits the viewport and reports by toast, placeholders never render, rename opens a dialog, legal pages hidden behind one switch during the beta (BUG-2189, BUG-2190, BUG-2191, BUG-2198)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 18:47:55 +08:00
ClaudeandClaude Fable 5.2 b5e95fdd5f fix(forms): a picked time range no longer erases its other end, the missing-items line names what is missing, hour-branch profiles show what was filled, onboarding says why 继续 is disabled, plain first starter question (BUG-2186, BUG-2187, BUG-2188, BUG-2199)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 18:47:55 +08:00
ClaudeandClaude Opus 5.5 5a1b08ad1e test: gate 8376 follow-ups — column-level admin grant check; the layer test ignores VedAstro-dependent fields
Independent Staging Quality Gate / validate-python (push) Failing after 8m33s
Independent Staging Quality Gate / validate-frontend (push) Successful in 12m49s
Independent Staging Quality Gate / publish (push) Skipped
redemption_code_uses is granted to admin_runtime per column, so the
table-level privilege check is false by design; check any-column and that
credit_transaction_id stays hidden. The native-layer comparison now also
drops VedAstro/official fields, whose external result and cache timing can
differ between two runs after the BUG-2172 echo check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:31:46 +08:00
ClaudeandClaude Opus 5.5 ebe22533c8 fix(codes): a single code reused by its own redeemer still counts as a failed attempt; the legacy-code test asserts the balance after redemption
Gate 8375: database-redeem-security expected the old attempt count, and
database-redeem-code-kinds-330 assumed a zero starting balance. The migration
has not run anywhere yet, so it is edited in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:04:31 +08:00
ClaudeandClaude Opus 5.5 f343a4ea1c fix(codes): the old redeem_code entry point keeps already_redeemed for a reused single code (#330)
Independent Staging Quality Gate / validate-python (push) Failing after 9m10s
Independent Staging Quality Gate / validate-frontend (push) Failing after 11m54s
Independent Staging Quality Gate / publish (push) Skipped
redeem_code_v2 reports a reused single code by the same user as
already_redeemed_by_you; the legacy wrapper maps it back so the existing
redeem-security contract (and its CI database test) is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 17:13:20 +08:00
ClaudeandClaude Opus 5.5 b4fe459c45 test(codes): #330 follow-ups — migration-order lists, celebration tokens in @theme
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 17:13:00 +08:00
ClaudeandClaude Opus 5.5 c095407fae feat(codes): redeem codes come in three kinds, carry their own success celebration, and lose the fixed prefix (#330)
Owner 2026-11-22. 活动码 (campaign): one code, many users, each once, optional
start time, end time and total cap, custom text or random. 个人码: one random
code, one redemption. 批量码: N single codes sharing a batch name, CSV right
after generation. Every code may set a success title, message and one of four
drawn celebrations (default / stars / moon / gift) shown in the approved
success dialog; failures stay toasts.

Random codes drop the JYOTISH- prefix: XXXX-XXXX from an alphabet without
0 O 1 I L, crypto randomness, hashed after normalisation (upper case, no
spaces or dashes). Old JYOTISH codes keep their exact-text hash and still
redeem: redeem_code_v2 tries the exact hash, then the normalised one.

Migration 20261122140000 is additive: kind / batch / campaign / window / cap /
count / success columns, redemption_code_uses(code_id, user_id unique) as the
once-per-user record (kept on account deletion), the ledger's per-code unique
moved to that table, the code-row lock serialising a capped campaign.
redeem_code(text) keeps its signature and result and wraps v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 17:12:54 +08:00
ClaudeandClaude Opus 5.5 7ffd9fd8c6 feat(release-notes): admin writes 「更新说明」; each published version shows once per user; settings lists them (#331)
- Migration 20261122130000_release_notes.sql: release_notes (version, title,
  grouped items, draft/published/withdrawn) and release_note_reads; RLS on,
  no table privilege for app/service roles; users go through service-role
  functions list_release_notes_for_user / mark_release_note_read (a version
  published before the account existed counts as seen); the admin writes
  through audited admin_save_release_note / admin_set_release_note_status
  gated by the new content.release_notes.write (owner, operations,
  content_editor) and reads via an admin_runtime select policy.
- APIs: GET/POST /api/release-notes (signed-in user only) and GET/POST
  /api/admin/release-notes.
- Admin page 更新说明: table + editor drawer with 新功能/修复/改进 lists and a
  live preview; 保存草稿 / 发布 / 撤回.
- User side: 「本次更新」 dialog once per version (知道了 records the read);
  settings gets an 更新说明 pane (phone segmented nav becomes four).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 17:12:54 +08:00
ClaudeandClaude Opus 5.5 3beb1730ec fix(birth): the server refuses coordinates more than 500 km from the chosen place; a saved reported time is locked in onboarding with one line on how to adjust it (BUG-2177, BUG-2178)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 16:24:17 +08:00
ClaudeandClaude Opus 5.5 e3e4c9fcb9 fix(report): annual reports at the personal address redirect; chapters served from a bounded cache; printing waits for the full text (BUG-2174, BUG-2175, BUG-2176)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 16:24:16 +08:00
ClaudeandClaude Opus 5.5 886bdb4680 fix(chart): the data card no longer reads 「没算出来」 as 「未成立」, judges Shadbala on unrounded values with all nine kala parts, shows 未提供 instead of Aries/0°/pada 1, marks a switch day, and says 已确认 for confirmed (BUG-2173)
Independent Staging Quality Gate / validate-python (push) Successful in 9m47s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m50s
Independent Staging Quality Gate / publish (push) Successful in 3m32s
Astrologer 2026-11-22 chart-card review, group A (#328), approved by the owner before the production release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 16:16:43 +08:00
ClaudeandClaude Opus 5.5 1b2af85ba6 fix(chat): BUG-2169 follow-up — status text stays in yoga-status-words; card test allows the candidate debilitation label
Independent Staging Quality Gate / validate-python (push) Successful in 10m41s
Independent Staging Quality Gate / validate-frontend (push) Successful in 15m26s
Independent Staging Quality Gate / publish (push) Successful in 3m41s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 15:15:27 +08:00
ClaudeandClaude Opus 5.5 f2e5d66440 fix(report,chat): a detector-only Neecha Bhanga reads as 「缓解条件待核」 on the chat card, in the evidence pack and the rewrite table; the fact guard catches 「有缓解」 for it (BUG-2169)
Astrologer 2026-11-22 §4 (E): only a verified cancellation says mitigation exists.
After BUG-2165 every cancellation is detector-only, but the chat card, the
evidence pack and the rewrite table still wrote the verified sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 15:15:27 +08:00
ClaudeandClaude Opus 5.5 ffd1a63c14 test: refresh the report export fixture after the BUG-2157 connection sentences (BUG-2157 follow-up)
Independent Staging Quality Gate / validate-python (push) Successful in 9m56s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m42s
Independent Staging Quality Gate / publish (push) Successful in 3m18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 14:32:09 +08:00
ClaudeandClaude Opus 5.5 d461c59618 fix(birth): overseas birth places save everywhere; the chart panel refreshes after onboarding saves; place labels never show the stored dots (BUG-2167)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 14:32:09 +08:00
ClaudeandClaude Opus 5.5 cbbf62217c ops(production): the production host is the Hong Kong VPS 83.229.126.99
Independent Staging Quality Gate / validate-python (push) Successful in 9m56s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m45s
Independent Staging Quality Gate / publish (push) Successful in 3m12s
Owner bought and approved the new host on 2026-11-22 (mainland latency ~44 ms
vs ~300 ms on 118.194.235.34). The four production workflows pin the host, so
the release SHA must carry the new value. The runbook records the fresh-start
sequence (no Supabase import).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 14:19:17 +08:00
ClaudeandClaude Opus 5.5 da1abf0382 fix(consult): the chart card and model context get the display place label, not the stored '·' form (BUG-2168)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 14:18:22 +08:00
ClaudeandClaude Opus 5.5 f4b735ab2a fix(report,chat): round-31 leftovers — 依据与边界 too long, writer birth-time prefix, basis wording, body dates (BUG-2164)
Independent Staging Quality Gate / validate-python (push) Successful in 10m18s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m13s
Independent Staging Quality Gate / publish (push) Successful in 3m43s
- 依据与边界: the writer rule gives six paragraphs in a fixed order, at most
  600 characters each; the last pass packs a too-long section again at
  sentence ends (split long paragraphs, join neighbours, drop trailing
  sentences that no longer fit) instead of falling back to computed text.
- A time that is not marked uncertain loses the writer's own
  「按你提供/选择的出生时间」 prefix (self-chosen times got it in round 31).
- 判断依据: 「本方法分档」「只写星座与起止」「另一档…判为…」「不参与打分」,
  a bare 「为参考」 clause and author-named methods (KN Rao profile) go;
  「本方法最低线」 reads 「最低线」.
- A chat body with more than four exact-day dates (the user did not ask
  for a day) is put at month precision by the program; 判断依据 keeps
  its dates. No model call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 14:02:25 +08:00
ClaudeandClaude Opus 5.5 048e9948d4 fix(consult): the plan starter no longer fails on a skipped classification, and any throw after the reservation releases it (BUG-2166)
The bare plan-timing starter (BUG-2161) skips classification, so classifyStarted
stayed 0 and prep.classify logged Date.now() ms; the observability schema caps
durations at 7 days, logPrep() threw, and the turn failed after the credit /
first-free reservation with nothing cancelling it. The request stayed reserved,
held first_consult_free_request_id, and the next question answered 402.

- skipped classification logs skipped, 0 ms
- logPrep drops a rejected event with a log line instead of throwing
- the reservation registers a release hook; stream-first onUnhandled and the
  legacy runTurn catch both cancel it (a no-op for completed requests)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 14:00:09 +08:00
ClaudeandClaude Opus 5.5 bbdb274931 fix(report,chat): reading facts and the chat card follow the astrologer's D/E/G states; chat basis reads the shared topic chart table (BUG-2163)
Independent Staging Quality Gate / validate-python (push) Successful in 10m15s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m5s
Independent Staging Quality Gate / publish (push) Successful in 3m26s
- Debilitation: verified reads 「落陷;另有缓解条件,不代表困难全部消失」, a candidate (neecha_states)
  reads 「落陷;缓解条件待核」, uncomputed / not met / self-reference only stay 「落陷」; the
  chat card, evidence pack, computed fallback and writer rule R-06 follow.
- Connections: plain words for pd_range_split / pd_stability_not_assessed and for a truncated or
  missing chain; an unassessed topic chart no longer hides an undetermined house; the use rule says
  unfinished or unassessed is never 'no connection'.
- Chat basis completion reads references/topic_varga_routes.json (parents D12 only, children D7,
  siblings D3, residence D4, education D24; D9 never a career chart).
- test_reading_facts_2126 follows the BUG-2151 wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 12:46:35 +08:00
ClaudeandClaude Opus 5.5 70b501aeb9 test: the starter wiring carries the plan-timing entrypoint (BUG-2160)
Independent Staging Quality Gate / validate-python (push) Successful in 10m2s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m14s
Independent Staging Quality Gate / publish (push) Successful in 3m31s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 12:26:18 +08:00
ClaudeandClaude Opus 5.5 53a41bcd6f feat(home): the plan-timing starter tells the server where it came from (BUG-2160, with BUG-2161)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 9m48s
Independent Staging Quality Gate / validate-python (push) Canceled after 9m51s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 12:03:46 +08:00
ClaudeandClaude Opus 5.5 65a92e93e7 fix(report): branch records named as recomputation, skipped branches never read as unmet; PVR row is a basic condition check; third starter in the astrologer's words (BUG-2158, BUG-2159, BUG-2160)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 12:03:46 +08:00
ClaudeandClaude Opus 5.5 9206f23c3e fix(chat): the plan-timing starter asks for the plan and deadline first, free; 未满足 counts as a negated yoga (BUG-2161)
Independent Staging Quality Gate / validate-python (push) Successful in 11m2s
Independent Staging Quality Gate / validate-frontend (push) Successful in 15m11s
Independent Staging Quality Gate / publish (push) Successful in 3m34s
Astrologer 2026-11-22 ruling J §9. New entrypoint starter_plan_timing: the
bare starter text in a new conversation gets one fixed clarifying question on
the free smalltalk settlement (no calculation, no classification). Typed
requests follow PLAN_TIMING_RULE in the natal instructions. BUG-2158's
「未满足」 is recognised by YOGA_FORMATION_NEGATED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 11:43:57 +08:00
ClaudeandClaude Opus 5.5 f12a21c064 fix(chat): a book saying is the general meaning, weighed against this chart; the chart decides (BUG-2153)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 11:11:39 +08:00
ClaudeandClaude Opus 5.5 aeae8401d0 fix(report,chat): round-30 leftovers — 依据与边界 keeps its text when one sentence is wrong; no D7 for parents (BUG-2152)
Independent Staging Quality Gate / validate-python (push) Successful in 10m0s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m36s
Independent Staging Quality Gate / publish (push) Successful in 3m29s
- The last pass drops a sentence-level fact error (sav_total_as_strength and nine others) instead of the
  whole section; in 依据与边界 a bracketed gloss or a 「某某层:」 label is not a SAV strength verdict; the
  writer rule says how to write the Ashtakavarga total.
- The computed basis names a planet once when it is also the lagna lord.
- 现在这几年: the major period is at most a short background clause; the two periods are the current and
  next sub-period (notice G-23).
- Chat basis completion uses only the question's own domain routes (parents never gets the family D7).
- 判断依据 display: 保留为参考窗口, detector and 本方法 notes, 原书 wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 11:04:51 +08:00
ClaudeandClaude Opus 5.5 cc843a24a4 fix(basis): 判断依据 gets the card's Narayana, karaka and varga lines when missing; backstage wording leaves chat and report basis (BUG-2151)
Independent Staging Quality Gate / validate-python (push) Successful in 9m56s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m4s
Independent Staging Quality Gate / publish (push) Successful in 3m31s
- chat-basis-completeness.ts: after the wording guards, compare the route's
  on-card Narayana / MK / PiK / DK / PK / AmK / divisional charts with the
  判断依据 block and append the missing ones from the card's own sentences
  (no model call, body untouched)
- chat-basis-clean.ts: drop 只作辅助, 单一系统推断, 两套运程分别计算 and
  undated 本轮未交付 clauses
- reading_facts.py: reader words for the self-reference witness and the
  unused PD reason; contract G-22 (parameter-sensitivity once, no 激活,
  no stability-evaluation line)
- personal-report-reading-wording.ts basisReaderParagraphs at display

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 10:12:04 +08:00
ClaudeandClaude Opus 5.5 9105a5441a fix(chat): 判断依据 carries the second dasha, Jaimini karakas, domain vargas and why a window is what it is (BUG-2150)
Independent Staging Quality Gate / validate-python (push) Successful in 10m35s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m36s
Independent Staging Quality Gate / publish (push) Successful in 3m19s
Since the 2026-11-16 merge, answers on identical input dropped these four groups.
The basis rule now asks for them when the card has them and they bear on the
question; the body is unchanged. The display cleaner also drops 「不构成两种方法一致」
and calibration notes note by note, keeps a following note and the period, and a
basis written twice keeps its first copy. The backtest script defaults to the
product's single answer mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 09:50:30 +08:00
ClaudeandClaude Opus 5.5 e140917fff fix(chat): the answer body names no house unless the user asked about one (BUG-2149)
PLAIN_TERMS takes the report's house rule (READING_HOUSE_RULE): the plain
voice no longer says 「说这颗星管哪几个宫、落在哪」 next to 「不写宫位编号」.
Red lines say which part of life a planet stands for instead of 哪一宫;
dates go to the month, exact days only for key turning points. After a
简明解读 answer, body lines that still write a house (question names no
house) join the existing single rewrite call (BUG-1948); a rewrite that keeps
a house, drops a date or changes the line's lead is refused and the clause
holding the house is dropped. 深度解读 is unchanged. Shared house pattern
in lib/house-mechanics.ts. Contract notice G-20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 09:50:30 +08:00
ClaudeandClaude Opus 5.5 e2c49e3d71 fix(report): the computed body sections say the life area, not house numbers, scores or whole-day dates (BUG-2148)
After BUG-2143 the model's eight reader sections carry no house numbers, but a section that fell back to the
computed text still wrote 「第 10 宫(事业)在各宫得分里是 31 分」「金星落在第 4 宫」 and 「2023-02-28 至 2041-02-27」.
The computed text now names the life area a planet looks after, the condition its sign gives it (a condition,
not a result), a plain level for the house score, and month turning points for the current and next period.
「依据与边界」 keeps houses and numbers. Tested on two public Astro-Databank charts through the same checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 09:50:30 +08:00
ClaudeandClaude Opus 5.5 c432016ac4 fix(synastry): 新增星盘 is the 星盘档案 form in the same dialog — every field, partner by default, no save without a time (BUG-2144)
Independent Staging Quality Gate / validate-python (push) Successful in 10m6s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m53s
Independent Staging Quality Gate / publish (push) Successful in 3m7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 07:49:33 +08:00