fix(home): request the daily card on the same condition that renders it #37
Closed
jesse
wants to merge 0 commits from
codex/fix-daily-starlanguage-guard-20260818 into staging
pull from: codex/fix-daily-starlanguage-guard-20260818
merge into: :staging
:main
:next
:release/1.6
: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 Reviewers
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
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: root/Jyotisha#37
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.
现象
staging 上出生资料完整的账号打开首页,「今日星语」卡片永久停在「正在结合你的星盘写今天的星语。」,Agent 写的文案从不出现。同时首页 hero 标题仍是静态池里的一句,按时段问候没生效;
/api/onboarding返回的 Agent 欢迎语在页面上没有任何渲染点。根因
birthTimeDisplayState(profile)为真就 return,而该函数恰好在出生时间为candidate/accepted/confirmed时返回非 null。条件语义与卡片渲染条件personalChartAvailable相反,请求从未发出。守卫早于 Agent 化改造,此前被客户端写死兜底遮住;BUG-265 删兜底、留守卫,暴露成永久等待态。/api/chart是唯一没有.catch()的引擎调用,engineTimeoutMs仅 8 秒、agentTimeoutMs仅 30 秒,而线上实测端到端 30.6 秒;失败原因被压成同一个字符串。改动
personalChartAvailable,失败后延迟 5 秒重试一次,卸载清理定时器。/api/chart补 catch;失败原因拆为chart_unavailable/model_unavailable/agent_generation_failed;引擎超时 20 秒、模型超时 45 秒,仍在maxDuration = 60内。createStartGreeting拆出createStartGreetingParts,hero 第一行用 salutation、h1用 question;删除starter-prompt.ts与greetingForHour。onboarding.greeting落到 hero 说明行,原静态文案作兜底。验证
/api/daily-starlanguage,冷路径 30.6 秒返回真实{trend, action, caution},二次 1.6 秒命中agent_cache;/api/health确认部署 SHA 即origin/staging头部、jyotishApiok,排除部署落后与引擎故障。personalChartAvailable且源码不得再出现birthTimeDisplayState(profile)、失败重试一次且清理定时器、/api/chart必须带 catch 且三种失败原因可辨、两个超时预算有下限断言、hero salutation/question 拆分与 Agent 欢迎语落点、禁止静态标题池复活。tsc --noEmit、改动文件 ESLint、next build均通过。未验证
没有在浏览器里看过修好后的首页——本机无 Python 引擎与模型密钥,起不了完整栈。卡片从 pending 到 ready 的观感、一次重试是否足够、hero 换行后的排版,需要本 PR 合入 staging 发布后确认。已记入
docs/BUG_HISTORY.mdBUG-267。4d1a77be9etoa12f57970bPull request closed