- 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
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
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
Owner 2026-11-22 「去掉」: a self-chosen scenario is treated like a rectified
time. Personal, annual and synastry pages and exports no longer write the
self-chosen statement ending 「其他可能的出生时间尚未作比较。」, and the
personal opening drops 「提到的时间段是有条件的推测」 for such reports.
Stored reports follow at display. Contract notice G-17 records the
suspension of the astrologer's 11-17 / 11-19 self-choice rules pending her
confirmation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Owner 2026-11-22: 「木星管第五宫和第八宫,落在第八宫自己的星座」 every one or two sentences and runs of
exact days made the reading unreadable. The report rules now keep house numbers and exact days in
「依据与边界」 (evidence moved, not deleted; the skill's evidence-first is the working order), 「现在这几年」
covers the current and the next period linked by cause, and the in-report questions take the same
plain terms. New reader-wording checks house_mechanics and date_density go to the one repair; the
last pass drops house clauses and shortens dates to the month.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Owner 2026-11-22 「同意」: users saw 「本节关于……尚未作比较。」 at the end of almost every
section, because every time not confirmed in 生时纠正 was trial-read at ±30 minutes.
- birth-time-trust.ts: uncertain = source approximate / period_only / unknown, record kind
approximate / derived, 「说不准」, or a declared range > 0 (same declaration the rectification
page reads). Everything else is read as entered: personal report confirmed_minute, annual
report ±1 confirmed_minute (was known:false → ±30).
- No section line in the writer, computed fallback or annual sections; stored lines are taken
out on the page, export and question material (依据与边界 keeps its own limit sentence); the
opening clause and appendix mark about birth time are gone.
- Uncertain and not settled in 生时纠正: one opening sentence with a /rectification link
(page and export, personal and annual); 「按你提供的出生时间,」 on dated conclusions and the
question-material lead only in that case.
- Contract R-04 / §AM rewritten, notice G-15; annual writing rule and both chat rules updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Triple click, a drag past a paragraph's end, a selection over 300 characters and any
touch selection showed nothing, so readers copied the text into the box by hand.
The quote now joins the selected paragraphs of the section it starts in, longer ones are
cut to their first 1000 characters with a toast, the server accepts a quote that runs over
several paragraphs of that section, the tint spans paragraphs, and touch is detected on
pointerdown (a long press ends in pointercancel, never pointerup).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Staging round 27: chat answers' 判断依据 still showed 「只作参考」-type hedges,
「不另计一票」/「未闭环」/「两套体系确认」 and 「共同激活」. New chat-basis-clean
module cleans them clause by clause (numbers never dropped) in the display,
the final scrub and the reword round; the chat word table no longer writes
「只作参考」 back. The 「落陷阱」 typo was model-written; display separates it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
The astrologer's 11-21 reply (owner agreed): single positions cannot be turned
into personality, money or family conclusions, nor can resemblance picks narrow
a birth time. describe() now emits facts only; resemblance questions are retired.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
A security-definer function, gated by support.quality.read and granted to
admin_runtime only, returns per report the reading's section statuses and
the transform log without any reading text; the admin page 报告写作记录
lists sections, reasons, repair, salvage and fallback per report.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
At 1100 px with the sidebar open and the question panel closed the left
contents kept their 240 px column and the text was 461 wide. BUG-2093
folded them only while the side panel was open, and never on reports
that take no questions. The report view now measures its own layout box
(which keeps its width whether the column shows or not) and folds the
contents into their 「目录」 button whenever 240 + 48 + 520 do not fit,
on every report; the phone pill still takes over at 860 and below. The
reader keeps its place across the change; the place helpers move to
lib/personal-report-toc-layout.ts and are shared with the panel wiring.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
The writer was told to put 「只作参考」 into each section's basis and saw
the grade cap in its material, so stored annual reports showed
「这一块等级上限为 C」 and dozens of 「只作参考」 to readers. A shared
display pass (annualBasisText) now removes those notes on the page, in
the export and in what the question feature reads, keeping every date,
house, sign, number and technique name; stored reports are untouched.
New reports are written and stored without them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
A personal report generated from now on keeps the calculation facts its reading was written
from (one server-owned section row, bound to the reading's facts hash) and takes questions
beside the report, as the annual and pair reports do. Older reports show no entries.
- material: each reading section with the facts it is about, written as plain lines the answer
check can read; data chapters and the eight tables on demand; 20,000-character budget
- the annual turn is shared (runReportQuestionTurn); the consult route hands a bound
conversation to the personal or the annual handler by the report's own row
- page: entries beside the nine sections and each data chapter, selectable prose, the page
entry in the title bar, quotes that turn to their chapter; the reader keeps its place when
the panel opens or closes
- layout: contents on the left; with the panel open they fold into 「目录」 at the text's top
left when the window cannot hold contents, 520 of text and the panel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Pair follow-ups: 他 / 她 / 乙方 for one of the two goes to the one reword round with
both names, and a stored name with a space is written back as stored. Annual
questions: a birth-time limit or a minimum-line verdict the material read does not
make goes to the reword round, and an unsupported birth-time sentence never reaches
the reader; one instruction line says so. Asking about a selected passage makes its
section the current one on both report pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8