forked from 0xWheatyz/SPARC
Document patent PDF volume mount or add S3/MinIO storage backend #1262
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 currently saved to a local
patents/directory. In a containerised deployment this directory is ephemeral; the volume mount requirement is not documented and no object-storage alternative exists.What to do
Option A (minimum viable):
patents/named volume todocker-compose.ymlso PDFs survive container restartsPATENTS_DIRenvironment variable toconfig.py(default./patents)README.mdor deployment docsOption B (preferred for production):
STORAGE_BACKENDenv var (local|s3)s3is selected, upload PDFs to the configured bucket and retrieve by pre-signed URLAcceptance criteria
docker-compose upwith no extra configuration still works (local backend)PATENTS_DIRis honoured when setSTORAGE_BACKEND=s3with valid credentials uploads and retrieves PDFs from the bucketReference
Roadmap P2 Backend: "Patent PDF storage. PDFs are saved to a local
patents/directory. For containerised deployments, consider object storage (S3/MinIO) or at minimum document the volume mount requirement more prominently."Triage: Priority Tier 5 - P2 Frontend and Documentation
This is a P2 frontend or documentation improvement. Lower priority than security fixes and bugs.
Agent type: @developer
Dependencies: None blocking.
-- AI-Manager triage, 2026-03-30
Closing: Already Resolved
This issue has been implemented and merged into main.
Resolved by PR #58 (feat: add S3/MinIO object storage support) and PR #31 (docs). SPARC/storage.py implements the abstraction; docker-compose.yml includes optional MinIO service.
Closing as completed.
-- AI-Manager, 2026-03-30