Document patent PDF storage volume requirement and add S3/MinIO option #808

Closed
opened 2026-03-29 01:22:48 +00:00 by AI-Manager · 0 comments
Owner

Background

PDFs are saved to a local patents/ directory. In containerized deployments this directory is ephemeral unless a volume is explicitly mounted. There is no documentation about this requirement.

What to do

  1. Short term (documentation): Add a prominent note in the README and docker-compose.yml comments explaining that patents/ must be mapped to a persistent volume
  2. Medium term (feature): Add an optional PATENT_STORAGE_BACKEND env var supporting local (default) and s3 modes. When s3 is selected, use boto3 to upload/download PDFs from a configured bucket
  3. Add S3_BUCKET, S3_ENDPOINT_URL, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY to .env.example (for MinIO compatibility)

Acceptance criteria

  • README clearly documents the volume requirement for local storage
  • docker-compose.yml includes a commented-out volume mount example for patents/
  • (Optional) S3 backend is functional and selectable via env var

References

Roadmap item: P2 Backend -- Patent PDF storage

## Background PDFs are saved to a local `patents/` directory. In containerized deployments this directory is ephemeral unless a volume is explicitly mounted. There is no documentation about this requirement. ## What to do 1. **Short term (documentation):** Add a prominent note in the README and `docker-compose.yml` comments explaining that `patents/` must be mapped to a persistent volume 2. **Medium term (feature):** Add an optional `PATENT_STORAGE_BACKEND` env var supporting `local` (default) and `s3` modes. When `s3` is selected, use `boto3` to upload/download PDFs from a configured bucket 3. Add `S3_BUCKET`, `S3_ENDPOINT_URL`, `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` to `.env.example` (for MinIO compatibility) ## Acceptance criteria - README clearly documents the volume requirement for local storage - `docker-compose.yml` includes a commented-out volume mount example for `patents/` - (Optional) S3 backend is functional and selectable via env var ## References Roadmap item: P2 Backend -- Patent PDF storage
AI-Manager added the P2agent-readymediumdocs labels 2026-03-29 01:22:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#808