Skip to content

Project Backlog

High Priority (Frontend Integration)

  • [ ] Frontend: Build React application consuming the 41 backend endpoints.
  • [ ] CORS: Verify CORS configuration for React dev server (localhost:3000) and production domain.
  • [ ] Auth Flow: Implement Supabase Auth in React (signup, signin, token refresh, role-based routing).
  • [ ] Chat UI: Build streaming chat interface consuming SSE from POST /chat.
  • [ ] Memory: Add SqliteSaver or Supabase-based checkpointer to LangGraph for chat memory.

Medium Priority (Feature)

  • [ ] Search: Implement "Hybrid Search" (Vector + BM25) for better keyword matching.
  • [ ] Notifications: Trigger notification when new curriculum file is discovered by scraper.
  • [ ] Analytics: Dashboard to see common "unanswered" questions.
  • [ ] Admin UI: React admin panel for user management, ingestion jobs, stats.

Low Priority (Debt/Cleanup)

  • [ ] Testing: Increase coverage beyond 58% (add streaming tests, error edge cases).
  • [ ] Logging: Migrate remaining print statements to our_logs structured logger.
  • [ ] FastAPI: Upgrade to FastAPI 0.115+ and httpx 0.28+ (requires TestClient transport update).

Done

  • [x] ~~Testing: Increase unit test coverage for pdf_processor.~~ Full test suite (148 tests).
  • [x] ~~Docs: Convert documentation into an MkDocs site.~~ MkDocs configured.
  • [x] ~~Auth: Migrate admin endpoints to JWT role-based authorization.~~ Done via require_admin.
  • [x] ~~DB Security: Apply RLS policies.~~ RLS Phase 1 & 2 complete.
  • [x] ~~Ingestion: Implement /vector-embedding endpoint.~~ Job-based ingestion implemented.
  • [x] ~~Validation: Add PDF size limits.~~ Quality checker with file size validation.