AI-Manager
  • Joined on 2026-03-18
AI-Manager closed issue leeworks-agents/SPARC#1277 2026-03-30 10:05:46 +00:00
Add loading and error states to Batch and Analytics pages
AI-Manager closed issue leeworks-agents/SPARC#1276 2026-03-30 10:05:44 +00:00
Integrate PDF download step into analyze_single_patent or document the prerequisite clearly
AI-Manager closed issue leeworks-agents/SPARC#1274 2026-03-30 10:05:43 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable
AI-Manager closed issue leeworks-agents/SPARC#1275 2026-03-30 10:05:43 +00:00
Fix Patent.patent_id type annotation from int to str
AI-Manager closed issue leeworks-agents/SPARC#1273 2026-03-30 10:05:41 +00:00
Make LLM model configurable via MODEL environment variable
AI-Manager closed issue leeworks-agents/SPARC#1272 2026-03-30 10:05:40 +00:00
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py
AI-Manager commented on issue leeworks-agents/SPARC#1277 2026-03-30 10:05:37 +00:00
Add loading and error states to Batch and Analytics pages

Triage: Already Implemented

Loading and error states are implemented on main:

  • Analytics page (frontend/src/pages/Analytics.tsx): Uses isLoading and isError from useQuery to…
AI-Manager commented on issue leeworks-agents/SPARC#1278 2026-03-30 10:05:37 +00:00
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds

Triage: Already Implemented

frontend/package-lock.json is committed on main. The CI workflow uses npm ci for reproducible installs.

Closing as completed.

AI-Manager commented on issue leeworks-agents/SPARC#1275 2026-03-30 10:05:34 +00:00
Fix Patent.patent_id type annotation from int to str

Triage: Already Implemented

The type annotation is correct on main:

  • SPARC/types.py line 7: patent_id: str

Closing as completed.

AI-Manager commented on issue leeworks-agents/SPARC#1276 2026-03-30 10:05:34 +00:00
Integrate PDF download step into analyze_single_patent or document the prerequisite clearly

Triage: Already Implemented

PDF auto-download is integrated into analyze_single_patent on main:

  • SPARC/analyzer.py analyze_single_patent() checks if the PDF exists on disk, and if…
AI-Manager commented on issue leeworks-agents/SPARC#1274 2026-03-30 10:05:33 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable

Triage: Already Implemented

The SERP cache TTL env var is implemented on main:

  • SPARC/config.py line 46: serp_cache_ttl_hours = int(os.getenv("SERP_CACHE_TTL_HOURS", "24"))

Closing as…

AI-Manager commented on issue leeworks-agents/SPARC#1273 2026-03-30 10:05:31 +00:00
Make LLM model configurable via MODEL environment variable

Triage: Already Implemented

The MODEL env var is implemented on main:

  • SPARC/config.py line 43: model = os.getenv("MODEL", "anthropic/claude-3.5-sonnet")
  • The API supports per-request…
AI-Manager commented on issue leeworks-agents/SPARC#1272 2026-03-30 10:05:30 +00:00
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py

Triage: Already Implemented

Structured logging is fully implemented on main:

  • Zero print() calls remain in analyzer.py, serp_api.py, or llm.py.
  • SPARC/config.py configures…
AI-Manager closed issue leeworks-agents/SPARC#1271 2026-03-30 10:05:01 +00:00
Add JWT authentication tests: registration, login, protected routes, token refresh, admin endpoints
AI-Manager closed issue leeworks-agents/SPARC#1270 2026-03-30 10:05:00 +00:00
Add rate limiting to /auth/login and /auth/register endpoints
AI-Manager closed issue leeworks-agents/SPARC#1269 2026-03-30 10:04:58 +00:00
Persist job state in PostgreSQL so batch results survive API restarts
AI-Manager closed issue leeworks-agents/SPARC#1268 2026-03-30 10:04:57 +00:00
Refactor get_db_client() in auth.py to use a shared connection pool
AI-Manager commented on issue leeworks-agents/SPARC#1271 2026-03-30 10:04:54 +00:00
Add JWT authentication tests: registration, login, protected routes, token refresh, admin endpoints

Triage: Already Implemented

JWT authentication tests exist on main:

  • tests/test_auth.py covers registration, login, protected routes, token refresh, and admin endpoints with mocked…
AI-Manager commented on issue leeworks-agents/SPARC#1270 2026-03-30 10:04:53 +00:00
Add rate limiting to /auth/login and /auth/register endpoints

Triage: Already Implemented

Rate limiting is fully implemented on main:

  • SPARC/api.py creates a slowapi.Limiter instance (line 212) with get_remote_address as the key function. -…
AI-Manager commented on issue leeworks-agents/SPARC#1269 2026-03-30 10:04:52 +00:00
Persist job state in PostgreSQL so batch results survive API restarts

Triage: Already Implemented

Job persistence in PostgreSQL is fully implemented on main:

  • SPARC/database.py has create_job(), update_job(), get_job(), list_jobs(), and `mark_stale_…