Commit Graph
70 Commits
Author SHA1 Message Date
ClaudeandClaude Opus 5.5 8c1564dfff feat: stable evidence ids and a snapshot id across the chat card and report facts (BUG-1976)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m41s
Independent Staging Quality Gate / validate-python (push) Successful in 7m13s
Independent Staging Quality Gate / publish (push) Successful in 3m15s
Evidence-pack step 1 (owner 2026-11-18). One ASCII form, ev:<family>:<body>, for D1 and varga
placements, AL/UL derived houses, special points, Shadbala, dasha periods, transits, double
transit and yoga rule instances; an evidence base with links taken only from what the data
states; a snapshot id binding the birth input revision, calculation date and rule versions.
The internal-word check drops ids from the basis section and logs them in the body.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 14:37:42 +08:00
ClaudeandClaude Opus 5.5 b86030ab71 feat: yoga card rows carry rule ids and states, chosen by domain instead of the first 30 (BUG-1967)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m30s
Independent Staging Quality Gate / validate-python (push) Successful in 10m21s
Independent Staging Quality Gate / publish (push) Successful in 3m53s
The astrologer's 2026-11-17 batch-2 reply (section 3, items 2, 3, 4, 6) asked that
the chat card stop treating the first 30 yoga rows as the whole list. The owner
approved editing scripts/consultation_native_layers.py for this item.

- Native layer: no row cap; each row has rule_id (engine id, or a deterministic
  derived:<category>:<name>), method_version and rule_state (formed / candidate /
  not_formed / not_executed / disabled; observation for structural rows); the
  layer adds rules_version and not_formed / not_executed / disabled / superseded
  lists. Same-named rules with different ids are no longer merged; an id-less
  chart.yogas row adopts the engine's id. Main detectors list their reference
  rules (parent/evidence, not one id). Parvata is disabled_source_mismatch;
  retired legacy spellings (Voshi, Sunapha, ...) point to their precise rules.
- Card: selectEvidenceCardYogaDetail keeps the rows the card's domains read and
  records selected_by; later-house lord rows are listed short; omitted is a
  structured count; the full layer is the new yoga_conditions lookup section.
- Personal report keeps its previous rows exactly (report-side dedupe + cap);
  its yoga field list now matches the card.
- Size budgets raised with recorded old/new values and reasons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-18 00:49:13 +08:00
ClaudeandClaude Opus 5.5 ef23f4642f feat: AL's 2nd / 11th and UL's 2nd are derived on the chat card (BUG-1965)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m34s
Independent Staging Quality Gate / validate-python (push) Successful in 10m20s
Independent Staging Quality Gate / publish (push) Successful in 3m31s
Her second-batch items 4-6: main evidence of their own view, parallel to the natal
houses. Derived product-side from the packet's AL / UL sign (D1, inclusive count;
AL in Pisces -> Aries): target sign and natal house, occupants, lord and its natal
place, aspects, rule source. A missing start stays 派生未计算. They join the wealth /
marriage key block and its relations line; the report reading material treats them
as executed. The yoga card (30-row cap, rule ids) is generated in a frozen file and
is not changed here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-17 23:40:26 +08:00
ClaudeandClaude Opus 5.5 9d7a17a1a5 fix: chat card, annual D2 and remedies follow the astrologer's second-batch rulings (BUG-1964)
Shadbala reads 达到 / 未达到最低线 (her item 9; owner agreed) and the card carries
min_required for the 判断依据 line; required_strength_ratio beside ishta_bala_pct;
remedies no longer trigger from Shadbala (unaccepted_threshold). Education uses D24,
not D5 (item 7). Vighati keeps its position only (item 1); the 64th Navamsa from the
Moon and Pranapada take part as auxiliary layers with her fields (items 2, 3). The
annual natal two-Hora D2 gives Hora membership instead of the lagna lord's house,
and its birth-time stability check compares that membership (item 8).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-17 23:40:26 +08:00
ClaudeandClaude Fable 5.2 0ee6b7c7cd fix(consult): D2 gives each planet's Hora, not a house, in the judgment table and report reading material (BUG-1955)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m37s
Independent Staging Quality Gate / validate-python (push) Successful in 9m0s
Independent Staging Quality Gate / publish (push) Successful in 3m15s
Astrologer 2026-11-17 Q8: a two-Hora D2 has no accepted twelve-house reading.
BUG-1954 changed the key block; the wealth judgment table (BUG-1907) and the
personal report reading material still carried the whole-sign D2 house.

- domain facts: domain_varga_hora / domain_varga_horas for D2, no D2 house
- judgment table: Hora on the row, no house signal for D2, D2 house dropped
  from facts saved earlier
- report reading material: D2 rows carry hora, no house; Gulika / Maandi /
  Indu Lagna read as supporting layers (three tests failed after BUG-1954)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-17 13:16:08 +08:00
jesse-ux f914571ed6 Clarify default birth time trials in reports (#280)
Independent Staging Quality Gate / validate-python (pull_request) Successful in 10m19s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 18m3s
Independent Staging Quality Gate / publish (pull_request) Skipped
Independent Staging Quality Gate / validate-python (push) Successful in 16m57s
Independent Staging Quality Gate / validate-frontend (push) Failing after 28m43s
Independent Staging Quality Gate / publish (push) Skipped
2026-11-15 13:29:05 +08:00
jesse-ux df3212e0b9 Use context-specific separators in user-facing copy
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 10m16s
Independent Staging Quality Gate / validate-python (pull_request) Successful in 26m8s
Independent Staging Quality Gate / publish (pull_request) Skipped
Refs #234, BUG-1870
2026-11-13 12:06:02 +08:00
jesse-ux cfa8e0ff58 Exclude report birth-window endpoints from varga crossings (#237) 2026-11-13 10:27:50 +08:00
ClaudeandClaude Opus 5.5 3e6077f752 Merge #228 report uses profile gender (BUG-1866)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m18s
Independent Staging Quality Gate / validate-python (push) Successful in 6m40s
Independent Staging Quality Gate / publish (push) Successful in 2m57s
Resolved overlap with #227 in personal-report-longform-birth.ts: keep the
chart-choice window and add the profile gender.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozsiu43ob7B8UZCmDM
2026-11-13 08:58:36 +08:00
jesse-ux 48eb741352 Use saved profile gender in personal reports (#228)
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m33s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m8s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-13 06:03:31 +08:00
jesse-ux 7296e873d4 Merge staging report claim binding into #227
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m35s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m8s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-13 05:01:45 +08:00
jesse-ux 63c3ddd524 Use verified chart-choice windows in personal reports (#227)
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m39s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m15s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-13 04:29:49 +08:00
jesse-ux 9dae6339e7 Infer report references from allowed evidence aliases (#219)
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m36s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m16s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-13 03:36:46 +08:00
jesse-ux 42fb5a6a97 Bind personal report claims to paragraph evidence (#219)
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m35s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m11s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-13 02:39:45 +08:00
jesse-ux 611e3a9890 fix(report): grade varga boundaries within the birth-time window (#224) 2026-11-13 00:51:14 +08:00
jesse-ux 84cea04b56 Merge current staging for #217 verification 2026-11-12 22:57:03 +08:00
jesse-ux ac4bf94db5 fix(report): isolate runtime sources and show recorded verification (#217) 2026-11-12 22:56:19 +08:00
jesse-ux 2fc768fd7c fix(report): split participation status and Badhaka placement (#216)
Independent Staging Quality Gate / validate-python (pull_request) Successful in 7m17s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m14s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-12 22:31:21 +08:00
jesse-ux 24152df0b4 Merge remote-tracking branch 'origin/staging' into codex/purpose-stability-20261112
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-12 21:29:07 +08:00
jesse-ux 292f248125 fix(report): separate purpose stability from minute boundaries (#215) 2026-11-12 21:28:55 +08:00
jesse-ux 20ac83a5fe merge: refresh #204 against current staging 2026-11-12 19:05:06 +08:00
ClaudeandClaude Opus 5.5 1ba0364a7a fix(report): move Badhaka out of her engine into an announced product module (#192, BUG-1853)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m7s
Independent Staging Quality Gate / validate-python (push) Successful in 6m55s
Independent Staging Quality Gate / publish (push) Successful in 2m45s
23e5e6c0 put badhaka_facts into yoga_engine.py and a hook into
jyotish_engine.py. Owner rule 2026-11-07: her skill runs as-is; product
differences live in separate, announced product files. Both engine files are
back to 6f1b9ac3. scripts/report_render/badhaka_facts.py computes the record
from D1 positions (only calls yoga_engine.badhaka_house), marked
product_computation_pending_astrologer_review, and is announced in
product_runtime_contract.md section G. Results are unchanged on both public charts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozsiu43ob7B8UZCmDM
2026-11-12 18:50:31 +08:00
ClaudeandClaude Opus 5.5 4c7abd7187 fix(report): computed points are not "unsourced"; compute Badhaka (#192, BUG-1852, BUG-1853)
- Indu, Vighati, Gulika, Mandi, Pranapada, 64th navamsa, D5: citations name the
  route that leaves them out instead of "references 未找到"; state renamed
  not_in_domain_route; prompt says computed layers are "已算出,不据此下结论".
- Post-check false_missing_layer withholds a section that calls a computed point
  unsourced or uncomputed (astrologer 8aaf6099 §6 P1).
- yoga_engine.badhaka_facts: Badhaka house/sign/lord/placement/occupants per
  badhaka-obstacle-planet-guide.md §二, on modules and advanced_systems; the
  report facts carry it so health_obstruction is no longer capped at D.
- Dignity check: a word right before the next planet belongs to that planet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXozsiu43ob7B8UZCmDM
2026-11-12 18:33:31 +08:00
jesse-ux a5fa320c44 merge: refresh #204 against staging 2026-11-12 18:22:17 +08:00
jesse-ux 203d7bae21 fix(report): clarify Mudda, strength and audit wording (#204) 2026-11-12 18:22:16 +08:00
ClaudeandClaude Opus 5.5 44f181770d wip(report): per-claim evidence grades, skill-loaded reading prompt, per-section post-check (#192)
UI part pending owner review of the prototype.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-12 16:51:57 +08:00
jesse-ux c86a7e84ab fix(report): scope v3 reading facts to computed evidence
Independent Staging Quality Gate / validate-frontend (pull_request) Failing after 3m12s
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m40s
Independent Staging Quality Gate / publish (pull_request) Skipped
Verify both public report packets and privacy checks. Record the legacy date assertion and front-end schema fixture that require scope approval.
2026-11-12 13:44:52 +08:00
jesse-ux d78c6e6784 fix(report): strip internal issue refs from reading facts (#198)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m9s
Independent Staging Quality Gate / validate-python (push) Successful in 6m31s
Independent Staging Quality Gate / publish (push) Successful in 2m37s
2026-11-12 11:02:08 +08:00
jesse-ux 380bb8830d fix(report): show Narayana branches and per-planet Shadbala
Independent Staging Quality Gate / validate-frontend (pull_request) Failing after 3m59s
Independent Staging Quality Gate / validate-python (pull_request) Successful in 7m18s
Independent Staging Quality Gate / publish (pull_request) Skipped
Independent Staging Quality Gate / validate-python (push) Successful in 7m34s
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m2s
Independent Staging Quality Gate / publish (push) Successful in 2m38s
2026-11-12 09:47:04 +08:00
jesse-ux 19475120f9 fix(report): preserve wording and evidence across the new tables
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m37s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m1s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-12 02:06:31 +08:00
jesse-ux 651d0eeed8 fix(report): keep candidate and audit statuses in both editions 2026-11-12 01:49:43 +08:00
jesse-ux 8d9e77ca2f fix(report): preserve status and field meaning in both cleanup passes
Independent Staging Quality Gate / validate-python (pull_request) Successful in 6m46s
Independent Staging Quality Gate / validate-frontend (pull_request) Successful in 7m23s
Independent Staging Quality Gate / publish (pull_request) Skipped
2026-11-11 18:56:47 +08:00
jesse-ux e491b7b054 fix(report): filter audit wording and show verification limits 2026-11-11 16:50:14 +08:00
jesse-uxandGrok (agent loop) 2e9ca2d73a fix(reports): drop web-verification wording from user-visible report text (BUG-1810)
产品负责人 2026-11-08:用户看到的报告文字不出现「联网 / 外部资料 / 外部核验 /
MEVG / 真实案例 / Real Case / Global Web」,后台记录保留。

- 个人报告写作提示词:依据与边界改为「没有用户经历可对照」,置信度封顶 B 不变
- 年报:技法执行情况跳过 MEVG / Real Case 两行;没有纳入的删掉对应条目
- 合盘:技法执行情况删掉「外部资料与真实案例核对:未进行」整行
- 产品导出审计章节:这两行不再渲染,证据边界同类一句删除,packet 原样保留
- 质量门:只要求 Functional Benefic/Malefic 渲染;新增后台检查,要求 packet
  仍带这两行且它们没有出现在 markdown 里

Tests: 新增 frontend/tests/report-no-web-wording-20261109.test.ts(4)与
tests/test_report_no_web_wording_20261109.py(3);更新年报、合盘、审计章节、
质量门既有断言(原值/新值/原因已注明)。

Co-Authored-By: Grok (agent loop)
2026-11-09 08:20:50 +08:00
ClaudeandClaude Opus 5.5 62d3da37fe feat(yoga): sync astrologer Yoga rule batch (733a931b / 30dee7b0 / 1307bf69)
产品 2026-11-07 同步占星师 Yoga 规则批次:
- lord(a) != lord(b) guard on ten two-lord rules (raja 1_4, 1_10, 4_9, 5_9,
  7_9, 2_10, 2_7; dhana 5_11, 2_5; kalatra 7_1); Jobs raja_yoga_1_10 and
  Presley dhana_yoga_2_5 no longer form, matching her output.
- 23 rules become structural_observation "(Observation)" rows; old effects
  move to traditional_effects; engine rows carry claim_kind, legacy_name,
  condition_evidence, strength 'observation', strength_basis.
- formation contracts + assess_yoga_formation, formation_checks /
  formation_assessment / strength_factors on every JSON-rule row;
  participants_expr support; natal yoga context chart_type D1.
- consultation: compact rows, sieve hits and yoga_conditions carry
  claim_kind / formation / formation_checks; observation status is
  structural_observation; card yogas_detail copies them plus formation_rule.
- reports: personal report never lists an observation as a formed
  combination; annual facts rank observations last and the evidence lists
  them under 结构观察, not 格局; PL9 tables print 结构观察 for strength /
  category and group observations as mixed.
- governed rules (BUG-1207, 1205, 1187/1206, 1596/1624, 1597/1625, 1571)
  untouched; Parvata stays disabled; 69 not_implemented unchanged.
- card golden recaptured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 21:58:06 +08:00
ClaudeandClaude Opus 5.5 cd07b3e018 fix: sync astrologer handoff 99076dad (Ashtottari cycle gap, Bhava MC frame, Narayana coverage, compatible fields)
Ported from handoff/product-parity-20261107 (28823446, 99076dad):
- Ashtottari: cycle index counts from the balance-shifted first MD (no
  gap before the 108th birthday); dasha_balance_at_birth / dasha_at_birth /
  timeline_basis now emitted (the report already read them).
- Bhava Chalit MC in the natal frame (_bhava_midheaven_in_natal_frame).
- Narayana current lookup: no modulo replay outside the two generated
  cycles; status selected / outside_generated_timeline.
- Bhava Bala: no unvalidated absolute level; _meta.score_unit = Virupas.
- Field names lined up with hers: required_strength_pct (+ semantics
  marker, via shadbala_display sidecar; shadbala.py stays frozen),
  Harsha missing_inputs / score_range, cmd_yoga evaluation_error_count.
Already equivalent: yoga failures (BUG-1571), Drik determinism (BUG-1576),
standalone transit ephemeris path, Chara dignity location (BUG-1566), Harsha
max 20 / unknown day-night. Tests: tests/test_handoff_99076dad_sync.py.
Golden recaptured (Narayana status field only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 21:17:30 +08:00
ClaudeandClaude Opus 5.5 b0e93904c5 fix(tajika): unknown day/night leaves Harsha incomplete instead of scoring 0
Astrologer third-round review 2026-11-07, item 2. With is_daytime unknown
the fourth Harsha component is None (status unknown), the total is
withheld and only the known three-component sum (out of 15) is given.
The annual pack, report facts, interpretation rows and the parity
strength table carry the incomplete state instead of a full score.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 20:04:47 +08:00
ClaudeandClaude Opus 5.5 676b7d47cd fix: parity3 product-side defects and upstream lag (Vimsopaka, Narayana ages, asc precision, labels, Sade Sati)
Three-way parity audit 2026-11-07 (U ea2a9d65 / F frozen / P f70ae94e):
- Vimsopaka: look vargas up by "D{n}_" prefix (D60 key was misspelt, every
  D60 fell to Neutral) and score only the sign-owner relation (upstream
  ab5b8709, BPHS 7.21-27). All 16 varga scores now equal U on 3 charts.
- Narayana: age = total_seconds / (86400 x 365.25) keeping the birth time
  (upstream ab5b8709); Rath rows carry start_date / end_date from the
  unrounded ages; consult layer, report facts, API and calendar read them.
- Ascendant degree_raw / lon unrounded (engine and chart API).
- position_mode label: legacy is the apparent frame since BUG-1275; the
  profile and module labels now say "apparent" (legacy still accepted).
- Functional profile label v2 -> v3_166q4 (the table actually used).
- full-reading Sade Sati uses the dated transit Saturn (upstream e628118d):
  Jobs 2026-11-07 peak, owner / Obama not active, as U.
Consult evidence card golden recaptured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 19:01:10 +08:00
ClaudeandClaude Opus 5.5 df7ad8ee89 feat(report): export gains upstream's KP house view, Cuspal Promise, KP house checks, KP monthly support, key months, annual points, varga dignity matrix, Bhava aspects and the rectification contract chapter
- KP monthly support read the birth-balance lord every month (no current_dasha in the issue #137 timeline); now the running lords, matching upstream
- ported prediction_verdict_matrix.py and references/rectification_evidence_contract_v1.json (the contract was always blocked as file missing)
- English audit statuses run / not_run written as Ran / Not run (run is also a packet key)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 17:05:27 +08:00
Claude f3e794973a merge codex/up-report-1107 into upstream-full integration 2026-11-07 15:03:53 +08:00
ClaudeandClaude Opus 5.5 67335ce827 feat(report): run the astrologer's skill in the report reading and keep the audit in the export
产品 2026-11-07 占星师方案 (item 4/5/6/8/10): the report reading and the export follow her skill.

- reading_facts v2 contract: birth parameters (no name/coordinates), 12 houses with KP cusps,
  functional roles and natural-vs-functional conflicts, per-domain vargas (wealth D2+D11+D10,
  A2/A11/A10; career D10+A10, AK/AmK; marriage D9+UL, A7/DK), special points, Jaimini, yogas as
  candidates with conditions, Vimshottari to PD + Narayana with dates (birth date + age) and the
  legacy variant, every dasha family's current period/status, transits from four reference points,
  Sade Sati, double transit, strengths, KP, annual, technique audit, evidence paths, method
  differences, blocked / parameter_sensitive / withheld states
- consult card facts: multi-varga domains, A2/A11/A10/AK/A7 participation, D1 varga resolves,
  yoga path fixed, Narayana ages; KP is conditional (参数敏感) instead of 不参与
- report writer: professional prompt (evidence first, A/B/C, dual-track timing, status labels),
  ninth section 依据与边界 (stored reading v2; v1 still reads), Latin allowed, longer limits
- export: technique audit chapter (Functional Benefic/Malefic, MEVG / Global Web Evidence,
  Real Case Calibration rows), parameter/method differences, dasha system status, evidence
  boundaries and the D1–D60 ledger (20 formal + 40 research D-N); upstream
  varga_evidence_matrix / generic_varga_research_audit + registries ported so the ledger is no
  longer blocked
- ordinary projection no longer deletes technique audit / MEVG / 参数敏感; parameter_sensitive
  is relabelled 参数敏感
- quality gate: upstream technique_audit_table check restored, plus required-row check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 14:57:58 +08:00
ClaudeandClaude Opus 5.5 9cfc823e2e fix(dasha): astrologer second ruling — Drig uses Narayana years, Ashtottari decided by the Rahu gate, Sthira variants kept apart (BUG-1676, BUG-1677, BUG-1678)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m9s
Independent Staging Quality Gate / validate-python (push) Successful in 5m49s
Independent Staging Quality Gate / publish (push) Successful in 2m50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-07 14:05:06 +08:00
ClaudeandClaude Opus 5.5 16457906f9 fix(dasha): astrologer rulings — strict Ashtottari gate, Sthira full Brahma, Drig years pending (BUG-1676, BUG-1677, BUG-1678)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m18s
Independent Staging Quality Gate / validate-python (push) Successful in 5m52s
Independent Staging Quality Gate / publish (push) Successful in 2m49s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-07 13:10:31 +08:00
ClaudeandClaude Opus 5.5 c081fbe00d fix(report): R/C column and Vimshottari balance start (BUG-1674, BUG-1675)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m14s
Independent Staging Quality Gate / validate-python (push) Successful in 5m48s
Independent Staging Quality Gate / publish (push) Successful in 2m45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-07 12:00:13 +08:00
ClaudeandClaude Opus 5.5 2028d7fdf7 feat(report): 「大运传统参考」 from the astrologer's bilingual nine-lord text (yinduzhanxing 058c4f5f)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m8s
Independent Staging Quality Gate / validate-python (push) Successful in 5m55s
Independent Staging Quality Gate / publish (push) Successful in 3m9s
- Sync references/mahadasha_editorial_bilingual.json (9 lords x 3 paragraphs,
  zh + en, per-paragraph source locators) and mahadasha_editorial_policy.md,
  plus the one-line pointers in SKILL.md and vimshottari_dasha_guide.md.
- New chapter after 大运解释 in both editions: the three paragraphs side by
  side (general / traditionally supportive / traditionally strained), never
  picked by lord or chart, Mahadasha layer only; source labelled as secondary
  study notes with the original edition pending verification; English only
  in the English edition.
- Coverage contract: the topic moves from NOT_CARRIED to the checked list.

No change to the frozen exporter, dates or any scoring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 21:48:09 +08:00
ClaudeandClaude Opus 5.5 fd3737359f test(report): coverage contract against the upstream export; Shattrimshatsama reference table; keep an empty Tajika presence section
Product: turn the upstream coverage audit into our own automated check.

- scripts/report_render/upstream_coverage.py maps 140 upstream topics to our
  zh/en sections and checks presence, real content, key columns (transit
  sign, yoga participants, Shadbala components, Kala Chakra signs) and
  degraded markers. NOT_CARRIED records the 4 topics we do not ship and why.
  It also runs as a CLI on any exported report.
- tests/test_report_upstream_coverage_contract.py runs it on two fictional
  charts in both editions, checks the contract itself, and proves it flags a
  bad report. The 2026-11-05 export gives 15 findings; today's gives 0.
- Fixes the contract found: Shattrimshatsama gets the opt-in reference table
  like the other conditional dashas; a year without a Tajika yoga keeps its
  section with one sentence instead of dropping it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 21:48:09 +08:00
ClaudeandClaude Opus 5.5 163b139f5a feat(report): annual chart numeric data with return time, ascendant, Muntha, year lord and houses (upstream parity)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m11s
Independent Staging Quality Gate / validate-python (push) Successful in 5m52s
Independent Staging Quality Gate / publish (push) Successful in 3m1s
Each annual chart now opens with its local return time, annual ascendant,
Muntha and year lord; every body gets its whole-sign house from the annual
ascendant, longitude and degree in sign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 18:28:12 +08:00
ClaudeandClaude Opus 5.5 6f10cce7ae fix(report): Avastha state names follow the calculator; nakshatra dasha context as in the upstream export (BUG-1661)
- BUG-1661: Avastha states were translated by the general glossary, which had
  Young as 青年期 and Youth as 壮年期 (the calculator says 少年期 / 青年期) and
  left Old, Dina, Sabha and others in English ("Deep 睡眠"). One table taken
  from the calculator's enum comments now names them in the report body, the
  appendix and the frontend fact table. The Python export also uses a comma
  for simultaneous Deeptadi states in English (BUG-1391 fixed only the
  frontend).
- Nakshatra dasha context: natal Moon nakshatra, the current MD and AD lords'
  nakshatras and Taras, and the nakshatra of each AD lord in the MD. Both
  Ashtottari applicability rules are listed; when they disagree the report
  says no ruling has been made.

Frontend: report-fact-tables.test.ts assertions updated with 原值/新值/原因.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 18:25:02 +08:00
ClaudeandClaude Opus 5.5 2d03842765 feat(report): Prastara, Avastha and Goel Jaimini detail in the appendix (upstream parity)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m16s
Independent Staging Quality Gate / validate-python (push) Successful in 5m44s
Independent Staging Quality Gate / publish (push) Successful in 2m49s
- Prastara: per-planet table of the eight contributors' bindus by sign; the
  columns add up to the BAV.
- Avastha inputs: each planet's state in the five systems with its basis and
  method (BPHS rule / simplified rule); Chinese state names come from the
  module's own meaning text, no new glossary.
- Goel Jaimini: planet parts (Mooltrikona, Karaka, Kendriya, Kartari,
  Adhipati, malefic contacts) and sign parts (permanent, Karaka, Sthana,
  aspect, lord strength).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 17:55:14 +08:00
ClaudeandClaude Opus 5.5 4a937ff0e4 fix(report): name the Shadbala components; add Vimsopaka and varga-ruler detail (BUG-1660)
- BUG-1660: the six Shadbala columns used generic labels (合计 / 内容 / 分数 /
  年数 / 落座度数 / 容许天数). They are now Sthana, Dig, Kala, Cheshta,
  Naisargika and Drik, with totals, the BPHS minimum and the ratio, plus Sthana
  and Kala sub-part tables. Values are unchanged.
- Vimsopaka: per-varga dignity, points, weight and weighted score.
- Divisional mapping: per-varga sign, sign lord and sign-only dignity
  (Moolatrikona inside vargas awaits BUG-1622, so it is not marked).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyeZrYn6ryNcSe5Y2Y
2026-11-06 17:50:54 +08:00