fix(mofin_health): 移除已归档模块引用(meta_growth/meta_watchdog/branch_*/prune_branches/stale_detector/watchlist_auto_exit)

This commit is contained in:
xxm
2026-08-21 12:50:07 +08:00
parent 34992de898
commit 389cf06f4a
-5
View File
@@ -100,7 +100,6 @@ PIPELINE_LAYER_RULES = [
"market_data", "mofin_collect"]),
("process", ["factor_engine", "sector_index_builder", "refresh_mtf_cache", "multi_timeframe"]),
("use", ["scanner", "screener", "candidate_filter", "promote_candidates", "reassess",
"stale_detector", "watchlist_auto_exit", "branch_", "meta_growth", "prune_branches",
"market_insight", "strategy_effectiveness", "strategy_review", "premarket_full_review",
"staleness", "review_needed", "stale_push", "mr_scanner", "s2_scanner",
"predictive_oversold", "accumulation", "watchlist_12d"]),
@@ -907,7 +906,6 @@ def build_report():
_manual_readers = {
"stock_weekly": ["multi_timeframe"],
"stock_monthly": ["multi_timeframe"],
"watchlist_log": ["watchlist_auto_exit", "mofin_db"],
}
if not writers and tname in _manual_writers:
writers = _manual_writers[tname]
@@ -1109,13 +1107,10 @@ def build_report():
except Exception:
self_check['functional'] = None
try:
mw = json.loads((LOGS / 'meta_watchdog.json').read_text(encoding='utf-8'))
self_check['meta_watchdog'] = {
'generated_at': mw.get('generated_at'), 'status': mw.get('status'),
'layers': mw.get('layers', []),
}
except Exception:
self_check['meta_watchdog'] = None
try:
hy = json.loads((LOGS / 'hygiene_report.json').read_text(encoding='utf-8'))
self_check['hygiene'] = {