feat: keep delivered work in S3-compatible object storage (ADR-0004 phase 3)
The store's rules now sit on a Blobs layer: a folder, as before, or a prefix in an S3-compatible bucket (MinIO locally), chosen by STORE_BACKEND. The layout is the same in both; the record is written last. - S3_BUCKET, S3_PREFIX, S3_ENDPOINT_URL, S3_REGION; AWS credentials - an s3 extra (boto3), installed in the image; moto for tests - every store test runs on both kinds of storage Retention, the platform's sign-in and each kept file as a platform artifact are left: the last needs the platform's S3 backend, which it does not yet have. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,9 +27,16 @@ class OrchestrationSettings(BaseSettings):
|
||||
# agent's work takes.
|
||||
CONNECT_TIMEOUT_SECONDS: float = 10
|
||||
|
||||
# What agents deliver is kept here and served at signed links (ADR-0004).
|
||||
# Unset: nothing is kept, and a caller asking for links gets none.
|
||||
# What agents deliver is kept and served at signed links (ADR-0004): in a folder
|
||||
# (`volume`, STORE_DIR; unset, nothing is kept) or in an S3-compatible bucket
|
||||
# (`s3`). The bucket's credentials are the standard AWS_ACCESS_KEY_ID and
|
||||
# AWS_SECRET_ACCESS_KEY.
|
||||
STORE_BACKEND: str = "volume"
|
||||
STORE_DIR: str | None = None
|
||||
S3_BUCKET: str | None = None
|
||||
S3_PREFIX: str = ""
|
||||
S3_ENDPOINT_URL: str | None = None # MinIO, or another S3-compatible service
|
||||
S3_REGION: str = "us-east-1"
|
||||
# The base of every link: the address a browser reaches this service at, which
|
||||
# is not its address inside the platform's network. Unset: A2A_PUBLIC_URL.
|
||||
PUBLIC_URL: str | None = None
|
||||
|
||||
Reference in New Issue
Block a user