Commit Graph
4878 Commits
Author SHA1 Message Date
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 814d789e4a feat(engine): transit window follows the question, Bhava Chalit / Tri-Pataka / Sudarshana layers, career semantic inputs, fast-transit lookup (BUG-2229)
Four additive changes the owner approved on 2026-11-22. A request without the new
fields keeps every existing layer unchanged; reports, annual and synastry do not
send them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:17:01 +08:00
ClaudeandClaude Opus 5.5 7a919f938a fix(report): Saturn's retrograde return is found by ephemeris scan for any sign, and the yoga condition cell drops book citations (BUG-2232)
Independent Staging Quality Gate / validate-python (push) Successful in 8m43s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m15s
Independent Staging Quality Gate / publish (push) Successful in 2m56s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 04:00:27 +08:00
ClaudeandClaude Opus 5.5 a95407d275 fix(yoga): the three newly ported evaluators give a Chinese combination, so the data chapter no longer shows 未判定 (BUG-2222 follow-up)
Independent Staging Quality Gate / validate-python (push) Successful in 8m59s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m19s
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_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 23:02:53 +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 ab018c4ea3 fix(yoga): missing input is never formed, Moolatrikona uses degree intervals, Parijatha/Gaja/Saraswathi follow the astrologer's upstream definitions (BUG-2222)
Independent Staging Quality Gate / validate-python (push) Successful in 8m51s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m20s
Independent Staging Quality Gate / publish (push) Successful in 3m20s
Port from yinduzhanxing b6754475 (astrologer's 2026-11-22 port order):
- MissingYogaInput: failure rows carry incomplete_conditions + missing_inputs;
  incomplete matches move effects to traditional_effects(+_en); AND merges
  condition_status/missing_inputs/condition_checks; NOT never turns an
  incomplete candidate into truth.
- MOOLATRIKONA_DEGREES + degree-interval is_moolatrikona; moolatrikona_degree
  contract check; Saraswathi PVR p143 contract.
- New evaluators: Raman Parijatha (47), Gaja (48, with parashari_aspect),
  Saraswathi PVR, all_planets_in_sign_type (Rajju/Musala/Nala, seven planets).
- meaning_source_reference copied onto result rows. Not-implemented 71 -> 65.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:42:41 +08:00
ClaudeandClaude Opus 5.5 c7642224c0 test: the remedy notes and the pending-source note follow BUG-2219/2221 (English twin, no practices section without a detected dosha)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:42:31 +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 2c729696ab fix(report): the yoga topic map is frozen against wording, the six marriage yogas follow her per-rule reply, and no gem is offered because of the dasha lord (BUG-2218, BUG-2219, BUG-2221)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:15:52 +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 734f70e86e test: the layer comparison uses its own empty caches with VedAstro network off
Independent Staging Quality Gate / validate-python (push) Successful in 9m15s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m36s
Independent Staging Quality Gate / publish (push) Successful in 4m30s
Gate 8381: the CI host keeps older VedAstro cache entries, so one run of
the comparison read a cached ok state and another did not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 19:39:47 +08:00
ClaudeandClaude Opus 5.5 a4c11d43eb test: the layer comparison runs without the VedAstro cross-check attached
Independent Staging Quality Gate / validate-python (push) Failing after 8m39s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m47s
Independent Staging Quality Gate / publish (push) Skipped
Gates 8375–8380: the external cross-check state leaks into many fields and
flips between CI runs (cached verified vs blocked). The test only proves
the native layer leaves other outputs unchanged, so all three runs skip
the VedAstro attach steps (restored after the test by monkeypatch).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 19:22:22 +08:00
ClaudeandClaude Opus 5.5 f1a3cf1856 test: the layer comparison also normalises official/VedAstro status strings
Independent Staging Quality Gate / validate-python (push) Failing after 8m45s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m35s
Independent Staging Quality Gate / publish (push) Skipped
Gate 8379: a status value flipped between official_verified and
official_blocked across the two CI runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 19:05:12 +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 f4b7db7bf0 test: the layer comparison drops every VedAstro/official trace (provider status, audit rows, missing-layer list)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 1m52s
Independent Staging Quality Gate / validate-python (push) Canceled after 1m55s
Gate 8377 still differed: the external cross-check state is also written
into provider_status, technique audit rows and the missing-layer list, and
one CI run reads an older cached verified state while another is blocked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:47:35 +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 ec92345f31 fix(vedastro): snapshot caches written before the echo check are no longer read
Independent Staging Quality Gate / validate-python (push) Failing after 8m35s
Independent Staging Quality Gate / validate-frontend (push) Failing after 11m15s
Independent Staging Quality Gate / publish (push) Skipped
The echo check guarded single-request cache reads only; the full-snapshot
semantic cache and the foreground snapshot cache still served records stored
before it, so two runs could see official data once and blocked data once
(gate 8375, test_consultation_native_layers). New cache key / schema v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 18:06:49 +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 044b6bd82b fix(vedastro): every path sends the key, bodies follow the official SDK, and a Pass for the API's sample chart is a failure (BUG-2172, #327)
Live probes on 2026-11-22 showed every request shape answered Status Pass with
the API's own sample chart (14:30 25/10/1992 Mumbai, Ayanamsa 3). The new
scripts/vedastro_echo_guard package sends the key (x-api-key / SetAPIKey) and
only accepts a Pass whose echoed time, place and ayanamsa match the request;
otherwise input_echo_mismatch, not cached, never an official chart. Request
bodies are aligned with SDK 1.23.25 (planetName as a string, lowercase
SearchEvents/DasaAtRange fields, no Ayanamsa/NodeMode/CalculationPreferences).

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 3d83276947 feat(yoga): custom-condition branches are recorded during the original evaluation, bound to rule, expression and input (BUG-2170)
Independent Staging Quality Gate / validate-python (push) Successful in 10m4s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m58s
Independent Staging Quality Gate / publish (push) Successful in 3m25s
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 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 981acf3db9 docs(ledger): shared frontend deps and tracked dist files were wiped in a bulk cleanup
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 6e9ba89416 fix(report): the debilitation cell follows the yoga table's verification status; period tables mark it once per page (BUG-2165)
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