BUG-2392 writes formation_note_zh / formation_note_en on formed Raja rows
whose lords also rule 6, 8 or 12. The report now prints that note after the
status in the body yoga table, after the formation line on the yoga page,
and in the appendix table's formation cell. Also updates a stale assertion
from BUG-2367 (the PD-only cell in the house-lord column).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp3RzgZVEpT1PXxkwHj
Ties and all-unsure lines keep the side holding the reported time (toward it
once it has left the range) and the flow continues; the page shows only
上一步 / 下一步. Choices now carry the per-card picks, the tally and how the
side was decided; old line_at + side choices still read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
Owner 2026-11-25 option A. Kind by the two exchanged houses (Phaladeepika ch.6:
28 Maha / 8 Khala / 30 Dainya). yoga_engine.py (frozen) edit approved by the
owner for exactly these three rules: parivartana_class condition, product
formation contracts looked up before hers, sign_exchange/house_class checks.
Chart page drops the plain exchange support card when a named one is formed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
- 2377 appendix yoga table: kind, formation, also-needs, condition and meaning source (book title only)
- 2378 Saham trace: A, B, C, A − B + C, arc test, +30°, final value
- 2379 daridra_2 「第二宫主落陷…」 no longer classified as Neecha Bhanga
- 2380 Neecha variant names on page titles; Raja add-on line
- 2381 Pancha Mahapurusha page agrees with its basis; degree, Moolatrikona, same-fact line
- 2382 no book/page "Source:" lines in the body Yoga Expression chapter
- 2383 yoga pages state participants' combustion, Shadbala, functional role
- 2384 unresolved-rule records stay backstage (packet only)
- 2385 Neecha verified state matches the row's own fallen planet
- 2386 no hedge line for uncomputed Neecha notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp3RzgZVEpT1PXxkwHj
- 2364 KP sub-lord in the Nakshatra Reference: proportional, not equal ninths (upstream calc_sub_lord)
- 2365 birth-time sensitivity KP cusps: Placidus + Krishnamurti, same source as the formal KP table
- 2366 expression paths: D2/D11/D24/D4 house counted from the varga's own ascendant
- 2367 Bhavesh table: PD-only lord labelled, not "Yes", when the PD range is not stable
- 2368 KP cusp table: very strong significator is a lead, not a promise
- 2369 yoga wording: no blanket "cancellation not checked"; detector match is not "conditions hold"
- 2370 Neecha self-reference marked per condition
- 2371 reading guide: feedback only in rectification; all applicable systems, two dashas minimum
- 2372 audit table: progress/index rows are observation only
- 2373 Saptavargaja by chart
- 2374 Manahoo interferer never one of the pair (upstream 322e2f30)
- 2375 KP monthly table seeded under the KP profile (owner-approved frozen-file edit) + profile line
- 2376 annual continuous motion: full event list per year in the appendix (owner-approved)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp3RzgZVEpT1PXxkwHj
Level-2 periods were scaled from the parent and all twelve were laid out, so a
12-year Sagittarius period held 214 years of sub-periods. Now per Valens: 360-day
release years, level 2 in months starting from the parent sign, cut at the parent
end, jump to the opposite sign once the twelve are used; Capricorn 27 years.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
- notify-feishu.sh: add a Resend email channel (key read from .env.production
via a header file, never argv/stdout); both channels when configured, one
acceptance counts; fixed Chinese labels on every alert line.
- classify_error_log.py: per-code thresholds for low-volume signals, the
[ops-signal] marker, api access-log 429/5xx counted without query strings.
- ops-check.sh: container restarts/OOM, host memory, report queue wait, new
feedback count (no content).
- OTP sender: retry network/429/5xx once with the same idempotency key; final
failure logs otp_send_failed (no address).
- install-production-monitor.sh: idempotent cron install + --test-alert.
- monitor-public-health.yml: off-host probe every 5 minutes on the runner.
- Tests: tests/test_monitor_alerts_2348.py (on the quick list), OTP sender and
ops-signal tests. Issues #350, #354.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Ports her yinduzhanxing 17a135457ec16b621f86dd57ba3926612ce1b9b8 (docs ee34700357): timing_evidence_packets.py
(new), kp_monthly_report_packet / theme_support / vimshottari / transits, kp_system, with her tests. The report path
(frozen engine, no timing systems supplied) keeps its earlier packet byte for byte; her profile and window run when
the caller supplies the periods it already computed (engine tool kp_timing_packet, cached per chart and window).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
The sidereal mode is process-global and the API server is threaded; switching to
the KP ayanamsa without the shared lock let a concurrent request compute its
chart in the KP mode during the cold computation. The cache key now also covers
the sampling hour and the body set (astrologer handoff 2026-11-24, section 5E).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
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