Commit Graph
15 Commits
Author SHA1 Message Date
xxm 61c3cb52b2 docs: LLM执行协议开发规范+可复用JSON schema
- docs/llm-execution-protocol.md: 从重评流程提取的通用协议(输入/prompt/解析/校验/写入/错误处理)
- specs/schemas/reassess-output.json: 重评LLM输出节标题schema
- specs/schemas/trade-capture-output.json: 截图识别LLM输出schema
- 可复用组件: _section_line/snapshot_strategy_history/write_holding_strategy/门禁模式
2026-08-21 00:08:09 +08:00
xxm 35932e3314 spec: 策略评分分级标准公示(不合格≥2叉/待观察1叉/合格良好优秀3勾+综合分区间) 2026-08-17 08:21:29 +08:00
xxm 31a2e066a4 spec: 综合分列说明写清楚——置信系数(成交/40×月份/6线性打折)+效率因子(信号比≤2/5/10/10各档)具体公式 2026-08-17 07:21:15 +08:00
xxm 726c8e0002 spec: strategy.json 新增 columns 定义(16列)——每列含义/口径/注意,表头ⓘ§按钮数据源(SSOT) 2026-08-17 02:06:31 +08:00
xxm 3a445b8b60 docs: spec记录B组验证门槛教训——好果率≠能赚钱,须模拟交易验证(胜率≥50%/收益>0) 2026-08-16 15:06:19 +08:00
xxm 63dfb1ef92 docs: strategy spec更新——自我进化机制两方向(数据归纳假设+B组挖掘)+进化中心 2026-08-16 13:53:05 +08:00
xxm 7c1f70f0b7 docs: 更新strategy spec至2.0——资格评估(标准A:长期/近期/当下)+手动可用性+线性年化+新状态机+可用性API 2026-08-16 08:13:46 +08:00
xxm 97c0632d9a feat: 双轨同源规范——新建strategy模块spec(含综合/普适公式+三状态+每日更新说明)+研究Tab挂?/§按钮 2026-08-15 14:03:09 +08:00
hmo 7d75d54734 feat: 新增文档Tab(📚文档)——开源项目式文档体系(VERSIONS.md运营者版本变更+INDEX.md目录树+docs.json spec),让知微通过文档理解系统变化 2026-08-11 10:26:00 +08:00
hmo 4f83ee8a01 feat(hygiene): anti-redundancy enforcement — spec rules + weekly audit
Root cause analysis of the 2026-07-20 redundancy incident:
1. No single-source-of-truth rule -> same file legitimately lived in 4+
   locations, diverging silently
2. Relative path resolution (Path(__file__).parent/'data') -> each
   hardlinked copy of mofin_db.py pointed to a DIFFERENT database
3. 'Backup habit' left .bak/legacy files in production dirs, which
   monitoring then scanned and reported as false alarms
4. Half-done migrations: DB tables created but old JSON writers/readers
   stayed (price_events), old files stayed
5. Dead modules never got buried: xiaoguo 'dead' but bot ran 8 days
   as root eating 2.5GB
6. Monitoring checked 'does it exist' not 'is it alive' -> stale file
   mtime reported as 'pipeline stalled 14 days' (false alarm)
7. No 'system hygiene' as a check category at all

Prevention implemented:
- dev-spec.md v2.0: 五条红线 -> 十条红线
  #6 single source of truth (hardlink only, no independent copies)
  #7 absolute data paths only (no __file__-relative data resolution)
  #8 no backups/legacy in production data dirs (archive immediately)
  #9 dead module burial checklist (6 mandatory steps)
  #10 monitor liveness (DB table freshness) not existence
- File Location Constitution: canonical location per content type
- NEW system_hygiene_audit.py: weekly Monday 07:30 cron checking
  diverged copies / broken hardlinks / zombie processes / orphan data
  files / dead cron scripts / DB freshness -> hygiene_report.json + XMPP
- specs/hygiene.json: module spec per red line #1
- Verified: audit found 5 real issues on first run, all fixed, re-run clean
2026-07-20 19:04:05 +08:00
hmo b41bed7959 feat: XMPP observability — logger, monitor endpoints, clean dead xiaoguo refs 2026-07-19 12:47:15 +08:00
hmo 06e59f3d9c feat: add prompts and reports module specs (10 specs total) 2026-07-19 11:18:00 +08:00
hmo b08bfa5d03 refactor: integrate dashboard into server.py :8899, remove standalone dashboard 2026-07-19 11:06:50 +08:00
hmo 782a914a3c fix: dashboard port 5804→5807 (avoid conflicts with wechat_webhook and zhiwei bot) 2026-07-19 10:56:42 +08:00
hmo 747fdfe467 feat: introduce spec system + dashboard + health pipeline (AgentsMeeting template) 2026-07-19 10:50:34 +08:00