Commit Graph
449 Commits
Author SHA1 Message Date
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 ac4bf94db5 fix(report): isolate runtime sources and show recorded verification (#217) 2026-11-12 22:56:19 +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
Claude 23e5e6c02e Merge remote-tracking branch 'origin/staging' into claude/report-reading-grade-20261112
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m10s
Independent Staging Quality Gate / validate-python (push) Successful in 6m40s
Independent Staging Quality Gate / publish (push) Canceled after 2m42s
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-12 18:33:45 +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 06d242bae8 merge: refresh #205 against staging 2026-11-12 17:34:44 +08:00
jesse-ux b3a938dafb fix(tests): make lookup timing and preset source checks deterministic (#205) 2026-11-12 17:34:15 +08:00
ClaudeandClaude Opus 5.5 56bb1bed95 fix(report): dignity check accepts cancelled debilitation; keep web and case wording backstage (#192, BUG-1851)
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m23s
Independent Staging Quality Gate / validate-python (push) Successful in 6m52s
Independent Staging Quality Gate / publish (push) Successful in 3m24s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-12 17:22:06 +08:00
ClaudeandClaude Opus 5.5 aa82210005 feat(report): grade line option B, evidence-grade tests (#192)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-12 16:55:13 +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 45fa4b8c05 refactor(preset): move reviewed evidence into scripts package 2026-11-12 14:46:18 +08:00
jesse-ux e1cb2efcbe fix(preset): verify reviewed evidence and match executed branches 2026-11-12 13:55:26 +08:00
ClaudeandClaude Opus 5.5 209b8ca4b4 chore(preset): import the 2026-11-08 preset library draft unchanged (#180)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-12 13:12:33 +08:00
jesse-uxandGrok (agent loop) ece76a2e8e wip(#182): one yoga status table drives the contract and the professional voice
- yoga-status-words.ts:新增 yogaStatusContractTable()(遍历 YOGA_STATUS_MAPPING 生成,
  不手写文字)与 YOGA_STATUS_WORD_CLASSES(拦截检查用的三张词表 + 括号里照抄状态的词)
- references/product_runtime_contract.md:shared-reading 第 7 条与它上面的注释改成
  「按 yogas_detail 每行状态 + {{YOGA_STATUS_TABLE}}」,别的行一字未动
- consultation-condensed-checklist.ts:sharedReadingBlock() 的取值里补 YOGA_STATUS_TABLE
- product-voice.ts:只把「状态词照卡上原词抄」那一行换成按同一张表写
- consult-professional-mode-20261107.test.ts:按任务书改那一处断言(三栏注释)

未完成(下一轮):consultation-answer-fact-guard.ts 的格局状态检查与 9 组测试。

Tests: consult-professional-mode 10/10、consult-basis-candidate-status-1824 12/12 通过。

Co-Authored-By: Grok (agent loop)
2026-11-09 18:39:56 +08:00
ClaudeandClaude Opus 5.5 66ad72ce8b merge: accept #187 visible verification-limit line (BUG-1834) from codex/limitation-line-20261109
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-09 17:41:19 +08:00
ClaudeandClaude Opus 5.5 8a958b5a65 fix(narayana): separate AD start step from AD direction in method_status
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m19s
Independent Staging Quality Gate / validate-python (push) Successful in 6m49s
Independent Staging Quality Gate / publish (push) Successful in 3m22s
ad_start (小运起点) is its own step: an unresolved MD-vs-7th comparison or its
lord blocks ad_start (ad_direction not_reached); Saturn + Ketu in the MD sign
blocks ad_direction. Card step names, narayanaStepsToName, timing whitelist,
contract wording, golden (TTL=0) and fixtures updated.

占星师 2026-11-09 第七轮回复 R2 选 D;产品负责人同意 (BUG-1830)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-09 16:21:06 +08:00
jesse-uxandGrok (agent loop) 73899bdf65 feat(consult): show the fixed verification-limit line on the page (#187, BUG-1834)
只说显示,不动回答正文、存储文字、回执与提示词:

- consult-answer-basis.ts:一处定义 CONSULT_VERIFICATION_LIMIT_LINE,
  新增 withVerificationLimitLine(插在最后一张审计表末行之后、幂等)
- 简明解读「解读依据」展开列表末行加这一句:无状态标签、不计入 N 项、
  空列表不渲染、流式不出现
- 深度解读:非流式且没有 basisRows 时,在可见文字的表尾加同一句
- references/product_runtime_contract.md 只在「F」6c 行末追加一句同意记录
  (git diff 只有那一行)
- 既有断言按任务书改一处(三栏注释):先断言这句恰好 1 次,再去掉它做原断言

Tests: 新增 consult-limitation-line-1834.test.tsx(12 条);receipt 4、
answer-mode-ui 14、candidate-status 12、report-no-web-wording 4 全过;
tsc 0 错,eslint 0 error;合同相关 pytest 31 条全过。

Co-Authored-By: Grok (agent loop)
2026-11-09 16:04:10 +08:00
ClaudeandClaude Opus 5.5 f61e55e555 docs+card: R2-D bug history, blocked-layer candidate line
- BUG-1829..1832: D default and conditional legacy branch, candidate branches on
  the card, rectification impact (measured, not resealed), 2x2 experiment.
- Card branches.blocked_layer and contract A-12 sentence: a blocked main sequence
  still lists its candidates (supplement answers omitted them).

占星师 2026-11-09 第七轮回复 R2 选 D;产品负责人同意

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-09 15:39:16 +08:00
ClaudeandClaude Opus 5.5 6131e6c163 feat(narayana): R2 option D default scope with named candidate branches
- Default strength scope seed_ad_start_p43d_v1 (same Rule 3 at seed, AD start, p.43 (d));
  unresolved is never equal. Algorithm version narayana_rath:2026-11-09:r8d.
- narayana_branches: seed / seed order / MD length timeline branches and per-MD AD
  start / direction branches, each with branch_id and preceding assumptions; never
  spliced; enumeration cap with candidates_exhausted; used_for_scoring false.
- seed_only_v0 kept only as legacy_conditional_branch (假设跳过 Rule 3 时的结果),
  never overrides the main status, no vote.
- Evidence card: narayana.branches (question window) and legacy_conditional;
  contract rule A-12.
- Tests per branch case, never-splice, not-exhausted, legacy branch; golden TTL=0.

占星师 2026-11-09 第七轮回复 R2 选 D;产品负责人同意 (BUG-1829..1831)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-09 15:39:06 +08:00
ClaudeandClaude Opus 5.5 a9111fae20 merge: codex/chat-mode-ui-1108 into round7 integration (BUG-1795..1798)
Contract keeps BUG-1794 (no web / external / MEVG / real-case wording in either
mode) with BUG-1795's 深度解读 / 简明解读 names; the missing-audit-table repair
prompt keeps BUG-1794's "no verification rows" wording under the new name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 23:43:49 +08:00
ClaudeandClaude Opus 5.5 d3a752f415 feat(consult): no web / external / MEVG / real-case wording in answers, either mode (BUG-1794)
产品 2026-11-08 决定,偏离占星师「缺口不能隐藏」裁定(第五轮裁定 6 / 8):产品
选择不向用户展示;后台保留记录. The plain-mode gap sentence (BUG-1757) and the
professional audit table's four verification rows are no longer asked for;
the receipt's MEVG / Real Case Calibration rows are unchanged, and 「不写已验证 /
已校准」 stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 22:28:31 +08:00
ClaudeandClaude Opus 5.5 df2d6fd58c fix(consult): contract note prefixes and no literal maxSteps on the fact repair (BUG-1789..1792)
Product-rule notes use the announced 「产品规则,不是占星师的方法:A-09..A-11」
prefix; the repair stream keeps the route's step settings (no literal maxSteps).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 22:19:14 +08:00
ClaudeandClaude Opus 5.5 7dbf383cf1 feat(consult): evidence fact fields, derived deps, Karakamsha lord house, self-reference (BUG-1790..1792)
占星师 2026-11-08 第六轮 R3 / R4:
- independence gains derived (derived fact -> dependency); the Karakamsha
  chain (AK D9 sign -> D1 projection) is derived, its lord's placement a
  separate raw fact; evidenceCardFactRecords expands every item to the ten
  fields, raw -> relation / derived -> conclusion.
- base.natal.jaimini.karakamsha carries karakamsha_lord_natal_house and a
  reading line (113 of 210 blind answers copied the sign's house to the lord).
- yoga self-reference fields (self_reference / independent_confirmation_allowed
  / self_reference_only) read defensively: no support vote, her wording.
- runtime contract: plain layer names, mismatch rejection, self-reference rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 22:13:34 +08:00
ClaudeandClaude Opus 5.5 9795033da7 feat(consult): 解读方式 pill, 解读依据 list, no 联网 rows (BUG-1795..1798)
Owner-approved chat answer-mode UI (2026-11-08):
- Modes named 深度解读 (professional, default) / 简明解读 (plain) in the UI,
  the model-facing mode line and the runtime contract (names only).
- 解读方式 pill left of send (常用问题 pill look); menu reuses the preset
  popup rows; 功能吉凶口径 (PVR 表 30 / BPHS 例外表) under 深度解读 only;
  Drawer on phone. Remembered per user in localStorage; applies from the
  next question; 重新生成 uses the current choice.
- Mode resolution: this question's words -> pill -> 深度解读; history no
  longer sets the mode. Request carries answerMode (+ functionalProfile
  only under 深度解读); engine gets analysis_mode / functional_profile.
- Receipt records answerMode / functionalProfile; 简明解读 answers show a
  collapsed 解读依据 hairline list built from the receipt audit rows.
- External verification rows (联网 / MEVG / 真实案例) are dropped from the
  rendered 深度解读 audit table and never listed.
- Composer stacks when the single-row field would be under 64px (320px).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 22:07:21 +08:00
ClaudeandClaude Opus 5.5 31f4028ca4 feat(consult): cross-layer same-source index on the evidence card (BUG-1773)
Each domain section gets independence: fact_id (D1 placement, conjunction,
aspect, combustion, functional role) -> the layers that reuse it (house lord /
occupant, role significator, Arudha lord, Jaimini karaka, yoga, career
analysis, Shadbala, dasha lord, affliction source), with support / pressure
as distinct fact ids. Product rule S-13 in the shared reading implements the
astrologer's 2026-11-08 acceptance note: several layers on one fact are one
source, layers named, never 多层一致. Golden recaptured (TTL 0): unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 19:28:33 +08:00
ClaudeandClaude Opus 5.5 d676292343 fix: astrologer acceptance for BUG-1758/1763/1752 (source ledger, audit acceptance, engine boundaries)
- BUG-1758: the card's affliction layer is a source ledger: one entry per fact
  with its input, effect (conflicts / not_executed) and every house it bears
  on; a fact shared by two houses is one source, never two votes.
- BUG-1763: output acceptance after the one repair: a professional answer
  without the Technique Audit Table, or any answer without the engine audit
  rows (plain mode's evidence entry), fails as incomplete (kept text, no charge).
- BUG-1752: engine rows carry exact local start/end with UTC offset, parent
  start, cycle, and a meta block (365.25-day years, zone, [start, end)); the
  chart page copies them. Tests: midnight crossing, birth balance, second
  cycle, zero-length rows and 0-year Narayana / Chara MDs never current.
- Goldens recaptured (evidence card TTL=0; chart-view dasha from the engine).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 14:59:50 +08:00
ClaudeandClaude Opus 5.5 dd2cd83c3e fix: affliction sources not counts, audit-table backstop, chart page engine AD/PD (BUG-1758, BUG-1763, BUG-1764, BUG-1752)
- BUG-1758: the model card drops affliction_evidence.houses.*.signal_count
  (backend field kept); S-09, the pressure basis line and the professional
  voice name the sources and never a count.
- BUG-1763: a professional answer that stopped on its own without the
  Technique Audit Table gets one table-only continuation.
- BUG-1764: the backtest harness passes the answer mode (agent context,
  user-turn shape, length continuation); CONSULT_BACKTEST_ANSWER_MODE=plain.
- BUG-1752: /api/chart carries dasha.antardasha_timeline from
  chart_dasha.birth_moment.sub_period_timeline; the chart page copies the
  engine AD/PD rows and no longer cuts periods by year proportions.
- Goldens: chart-view golden dasha recomputed from birth_moment; evidence-card
  golden recaptured with TTL=0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 14:43:50 +08:00
Claude 55d3396615 Merge branch 'codex/rect-r5-measure-1108' into codex/round5-integration-1108
Independent Staging Quality Gate / validate-frontend (push) Successful in 5m15s
Independent Staging Quality Gate / validate-python (push) Successful in 6m29s
Independent Staging Quality Gate / publish (push) Successful in 2m58s
# Conflicts:
#	docs/BUG_HISTORY.md
2026-11-08 13:50:07 +08:00
ClaudeandClaude Opus 5.5 17d932a517 fix(rectification): PVR functional default + source-version Narayana, reseal round5_pvr_narayana_2026_11_08 (BUG-1759)
Product approved 2026-11-08 (astrologer round-5 rulings 1, 3; same basis as
the report and the chat card):
- functional roles: drop the bphs_exception_profile pin at the three scoring
  call sites (+ research mirror); default pvr_table_30 with Moon paksha.
- Narayana: narayana_rath.calc_narayana_rath (two cycles) / antardasha, ages
  via narayana_age from the candidate birth moment; probes date from the birth
  moment. A blocked source step makes the layer unavailable, never the old
  algorithm. Blocked count on all three datasets: 0.
- Reseal: sealed 20, offset 900, live v5 231 under the new tag; identical to
  measurement variant (c) trial by trial. float_split / 166d kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 13:12:03 +08:00
ClaudeandClaude Opus 5.5 312678dacc fix: astrologer round-5 rulings 6/7/8 (BUG-1753..1757)
- Ruling 7: audit rows carry calculation_status + interpretation_status
  (her interpretation_status_contract axes, plus product not_used);
  「Used(候选)」 becomes executed + conditional. Schema, parser (new
  five-column header, legacy single-value rows mapped), disclosure,
  annual appendix, professional voice and contract updated.
- Ruling 8: the four verification rows use her names (本地计算 /
  预置来源匹配 / 实时联网 / 真实案例校准) and values, no 「MEVG ·」 prefix.
- Ruling 6 (F section): no "max two bases", no ≥2-affliction threshold
  (pressure line shows sources beside support and gaps), plain mode
  states the verification gap in one line, limits sit next to the
  conclusion, technique names when methods disagree, conflict sources
  shown when needed. Both voices updated.

Changed expectations carry 原值/新值/原因 comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 12:37:15 +08:00
ClaudeandClaude Opus 5.5 d43be3152b Merge branch 'codex/chat-followups-1108' into codex/round5-integration-1108
BUG_HISTORY: both sides kept, ordered by number (1734..1739 before 1741).
Contract: round-5 Narayana five-profile wording kept; chat-followups
additions (steps_to_name, running, Used(候选) table, four MEVG rows)
kept. NARAYANA_STEP_ZH gains the round-5 `start` step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 12:16:43 +08:00
ClaudeandClaude Opus 5.5 00b5c92097 Merge branch 'codex/narayana-profiles-1108' into codex/functional-pvr-1108
Combines BUG-1741..1743 (Narayana named profiles) with BUG-1746..1752
(PVR functional table, Shadbala, KP first segment, Mudda wording).
BUG_HISTORY entries kept in number order; runtime contract keeps the
round-5 Mudda sentence and the profile-based Narayana rule; evidence-card
golden recaptured with TTL 0 / PYTHONHASHSEED=0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 12:00:41 +08:00
ClaudeandClaude Opus 5.5 5d64f71b81 fix: astrologer round-5 rulings 2/3/4/5/10/13 (BUG-1746..1752)
- Functional default = PVR Table 30 (functional_profile=pvr_table_30); the former
  product table is bphs_exception_profile, scored only when named (rectification
  names it, scores unchanged). profile_divergence shows both roles side by side;
  movable-lagna Moon by the table's paksha note; dual-lordship note; prior rulings
  BUG-1570/1590/#166 Q4 checked against Table 30.
- Shadbala: six open items labelled parameter_sensitive; every option combination
  computed; only planets whose pass/fail flips get minimum_check=parameter_sensitive.
- Vimshottari AD/PD rows carry parent_period_start / visible_period_start; the
  consult card cuts the balance MD from its full parent and clips at birth.
- KP DBA: full first parent, clipped at birth (no balance rescale).
- Mudda: balance fields + balance_method (angle default, time comparison apart),
  nominal_year_days, her crossing wording; Harsha combined blocked reason lists items.
- D30 _meta describes the unequal parts (as her r40).
- Golden recaptured with TTL=0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 11:57:22 +08:00
ClaudeandClaude Opus 5.5 0404d0a07c fix(narayana): split into five named source profiles with per-step comparisons (BUG-1741..1743)
Astrologer round-5 ruling 1 (2026-11-08, B3/B4): seed, years, dual lord,
AD direction and start are separate named profiles (Sanjay Rath source
version). Each comparison profile is recomputed with one step swapped; the
step is disputed when the running MD/AD changes, blocked when the source
cannot decide. method_status names exactly those steps with her round-5
sentence; B3/B4 open item removed. Undecided years now block the layer.
The narayana-dasha CLI passes the birth moment. Engine values on the three
public charts are unchanged; Drig and rectification scoring unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 11:46:12 +08:00
ClaudeandClaude Opus 5.5 3b4a9e7919 fix(consult): Narayana steps/sign on the card, Used(候选), Q6 four rows, Argala idle note, annual Mudda crossing (BUG-1734..1739)
- BUG-1734: method_status.steps_to_name says exactly which steps the answer
  may call undetermined ("unknown" names none); contract: name only the
  card's unresolved_steps, never infer one from open_items.
- BUG-1735: method_status.running (right after chat_use) copies the running
  Narayana MD / AD sign, house and dates from dasha_systems; a candidate
  window still states its sign. r2's 6 "omissions" were regex misses.
- BUG-1736: audit Status gains candidate, written Used(候选); her Q1 table
  in the contract; blocked only for seed / dual lord / sub-period that
  cannot be selected. Parser, labels, annual appendix updated.
- BUG-1737: a Virodhargala house facing an empty Argala house is labelled
  as obstructing nothing (virodhargala_note); engine counts unchanged.
  Bhava Bala / SAV / co-tenant cases checked: the card is clear there.
- BUG-1738: her Q6 four status rows (local compute, preset-source match
  = 不足 with no library, live web = 不可用, real case = 未完成); no
  "MEVG passed" summary.
- BUG-1739: annual report appendix shows her Q2 wording when a Mudda
  segment crosses the next return; the writer gets the same line.
- Golden recaptured with TTL=0: identical except the environment-dependent
  VedAstro timeout reason, so the committed fixture is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 10:57:18 +08:00
ClaudeandClaude Opus 5.5 20fafa3c29 fix(consult): receipt section cap, calendar year and Narayana method status on the card, answer-first (BUG-1729..1733)
- BUG-1729 (P0): the execution receipt capped methodologySections at 12 while
  the loader allows 32; a wealth turn delivers 14 and every receipt failed.
  The cap now lives in consultation-methodology-limits.ts and both read it;
  a sweep of all 2509 domain combinations x 3 questions passes the receipt.
- BUG-1730 (tooling): the offline model-input manifest moves to
  tests/helpers (scripts must not import tests, BUG-1140); the fact-checker
  reads the timing route's nested slow_transits.
- BUG-1731: the card carries the engine's calendar_year (both Tajika years
  and the splitting return); runtime contract rule A-08 (her Q2).
- BUG-1732: narayana_method_status names the undetermined / disputed step
  (seed, years, dual_lord, ad_direction) from the engine, "unknown" when it
  cannot; B3/B4 recorded as open; chat_use single_system_candidate /
  no_judgment; her Q1 sentence in the contract; B-02 rewritten.
- BUG-1733: the conclusion's first sentence answers the question; the
  frozen time range follows it (her Q5).
- Golden recaptured with TTL=0 (method_status; VedAstro offline reason is
  environment-dependent).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-08 07:28:00 +08:00
ClaudeandClaude Opus 5.5 010c545e41 feat(consult): run her method layers, route-driven sub-skills, Arudha houses, product rules in the contract file (BUG-1725..1728)
- BUG-1725: evidence card Arudha rows carry pada_house_from_lagna and
  lord_natal_house plus arudha_columns; her phrasing rule
  「A2 位于水瓶;其主星土星位于本命第 2 宫」 is in the runtime contract.
- BUG-1726: methodology delivers her files in her three layers (ruling
  2026-11-07 Q3): router, status contract, output contract (skeleton
  §5/§6) and §0.4 every turn; §2.3, the matching event-judgment branch,
  the transit guide and route-needed sub-skills per question; maintenance
  files never. methodology.delivery records layer and reason. Removes
  the dead sharedConsultationMethodMarkdown.
- BUG-1727: sub-skills follow route techniques through her
  skill_family_router.json triggers (ruling Q4); question words are
  auxiliary; product domain table kept as labelled floor;
  specialized-jyotish reachable as technique paragraphs plus its
  boundaries; skill_read reads allowlisted skills/<family>/ files.
- BUG-1728: CHAT_METHOD_BOUNDARIES, natal instructions, MEVG policy and
  the shared reading move to references/product_runtime_contract.md
  (loaded by block name, each rule annotated as a product rule); her Q5
  rulings added; current order and a list of rules that may cross her
  writing floor recorded for her.
- Offline model-input manifest mode in consult-model-input-manifest.mts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 23:52:05 +08:00
ClaudeandClaude Opus 5.5 198208ac5b feat(sync): astrologer handoff 2e5485f5 — Sodhita entry, Narayana strength profile, 71 unimplemented yogas, Argala tie, Bhava relative points
- A1: ashtakavarga_shodhana.calc_sodhita_av (her entry; ashtakavarga.py frozen),
  level=not_calibrated + prediction_scoring_allowed=False on the chain; legacy
  subtraction stays removed (BUG-1209).
- A2: select_narayana_seed_sign strength_profile rath_empty_sign_lord_strength_v1,
  shared by source-aware seed, MD and AD (matches her function on 6000 draws).
- A3: preflight of logical branches; placeholder not an implementation;
  reference_only rules listed; 71 not_implemented; cmd_yoga not_implemented_count.
- A4: neechabhanga_kendra name/category per her handoff.
- 9e971559: Vimshottari AD record lord and native current PD in dasa convergence.
- B10: Argala equal count stays strength_comparison_required (no Narayana borrow).
- B11: full-reading bhava_bala.reference_relative_points, labelled
  product_relative_points_not_traditional, no bands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 22:46:04 +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
Claude 7cc1ab42b8 merge codex/fix-r3-1107 into upstream-full integration (finance Sodhita bridge: listed with scale, never scored; producer restrictions survive) 2026-11-07 20:37:14 +08:00
ClaudeandClaude Opus 5.5 919c61814a docs(upstream): mirror record for astrologer branch d09feab7 (sync 12)
Import record from scripts/import_yinduzhanxing.py --apply on a clean d09feab7
clone (root SKILL.md unchanged since ea2a9d65); source-manifest and import plan
point at d09feab7; the ea2a9d65 record test becomes history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 20:05:45 +08:00
ClaudeandClaude Opus 5.5 c9953c05f2 sync(upstream): port astrologer branch d09feab7 (public-sync-20261107) calculation changes
Product 2026-11-07: sync the astrologer's working branch (ea2a9d65..d09feab7).

- 0266b6ad: year lord picks by the native five-fold Panchavargiya only; a
  PyJHora score (research switch) is attached per candidate as
  external_oracle_comparison (observation_only_not_selection_input) and
  never selects. panchavargiya_selection_policy on the result; candidate_list
  and the reader-report candidate table carry the five components and raw total.
  The legacy Sun/Mars/Saturn table relabel is not applicable: calc_sodhita_av
  was already removed here (BUG-1209).
- 8c4bff8a + a5b75886: Sodhita no longer votes in finance adjudication; the
  bridge keeps raw 2/11 scores with prediction_scoring_allowed false.
- ba8e36ec: finance delivery inventory (raw, no vote), wrapped producer status
  counts as blocked in machine-evidence sections, transit section, report gate
  evidence_claims bindings, finance support review readiness.
- 5962368d: dispositor chain dispositor_sign is the dispositor's own sign.
- 8813c851: BCP observed at the reading date (bcp_reference, PL9 row).
- d09feab7: nakshatra_advanced.calculate_stellar_jeeva_sareera and the
  nadi-stellar-roles CLI; specialized-jyotish SKILL.md, usage packs, ontology
  and gap scanner mirrored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 20:03:44 +08:00
ClaudeandClaude Opus 5.5 45a7b01353 fix(yoga): report rule evaluation failures and unimplemented rules apart from not formed
Astrologer third-round review 2026-11-07, item 1. _run_custom_expr no
longer swallows exceptions; YogaEngine.detect records evaluation_failed
rows with the error class, and rules naming a condition type no evaluator
implements (69 BVR rules) are listed as not_implemented instead of being
silently never formed. The consultation sieve moves such packet members
to not_evaluated, and the card lists them. dhana_yoga no longer imports
math; parvata_yoga is disabled pending a definition ruling (BUG-1571).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 20:01:18 +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 80bcfe1ed4 sync(upstream): method layer and calculation fixes from yinduzhanxing ea2a9d65
Product 2026-11-07: stay in sync with the astrologer's latest (5fb8379c..ea2a9d65).

- Method layer: mirror SKILL.md re-imported with import_yinduzhanxing.py from a
  clean ea2a9d65 clone (import record, manifest, import plan); root SKILL.md
  body equals the mirror again (nine-lord editorial reference line). Router and
  sub-skills unchanged upstream except her rectification skill, which is the
  protected commercial skill here.
- 7b43eaf2: rectification question templates say they are templates (basis,
  timing status, answer impact), no regression_hint +5 bias, low confidence
  cap, blocked/external execution status in the audit table, invalid answers
  ignored by the selector, calculation_profile echoed; API rejects a partial
  lat/lon/tz and event rectification without a place.
- a4b4b267: BPHS 27.19 Drik weighting readings as diagnostic variants in
  scripts/shadbala_reference/drik_profiles.py (shadbala.py is frozen, ERR-110;
  default quarter and BPHS piecewise geometry unchanged, BUG-1586 / BUG-1623);
  oracle audit compares rupa with rupa; VP Jain benchmark prints by default.
- bb26dc2d: /api/jaimini special mode carries the Goel fields, no invented
  Aries ascendant.
- d66d13ce: annual report exposes tajika_named_yoga_structures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 18:12:32 +08:00
Claude 5f73e0641e merge codex/sync-features-1107 into upstream-full integration 2026-11-07 17:05:33 +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