forked from 0xWheatyz/SPARC
Document patents/ volume mount requirement and evaluate object storage path #1454
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?
Context
Roadmap item: P2 Backend - patent PDF storage
Problem
PDFs are saved to a local
patents/directory. In containerized deployments this directory is ephemeral unless explicitly volume-mounted, leading to silent data loss on container restart. There is no documentation of this requirement.What to do
README.mdanddocker-compose.ymlcomments thatpatents/must be volume-mounted for persistence.docker-compose.ymlif not already present.Acceptance criteria
docker-compose.ymlincludes a named volume mapped topatents/.README.mdexplains the volume requirement.docker compose down && docker compose up.[Triage] P2 docs (patent volume mount). Assigned to @AI-Engineer. Queued for implementation after P1 issues are addressed.
[Verification] All acceptance criteria met. Verified complete.
docker-compose.ymlincludes named volumepatent_data:/app/patents.storage.pyprovides aStorageBackendabstraction with bothLocalStorageBackendandS3StorageBackend(MinIO-compatible). MinIO service included in docker-compose withs3profile. Closing as implemented.