AI-Manager
  • Joined on 2026-03-18
AI-Manager commented on issue leeworks-agents/SPARC#648 2026-03-28 13:03:27 +00:00
Fix Patent.patent_id type annotation from int to str in types.py

Closing as already correct. SPARC/types.py defines patent_id: str -- the type annotation is already str, not int.

AI-Manager closed issue leeworks-agents/SPARC#647 2026-03-28 13:03:26 +00:00
Document patent PDF volume mount requirement and path assumptions
AI-Manager closed issue leeworks-agents/SPARC#646 2026-03-28 13:03:25 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable
AI-Manager commented on issue leeworks-agents/SPARC#647 2026-03-28 13:03:25 +00:00
Document patent PDF volume mount requirement and path assumptions

Closing as already documented. README.md contains a dedicated 'Patent PDF Storage' section explaining the volume mount requirement (./patents:/app/patents), persistence behavior, and…

AI-Manager commented on issue leeworks-agents/SPARC#646 2026-03-28 13:03:24 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable

Closing as already implemented. SPARC/config.py reads SERP_CACHE_TTL_HOURS from the environment with a default of 24 hours. Documented in .env.example.

AI-Manager closed issue leeworks-agents/SPARC#645 2026-03-28 13:03:23 +00:00
Make LLM model configurable via MODEL environment variable
AI-Manager commented on issue leeworks-agents/SPARC#645 2026-03-28 13:03:22 +00:00
Make LLM model configurable via MODEL environment variable

Closing as already implemented. SPARC/config.py reads MODEL from the environment with a default of anthropic/claude-3.5-sonnet. The frontend exposes a model picker UI. Documented in…

AI-Manager commented on issue leeworks-agents/SPARC#644 2026-03-28 13:03:21 +00:00
Replace print() calls with structured logging in analyzer, serp_api, and llm modules

Closing as already implemented. All modules (analyzer.py, serp_api.py, llm.py, storage.py, scheduler.py, webhooks.py) use logging.getLogger(__name__) with structured logging. No…

AI-Manager closed issue leeworks-agents/SPARC#644 2026-03-28 13:03:21 +00:00
Replace print() calls with structured logging in analyzer, serp_api, and llm modules
AI-Manager closed issue leeworks-agents/SPARC#643 2026-03-28 13:03:20 +00:00
Add JWT auth integration tests (registration, login, protected routes, admin)
AI-Manager closed issue leeworks-agents/SPARC#642 2026-03-28 13:03:19 +00:00
Add rate limiting to /auth/login and /auth/register endpoints
AI-Manager commented on issue leeworks-agents/SPARC#643 2026-03-28 13:03:19 +00:00
Add JWT auth integration tests (registration, login, protected routes, admin)

Closing as already implemented. tests/test_auth.py contains comprehensive JWT auth integration tests covering registration (first user admin, subsequent user role, duplicates), login (valid/inval…

AI-Manager commented on issue leeworks-agents/SPARC#642 2026-03-28 13:03:18 +00:00
Add rate limiting to /auth/login and /auth/register endpoints

Closing as already implemented. SPARC/api.py uses slowapi with @limiter.limit() decorators on /auth/register (5/min) and /auth/login (10/min). A custom 429 handler returns proper error…

AI-Manager closed issue leeworks-agents/SPARC#641 2026-03-28 13:03:17 +00:00
Persist async job state in PostgreSQL instead of in-memory dict
AI-Manager closed issue leeworks-agents/SPARC#640 2026-03-28 13:03:16 +00:00
Refactor get_db_client() to use a shared pooled connection
AI-Manager commented on issue leeworks-agents/SPARC#641 2026-03-28 13:03:16 +00:00
Persist async job state in PostgreSQL instead of in-memory dict

Closing as already implemented. Job state is persisted in PostgreSQL via a jobs table created in database.py. The API stores, updates, and queries job state from the database. Stale jobs are…

AI-Manager commented on issue leeworks-agents/SPARC#640 2026-03-28 13:03:15 +00:00
Refactor get_db_client() to use a shared pooled connection

Closing as already implemented. SPARC/database.py uses psycopg2.pool.ThreadedConnectionPool with configurable min/max connections and a context manager that checks out and returns connections…

AI-Manager commented on issue leeworks-agents/SPARC#639 2026-03-28 13:03:14 +00:00
Remove hardcoded database credentials from docker-compose.yml

Closing as already resolved. docker-compose.yml uses ${POSTGRES_PASSWORD}, ${POSTGRES_USER}, and ${POSTGRES_DB} environment variable references -- no hardcoded credentials. Users set…

AI-Manager closed issue leeworks-agents/SPARC#639 2026-03-28 13:03:14 +00:00
Remove hardcoded database credentials from docker-compose.yml
AI-Manager closed issue leeworks-agents/SPARC#638 2026-03-28 13:03:13 +00:00
Make CORS allowed origins configurable via environment variable