知微
90f07b4eba
chore: sync
2026-07-20 22:05:03 +08:00
知微
3eb214f3a6
chore: sync
2026-07-20 21:43:03 +08:00
知微
2b79c1dc44
chore: sync
2026-07-20 21:21:25 +08:00
知微
c971d6bced
chore: watchdog fix
2026-07-20 20:55:34 +08:00
知微
dae60bb92f
chore: sync before briefing merge
2026-07-20 20:37:20 +08:00
知微
9f7198dc9c
chore: deploy pipeline auto-sync
2026-07-20 20:27:15 +08:00
知微
e69109fde9
merge: L0-L4 self-check architecture
2026-07-20 19:40:24 +08:00
知微
135bfced5a
chore: deployed L0-L4 self-check system
2026-07-20 19:40:23 +08:00
hmo
08eef1e181
feat(self-check): L0-L4 layered self-check architecture with LLM auto-repair
...
User directive: daily not weekly; clear responsibilities per layer with no
overlap; functional criteria (does the function WORK) not process liveness;
problems get FIXED via LLM with file-and-report discipline (act first,
report after); plus a meta-layer watching the watchers; deeply integrated
into F健康.
Architecture (responsibility matrix in dev-spec.md):
- L0 agents_health_check (5min): port/HTTP/DB liveness + auto_heal executor
- L1 functional_health_check (15min trading): per-module FUNCTIONAL
criteria — output freshness/validity per REGISTRY (live_prices/market_
snapshots/mtf_cache/macro_context/bot/LLM/cron engine), not process alive
- L2 system_hygiene_audit (daily 08:20, was weekly): divergence/hardlink/
zombie/orphan/dead-cron/db-freshness
- L3 self_repair (30min): reads L1/L2 failures -> LLM diagnoses -> executes
WHITELISTED repair actions directly (rerun_script/restart_service/
sync_links/switch_llm_key/none) -> repair_log.jsonl + XMPP report.
Max 2 repairs/module/day anti-loop. LLM unavailable -> rule fallback.
- L4 meta_watchdog (hourly): checks L0-L3 output freshness + L3 cron
registration + XMPP bridge; direct XMPP alert as last resort
Retired (overlap): Cron监护-高频 (cron_watchdog -> L3), 全局cron健康监控
(cron_health_monitor -> L1).
Dashboard: mofin_health.py now emits self_check section (functional/meta/
hygiene/recent_repairs); mofin_health.html new '🩺 自检体系' tab rendering
L4 layers, L1 module checks, L2 issues, L3 repair history.
E2E verified: stopped xmpp bot -> L1 flagged fail -> systemd recovered ->
L3 LLM correctly diagnosed 'none needed' and logged; rerun_script whitelist
path executes real scripts successfully; meta_watchdog all-green after fix.
2026-07-20 19:39:58 +08:00
知微
5d3b8e6fdd
chore: capture deployed state
2026-07-20 17:30:43 +08:00
hmo
a05c118cbc
feat(dashboard): restore lost monitoring + add 开发原则 tab (AgentsMeeting parity)
...
Two regressions fixed:
1. RESTORED: original health monitoring (功能树/全部Cron/数据实体/数据流)
was an iframe to /mofin_health.html — refactor replaced it with a
minimal services-only panel and lost all of it. mofin_health.json
(86KB, fresh) was still being generated the whole time.
- 健康 tab: XMPP panel (native) + restored iframe below
2. ADDED: 开发原则 parent tab replicating AgentsMeeting structure:
- G 规范: /api/spec renders docs/dev-spec.md + git history
- K 测试: /api/tests renders agents_health_check report as pass/fail
- F 健康: iframe to /mofin_health.html + link to 健康 tab
- H 需求: /api/prd (placeholder — prd.md not yet created)
- mdRender() ported from AgentsMeeting dashboard
2026-07-20 00:40:32 +08:00
hmo
058c42ce27
feat(health): recent XMPP conversation log panel + stale error fix
...
User requirement: health tab should show recent XMPP conversations.
- bot hooks log_xmpp on inbound (on_msg) and outbound (_deliver_loop)
so real chats land in xmpp_messages.jsonl (was: only cron/scanner)
- index.html health tab: new '最近对话' panel (last 10 msgs, dir arrow,
preview, status, time); refreshHealth updates it incrementally
- last_error now shows age and resolved state: once a successful
outbound happens after an error, it's shown gray as '已恢复'
instead of alarming red forever; unresolved errors still red
- health() status no longer degraded by errors that were later
resolved by successful outbound
2026-07-20 00:07:28 +08:00
hmo
0802046d5c
feat: Hermes Gateway + LLM provider monitoring, root cause visible in health tab
2026-07-19 13:25:37 +08:00
hmo
50ae4e1cc9
feat: XMPP bot journal monitoring — detect inbound/outbound/errors, smooth health refresh
2026-07-19 13:15:37 +08:00
hmo
9f3d1d8106
refactor: remove redundant dashboard tab, health tab now unified
2026-07-19 12:57:08 +08:00
hmo
b41bed7959
feat: XMPP observability — logger, monitor endpoints, clean dead xiaoguo refs
2026-07-19 12:47:15 +08:00
hmo
fec2bc9106
refactor: integrate spec system into all 9 tabs — ?§ buttons, native health monitoring
2026-07-19 11:22:56 +08:00
hmo
8356946de3
refactor: health tab now uses new dashboard, added dashboard tab
2026-07-19 11:11:59 +08:00
hmo
e45c3bb01f
feat: integrate dashboard tab into main index.html navbar
2026-07-19 11:11:18 +08:00
知微
90966c63ca
chore: 同步运行版本与git一致
...
- strategy_lifecycle.py: GATE_9D_ANALYSIS → GATE_12D_ANALYSIS(12维交叉验证)
- system_audit.py: 审计策略评估改用holding_strategies.updated_at
- CHANGELOG.md + analyst-knowledge-log.md 日常更新
2026-07-17 23:08:11 +08:00
知微
9239ab40c0
docs: 更新CHANGELOG + 开发日志记录07/13全部变更
...
- XMPP Bot非阻塞/本地XMPP/MUC修复
- price_monitor推送冷却持久化
- 深套股规则重构+换股规划swap-plan
- 周月线技术分析增强
- 健康Tab写无读清零
- stale_push_wlin/per_stock_reassess/promote_candidates更新
- static/index.html + mofin_health.json + server.py同步
2026-07-13 12:09:25 +08:00
知微
9905294496
chore: 清理残留mo_data.py+数据文件
2026-07-10 01:30:27 +08:00
知微
016258bc09
feat: 批量LLM九维分析+仓位建议列+Dashboard显示
2026-07-09 23:16:47 +08:00
知微
93dd2f8732
fix: 完整九维分析显示链接
2026-07-09 20:55:27 +08:00
知微
14690a64e5
fix: 自选按信号优先级排序+策略显示tech_snapshot/sector_context
2026-07-09 20:24:43 +08:00
知微
cc9e9e066e
fix: 自选Tab两行布局(策略全显)+新增RR列
2026-07-09 19:52:29 +08:00
知微
ffef8cdd29
fix: 自选Tab显示策略数据(买入区间/信号/策略)+live_prices涨跌
2026-07-09 19:49:07 +08:00
知微
a83c0ea11e
fix: watchlist API改用holding_strategies+市场Tabtrend变量
2026-07-09 19:24:45 +08:00
知微
223c708507
fix: 市场Tab候选管道JS语法错误
2026-07-09 19:21:07 +08:00
知微
52e70bde26
fix: 14个LLM cron prompt添加数据真实性铁律(置顶)+注册到提示词系统
2026-07-09 13:38:36 +08:00
知微
c745f1318a
stale_push_wlin: 按Dad确认流程重构推送逻辑
...
1. 加重评冷却(4小时)— 查holding_strategies.updated_at
2. 修zone_notes早退bug — 有区间说明时不静默退出
3. zone_notes冷却30分→4小时(匹配重评冷却)
4. 标题自适应:有推荐→自选买入提醒 | 仅区间提醒→操作区间提醒
5. 区间说明格式:'进入操作区间,但重评结果:x'
6. 操作建议标题只在有可操作项时显示
7. has_actionable判定改用实际lines内容
2026-07-09 10:33:50 +08:00
知微
ea750f2cb3
feat: 数据流Tab-28张表全量详细说明(写/读/总结)
2026-07-09 08:47:03 +08:00
知微
1e0bf0e00b
fix: JS大括号不平衡(重复if导致)
2026-07-09 08:38:40 +08:00
知微
50a7be1f59
feat: 功能树添加"说明"列(64项描述)
2026-07-09 08:32:13 +08:00
知微
9674e7ff1c
fix: 全部流程Tab添加profile过滤器,默认只看知微
2026-07-09 00:30:18 +08:00
知微
5139d46dc9
cleanup: 清理3张死表(stock_daily/weekly/monthly)+补录漏检写入方
2026-07-09 00:24:23 +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
知微
9fef32413b
refactor: 统一价格入口 mo_data.get_price() - 22个脚本移除自拉腾讯API
...
所有价格获取统一走 mo_data.get_price() / get_prices_batch():
- 优先读 live_prices(DB) → 无/过期才调 stock_quote(API) → 自动写回DB
- 22个脚本全部替换:branch_scanner chip_factors divergence_detector
market_screener mo_provider mofin_collect monitor_300308 300308_monitor
multi_timeframe refresh_macro_context stale_detector stale_push_wlin
stock_profile strategy_evaluator strategy_lifecycle strategy_review
strategy-staleness-check technical_analysis xiaoguo_signal_consumer
collect_evaluation_data
2026-07-08 23:54:01 +08:00
知微
0e21a3ae83
feat: 数据流架构审计-22个脚本自拉API违规标记
2026-07-08 23:35:56 +08:00
知微
84a147b6f2
feat: 数据流四态分类(healthy/write_only/read_only/orphan)+僵尸表清理
2026-07-08 19:43:04 +08:00
知微
f20bac075c
feat: 数据流Tab( 🔀 )+功能树折叠
2026-07-08 18:08:58 +08:00
知微
ab85173902
fix: 功能树只显示position-analyst(知微)的cron,default(莫荷)的cron不混入
2026-07-08 17:25:08 +08:00
知微
63397ec0bd
fix: 前端node.pipes显示bug+自动归类关键词精确化
2026-07-08 16:47:45 +08:00
知微
c614eee8b1
fix: 功能树每个节点嵌入cron管道信息,修复数据采集节点不显示cron的问题
2026-07-08 16:29:02 +08:00
知微
2762ddf3ae
fix: DB路径大面积修复——mofin_db/server/technical_analysis/strategy_tree等脚本的Path(__file__).parent/data错误指向scripts/data而非data/ 导致读写分离
...
- 量价分析: full_analysis输出volume_deep+成交量存储在price_history.json
- FK约束移除: holding_strategies外键->holdings阻止自选股写入
- #000850 重评已写入(止损3.74/止盈4.06/RR1.67)含量价信号
2026-07-08 12:34:39 +08:00
知微
ee1231b32f
feat: 功能树+Cron合并视图+数据实体描述列
2026-07-08 12:23:34 +08:00
知微
b23e7736ee
feat: 首页加 🏥 健康tab, 内嵌iframe加载三Tab监控
2026-07-08 12:10:54 +08:00
知微
9d85601904
fix: 评估页字段名错误(evaluations→advice_evaluation)
2026-06-21 02:55:12 +08:00
知微
4eb409b51a
市场页改版:三栏展示(行业+趋势信号+小果扫描),取代旧洞察/潜力股
2026-06-21 02:47:04 +08:00
知微
70514bf542
Dashboard: 信号tab + API(signals + xiaoguo-scan),前端展示
2026-06-21 02:44:05 +08:00