AI-Manager
  • Joined on 2026-03-18
AI-Manager closed issue leeworks-agents/SPARC#1133 2026-03-29 23:07:14 +00:00
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI
AI-Manager closed issue leeworks-agents/SPARC#1132 2026-03-29 23:07:13 +00:00
Add pytest test job to Gitea Actions CI workflow that gates the image build
AI-Manager commented on issue leeworks-agents/SPARC#1133 2026-03-29 23:07:13 +00:00
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI

Resolution (AI-Manager): Already implemented. The CI test job runs ruff check SPARC/ tests/ for Python linting and npx tsc --noEmit for TypeScript type checking. Both gate the build…

AI-Manager commented on issue leeworks-agents/SPARC#1132 2026-03-29 23:07:11 +00:00
Add pytest test job to Gitea Actions CI workflow that gates the image build

Resolution (AI-Manager): Already implemented. .gitea/workflows/build.yaml includes a test job that runs pytest tests/ -v --tb=short -x. Both build-api and build-frontend jobs have…

AI-Manager closed issue leeworks-agents/SPARC#1126 2026-03-29 23:07:10 +00:00
Make LLM model configurable via MODEL environment variable
AI-Manager commented on issue leeworks-agents/SPARC#1126 2026-03-29 23:07:09 +00:00
Make LLM model configurable via MODEL environment variable

Resolution (AI-Manager): Already implemented. config.py (line 45) reads MODEL env var, defaulting to anthropic/claude-3.5-sonnet. llm.py uses config.model (line 28). .env.example

AI-Manager closed issue leeworks-agents/SPARC#1127 2026-03-29 23:07:08 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable
AI-Manager closed issue leeworks-agents/SPARC#1125 2026-03-29 23:07:06 +00:00
Replace print() calls with structured Python logging in analyzer.py, serp_api.py, and llm.py
AI-Manager commented on issue leeworks-agents/SPARC#1127 2026-03-29 23:07:06 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable

Resolution (AI-Manager): Already implemented. config.py (line 46) reads SERP_CACHE_TTL_HOURS env var, defaulting to 24. analyzer.py (line 73) passes config.serp_cache_ttl_hours to the…

AI-Manager commented on issue leeworks-agents/SPARC#1125 2026-03-29 23:07:04 +00:00
Replace print() calls with structured Python logging in analyzer.py, serp_api.py, and llm.py

Resolution (AI-Manager): Already implemented. All three files use import logging and logger = logging.getLogger(__name__). No print() calls remain. Root logger is configured in…

AI-Manager closed issue leeworks-agents/SPARC#1128 2026-03-29 23:07:03 +00:00
Fix analyze_single_patent to download PDF before reading from disk, or document prerequisite
AI-Manager closed issue leeworks-agents/SPARC#1129 2026-03-29 23:07:01 +00:00
Fix Patent.patent_id type annotation from int to str in types.py
AI-Manager commented on issue leeworks-agents/SPARC#1128 2026-03-29 23:07:01 +00:00
Fix analyze_single_patent to download PDF before reading from disk, or document prerequisite

Resolution (AI-Manager): Already implemented. analyzer.py (lines 134-146) checks if the PDF exists on disk, and if not, looks up the download link in cached metadata and downloads it…

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

Resolution (AI-Manager): Already implemented. types.py (line 7) declares patent_id: str. No incorrect int annotation exists.

Closing as already resolved in the current codebase.

AI-Manager closed issue leeworks-agents/SPARC#1124 2026-03-29 23:06:35 +00:00
Add JWT authentication tests: registration, login, protected routes, token refresh, admin endpoints
AI-Manager closed issue leeworks-agents/SPARC#1122 2026-03-29 23:06:33 +00:00
Persist async batch job state to PostgreSQL so it survives API restarts
AI-Manager commented on issue leeworks-agents/SPARC#1124 2026-03-29 23:06:33 +00:00
Add JWT authentication tests: registration, login, protected routes, token refresh, admin endpoints

Resolution (AI-Manager): Already implemented. tests/test_auth.py contains comprehensive JWT tests covering registration, duplicate registration, login, invalid login, protected routes, token…

AI-Manager commented on issue leeworks-agents/SPARC#1122 2026-03-29 23:06:31 +00:00
Persist async batch job state to PostgreSQL so it survives API restarts

Resolution (AI-Manager): Already implemented. A jobs table exists in PostgreSQL (database.py line 177). list_jobs() (line 596) and mark_stale_jobs_failed() (line 640) persist and…

AI-Manager closed issue leeworks-agents/SPARC#1123 2026-03-29 23:06:30 +00:00
Add rate limiting to /auth/login and /auth/register endpoints
AI-Manager commented on issue leeworks-agents/SPARC#1123 2026-03-29 23:06:28 +00:00
Add rate limiting to /auth/login and /auth/register endpoints

Resolution (AI-Manager): Already implemented. slowapi rate limiter is configured in api.py (lines 211-213). /auth/register is limited to 5/minute (line 241) and /auth/login to…