Lxy
bceb57c0c3
feat: add trade reflection system data models and preset tags initialization
...
- Added TradePair, TradeReflection, DailyReflection, TradeTag, TradeRecordTag, TradeExperience models
- Updated analysis_db.py to include new models in init functions
- Added _init_preset_tags() function with 19 preset tags in 4 categories
- Updated tasks.md to mark task 1 as complete
2 weeks ago
Lxy
8f536f4d44
archive: config-to-mysql
...
- Move config-to-mysql change to openspec/changes/archive/2026-07-05-config-to-mysql/
- Update archived-with metadata in Design Doc and Plan
- Mark verify_result: pass, verified_at: 2026-07-05, archived: true
2 weeks ago
Lxy
5c351d53d9
docs: 更新 config-to-mysql 验证报告,记录迁移修复
2 weeks ago
Lxy
bded945ec5
fix: 动态读取 MySQLSessionLocal,避免模块导入顺序导致迁移跳过
2 weeks ago
Lxy
345ba6af96
chore: config-to-mysql verify-pass
2 weeks ago
Lxy
d1af4a40d4
chore: 更新 config-to-mysql 验证与分支状态
2 weeks ago
Lxy
79c355a2cc
merge: config-to-mysql 配置迁移到 MySQL
2 weeks ago
Lxy
4a93d8a382
docs: 添加 config-to-mysql 验证报告
2 weeks ago
Lxy
713984cea3
fix: 检查 _save_to_mysql 返回值,迁移时 JSON 损坏不回填
2 weeks ago
Lxy
58bf54f7bf
fix: 修复 ConfigStore 写入顺序、JSON 原子写入、JSON 损坏不回填、清理未使用导入
2 weeks ago
Lxy
87b0aa4f9d
chore: 标记 config-to-mysql 进入 verify 阶段
2 weeks ago
Lxy
a599130a51
feat: 将 symbols/ai 配置迁移到 MySQL,保留 JSON fallback
2 weeks ago
Lxy
4956086d84
docs: 创建 config-to-mysql Design Doc
2 weeks ago
Lxy
e78b4517ec
chore: 创建 config-to-mysql change 结构
2 weeks ago
Lxy
f8d5ecde0a
chore: 归档 analysis-storage-refactor change
2 weeks ago
Lxy
cfab52d93d
chore: 标记 analysis-storage-refactor 进入 archive 阶段
2 weeks ago
Lxy
f528c4ef55
chore: 添加 analysis-storage-refactor 验证报告并标记分支已处理
2 weeks ago
Lxy
27974474f8
fix: 修复 MySQL session 创建失败降级和迁移对象 detached 问题
2 weeks ago
Lxy
b24f2e1d13
chore: 标记 analysis-storage-refactor 进入 verify 阶段
2 weeks ago
Lxy
1111963c5f
feat: 将 futures_analysis.db 迁移到 MySQL 并支持 Redis 缓存
2 weeks ago
Lxy
9933c0739a
chore: 创建实施计划,暂停在 plan-ready
2 weeks ago
Lxy
82de2f98c0
docs: 创建 analysis-storage-refactor Design Doc
2 weeks ago
Lxy
819e36a8eb
chore: 创建 analysis-storage-refactor change 结构
2 weeks ago
Lxy
62a95ca171
chore: 归档 storage-cache-refactor change
2 weeks ago
Lxy
b0a3b24679
chore: 更新验证时间戳
2 weeks ago
Lxy
842a04b304
docs: 更新验证报告,记录时区 bug 修复
2 weeks ago
Lxy
98567a3204
fix: 修复时区不匹配导致行情数据读取失败
2 weeks ago
Lxy
2bcc69d72f
docs: add verification report for storage-cache-refactor
2 weeks ago
Lxy
ef9914ba1b
chore: check off all tasks and update progress ledger
2 weeks ago
Lxy
0a519d5c7d
fix(cache): fallback to SQLite when StorageManager timestamp write fails
2 weeks ago
Lxy
d9bda2c4cf
fix(storage): use CACHE_TTL_SECONDS for is_fresh and REDIS_TTL_SECONDS for cache TTL
2 weeks ago
Lxy
e17a183262
fix(storage): address final review findings on atomic writes, migration, config and URL encoding
2 weeks ago
Lxy
46f5846c99
fix(migration): ensure SQLite records are correctly inserted into MySQL
2 weeks ago
Lxy
4d7b3e6e32
test(integration): verify dual-write consistency and migration integrity
2 weeks ago
Lxy
177a10fbd1
fix(storage): inject Redis/MySQL clients into StorageManager singleton
2 weeks ago
Lxy
7cea089d48
test(integration): verify fallback to MySQL and SQLite scenarios
2 weeks ago
Lxy
ad9d7f88ab
test(integration): verify Redis cache hit/miss scenarios
2 weeks ago
Lxy
bf4f571f0e
fix(cache): remove redundant filtering and avoid mutating StorageManager results
2 weeks ago
Lxy
2720ddb728
fix(cache): resolve StorageManager integration compatibility issues
2 weeks ago
Lxy
7ee6794095
feat(cache): integrate StorageManager into cache service with SQLite fallback
2 weeks ago
Lxy
5db0546e5f
feat(app): trigger SQLite to MySQL migration on startup
2 weeks ago
Lxy
a26a44e5c9
feat(migration): add SQLite to MySQL data migration script
2 weeks ago
Lxy
59e461a163
fix(storage): use input timestamp in save and expand test coverage
2 weeks ago
Lxy
8f3c2b6fdb
feat(storage): add StorageManager write logic with dual-write consistency
2 weeks ago
Lxy
beba383a92
feat(storage): add StorageManager read logic with Redis -> MySQL fallback
2 weeks ago
Lxy
48f976530f
feat(storage): add StorageManager skeleton with fallback detection
2 weeks ago
Lxy
72d81ce7ea
feat(app): create MySQL tables for market data in lifespan
2 weeks ago
Lxy
a4c3af6c78
feat(app): initialize Redis and MySQL connections in lifespan
2 weeks ago
Lxy
b7ae8973a8
feat(cache): add Redis client module
2 weeks ago
Lxy
7c46ffccb3
feat(db): add MySQL connection module
2 weeks ago