Production 2-core host: adaptive packet scans measured 21-163 s cold, the web
side aborted at 8 s (BrokenPipe, 「排盘服务暂时没有响应」). The API's per-IP
limiter saw only the web container, so every user shared 120 calls a minute
(jyotish_api_429 on launch night). Frozen-file change limited to the limiter
default, owner-approved for production blockers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Owner 2026-11-23 overrides the BUG-2132 structure-only copy for this page: each card asks
e.g. 「工作上你更像哪一种?」, each side gets a short label and one or two tendency sentences
from the fixed tables in scripts/chart_choice/portraits.py (phrase table drafted by
jyotisha-ac), built only from the positions that differ; never two identical portraits.
Positions move to a folded 「依据」 as 「金星在第 10 宫(事业)」. Old lines without a
portrait still list their differences.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
B-S1: JSON rule rows count as 成立 / 留意 only when their own assessment is
formed_under_source; candidates (no reviewed source definition) stay hidden.
B-S2: 落陷取消 reads 「落陷,有没有缓解还没核实」 (verified: 「落陷(有缓解因素)」) in the
planet table, inspector, divisional table and yoga card. B-S3/B-S4: plain tooltips,
no BPHS / PVR / Goel titles, pages or links. B-S5: one line instead of the
method-dependence details. B-S6: divisional dignity in the D1 Chinese words.
B-S7: point names written once. B-S8: reader_condition_tidy_zh drops stray 「:」,
empty 「//」 and branch-status tails; 「日前行星 Yoga(精确)」 shows as 「太阳前一宫有星」.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
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
test_place_label_is_kept_in_the_english_edition expected the raw Chinese
label in the English edition; since BUG-2204 that line is written without
Han characters (coordinates for a Chinese-only place), otherwise the whole
English edition is dropped by the han_leak check. CI does not run this file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
- 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
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
- 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
- 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
The sibling check required an _en field for every Chinese string, including
the executable expr (whose trigger lines already pair Chinese and English)
and sync_note (a maintenance record nobody reads). Rule data unchanged.
Also logs the recurring CI 'database migration failed' flake in the ledger.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
- 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
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
Astrologer's Yoga manual 2026-11-21, P0. asraya_partial and asraya_yoga are
disabled with an accuracy note (ids kept); Aasraya proper stays as
Rajju/Musala/Nala. Two Kaalanirdesat progeny rules get conditional Chinese and
English effects. Topics file rebuilt; enabled count 408 -> 406.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
Owner 2026-11-21: after BUG-2115 the full-data report still printed source
lines and book references (Goel 出处 line, the PVR 2014 article in the
conditional-dasha note, PVR / Light on Life / BPHS verse in the calculation
notes, Tithi lord table source, rashi-dasha 出处 lines, Narayana p.43 label and
p.50 / Table 13 direction notes, functional profile source row, Ashtakavarga
book calibration). Method names stay; the book, page, chapter and ruling round
go. Engine labels for the consultation card are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1