删除前端死代码,并关掉一个未登录可用的耗算力接口 #63
Closed
opened 2026-10-14 00:42:35 +08:00 by Claude
·
10 comments
No Branch/Tag Specified
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
v1.6
v1.5
v1.4
v1.3
v1.2
v1.1.1
v1.1
v1.0
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#63
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.
现象
/api/birth-rectification不用登录就能调:每调一次,服务器要算大约 20 秒(本机实测 21–26 秒),而且不受「同时最多算 2 个」的限流。有人反复调用,就能拖慢整站。根因
历次改版只摘掉了入口,没删实现;09-24 已批准删除的「原始附录」下载,当时删除操作被权限拦下,一直没补上。
改什么
风险
低:删的都是查不到调用方的代码;唯一要注意的是数据库测试里有两处断言会一起删,Grok 必须跑数据库测试比对。
任务书:
docs/tasks/TASK-frontend-dead-code-20261013.md分支:
codex/frontend-dead-code-20261013前置:无(第一批)
来源:2026-10-13 全仓屎山与性能排查(产品负责人同意立单)。
任务书已写好,交给 Grok 做。 现在可以领取。
docs/tasks/TASK-frontend-dead-code-20261013.md(staging2994588ad)codex/frontend-dead-code-20261013三个没人用的接口已经删掉,其中一个不用登录就会让服务器算大约 20 秒。同时清掉大约 3000 行已经没有页面使用的旧代码。普通报告导出的逐字对照还在,没有放宽。
进度记录:
docs/tasks/PROGRESS-frontend-dead-code-20261013.md。BUG-1342 记在 Bug 历史里,状态是分支上已修、还没合进测试环境。有一处和任务书字面不完全一样:正文净化用的小文件还留着。它没有页面入口了,但现有测试还直接用它检查「内部词会被清掉」。删掉会把这条检查放宽,所以保留。任务书没有要求删它。
结论:打回给 Grok,第 1 次,删一行就好。删的东西都对,只是一张「样式名单」里还留着一个被删组件用过的名字,检查会红。
修复单:
docs/tasks/TASK-frontend-dead-code-fix-20261014.md。上次打回的那一项已经去掉。样式名单里还留着一个已删除组件用过的名字,现在删了。页面和接口没有再改。那个不用登录就会让服务器算很久的入口,仍然是删掉的。
进度记录:
docs/tasks/PROGRESS-frontend-dead-code-20261013.md结论:通过,已推到测试环境,正在自动构建和部署。
用户能感知的只有一点:那个不登录就能让服务器算 20 秒的旧接口没了(正常使用从来不走它)。不需要专门走查,部署好后打开首页、问一句、看一份报告都正常即可关掉。
@jesse 需要你拍板:测试环境的自动检查红了,现在 #62、#63 都卡着上不去。原因是我验收 #63 时漏跑了一项检查,不怪 Grok。
发生了什么:#63 删掉了一个从来没挂到页面上的内部面板。后端有一条检查会扫描前端页面文件,统计「用户界面上能看到哪些功能」,它原来把这个死面板里的一个词算成了「案例校验(Case Validation)这个功能用户看得到」——其实一直看不到。面板删了,这项自然从统计里消失,检查就红了。
正确的修法:把那条检查里期望的名单去掉「案例校验」这一项(写明原值、新值、原因)。只改一行检查,不动任何功能。
为什么是我的问题:这单改了后端的测试文件,按规矩我该跑后端全部检查,我只跑了被改的那两个文件。以后凡是动到后端测试的单,我都跑全套。
请选一个(回字母就行):
同意A
按你选的 A 修好了,已推到测试环境,正在重新跑自动检查。
同一条检查里其实有两处被那个死面板「虚抬」过:一处是「案例校验算用户可见」,一处是「案例校验的体验评分为优秀」。面板删了以后,两处都按真实情况改了(各自写明原值、新值、原因)。
自动检查通过后,#62、#63、#73 会一起部署,我再 @你。
@jesse 已上测试环境,自动检查恢复成绿色。 部署成功;登录页和未登录拦截正常。
不需要专门走查:打开首页、问一句、看一份报告都正常就可以关掉。
已在 1.0 上线(BUG-1342,提交 3e20c125b),按负责人 11-26 要求关闭。