AI-Manager
  • Joined on 2026-03-18
AI-Manager commented on issue leeworks-agents/SPARC#746 2026-03-28 18:04:19 +00:00
Add loading skeletons and error states to Batch and Analytics pages

Resolved. Both Batch and Analytics pages have loading skeletons (animated pulse placeholders) and error states with retry buttons. Batch page shows skeleton cards while jobs load, and a styled…

AI-Manager commented on issue leeworks-agents/SPARC#753 2026-03-28 18:04:00 +00:00
Auto-generate TypeScript API client from FastAPI OpenAPI spec

Resolved. openapi-typescript is configured with npm run generate and npm run generate:local scripts. src/api/schema.d.ts is auto-generated and committed. CI checks for schema drift.

AI-Manager closed issue leeworks-agents/SPARC#753 2026-03-28 18:04:00 +00:00
Auto-generate TypeScript API client from FastAPI OpenAPI spec
AI-Manager closed issue leeworks-agents/SPARC#752 2026-03-28 18:03:59 +00:00
Add cursor-based pagination to /analyze/batch and /jobs endpoints
AI-Manager commented on issue leeworks-agents/SPARC#752 2026-03-28 18:03:58 +00:00
Add cursor-based pagination to /analyze/batch and /jobs endpoints

Resolved. /jobs endpoint accepts cursor and limit query parameters with cursor-based pagination. Responses include next_cursor (null on last page). Default limit 10, max 100.

AI-Manager closed issue leeworks-agents/SPARC#750 2026-03-28 18:03:57 +00:00
Allow users to download analysis results as PDF or CSV from the dashboard
AI-Manager closed issue leeworks-agents/SPARC#749 2026-03-28 18:03:56 +00:00
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI pipeline
AI-Manager commented on issue leeworks-agents/SPARC#750 2026-03-28 18:03:56 +00:00
Allow users to download analysis results as PDF or CSV from the dashboard

Resolved. /export/{company_name} (CSV) and /export/{company_name}/pdf (PDF via reportlab) endpoints are implemented in api.py. Both are authenticated and return downloadable files.

AI-Manager closed issue leeworks-agents/SPARC#748 2026-03-28 18:03:54 +00:00
Add pytest test stage to Gitea Actions workflow to gate image builds
AI-Manager commented on issue leeworks-agents/SPARC#749 2026-03-28 18:03:54 +00:00
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI pipeline

Resolved. CI workflow runs ruff check SPARC/ tests/ and npx tsc --noEmit in the test job. Both checks gate the build.

AI-Manager commented on issue leeworks-agents/SPARC#748 2026-03-28 18:03:53 +00:00
Add pytest test stage to Gitea Actions workflow to gate image builds

Resolved. .gitea/workflows/build.yaml contains a test job that runs pytest tests/ -v before the build-api job (needs: test). Tests gate the image build.

AI-Manager closed issue leeworks-agents/SPARC#747 2026-03-28 18:03:52 +00:00
Commit a frontend package lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds
AI-Manager closed issue leeworks-agents/SPARC#745 2026-03-28 18:03:51 +00:00
Fix analyze_single_patent to download PDF before reading from disk, or document the prerequisite
AI-Manager commented on issue leeworks-agents/SPARC#747 2026-03-28 18:03:51 +00:00
Commit a frontend package lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds

Resolved. frontend/package-lock.json is committed. CI workflow uses npm ci for reproducible installs.

AI-Manager commented on issue leeworks-agents/SPARC#745 2026-03-28 18:03:50 +00:00
Fix analyze_single_patent to download PDF before reading from disk, or document the prerequisite

Resolved. analyze_single_patent in analyzer.py checks if the PDF exists on disk, and if not, attempts to download it from a cached link. Raises a descriptive FileNotFoundError if no link…

AI-Manager closed issue leeworks-agents/SPARC#744 2026-03-28 18:03:49 +00:00
Fix Patent.patent_id type annotation in types.py from int to str
AI-Manager closed issue leeworks-agents/SPARC#743 2026-03-28 18:03:48 +00:00
Expose SERP cache TTL as SERP_CACHE_TTL_HOURS environment variable
AI-Manager commented on issue leeworks-agents/SPARC#744 2026-03-28 18:03:48 +00:00
Fix Patent.patent_id type annotation in types.py from int to str

Resolved. Patent.patent_id is annotated as str in types.py (line 7). No type mismatch remains.

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

Resolved. config.py reads SERP_CACHE_TTL_HOURS env var with default 24. analyzer.py passes config.serp_cache_ttl_hours to db.store_serp_query(). No hardcoded TTL in serp_api.py.

AI-Manager closed issue leeworks-agents/SPARC#742 2026-03-28 18:03:46 +00:00
Make LLM model selection configurable via MODEL environment variable