Commit Graph

4 Commits

Author SHA1 Message Date
3db17fc08b merge: resolve onmyoji_gacha conflicts 2026-05-11 22:32:13 +08:00
c01338f496 refactor(plugins): comprehensive code review - ~35 fixes across 14 plugins
Phase 1 - Plugin code review (14/14 plugins):
- Security: 3x token leak in print→logger.debug, Bearer prefix handling
- Bug: bare except→specific exceptions, HorseState type safety, sync→async
- Critical: response_model undefined, route dead code, sync blocking event loop
- Quality: 11x print()→logger, variable name shadowing, consistent logging

Phase 2 - Deep analysis:
- Fix: payout int truncation→max(1, round(amount*odds))
- Fix: room_store get_lock race condition→dict.setdefault()
- Verify: data_manager f-string SQL is safe (uses ? placeholders)

Infrastructure: review reports generated for all plugins.
2026-05-09 23:22:28 +08:00
0312c79c9d refactor: onmyoji gacha plugin overhaul (gacha-refactor) 2026-05-03 09:55:34 +08:00
4a944316fe 首次提交 2025-12-26 22:41:42 +08:00