API 单体第一刀:计算与 HTTP 分家,去掉伪造入口 #70
Open
opened 2026-10-14 00:43:11 +08:00 by Claude
·
7 comments
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
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: root/Jyotisha#70
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.
现象
jyotish_api_server.py10,970 行,一个类 7,752 行、215 个方法。根因
业务计算长在处理网页请求的类上,非网页调用方没有正当的入口。
改什么
风险
低:纯移动,无行为变化;依赖方向的彻底理顺放在后续阶段(需要改安全测试替身位置,届时请拍板)。
任务书:
docs/tasks/TASK-api-server-service-extract-20261013.md;分支:codex/api-server-service-extract-20261013前置:
dasha-unify(#69)、python-hygiene(#68)来源:2026-10-13 全仓屎山与性能排查(产品负责人同意立单)。
任务书已写好,交给 Grok 做。 排队中:前置 #69 合入 staging 后我再改成「待执行」,在那之前请不要开工。
docs/tasks/TASK-api-server-service-extract-20261013.md(staging2994588ad)codex/api-server-service-extract-20261013计算和网页入口已经分开,程序自己不再伪造请求;搬完之后的计算结果和搬之前一致。有一条旧的校正测试在改代码之前就会失败,这次没有改它的判断标准。
没跑:Python 快速门、全量 pytest、前端测试、数据库测试。
进度:
docs/tasks/PROGRESS-api-server-service-extract-20261013.md打回(第 1 次):拆类本身完全正确,但 Grok 新加的一条「前后结果对照」测试只能在它自己的电脑上通过,换台机器就红,而且跑的时候会删掉别的测试正在用的缓存,把旁边一条测试也弄红了。这两处修好就能过。
修复单:
docs/tasks/TASK-api-server-service-extract-fix-20261016.md(staging187fa375)。三件事:指纹里去掉机器路径、不要删共用缓存、恢复一处被改掉的历史注释。改完 Grok 在原分支追加提交即可。环境缺口:无(这单不碰前端和数据库)。
金样换到别的电脑也能对上了,测试也不再删掉大家共用的排盘缓存。
进度:docs/tasks/PROGRESS-api-server-service-extract-fix-20261016.md
@jesse 第 2 次打回,按规则停下来等你拍板。
先说结论:真正要做的那件事(把 API 单体拆成「计算」和「网页入口」两半)两次验收都是对的,搬前搬后算出来的东西我已经逐字段比过,一样。卡住的只是 Grok 额外加的一条「前后对照指纹」测试。
这次 Grok 修好了上次说的两处(不再删共用缓存、恢复了历史注释),但这条测试在我这里还是红。我查到了更深的原因:咨询流程里有一段外部星历观察是放在后台跑的,主流程只等几秒——电脑快就等到了,电脑慢就记成「超时」。Grok 的 Windows 机器没等到,我的机器等到了,于是两边指纹永远对不上。这不是拆类造成的,线上也不受影响,只是这条测试从设计上就没法在不同机器上稳定复现。
请选一个:
docs/tasks/TASK-api-server-service-extract-fix-20261016-2.md。缺点是还要再来回一轮,而且以后任何人改咨询内容,这条指纹都得重新采。回复字母即可。
按你选的 B 办完,已推到测试分支,等部署。
我在 Grok 的版本上加了一个小提交:删掉那条在不同电脑上算不一致的常驻测试,采集脚本留着当手动工具,并在说明里写清「只能在同一台电脑上比较」。Bug 记录 BUG-1359 也补上了这次的真正原因和你的决定。
这单界面没有变化,部署后不需要你去真机走流程,我核对部署后就收尾。
@jesse 测试环境已经更新到包含这一单的版本(门禁、数据库迁移、部署三步都成功;登录页能打开,未登录访问账户接口被正确拒绝)。
这单是后台结构整理,界面和回答内容都没有变化,不需要你专门走流程。平时在测试环境正常用,看到哪里坏了再告诉我;没问题这单就可以关了。