Block a user
Make LLM model selection configurable via MODEL environment variable
Replace print() calls with structured logging in analyzer, serp_api, and llm modules
Add JWT authentication tests covering full auth flow
Add rate limiting to /auth/login and /auth/register endpoints
Persist async job state in PostgreSQL instead of in-memory dict
Refactor get_db_client() in auth.py to use shared connection pool
Remove plaintext database credentials from docker-compose.yml
Make CORS allowed origins configurable via environment variable
Enforce non-default JWT secret on startup
Auto-generate TypeScript API client from FastAPI OpenAPI spec
Add patent trend charts to the Analytics page (filing frequency and category distribution)
Add export feature: download analysis results as PDF or CSV from the dashboard
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI
Add pytest test job to Gitea Actions CI workflow that gates image build
Add patent trend charts to the Analytics page (filing frequency and category distribution)
Triage: Already Implemented
Trend charts are fully implemented on main:
- Backend:
GET /analytics/trendsendpoint (api.py lines 511-580) returnsby_month(per-company per-month counts)…
Auto-generate TypeScript API client from FastAPI OpenAPI spec
Triage: Already Implemented
TypeScript API client generation is fully implemented on main:
frontend/package.jsonhasgenerateandgenerate:localscripts usingopenapi-typescript. -…
Add export feature: download analysis results as PDF or CSV from the dashboard
Triage: Already Implemented
Export endpoints are fully implemented on main:
GET /export/{company_name}returns CSV with analysis results (api.py lines 586-635).- `GET /export/{company_n…
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI
Triage: Already Implemented
Both linters are in CI on main:
.gitea/workflows/test.yamlrunsruff check SPARC/ tests/andnpx tsc --noEmitin the frontend.- `.gitea/workflows/build.y…
Add pytest test job to Gitea Actions CI workflow that gates image build
Triage: Already Implemented
pytest is integrated into CI on main:
.gitea/workflows/test.yamlrunspython3 -m pytest tests/ -v --tb=short -xwith appropriate env vars.- `.gitea/workflo…
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds