Commit Graph
1421 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 60fc81b1bf fix(yoga): the historical rule generator never overwrites the live rule library (BUG-2297)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m45s
Independent Staging Quality Gate / validate-python (push) Successful in 7m22s
Independent Staging Quality Gate / publish (push) Successful in 2m46s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 09:25:00 +08:00
ClaudeandClaude Opus 5.5 713deb83f7 fix(report): the expression-path hook lives in the report API, not in the frozen jyotish_engine.py; public test reports attach it the same way (BUG-2296)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m37s
Independent Staging Quality Gate / validate-python (push) Successful in 7m15s
Independent Staging Quality Gate / publish (push) Successful in 2m42s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 07:51:43 +08:00
ClaudeandClaude Opus 5.5 4f4709bc23 test: one more upstream root script, the privacy scanner reads her negative assertion as a path (BUG-2296)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 1m43s
Independent Staging Quality Gate / validate-python (push) Canceled after 1m52s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 07:24:32 +08:00
ClaudeandClaude Opus 5.5 abc5d0091a feat(report): the astrologer's Yoga expression paths — alternative and partial formation, Yogada, same-topic support without a named yoga, annual help and obstruction, period links — copied verbatim and wired into both editions and the writer's facts (BUG-2296)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 07:06:07 +08:00
ClaudeandClaude Opus 5.5 eb706f5d0e feat(report): data we already compute reaches the report and the writer — whole dispositor chains, Argala by planet with method, every planet of annual named yogas, each yoga's supporting and limiting factors, functional-role states, English audit notes that stand alone; yoga participants recorded where computed (BUG-2289–2295)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-24 06:55:14 +08:00
ClaudeandClaude Opus 5.5 331d1c3f92 fix: a detected Neecha Bhanga reads 「落陷;有缓解」 everywhere — no 「缓解条件待核」「有没有缓解还没核实」 hedges (BUG-2280)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m41s
Independent Staging Quality Gate / validate-python (push) Successful in 7m30s
Independent Staging Quality Gate / publish (push) Successful in 3m36s
Owner 2026-11-23 (astrologer's suggestion): when mitigation conditions are detected, readers see one plain
wording, verified or not; the verification state stays in backend data.
- chart page labels, yoga cards and mitigation lines; varga table follows
- reports: short cells, table notes, marker footnotes, reading-facts labels, Neecha Bhanga page layers,
  yoga-table status for Neecha Bhanga rows (有缓解 / Mitigated; other rows unchanged, keys unchanged)
- annual replacement table; chat card labels, evidence pack, owner wording table, internal words,
  C9 rewrite, voice rule; removed the BUG-2169 neecha_mitigation fact-guard check
- contract note after G-26; guard test neecha-plain-2280; updated pinned tests (原值/新值/原因)
Frozen files untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-24 00:44:43 +08:00
ClaudeandClaude Opus 5.5 73a44dba38 fix(prod): chart-choice waits 180 s for an adaptive scan; the private API's default limit is 3000/min, not one 120/min bucket for the whole site (BUG-2274)
Independent Staging Quality Gate / validate-frontend (push) Canceled after 0s
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 22s
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
2026-11-24 00:26:21 +08:00
ClaudeandClaude Opus 5.5 01b6c4fa5b fix(rect): self-choice cards ask a life question and show a plain portrait per side; positions fold under 依据 (BUG-2272)
Independent Staging Quality Gate / validate-frontend (push) Successful in 6m3s
Independent Staging Quality Gate / validate-python (push) Successful in 8m23s
Independent Staging Quality Gate / publish (push) Canceled after 3m42s
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
2026-11-23 23:01:44 +08:00
ClaudeandClaude Opus 5.5 e11379bf53 test: the chart cache key is schema version 9 since f58cd93ee (#185, BUG-1828)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m31s
Independent Staging Quality Gate / validate-python (push) Successful in 7m15s
Independent Staging Quality Gate / publish (push) Successful in 3m14s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-23 17:49:08 +08:00
ClaudeandClaude Opus 5.5 cba70a84b6 fix(report): the 细运 is used only when the tables use it, yoga overlap from the combination's planets, 落陷 in three layers everywhere, varga refs only when the text names the chart, synthesis and certainty rules, no BPHS / 本仓 / #166 in the data chapter (BUG-2260–2266)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 17:40:59 +08:00
ClaudeandClaude Opus 5.5 3cab2e649b fix(chart): 格局 shows only rows the engine judged formed; one neecha wording everywhere; no book names, links or backend keys in chart tooltips; tidy yoga condition text (BUG-2268)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m31s
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-python (push) Canceled after 6m32s
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
2026-11-23 17:23:38 +08:00
ClaudeandClaude Opus 5.5 f3efa8ce27 fix(report): the reading calls the subject 「你」 on someone else's profile too (BUG-2255)
Independent Staging Quality Gate / validate-python (push) Successful in 6m20s
Independent Staging Quality Gate / validate-frontend (push) Successful in 12m24s
Independent Staging Quality Gate / publish (push) Successful in 3m8s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 15:01:39 +08:00
ClaudeandClaude Opus 5.5 d2104da7bd feat(report): a tenth section 「家人、学业与居住」 — parents, children, learning and home from the astrologer's minimum checks; nine-section readings still read (BUG-2246)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 12:44:13 +08:00
ClaudeandClaude Opus 5.5 3a85fa0c65 fix(report): no chart-wide Vimsopaka average, method-sensitive Shadbala minimums said for this method only, the birth range keeps its seconds, and no 「位置舒服」 in the report (BUG-2242–2245)
Independent Staging Quality Gate / validate-python (push) Successful in 10m19s
Independent Staging Quality Gate / validate-frontend (push) Successful in 15m17s
Independent Staging Quality Gate / publish (push) Successful in 4m47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 12:17:36 +08:00
ClaudeandClaude Opus 5.5 387ca35b1e fix(chat): migration drops D12 and education D5 from every routing layer; the gap-fill call only adds missing must-mention layers on first turns, never neutral lines (BUG-2234, BUG-2235)
Independent Staging Quality Gate / validate-python (push) Successful in 9m46s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m43s
Independent Staging Quality Gate / publish (push) Successful in 3m20s
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
2026-11-23 06:14:11 +08:00
ClaudeandClaude Opus 5.5 b2e257aaf6 fix(report): each yoga page says separately whether the configuration is met, what limits it and how it links to the current period (BUG-2233)
Independent Staging Quality Gate / validate-python (push) Successful in 9m7s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m8s
Independent Staging Quality Gate / publish (push) Successful in 2m51s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 05:36:40 +08:00
ClaudeandClaude Opus 5.5 80d6d63b10 test: the English edition no longer keeps a Chinese-only place label (BUG-2204 follow-up)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 8m48s
Independent Staging Quality Gate / validate-python (push) Canceled after 8m49s
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
2026-11-23 05:17:46 +08:00
ClaudeandClaude Opus 5.5 814d789e4a feat(engine): transit window follows the question, Bhava Chalit / Tri-Pataka / Sudarshana layers, career semantic inputs, fast-transit lookup (BUG-2229)
Four additive changes the owner approved on 2026-11-22. A request without the new
fields keeps every existing layer unchanged; reports, annual and synastry do not
send them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-23 04:17:01 +08:00
ClaudeandClaude Opus 5.5 7a919f938a fix(report): Saturn's retrograde return is found by ephemeris scan for any sign, and the yoga condition cell drops book citations (BUG-2232)
Independent Staging Quality Gate / validate-python (push) Successful in 8m43s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m15s
Independent Staging Quality Gate / publish (push) Successful in 2m56s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-23 04:00:27 +08:00
ClaudeandClaude Opus 5.5 21c85863f9 feat(chart): the 格局 tab shows formed yogas, supporting structures and unfavourable structures with relation diagrams, one fact counted once, minor classes folded (BUG-2226)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 23:02:53 +08:00
ClaudeandClaude Opus 5.5 43be77bb98 fix(chat): drop dangling KP fragment; transit wording by occupation vs aspect (BUG-2227, BUG-2228)
Independent Staging Quality Gate / validate-python (push) Successful in 8m39s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m9s
Independent Staging Quality Gate / publish (push) Successful in 4m2s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 22:27:58 +08:00
ClaudeandClaude Opus 5.5 ab018c4ea3 fix(yoga): missing input is never formed, Moolatrikona uses degree intervals, Parijatha/Gaja/Saraswathi follow the astrologer's upstream definitions (BUG-2222)
Independent Staging Quality Gate / validate-python (push) Successful in 8m51s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m20s
Independent Staging Quality Gate / publish (push) Successful in 3m20s
Port from yinduzhanxing b6754475 (astrologer's 2026-11-22 port order):
- MissingYogaInput: failure rows carry incomplete_conditions + missing_inputs;
  incomplete matches move effects to traditional_effects(+_en); AND merges
  condition_status/missing_inputs/condition_checks; NOT never turns an
  incomplete candidate into truth.
- MOOLATRIKONA_DEGREES + degree-interval is_moolatrikona; moolatrikona_degree
  contract check; Saraswathi PVR p143 contract.
- New evaluators: Raman Parijatha (47), Gaja (48, with parashari_aspect),
  Saraswathi PVR, all_planets_in_sign_type (Rajju/Musala/Nala, seven planets).
- meaning_source_reference copied onto result rows. Not-implemented 71 -> 65.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:42:41 +08:00
ClaudeandClaude Opus 5.5 c7642224c0 test: the remedy notes and the pending-source note follow BUG-2219/2221 (English twin, no practices section without a detected dosha)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:42:31 +08:00
ClaudeandClaude Opus 5.5 d7bd90d794 fix(report): three solar-return years reach the reading, Narayana is checked against the main line and named only when it changes a judgment, and a shared window needs each domain's own link (BUG-2223, BUG-2224, BUG-2225)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:34:22 +08:00
ClaudeandClaude Opus 5.5 2c729696ab fix(report): the yoga topic map is frozen against wording, the six marriage yogas follow her per-rule reply, and no gem is offered because of the dasha lord (BUG-2218, BUG-2219, BUG-2221)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 21:15:52 +08:00
ClaudeandClaude Opus 5.5 1c6d8c3411 fix: round-32 leftovers — English place labels, skip button layout, code create response, 「来源」 wording (BUG-2204, 2215, 2216, 2217)
Independent Staging Quality Gate / validate-python (push) Successful in 8m55s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m18s
Independent Staging Quality Gate / publish (push) Successful in 3m47s
- 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
2026-11-22 21:02:59 +08:00
ClaudeandClaude Opus 5.5 f32bfb11d8 fix(report): the astrologer's 2026-11-22 report review — Saturn's return is named, no 「满足自定义条件」, no body guarantees, wealth and partner rules, 「位置舒服」 is one condition, feedback isolation in the reading rules, plain birth-time rows, per-planet Mahapurusha meanings and her rewritten yoga meanings, marriage yogas as conditions (BUG-2205–2214)
Independent Staging Quality Gate / validate-python (push) Successful in 9m16s
Independent Staging Quality Gate / validate-frontend (push) Failing after 12m7s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2U3BH1SxwAGyhhbe1
2026-11-22 20:39:21 +08:00
ClaudeandClaude Opus 5.5 734f70e86e test: the layer comparison uses its own empty caches with VedAstro network off
Independent Staging Quality Gate / validate-python (push) Successful in 9m15s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m36s
Independent Staging Quality Gate / publish (push) Successful in 4m30s
Gate 8381: the CI host keeps older VedAstro cache entries, so one run of
the comparison read a cached ok state and another did not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 19:39:47 +08:00
ClaudeandClaude Opus 5.5 a4c11d43eb test: the layer comparison runs without the VedAstro cross-check attached
Independent Staging Quality Gate / validate-python (push) Failing after 8m39s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m47s
Independent Staging Quality Gate / publish (push) Skipped
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
2026-11-22 19:22:22 +08:00
ClaudeandClaude Opus 5.5 f1a3cf1856 test: the layer comparison also normalises official/VedAstro status strings
Independent Staging Quality Gate / validate-python (push) Failing after 8m45s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m35s
Independent Staging Quality Gate / publish (push) Skipped
Gate 8379: a status value flipped between official_verified and
official_blocked across the two CI runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-22 19:05:12 +08:00
ClaudeandClaude Opus 5.5 5fb7d8fa2b fix: acceptance round — plan clarify reply saves, recorded certificate times are certain, body dates to the month, no 「来源:」 labels, children yogas conditional, user length requests win (BUG-2179–2182)
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
2026-11-22 18:47:56 +08:00
ClaudeandClaude Opus 5.5 f4b7db7bf0 test: the layer comparison drops every VedAstro/official trace (provider status, audit rows, missing-layer list)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 1m52s
Independent Staging Quality Gate / validate-python (push) Canceled after 1m55s
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
2026-11-22 18:47:35 +08:00
ClaudeandClaude Opus 5.5 5a1b08ad1e test: gate 8376 follow-ups — column-level admin grant check; the layer test ignores VedAstro-dependent fields
Independent Staging Quality Gate / validate-python (push) Failing after 8m33s
Independent Staging Quality Gate / validate-frontend (push) Successful in 12m49s
Independent Staging Quality Gate / publish (push) Skipped
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
2026-11-22 18:31:46 +08:00
ClaudeandClaude Opus 5.5 7ffd9fd8c6 feat(release-notes): admin writes 「更新说明」; each published version shows once per user; settings lists them (#331)
- 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
2026-11-22 17:12:54 +08:00
ClaudeandClaude Opus 5.5 044b6bd82b fix(vedastro): every path sends the key, bodies follow the official SDK, and a Pass for the API's sample chart is a failure (BUG-2172, #327)
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
2026-11-22 17:12:54 +08:00
ClaudeandClaude Opus 5.5 3d83276947 feat(yoga): custom-condition branches are recorded during the original evaluation, bound to rule, expression and input (BUG-2170)
Independent Staging Quality Gate / validate-python (push) Successful in 10m4s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m58s
Independent Staging Quality Gate / publish (push) Successful in 3m25s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 16:24:17 +08:00
ClaudeandClaude Opus 5.5 f2e5d66440 fix(report,chat): a detector-only Neecha Bhanga reads as 「缓解条件待核」 on the chat card, in the evidence pack and the rewrite table; the fact guard catches 「有缓解」 for it (BUG-2169)
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
2026-11-22 15:15:27 +08:00
ClaudeandClaude Opus 5.5 6e9ba89416 fix(report): the debilitation cell follows the yoga table's verification status; period tables mark it once per page (BUG-2165)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 14:32:09 +08:00
ClaudeandClaude Opus 5.5 bbdb274931 fix(report,chat): reading facts and the chat card follow the astrologer's D/E/G states; chat basis reads the shared topic chart table (BUG-2163)
Independent Staging Quality Gate / validate-python (push) Successful in 10m15s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m5s
Independent Staging Quality Gate / publish (push) Successful in 3m26s
- 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
2026-11-22 12:46:35 +08:00
ClaudeandClaude Opus 5.5 65a92e93e7 fix(report): branch records named as recomputation, skipped branches never read as unmet; PVR row is a basic condition check; third starter in the astrologer's words (BUG-2158, BUG-2159, BUG-2160)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 12:03:46 +08:00
ClaudeandClaude Opus 5.5 c1957e3164 fix(report): one canonical Mars marriage screen; short debilitation cells by verified state; natal Saham steps shown; PD by declared range, full dispositor chains, topic varga routes (BUG-2154, BUG-2155, BUG-2156, BUG-2157)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 12:03:46 +08:00
ClaudeandClaude Opus 5.5 0dc7cb4bb2 test(report): the English-dictionary check pairs strings inside rule code and skips maintenance notes (BUG-2162)
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
2026-11-22 11:20:39 +08:00
ClaudeandClaude Opus 5.5 cc843a24a4 fix(basis): 判断依据 gets the card's Narayana, karaka and varga lines when missing; backstage wording leaves chat and report basis (BUG-2151)
Independent Staging Quality Gate / validate-python (push) Successful in 9m56s
Independent Staging Quality Gate / validate-frontend (push) Successful in 14m4s
Independent Staging Quality Gate / publish (push) Successful in 3m31s
- 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
2026-11-22 10:12:04 +08:00
ClaudeandClaude Opus 5.5 0ea94fe591 feat(onboarding): three screens with a progress bar instead of five typed chat steps; skippable sky; starters centred above the composer (BUG-2144)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 07:49:33 +08:00
ClaudeandClaude Opus 5.5 2fac777cbf feat(login): direction A single-column login with a typed headline; usable before scripts arrive; a third less to download (BUG-2139)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 02:33:02 +08:00
ClaudeandClaude Opus 5.5 226a1bf334 fix(report): the place label reads like the site, without the stored 「·」 separators (BUG-2135)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-22 00:36:11 +08:00
ClaudeandClaude Opus 5.5 161e03ad97 feat(birth): optional precise latitude/longitude under the birth place, with its source shown on the chart page and in the report (BUG-2125)
Independent Staging Quality Gate / validate-python (push) Successful in 10m11s
Independent Staging Quality Gate / validate-frontend (push) Failing after 11m32s
Independent Staging Quality Gate / publish (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
2026-11-21 23:03:14 +08:00
ClaudeandClaude Opus 5.5 c49837b0cc fix(rect): self-choice cards show structure only; no placement read out as a life conclusion, no pick-by-resemblance copy (BUG-2132)
Independent Staging Quality Gate / validate-python (push) Successful in 10m3s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m22s
Independent Staging Quality Gate / publish (push) Successful in 3m16s
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
2026-11-21 19:50:04 +08:00
ClaudeandClaude Opus 5.5 0658bfd02d fix(yoga): quarantine the house-based Aasraya rules and the unsourced 70% threshold; progeny effects no longer promise a time or an outcome (BUG-2128)
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
2026-11-21 19:36:15 +08:00
ClaudeandClaude Opus 5.5 d70866e493 fix(report): no book titles, author citations, pages or chapter numbers in front of the reader (BUG-2129)
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
2026-11-21 19:36:15 +08:00