- 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
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
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
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
- 依据与边界: 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
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
- 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
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
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
- 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
- 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
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
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
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
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
Round 28: the section failed its repair on fact_with_inference and fell back
to a computed text that only said 「所需依据已算出」, so the planets, signs,
houses and periods BUG-2143 moved there were lost.
- writer rule (contract G-17): this section is fact paragraphs, no inference
words; the repair note names the words; the last pass drops inferring
clauses of a fact paragraph like reader wording (salvage reason
fact_with_inference)
- computed 依据与边界 lists the chart evidence per theme (sign, house, lord,
dignity, D10/D2/D9, A10/AmK/UL/DK, health lords, Badhaka, current and next
period to the month), only audit rows with content, birth-scenario limits
only for an uncertain time (BUG-2141), packed into the stored 4 paragraphs
- chat 判断依据: drop 「只是条件性窗口」「只作当年结构」 tails and 「本轮只解释到…」,
「本轮未交付」 → 「这次没有展开」; numbers kept (655 answers, 46 lines → 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8