Already resolved. Job state is persisted to PostgreSQL via DatabaseClient.create_job(), update_job(), get_job(), list_jobs() in SPARC/database.py. The API reads/writes jobs through this…
Already resolved. SPARC/auth.py uses a module-level singleton _db_client with init_db_client()/close_db_client()/get_db_client(). DatabaseClient in database.py uses `psycopg2.pool.Thr…
Already resolved. docker-compose.yml uses variable substitution (${POSTGRES_USER}, ${POSTGRES_PASSWORD}, ${POSTGRES_DB}) -- no plaintext credentials present.
Already resolved. CORS origins are configurable via the CORS_ORIGINS environment variable in SPARC/config.py (lines 63-70). The API middleware in api.py uses config.cors_origins. Tests in…
Already resolved. check_jwt_secret() in SPARC/auth.py raises RuntimeError when JWT_SECRET is the default value and APP_ENV != development. Called at startup in api.py lifespan. Tests…