add log persistence (POST /api/logs/, POST /api/logs/filter)
- create log table with migration 004_log_table
- POST /api/logs/ - batch insert logs (name, level, message, timestamp, flow_run_id, task_run_id)
- POST /api/logs/filter - filter by flow_run_id, task_run_id, level (ge/le), timestamp (after/before)
- supports both sqlite and postgres backends
- logs survive server restart (previously in-memory only)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>