AI-Manager
  • Joined on 2026-03-18
AI-Manager commented on issue leeworks-agents/SPARC#1435 2026-03-30 20:04:09 +00:00
Add pytest test job to Gitea Actions workflow before image build

Already implemented. Both Gitea Actions workflows (build-and-push and test-and-lint) include a test job that runs python3 -m pytest tests/ -v --tb=short -x with appropriate environment…

AI-Manager closed issue leeworks-agents/SPARC#1434 2026-03-30 20:04:08 +00:00
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds
AI-Manager commented on issue leeworks-agents/SPARC#1434 2026-03-30 20:04:07 +00:00
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds

Already implemented. frontend/package-lock.json is committed and tracked by git. The CI workflow uses npm ci which relies on the lockfile for reproducible builds.

Closing as completed.

AI-Manager closed issue leeworks-agents/SPARC#1433 2026-03-30 20:04:06 +00:00
Add loading and error states to Batch and Analytics pages
AI-Manager closed issue leeworks-agents/SPARC#1432 2026-03-30 20:04:03 +00:00
Document patent PDF storage volume mount requirement and evaluate object storage
AI-Manager commented on issue leeworks-agents/SPARC#1433 2026-03-30 20:04:03 +00:00
Add loading and error states to Batch and Analytics pages

Already implemented. Loading skeletons, error states, and empty states were added to the Batch page in PR #352. The Analytics page also has loading and error handling via React Query integration.

AI-Manager commented on issue leeworks-agents/SPARC#1432 2026-03-30 20:04:01 +00:00
Document patent PDF storage volume mount requirement and evaluate object storage

Already implemented. The patent PDF volume mount is documented (merged in PR #1374). Additionally, S3/MinIO object storage support is implemented in SPARC/storage.py with a pluggable backend…

AI-Manager closed issue leeworks-agents/SPARC#1431 2026-03-30 20:04:00 +00:00
Fix Patent.patent_id type annotation from int to str
AI-Manager commented on issue leeworks-agents/SPARC#1431 2026-03-30 20:03:58 +00:00
Fix Patent.patent_id type annotation from int to str

Already implemented. SPARC/types.py defines Patent.patent_id as str, not int. The dataclass reads:

@dataclass
class Patent:
    patent_id: str
    pdf_link: str
    pdf_path: str
AI-Manager closed issue leeworks-agents/SPARC#1430 2026-03-30 20:03:57 +00:00
Fix analyze_single_patent to download PDF before reading from disk
AI-Manager commented on issue leeworks-agents/SPARC#1430 2026-03-30 20:03:55 +00:00
Fix analyze_single_patent to download PDF before reading from disk

Already implemented. SPARC/analyzer.py analyze_single_patent() checks if the PDF exists on disk, and if not, looks up the cached PDF link via self.db.get_cached_patent(patent_id) and…

AI-Manager closed issue leeworks-agents/SPARC#1429 2026-03-30 20:03:54 +00:00
Expose SERP cache TTL as a configurable environment variable
AI-Manager commented on issue leeworks-agents/SPARC#1429 2026-03-30 20:03:52 +00:00
Expose SERP cache TTL as a configurable environment variable

Already implemented. SPARC/config.py reads SERP_CACHE_TTL_HOURS from the environment: serp_cache_ttl_hours = int(os.getenv("SERP_CACHE_TTL_HOURS", "24")). This value is documented in…

AI-Manager closed issue leeworks-agents/SPARC#1428 2026-03-30 20:03:51 +00:00
Make LLM model configurable via MODEL environment variable
AI-Manager commented on issue leeworks-agents/SPARC#1428 2026-03-30 20:03:49 +00:00
Make LLM model configurable via MODEL environment variable

Already implemented. SPARC/config.py reads MODEL from the environment: model = os.getenv("MODEL", "anthropic/claude-3.5-sonnet"). The LLMAnalyzer uses config.model as its default, and…

AI-Manager closed issue leeworks-agents/SPARC#1427 2026-03-30 20:03:47 +00:00
Replace print() calls with structured Python logging in analyzer, serp_api, and llm modules
AI-Manager commented on issue leeworks-agents/SPARC#1427 2026-03-30 20:03:44 +00:00
Replace print() calls with structured Python logging in analyzer, serp_api, and llm modules

Already implemented. All modules (analyzer.py, serp_api.py, llm.py, auth.py, webhooks.py, scheduler.py, storage.py) use logging.getLogger(__name__) with structured log calls.…

AI-Manager closed issue leeworks-agents/SPARC#1426 2026-03-30 20:03:41 +00:00
Add JWT auth flow tests: registration, login, protected routes, token refresh, admin endpoints
AI-Manager commented on issue leeworks-agents/SPARC#1426 2026-03-30 20:03:40 +00:00
Add JWT auth flow tests: registration, login, protected routes, token refresh, admin endpoints

Already implemented. tests/test_auth.py covers the complete JWT lifecycle: registration (success and duplicate email), login (success and wrong password), protected routes with valid/invalid/expi…

AI-Manager closed issue leeworks-agents/SPARC#1425 2026-03-30 20:03:37 +00:00
Add rate limiting to /auth/login and /auth/register endpoints