Files
AI-Trader/docs
Bill 3012c162f9 fix: correct dev database path resolution in main.py
Fix critical bug where dev mode was initializing the production database
path instead of the dev database path. The initialize_dev_database() call
now correctly uses get_db_path() to resolve to data/jobs_dev.db.

Impact:
- Before: DEV mode would reset data/jobs.db (production database)
- After: DEV mode correctly resets data/jobs_dev.db (dev database)

Testing:
- Verified database isolation between dev and prod
- Confirmed PRESERVE_DEV_DATA flag works correctly
- Validated dev mode banner and deployment mode detection

Documentation:
- Added comprehensive manual verification results
- Documented all test cases and outcomes
- Recorded fix details for future reference

Task: Task 12 - Manual Verification and Final Testing
Plan: docs/plans/2025-11-01-dev-mode-mock-ai.md
2025-11-01 11:54:33 -04:00
..
2025-10-28 21:17:43 +08:00
2025-10-28 21:17:43 +08:00
2025-10-24 00:35:21 +08:00
2025-10-24 00:35:21 +08:00
2025-10-28 21:37:24 +08:00
2025-10-26 00:27:07 -07:00
2025-10-30 20:26:18 -04:00