VedAstro 调用从 7 月起一直失败:两条路径不带 key、请求格式过期、成功判定不核对回显(BUG-2171,发布后修) #327
Open
opened 2026-11-22 15:25:24 +08:00 by Claude
·
1 comment
No Branch/Tag Specified
main
staging
codex/vedastro-request-verification-20261122
codex/transit-natal-return-20261118
codex/rect-cut-shadbala-scoring-20261117
codex/rect-purpose-policy-v2-20261117
codex/rect-purpose-layers-20261117
codex/rect-artifact-marking-20261117
codex/rect-stale-chat-evidence-20261117
codex/rect-self-choice-scenario-20261117
codex/rect-birth-input-revision-20261117
codex/rect-p0-aggregate-v3-20261117
codex/rect-purpose-coverage-20261117
codex/rect-self-choice-nearest-minute-20261117
codex/rect-self-choice-20261116
codex/rect-purpose-scan-20261116
codex/rect-p0-wrapup-20261116
codex/rect-p0-evidence-20261116
claude/synastry-polish-20261116
claude/synastry-readable-20261116
codex/rect-pause-20261115
claude/synastry-ui-20261116
claude/synastry-score-time-20261116
claude/synastry-evidence-units-20261115
claude/synastry-gate-repair-20261115
codex/synastry-gate-repair-20261115
codex/synastry-timing-b4-20261115
codex/rect-p0-continuation-20261115
codex/synastry-layer-precision-20261115
codex/synastry-raman-optin-20261115
codex/synastry-b3-20261115
codex/default-window-scenario-20261115
codex/rect-p0-20261115
codex/synastry-b1-20261114
codex/annual-grade-20261114
codex/synastry-precision-20261114
codex/rect-repro-20261114
codex/rect-adaptive-20261114
codex/annual-pravesha-20261114
codex/annual-kp-20261114
codex/annual-transit-checks-20261114
codex/annual-dashas-20261114
codex/annual-muntha-records-20261113
codex/annual-tajika-yoga-states-20261113
codex/annual-indian-only-balance-20261113
codex/chart-choice-rounds-page-20261113
codex/annual-md-export-20261113
codex/annual-page-option-b-20261113
codex/reading-computed-fallback-20261113
codex/remove-middle-dot-20261113
codex/reading-rebind-repair-20261113
codex/chart-choice-questions-20261113
codex/reading-timeout-20261113
codex/chart-choice-rounds-engine-20261113
codex/annual-tithi-yogas-20261112
codex/reading-window-edge-20261113
codex/reading-snapshot-binding-20261112
codex/annual-audit-axes-20261112
codex/report-gender-20261113
codex/reading-rectified-window-20261113
codex/reading-claim-binding-20261112
codex/reading-postcheck-facts-20261112
codex/reading-birth-window-20261113
codex/reading-runtime-sources-20261112
codex/reading-status-axes-badhaka-20261112
codex/purpose-stability-20261112
codex/annual-narayana-conditional-20261112
codex/reading-postcheck-gaps-20261112
codex/report-wording-fixes-20261112
claude/report-reading-grade-20261112
codex/flaky-tests-20261112
codex/reading-facts-v3-20261112
codex/preset-library-gates-20261112
codex/report-annual-md-export-20261111
codex/reading-facts-internal-refs-20261112
codex/report-narayana-shadbala-20261111
codex/report-status-words-20261111
codex/ondemand-prashna-20261111
codex/report-wording-sanitizer-20261111
codex/token-followup-20261109
codex/d9-reference-guard-20261111
codex/ondemand-dasha-date-20261111
codex/accept-grok-batch5-1111
codex/yoga-status-wording-optB-1111
codex/ondemand-varga-20261109
codex/yoga-status-wording-20261109
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
No labels
agent/执行中
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: root/Jyotisha#327
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.
编号:BUG-2171(诊断完成,待修复)。负责人 2026-11-22 决定:生产发布之后再修,不进本次冻结的发布候选。
现象
VedAstro 订阅一直在扣费,但从 2026 年 7 月起,产品里对 VedAstro 的调用基本全部失败;外部印证这一层没有生效过。报告、问答、生时纠正一直用本地引擎(Swiss Ephemeris)兜底,用户看到的是本地结果。
已确认的根因(只读诊断,2026-11-22,在新生产机 83.229.126.99 上实测)
Access denied:scripts/vedastro_rest_bridge.py:111–125call()(健康探测 / CLI,POST/Calculate/HoroscopePredictions)——headers 只有 Content-Type;scripts/vedastro_python_bridge.py(经vedastro_official_capability_runner.py;Shadbala / Ashtakavarga / 大运等板块)——全仓没有Calculate.SetAPIKey。scripts/vedastro_service_adapter.py)请求格式与现行接口不符(格式写于 2026-06-29e2595bec1/2ca093981/0f9b06d9d,此后没拿真实返回核对):planetName发成{"Name":"Sun"}(:2458),接口要字符串 →Required parameter 'planetName' … not found;lahiri,接口不认;多传了NodeMode、CalculationPreferences;BirthTime/AtTime/EventTagList)与官方 SDK 1.23.25(birthTime/atTime/eventTagList)不一致,未实测是否区分大小写。Status: Pass,但算的是它自带的示例盘(1992 年孟买,Input回显可见)。我们的成功判定_payload_status(:2286–2297)、_is_cacheable_payload(:1892)只看Pass,从不核对Input与请求的时间 / 地点 / 岁差是否一致;而scripts/vedastro_priority.py:95–118在official_chart有行星和上升时会直接替换本地盘。目前因第 2 条必然失败才没触发,属于潜在的静默错数据入口。接口事实:不带 key →
Access denied;带 key 通过验证,单次 0.6–1 s;Input显示后端是vedastro.zaishi.net(与官方 Go SDK base URL 一致);官方 Python SDK 1.23.25(2026-06-18)key 放 body 的APIKey,参数名小写,planetName是字符串,默认 Raman。修复清单(发布后做)
x-api-key;SDK 桥子进程里Calculate.SetAPIKey(os.environ["VEDASTRO_API_KEY"])。key 只从环境读,绝不进日志、缓存键、前端。planetName/houseName传字符串;SearchEvents 用小写字段;去掉接口不认的字段;岁差传法实测确认(SDK 枚举 Lahiri=1、Raman=3),确认前不得声称结果是 Lahiri。Pass时核对Input的 StdTime、经纬度、岁差与请求一致;不一致判input_echo_mismatch= 失败,不缓存,不进official_chart。official_chart(预期没有,需证据)。其他
setup-secrets.sh只更新这一项。🤖 Generated with Claude Code
https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
Codex 已认领 BUG-2171。按本工单在独立分支修复并离线回归,留待本次生产发布之后验收。生产凭据轮换、付费 smoke 和历史生产数据核查按工单的授权另行执行。