BUG-2294 added English notes for the engine's audit rows; the Narayana/Patyayini/Tajika
row said "while external parity is open". acceptEnglishEdition runs ordinaryOutputLeaks
on the English markdown and `parity` is a backstage word there, so every personal report
since that change was stored with englishUnavailable=public_leak and export offered
Chinese only. The new test reads the English leak patterns from report-public-projection.ts
and checks every English audit note and a public chart's whole English edition.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Ports the astrologer's counterfactual relabel from upstream 58f37ee5b (draft
and authority). The annual named-yoga field read by the report tables, the
writer's facts, the annual service and the chat card moves those rows to
counterfactual_rows. The two public charts have none in 2016-2040, so their
reports are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
One daemon thread, bounded queue (drop oldest), coalesced per chart, pauses
whenever the heavy-compute gate or a consult warm is busy, and scans each year
in 15-day sub-ranges merged exactly into the whole-year result. Same cache keys
as the report (verified: a report after prewarm scans nothing).
JYOTISH_ANNUAL_MOTION_PREWARM=0 turns it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
Ports the astrologer's transit_search.py verbatim (upstream 58f37ee5b), the
solar-return motion request and the annual condition status pack. The scan
runs only in the full-data report (report_render/annual_motion.py), never in
the chat annual card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
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
- 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
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
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
- 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