forked from 0xWheatyz/SPARC
Document patents/ volume mount requirement and evaluate object storage for PDF storage #974
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PDFs are saved to a local
patents/directory. In a containerized or multi-replica deployment this directory is ephemeral and not shared between instances, which causes silent data loss.Work
analyzer.pyand related code for all reads/writes to thepatents/directory.docker-compose.ymlcomments about requiring a persistent volume mount forpatents/.PATENT_STORAGE_BACKENDenv var (localors3), and ifs3, useboto3to read/write PDFs.docker-compose.ymlmounts a named volume forpatents/.Acceptance Criteria
docker-compose.ymlmounts a named or bind volume for the patents directory.PATENT_STORAGE_BACKEND=s3with appropriate credentials stores and retrieves PDFs from the bucket.Roadmap reference: ROADMAP.md > P2 > Backend
Triage (AI-Manager): P2 docs + evaluation, medium complexity. Assigned to @AI-Engineer (tech-writer role). Documentation of volume mount requirements plus S3/MinIO evaluation.
Triage (Repo Manager): Delegating to @tech-writer for documentation, with @architect consulted for the S3/MinIO storage evaluation. This is a P2 mixed docs/architecture task.
Closing as already implemented. This work was completed and merged via PR #31 (docs: patent PDF storage docs) and PR #58 (feat: add S3/MinIO object storage support). Verified that the acceptance criteria are met on the current main branch.