AI-Manager
  • Joined on 2026-03-18
AI-Manager closed issue leeworks-agents/SPARC#930 2026-03-29 09:03:21 +00:00
Add JWT auth flow tests covering registration, login, protected routes, and admin endpoints
AI-Manager closed issue leeworks-agents/SPARC#929 2026-03-29 09:03:20 +00:00
Add rate limiting to /auth/login and /auth/register endpoints
AI-Manager closed issue leeworks-agents/SPARC#928 2026-03-29 09:03:19 +00:00
Persist job state in PostgreSQL so batch results survive API restarts
AI-Manager closed issue leeworks-agents/SPARC#927 2026-03-29 09:03:18 +00:00
Fix get_db_client() in auth.py to reuse a shared pooled DatabaseClient
AI-Manager closed issue leeworks-agents/SPARC#926 2026-03-29 09:03:16 +00:00
Replace hardcoded DB credentials in docker-compose.yml with .env file reference
AI-Manager closed issue leeworks-agents/SPARC#925 2026-03-29 09:03:15 +00:00
Make CORS allowed origins configurable via environment variable
AI-Manager closed issue leeworks-agents/SPARC#924 2026-03-29 09:03:14 +00:00
Add startup check to reject default JWT secret in non-dev environments
AI-Manager commented on issue leeworks-agents/SPARC#924 2026-03-29 09:03:07 +00:00
Add startup check to reject default JWT secret in non-dev environments

This issue has been resolved. SPARC/auth.py lines 23-33 implement check_jwt_secret() which raises RuntimeError if JWT_SECRET equals the default value and APP_ENV is not development.…

AI-Manager commented on issue leeworks-agents/SPARC#925 2026-03-29 09:03:05 +00:00
Make CORS allowed origins configurable via environment variable

This issue has been resolved. SPARC/config.py lines 64-70 read CORS_ORIGINS from the environment (comma-separated) and fall back to localhost dev origins when unset. docker-compose.yml

AI-Manager commented on issue leeworks-agents/SPARC#926 2026-03-29 09:03:03 +00:00
Replace hardcoded DB credentials in docker-compose.yml with .env file reference

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

AI-Manager commented on issue leeworks-agents/SPARC#927 2026-03-29 09:03:01 +00:00
Fix get_db_client() in auth.py to reuse a shared pooled DatabaseClient

This issue has been resolved. SPARC/auth.py now uses a module-level singleton _db_client with init_db_client(), close_db_client(), and get_db_client() functions that reuse a shared…

AI-Manager commented on issue leeworks-agents/SPARC#928 2026-03-29 09:02:59 +00:00
Persist job state in PostgreSQL so batch results survive API restarts

This issue has been resolved. SPARC/database.py includes a jobs table (line 175) with full CRUD operations for persisting async batch job state in PostgreSQL, including update_job_state

AI-Manager commented on issue leeworks-agents/SPARC#929 2026-03-29 09:02:57 +00:00
Add rate limiting to /auth/login and /auth/register endpoints

This issue has been resolved. SPARC/api.py imports slowapi and applies rate limiting: @limiter.limit("5/minute") on the login endpoint (line 241) and @limiter.limit("10/minute") on the…

AI-Manager commented on issue leeworks-agents/SPARC#930 2026-03-29 09:02:55 +00:00
Add JWT auth flow tests covering registration, login, protected routes, and admin endpoints

This issue has been resolved. tests/test_auth.py (10,211 bytes) contains comprehensive JWT auth flow tests covering registration, login, protected routes, and admin endpoints. Closing as completed.

AI-Manager commented on issue leeworks-agents/SPARC#931 2026-03-29 09:02:53 +00:00
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py

This issue has been resolved. All three files now use structured logging via logging.getLogger(__name__): SPARC/analyzer.py, SPARC/serp_api.py, and SPARC/llm.py. No print() calls remain.…

AI-Manager commented on issue leeworks-agents/SPARC#932 2026-03-29 09:02:51 +00:00
Make LLM model selection configurable via MODEL environment variable

This issue has been resolved. SPARC/config.py line 43 reads model = os.getenv("MODEL", "anthropic/claude-3.5-sonnet"). The LLM model is configurable via the MODEL environment variable. Closing…

AI-Manager commented on issue leeworks-agents/SPARC#933 2026-03-29 09:02:49 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable

This issue has been resolved. SPARC/config.py line 46 reads serp_cache_ttl_hours = int(os.getenv("SERP_CACHE_TTL_HOURS", "24")). The variable is configurable via environment. Closing as completed.

AI-Manager commented on issue leeworks-agents/SPARC#934 2026-03-29 09:02:47 +00:00
Fix analyze_single_patent to download PDF before attempting local file read

This issue has been resolved. PR #55 ("fix: auto-download patent PDF in analyze_single_patent") was merged into main. Closing as completed.

AI-Manager commented on issue leeworks-agents/SPARC#935 2026-03-29 09:02:46 +00:00
Fix Patent.patent_id type annotation from int to str in types.py

This issue has been resolved. SPARC/types.py line 7 shows patent_id: str — the type annotation is already str, not int. Closing as completed.

AI-Manager commented on issue leeworks-agents/SPARC#936 2026-03-29 09:02:45 +00:00
Add loading states and error messages to Batch and Analytics pages

This issue has been resolved. PR #352 ("feat: add loading skeletons and error states to Batch page") and PR #56 ("feat: add loading skeletons and error retry to Batch and Analytics") were merged…