按需计算:指定分盘及其变体(BUG-1819) #176
Open
opened 2026-11-09 00:16:32 +08:00 by Claude
·
4 comments
No Branch/Tag Specified
main
codex/ondemand-varga-20261109
codex/token-followup-20261109
codex/yoga-status-wording-20261109
staging
codex/rect-layer-alias-20261109
codex/purpose-gate-contract-20261109
codex/explicit-profile-20261109
codex/ondemand-solar-return-20261109
codex/accept-grok-batch3-1109
codex/token-card-compress-20261109
codex/limitation-line-20261109
codex/basis-candidate-status-20261109
codex/ondemand-transit-window-20261109
codex/token-lookup-20261109
codex/muhurta-20261109
codex/ondemand-transit-date-20261109
codex/counterexamples-20261109
codex/dasha-dates-engine-only-20261109
codex/reports-no-web-wording-20261109
codex/login-rectify-loading-1103
codex/rectification-stuck-1516
codex/birth-time-stability-165
codex/birth-time-intake-144
codex/consult-preset-prompts-20261102
codex/birth-time-source-intake-20261102
codex/report-refund-1505
codex/launch-prep-119
codex/chart-base-layer-label
codex/annual-153
codex/rectify-others-160
codex/learn-157
codex/rectification-d60-two-way-20261028
codex/consult-classify-parallel-20261029
codex/answer-effort-default-20261029
codex/subject-switcher-details-20261028
codex/rectification-screen-146-147-20261028
codex/rectification-entry-page-20261028
codex/upstream-sync9b-20261028
codex/upstream-sync9-20261028
codex/home-crash-saved-people-20261027
codex/voice-reading-20261027
codex/ui-kit-fix3-20261027
codex/lagna-precheck-20261027
codex/ui-kit-onboarding-fix-20261026
codex/gate-birth-journey-contract-20261025
codex/ui-kit-7-cleanup-20261023
codex/ui-kit-6-rectification-20261023
codex/ui-kit-5-pages-20261023
codex/ui-kit-4-people-20261023
codex/ui-kit-3-chart-20261023
codex/ui-kit-2-chat-20261023
codex/onboarding-4-motion-20261022
codex/ui-kit-1-shell-20261023
codex/onboarding-3-checklist-20261022
codex/onboarding-2-intake-20261022
codex/ui-kit-0-base-20261023
codex/full-data-parity-3-20261022
codex/full-data-parity-2-20261021
codex/full-data-parity-1-20261021
codex/rectification-explicit-open-20261023
codex/chart-table-span-20261023
codex/onboarding-1-data-20261022
codex/report-english-han-leak-20261021
codex/chart-dasha-yogini-20261021
codex/goel-jaimini-strength-20261022
codex/synastry-staging-fix-20261021
codex/chart-subject-table-20261021
codex/chart-ascendant-slash-20261021
codex/report-export-dialog-polish-20261021
codex/synastry-report-chat-20261018
codex/synastry-full-report-20261018
codex/niryaana-shoola-pvr-20261018
codex/rectification-narrower-delivery-20261016
codex/full-reading-module-parity-20261018
codex/marriage-match-p1-20261017
codex/upstream-sync8-20261017
codex/people-archive-limit-20-20261017
codex/api-server-service-extract-20261013
codex/dasha-unify-20261013
codex/python-hygiene-20261013
codex/contracts-helpers-dedupe-20261013
codex/pl9-render-split-20261013
codex/consult-route-split-20261013
codex/beta-safety-net-20261014
codex/beta-capacity-20261014
codex/answer-effort-ab-20261013
codex/api-chart-subprocess-gate-20261013
codex/chart-ascendant-row-20261015
codex/data-layer-types-20261013
codex/release-path-production-20261014
codex/beta-main-path-20261014
codex/frontend-dead-code-20261013
codex/consult-prep-parallel-20261013
codex/report-reference-perf-20261013
codex/home-sidebar-rerender-20261013
codex/node-runtime-resources-20261013
codex/api-disk-cache-retention-20261013
codex/rect-scoring-perf-20261013
codex/upstream-sync7-20261014
codex/rectification-step0-entry-20261013
codex/report-focus-card-20261013
codex/report-translation-gaps-20261013
codex/composer-first-glyph-clip-20261013
codex/agent-loop-pilot-20261013
codex/rectification-offer-opened-state-20261012
codex/rectification-nearest-boundary-opening-20261012
codex/rectification-d12-parent-probes-research-20261012
codex/rectification-explicit-entry-20261012
codex/consult-career-type-residual-20261009
codex/consult-card-full-source-20261007
codex/rashi-dashas-native-20261008
codex/ephemeris-nutation-20261008
codex/report-full-data-edition-20261007
codex/special-lagnas-native-20261008
codex/upstream-sync6-20261007
codex/rectification-delivery-dup-adopt-20261006
codex/consult-conversational-answer-20261006
codex/consult-latency-quickwins-20261005
codex/rectification-nadi-seconds-research-20261005
codex/gate-log-volume-20261004
codex/astrologer-rulings-batch6-20261004
codex/consult-timeline-no-plan-20261001
codex/consult-answer-clock-20261001
codex/consult-plain-answer-20261001
codex/rectification-varga-resolution-fix-20261001
review/rectification-varga-resolution-20260930
codex/jev-intent-v2-20260927
codex/consult-evidence-card-research-20260927
codex/people-archive-p1-20260924
codex/chart-dasha-western-redesign-20260924
codex/home-page-split-20260925
codex/report-reader-main-20260924
codex/rectification-midnight-date-anchor-20260920
codex/rectification-cross-midnight-gate-fix-20260920
codex/rectification-cross-midnight-20260920
codex/owner-case-purge-20260919
codex/rectification-jev-intent-research-fix2-20260919
codex/rectification-jev-intent-research-fix-20260919
codex/rectification-jev-intent-classifier-research-20260919
docs/three-channel-redesign-20260918
codex/session-list-single-source-fix-20260917
codex/session-list-single-source-20260917
codex/rectification-session-composer-guard-20260917
codex/chart-copy-trim-20260917
codex/rectification-dead-d9-choice-fix-20260916
codex/rectification-mobile-timeline-readout-20260917
codex/session-capacity-bool-assert-20260916
codex/home-state-lowering-20260915
codex/freeze-metric-change-20260915
codex/rectification-engine-memoization-fix-20260915
codex/consultation-session-capacity-20260915
codex/consultation-context-memory-20260915
codex/consultation-external-evidence-cache-20260915
codex/rectification-request-dossier-cache-20260915
codex/rectification-settled-render-split-20260915
codex/rectification-engine-memoization-20260915
codex/rectification-failure-attribution-20260915
fix/sidebar-hard-nav
codex/rectification-spoken-orphan-20260914
codex/rectification-targeted-collect-spoken-focus-20260913
codex/rectification-house-lord-gochara-research-20260913
codex/rectification-new-minute-inherit-20260908
codex/rectification-same-year-probe-dedupe-20260908
codex/rectification-probe-replay-loss-20260908
codex/rectification-range-delivery-fix-20260907
codex/rectification-range-delivery-card-20260907
codex/rectification-stale-compare-fix-20260907
codex/rectification-declared-uncertainty-20260907
codex/report-md-page-20260906
codex/rectification-collect-vs-offer-consistency-20260905
codex/rectification-probe-answer-covers-domain-20260905
codex/rectification-quality-probe-dedupe-20260904
codex/rectification-post-adopt-verify-20260904
codex/report-candidate-range-20260904
codex/report-sensitivity-crash-20260904
codex/rectification-adopt-narration-fix2-20260904
codex/rectification-adopt-narration-fix-20260904
codex/rectification-adopt-narration-20260904
codex/repo-hygiene-20260903
codex/rectification-ux-20260903
codex/rectification-ux-20260902
codex/diagnose-rectification-request-20260827
fix/staging-gate-checkout-retry
No results found.
Labels
Clear labels
agent/待执行
agent/待真机
agent/待规划
agent/待验收
agent/执行中
agent/排队
agent/规划中
agent/试点
agent/部署中
agent/需拍板
agent/验收中
ready-for-agent
wayfinder:map
wayfinder:task
Grok 领:按任务书实现
产品负责人真机走查
Claude 领:诊断并写任务书
Claude 领:验收 Grok 回报的 SHA
锁:Grok 执行中
任务书已写好,等前置单合入 staging 后由 Claude 改成 agent/待执行;循环两侧都不处理
锁:Claude 规划中
试点期只处理带此标签的 issue
已推 staging,等部署核对(脚本自动)
需要产品负责人决定
锁:Claude 验收中
Fully specified, ready for an agent
Wayfinder map issue holding the notes and child tickets
Wayfinder child ticket
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: root/Jyotisha#176
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
聊天中可以算任意分盘(如 D2、D9、D10、D11),以及显式指定的变体。输出带分盘名称、变体名、原始落点和 profile;不得把分盘的用途名当成唯一含义。
状态:排队。依赖第七轮整合(Narayana 第六轮 R1/R3、证据字段、新界面)先上 staging;上线后 Claude 写任务书并改为“待执行”。验收由 Claude(jyotisha-2a)负责。
继续排队(Claude,2026-11-09):#173 的共用模块已在 staging
afac4ea9。按需工具每单都要往scripts/ondemand_calc/registry.py加注册行,为避免注册表冲突,#174 验收合并后再按 #175 → #178 的顺序一单一单放出;放出时按合并后的模块写法更新任务书。在那之前请勿领取。放出执行(#175 已验收合入 staging
c9f2f76f)。scripts/ondemand_calc/varga.py,注册表加两行。不建前端ondemand-tools/,旧草稿里的前端部分作废。usage_labels,并附传统差异说明。blocked信封(不是 400),照 #175 的写法。需拍板。接手后没有动代码,把锁放开了。
我按任务书读完了
scripts/ondemand_calc/的四个现有文件与varga.py/divisional_charts_extended.py的接口,确认这一单是「新工具 + 15 条测试」的完整实现,估算要连续两三轮。这一轮我没有足够余量把它做到可交付,所以没有开工——留一个半成品比留空更糟。接手时可以直接用的信息(已核对过,省得下一轮重读):
scripts/ondemand_calc/solar_return.py的_validate_birth与_envelope_date写法(同名字段、同样的blocked点名方式)。scripts/varga.py的calc_all_vargas(planet_lons, asc_lon, divisions=[...]),返回键是D9_Navamsa这种形状,方法元数据在VARGA_META(含name/cn/area),part_size需要从d1_d60_varga_mapping_registry.py取。divisional_charts_extended.DivisionalChartsCalculator()的calc_varga_with_variant(degree, div, variant)与list_available_variants();只有 D2(6 种)与 D3(4 种)有变体,所以「对 D9 给变体」必须blocked。usage_labels,并与tradition_note同级;raw里不能有把用途当唯一含义的键(验收第 5 条要递归检查键名)。锁已放开,队列里这一单现在可以直接领。
#176 做完了:
varga工具支持 1–6 个指定分盘、显式变体,并把实际使用的方法名与part_size写在每一盘上。输入约束(全部 blocked 并点名,不猜默认值)
divisions为空 / 超过 6 个 / 有重复 / 不在VARGA_METAblocked,gaps[0].field = divisionsblocked,field = variantsblocked,reason = unknown_variant:D2:allowed=ahoratra,parashara,pariveshta,…(按字母排序)blocked,点名具体字段输出:
raw.natal(上升与九曜的本命黄经)+raw.divisions(每盘:division、variant(未指定时写实际方法名)、ascendant、planets(星座 + 分盘内度数)、method {source, part_size})。用途名只出现在usage_labels,同级带tradition_note: 用途标签因传统而异,不是唯一含义;raw里没有把用途当唯一含义的键(测试递归检查键名)。测试:本单 17 条,连同 solar_return / transit_window / transit_date / contract / api growth 共 92 过 / 0 败。覆盖:标准分盘与直接调用
calc_all_vargas逐颗相同;D2parashara与pariveshta至少一颗星不同且回显;不指定变体时回显方法名;三类非法输入;用途标签结构;lahiri 与 raman 本命黄经不同;缺项点名;position_mode=mean阻塞;profile_source标记;指纹稳定与敏感;引擎抛错 blocked 且raw == {};注册表分派且旧工具不受影响。两个实现细节(写进 PROGRESS):
compute_chart_data返回的是元组(chart, year, ayanamsa, jd);calc_all_vargas的返回是「键 → 该盘结果」的字典(键形如D9_Navamsa)。变体盘的part_size为null,因为引擎的变体接口不返回分片大小。进度:
docs/tasks/PROGRESS-ondemand-varga-20261109.md;Bug:BUG-1819。