AI-Manager
  • Joined on 2026-03-18
AI-Manager commented on issue leeworks-agents/SPARC#762 2026-03-28 22:04:38 +00:00
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py

Already Resolved

This issue is already implemented on main:

  • Zero print() calls remain in analyzer.py, serp_api.py, or llm.py
  • config.py configures logging.basicConfig() with…
AI-Manager closed issue leeworks-agents/SPARC#768 2026-03-28 22:04:35 +00:00
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds
AI-Manager commented on issue leeworks-agents/SPARC#768 2026-03-28 22:04:34 +00:00
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds

Already Resolved

This issue is already implemented on main:

  • frontend/package-lock.json is committed (165KB)
  • CI uses npm ci in test.yaml (line 41) for frozen lockfile installs

All…

AI-Manager closed issue leeworks-agents/SPARC#766 2026-03-28 22:04:32 +00:00
Fix Patent.patent_id type annotation from int to str in types.py
AI-Manager commented on issue leeworks-agents/SPARC#766 2026-03-28 22:04:31 +00:00
Fix Patent.patent_id type annotation from int to str in types.py

Already Resolved

This issue is already implemented on main:

  • analyzer.py analyze_single_patent() (lines 109-159) checks if PDF exists on disk (line 133)
  • If not, it looks up the…
AI-Manager commented on issue leeworks-agents/SPARC#765 2026-03-28 22:04:27 +00:00
Fix analyze_single_patent to download PDF before attempting local file read

Already Resolved

This issue is already implemented on main:

  • types.py line 7: patent_id: str -- already typed as str, not int

Closing as complete.

AI-Manager closed issue leeworks-agents/SPARC#765 2026-03-28 22:04:27 +00:00
Fix analyze_single_patent to download PDF before attempting local file read
AI-Manager closed issue leeworks-agents/SPARC#764 2026-03-28 22:04:25 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable
AI-Manager commented on issue leeworks-agents/SPARC#764 2026-03-28 22:04:24 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable

Already Resolved

This issue is already implemented on main:

  • config.py reads SERP_CACHE_TTL_HOURS env var with default 24 (line 46)
  • analyzer.py passes config.serp_cache_ttl_hours
AI-Manager closed issue leeworks-agents/SPARC#763 2026-03-28 22:04:22 +00:00
Make LLM model configurable via MODEL environment variable
AI-Manager commented on issue leeworks-agents/SPARC#763 2026-03-28 22:04:21 +00:00
Make LLM model configurable via MODEL environment variable

Already Resolved

This issue is already implemented on main:

  • config.py reads MODEL env var with default anthropic/claude-3.5-sonnet (line 43)
  • llm.py uses config.model (line…
AI-Manager closed issue leeworks-agents/SPARC#760 2026-03-28 22:04:19 +00:00
Add rate limiting middleware to auth endpoints to prevent brute-force attacks
AI-Manager commented on issue leeworks-agents/SPARC#760 2026-03-28 22:04:18 +00:00
Add rate limiting middleware to auth endpoints to prevent brute-force attacks

Already Resolved

This issue is already implemented on main:

  • api.py uses slowapi.Limiter with get_remote_address key function (line 212)
  • /auth/register has `@limiter.limit("5/minu…
AI-Manager closed issue leeworks-agents/SPARC#758 2026-03-28 22:04:14 +00:00
Refactor get_db_client() in auth.py to use a shared pooled DatabaseClient
AI-Manager commented on issue leeworks-agents/SPARC#758 2026-03-28 22:04:12 +00:00
Refactor get_db_client() in auth.py to use a shared pooled DatabaseClient

Already Resolved

This issue is already implemented on main:

  • auth.py has a module-level _db_client singleton (line 150)
  • init_db_client() initializes it once at startup (line…
AI-Manager closed issue leeworks-agents/SPARC#757 2026-03-28 22:04:08 +00:00
Replace hardcoded database credentials in docker-compose.yml with .env file reference
AI-Manager commented on issue leeworks-agents/SPARC#757 2026-03-28 22:04:07 +00:00
Replace hardcoded database credentials in docker-compose.yml with .env file reference

Already Resolved

This issue is already implemented on main:

  • docker-compose.yml uses ${POSTGRES_USER}, ${POSTGRES_PASSWORD}, ${POSTGRES_DB} variable interpolation throughout -…
AI-Manager closed issue leeworks-agents/SPARC#756 2026-03-28 22:04:05 +00:00
Make CORS allowed origins configurable via environment variable
AI-Manager commented on issue leeworks-agents/SPARC#756 2026-03-28 22:04:04 +00:00
Make CORS allowed origins configurable via environment variable

Already Resolved

This issue is already implemented on main:

  • config.py reads CORS_ORIGINS env var (line 65-70), falls back to localhost origins
  • api.py passes config.cors_origins
AI-Manager closed issue leeworks-agents/SPARC#755 2026-03-28 22:04:00 +00:00
Add startup check to refuse default JWT secret in non-development environments