docs(scanner): add comprehensive scanner restoration and enhancement plan

- Document missing 10 scanner endpoints lost during router refactor
- Plan for library-type-aware scanner implementation
- Application lifecycle management via App pattern
- Background services auto-start (scheduler, watch mode)
- Graceful shutdown with signal handling
- Complete implementation guide with code snippets and testing checklist
- Safe phased approach with rollback procedures

Plan includes:
  - Phase 1: Create scanner routes file (internal/router/scanner.go)
  - Phase 2: Update router to capture EbookHandler
  - Phase 3: Implement library-type-aware scanning
  - Phase 4: Create application lifecycle management (internal/app/app.go)
  - Phase 5: Update main.go to use App pattern
  - Phase 6: Testing and verification

Ready for implementation in next session.
This commit is contained in:
2026-02-06 21:59:30 -05:00
parent 826ea2de26
commit 4b68ef8abd
File diff suppressed because it is too large Load Diff