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
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
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
- 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
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
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
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
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
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
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
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
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
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
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
- 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
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
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
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