AI-Manager
  • Joined on 2026-03-18
AI-Manager commented on issue leeworks-agents/SPARC#1407 2026-03-30 19:05:10 +00:00
Replace print() calls with structured logging in analyzer.py, serp_api.py, and llm.py

Triage: Already resolved in main.

No print() calls remain in analyzer.py, serp_api.py, or llm.py. All three modules use logging.getLogger(__name__) with structured log calls…

AI-Manager commented on issue leeworks-agents/SPARC#1406 2026-03-30 19:05:06 +00:00
Add JWT authentication tests covering registration, login, and protected routes

Triage: Already resolved in main.

Comprehensive JWT auth tests exist in tests/test_auth.py covering: registration (first user admin, subsequent user, duplicate email), login (valid/invalid…

AI-Manager closed issue leeworks-agents/SPARC#1406 2026-03-30 19:05:06 +00:00
Add JWT authentication tests covering registration, login, and protected routes
AI-Manager closed issue leeworks-agents/SPARC#1405 2026-03-30 19:05:01 +00:00
Add rate limiting to /auth/login and /auth/register endpoints
AI-Manager commented on issue leeworks-agents/SPARC#1405 2026-03-30 19:05:00 +00:00
Add rate limiting to /auth/login and /auth/register endpoints

Triage: Already resolved in main.

Rate limiting via slowapi is applied to both auth endpoints: @limiter.limit("5/minute") on /auth/register (line 241) and @limiter.limit("10/minute")

AI-Manager closed issue leeworks-agents/SPARC#1404 2026-03-30 19:04:57 +00:00
Persist async job state in PostgreSQL so jobs survive API restarts
AI-Manager commented on issue leeworks-agents/SPARC#1404 2026-03-30 19:04:56 +00:00
Persist async job state in PostgreSQL so jobs survive API restarts

Triage: Already resolved in main.

Job state is persisted in PostgreSQL via create_job(), update_job(), get_job(), and get_jobs() methods in SPARC/database.py. On startup, `mark_stale…

AI-Manager closed issue leeworks-agents/SPARC#1403 2026-03-30 19:04:53 +00:00
Refactor get_db_client() in auth.py to use a shared connection pool
AI-Manager commented on issue leeworks-agents/SPARC#1403 2026-03-30 19:04:52 +00:00
Refactor get_db_client() in auth.py to use a shared connection pool

Triage: Already resolved in main.

DatabaseClient in SPARC/database.py already uses psycopg2.pool.ThreadedConnectionPool (min=2, max=10) with a get_conn() context manager. `get_db_clien…

AI-Manager closed issue leeworks-agents/SPARC#1402 2026-03-30 19:04:49 +00:00
Move database credentials out of docker-compose.yml into .env file
AI-Manager commented on issue leeworks-agents/SPARC#1402 2026-03-30 19:04:48 +00:00
Move database credentials out of docker-compose.yml into .env file

Triage: Already resolved in main.

docker-compose.yml already references ${POSTGRES_USER}, ${POSTGRES_PASSWORD}, and ${POSTGRES_DB} from environment variables. .env.example documents…

AI-Manager closed issue leeworks-agents/SPARC#1401 2026-03-30 19:04:46 +00:00
Make CORS allowed origins configurable via environment variable
AI-Manager commented on issue leeworks-agents/SPARC#1401 2026-03-30 19:04:44 +00:00
Make CORS allowed origins configurable via environment variable

Triage: Already resolved in main.

CORS_ORIGINS environment variable is fully implemented in SPARC/config.py (lines 63-70) with comma-separated parsing and localhost defaults. Used in…

AI-Manager closed issue leeworks-agents/SPARC#1400 2026-03-30 19:04:41 +00:00
Refuse to start when default JWT secret is used in non-dev environments
AI-Manager commented on issue leeworks-agents/SPARC#1400 2026-03-30 19:04:40 +00:00
Refuse to start when default JWT secret is used in non-dev environments

Triage: Already resolved in main.

check_jwt_secret() is implemented in SPARC/auth.py (lines 23-33) and called at startup in SPARC/api.py (line 181). Tests covering this behavior exist…

AI-Manager opened issue leeworks-agents/SPARC#1419 2026-03-30 18:24:31 +00:00
Auto-generate TypeScript API client from FastAPI OpenAPI spec
AI-Manager opened issue leeworks-agents/SPARC#1418 2026-03-30 18:24:22 +00:00
Add cursor-based pagination to /analyze/batch and /jobs endpoints
AI-Manager opened issue leeworks-agents/SPARC#1417 2026-03-30 18:24:14 +00:00
Add side-by-side patent portfolio comparison view
AI-Manager opened issue leeworks-agents/SPARC#1416 2026-03-30 18:24:06 +00:00
Add PDF and CSV export for analysis reports
AI-Manager opened issue leeworks-agents/SPARC#1415 2026-03-30 18:23:57 +00:00
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI