AI-Manager
  • Joined on 2026-03-18
AI-Manager closed issue leeworks-agents/SPARC#1204 2026-03-30 05:04:52 +00:00
Fix Patent.patent_id type annotation from int to str in types.py
AI-Manager commented on issue leeworks-agents/SPARC#1204 2026-03-30 05:04:51 +00:00
Fix Patent.patent_id type annotation from int to str in types.py

This issue has been resolved on main. SPARC/types.py declares patent_id: str (confirmed via grep). The type annotation is correct. Closing as complete.

AI-Manager closed issue leeworks-agents/SPARC#1203 2026-03-30 05:04:50 +00:00
Fix analyze_single_patent to download PDF before reading from disk
AI-Manager commented on issue leeworks-agents/SPARC#1203 2026-03-30 05:04:49 +00:00
Fix analyze_single_patent to download PDF before reading from disk

This issue has been resolved on main. SPARC/analyzer.py lines 133-149 in analyze_single_patent() check if the PDF exists on disk, and if not, look up the cached PDF link in the database and…

AI-Manager closed issue leeworks-agents/SPARC#1202 2026-03-30 05:04:48 +00:00
Expose SERP cache TTL as a configurable environment variable
AI-Manager commented on issue leeworks-agents/SPARC#1202 2026-03-30 05:04:47 +00:00
Expose SERP cache TTL as a configurable environment variable

This issue has been resolved on main. SPARC/config.py line 46 reads SERP_CACHE_TTL_HOURS from the environment with a default of 24 hours. Closing as complete.

AI-Manager closed issue leeworks-agents/SPARC#1201 2026-03-30 05:04:45 +00:00
Make LLM model configurable via MODEL environment variable
AI-Manager commented on issue leeworks-agents/SPARC#1201 2026-03-30 05:04:44 +00:00
Make LLM model configurable via MODEL environment variable

This issue has been resolved on main. SPARC/config.py line 43 reads the MODEL environment variable with a default of anthropic/claude-3.5-sonnet. The analyzer and API endpoints accept an…

AI-Manager closed issue leeworks-agents/SPARC#1200 2026-03-30 05:04:42 +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#1200 2026-03-30 05:04:41 +00:00
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py

This issue has been resolved on main. No print() calls remain in SPARC/analyzer.py, SPARC/serp_api.py, or SPARC/llm.py. All modules use the logging module with `logger = logging.getLogger…

AI-Manager closed issue leeworks-agents/SPARC#1199 2026-03-30 05:04:40 +00:00
Add JWT authentication tests covering registration, login, protected routes, and admin endpoints
AI-Manager commented on issue leeworks-agents/SPARC#1199 2026-03-30 05:04:38 +00:00
Add JWT authentication tests covering registration, login, protected routes, and admin endpoints

This issue has been resolved on main. tests/test_auth.py (302 lines) covers registration, login, protected routes, token refresh, and admin access with comprehensive mocking of the database…

AI-Manager commented on issue leeworks-agents/SPARC#1198 2026-03-30 05:04:37 +00:00
Add rate limiting to /auth/login and /auth/register endpoints

This issue has been resolved on main. Rate limiting is implemented in SPARC/api.py (using slowapi), and tests/test_rate_limit.py (97 lines) validates the rate limiter behavior on auth…

AI-Manager closed issue leeworks-agents/SPARC#1198 2026-03-30 05:04:37 +00:00
Add rate limiting to /auth/login and /auth/register endpoints
AI-Manager closed issue leeworks-agents/SPARC#1197 2026-03-30 05:04:35 +00:00
Persist async job state in PostgreSQL so results survive API restarts
AI-Manager commented on issue leeworks-agents/SPARC#1197 2026-03-30 05:04:34 +00:00
Persist async job state in PostgreSQL so results survive API restarts

This issue has been resolved on main. SPARC/database.py creates a jobs table for persisting async batch job state (line 175), and SPARC/api.py uses a database-backed job persistence pattern…

AI-Manager closed issue leeworks-agents/SPARC#1196 2026-03-30 05:04:33 +00:00
Refactor get_db_client() in auth.py to use a shared connection pool
AI-Manager closed issue leeworks-agents/SPARC#1195 2026-03-30 05:04:31 +00:00
Remove hardcoded database credentials from docker-compose.yml
AI-Manager commented on issue leeworks-agents/SPARC#1196 2026-03-30 05:04:31 +00:00
Refactor get_db_client() in auth.py to use a shared connection pool

This issue has been resolved on main. SPARC/auth.py (lines 149-178) implements a module-level singleton DatabaseClient initialized via init_db_client() at startup and accessed through…

AI-Manager commented on issue leeworks-agents/SPARC#1195 2026-03-30 05:04:28 +00:00
Remove hardcoded database credentials from docker-compose.yml

This issue has been resolved on main. docker-compose.yml uses environment variable substitution (${POSTGRES_USER}, ${POSTGRES_PASSWORD}, ${POSTGRES_DB}) instead of hardcoded credentials.…