Commit Graph
13 Commits
Author SHA1 Message Date
xxm c68f987653 chore(cleansweep): 代码大扫除——归档hermes 111个死工具+4个废弃scanner,收敛MoFin/scripts重复副本,删除根旧版mo_models
- archive/hermes-dead-tools-20260820/: hermes独有不在cron不被import的111个一次性排查/测试工具
- archive/hermes-dead-tools-20260820/: 4个废弃scanner(btd1_v3/market_scanner/market_thermometer已废弃/s2v2)
- archive/legacy-cleanup-20260820/: MoFin根2旧版(mo_models/technical_analysis)+/home/hmo/scripts无引用旧项目+MoFin/scripts重复prepare_report_data
- 删除MoFin根mo_models.py(根旧版,deploy/profile-scripts权威保留)
- 保留: mofin_db.py/mo_data.py硬链接(server.py多层sys.path需各目录访问同一inode,非冗余)
- fix_gateway.py保留(Gateway看门狗fix_gateway_port.py的活跃依赖,勿误删)
- 验证: cron所有脚本引用无缺失, key模块import正常
- hermes独有从116收敛到5核心(alert_logger/market_screener/prepare_report_data/self_todo_executor_v2/xmpp_zhiwei_bot)
2026-08-20 10:36:25 +08:00
xxm 7df2758873 chore: 小果(xiaoguo)收尸——删表/删建表/停API/归档脚本/移除监控描述(铁律10,已确证废弃7/20归档) 2026-08-20 01:06:58 +08:00
xxm 4f6c8cad4d feat: 策略自我进化闭环落地——evolution_engine新建(退化检测+数据驱动变体±20%+2y回测验证+达标才推送)+lesson_extractor重写(实盘平仓+温区归因)+auto_iterator归档+cron每周六22:00 2026-08-15 18:26:24 +08:00
hmo 5ee934593b refactor: P0清理——归档根目录market_watch旧版分叉/get_realtime_prices死代码,删除promote_candidates备份残留(消除代码多版本) 2026-08-11 06:52:53 +08:00
xxm bc5e216385 chore: L2卫生自动归档 4 个影子/孤儿文件(archive/202608-auto) 2026-08-03 15:11:29 +08:00
hmo bccde8de71 fix: 52只缺失策略补全+inactive概念清除+self_repair噪音过滤+dedup 2026-07-28 09:20:25 +08:00
hmo 5de6bda868 fix: promote技术位锚定+accumulation入门4→5+watchlist_auto_exit排cron+归档孤儿market_scanner
- promote参数不再信扫描器: ta.full_analysis重定 区(弱撑~弱压)/损(强撑x0.985)/盈(强压)
- accumulation_scanner入门闸 score>=4→5(减少陪跑噪音)
- watchlist_auto_exit排入系统crontab(每日08:50,此前根本没调度)
- market_scanner.py是孤儿(跑的是market_screener),归档
2026-07-24 14:32:40 +08:00
hmo 6eab2148eb fix(audit): candidates UPSERT保计算列+market_scanner INSERT对齐表结构+拆除sync_decisions_to_db地雷
举一反三审计结果:
- accumulation_scanner: INSERT OR REPLACE整行替换,promoted=1的候选被重置score/promoted/log
  → ON CONFLICT DO UPDATE只更新扫描器自有列(cron活跃,今日必修)
- market_scanner: INSERT引用表中不存在的列(price/score/entry_low等),实测必失败
  → 对齐真实schema+同款UPSERT(孤儿脚本顺手修)
- sync_decisions_to_db.py: 全表DELETE再从已不存在的decisions.json重建,地雷→归档
2026-07-23 14:23:06 +08:00
hmo d04e7664ee chore: L2卫生自动归档 1 个影子/孤儿文件(archive/202607-auto) 2026-07-22 08:41:29 +08:00
hmo 228344b06b chore: 归档文件内容同步为当前canonical版本 2026-07-22 08:38:43 +08:00
hmo 55077395f9 chore: scripts/大收尸——178个影子副本/零引用工具归档至archive/20260722-scripts-cleanup(红线#6/#8,git mv保历史) 2026-07-22 08:38:19 +08:00
知微 54c48dc5d7 chore: deployed cleanup + hygiene system 2026-07-20 19:05:03 +08:00
知微 ccea9fcf09 cleanup: 去冗余+归档一次性脚本
- 移除重复的系统健康检查-每日(no_agent版,与LLM版重叠)
- 归档42个一次性脚本(移出MoFin/scripts→archive/scripts):
  - fix_*: 历史数据修复(11个)
  - migrate_*/rollback_*: 数据迁移(2个)
  - 一次性数据修复: bulk/close/data_freshness等(16个)
  - check_*/verify_*/diagnose_*: 历史诊断工具(12个)
  - test_*: 测试脚本(3个)
- 84个活跃脚本, 0架构违规, 31张healthy数据表
2026-07-09 00:19:00 +08:00