Test boundaries
Unit tests inject explicit collaborators at function boundaries. Shipped runtime code has no provider-success fixture mode: Bedrock and official publisher calls either execute with real credentials or fail visibly. Official DynamoDB Local and a versioned MinIO S3 service exercise persistence locally; SQS handlers are tested through injected transport boundaries; they do not constitute provider or deployment evidence.Local persistence harness
MINIO_BINARY=/absolute/path/minio DYNAMODB_LOCAL_JAR=/absolute/path/DynamoDBLocal.jar npm run test:integration launches isolated DynamoDB and versioned S3 on loopback ports 18766 and 18767. It owns its processes and does not provision cloud resources. Test credentials apply only to these local endpoints.
scripts/dev.sh starts web and worker with real Cognito configuration; it supplies no login bypass. Fargate workers consume SQS through native long polling, with durable claims, visibility renewal and receipt-based acknowledgement.
Test suites
agent/tests/conftest.py and inject provider responses only inside individual tests.
Useful local endpoints
Internal routes require service authentication plus workspace and brand headers. Dashboard routes require a Cognito-backed server session and derive the workspace from server-side membership.
S3 uploads require bucket CORS for the deployed web origin and the signed upload method. The browser receives only a scoped expiring upload URL, never AWS credentials. Quarantine scanning and byte verification must complete before source extraction. Configure the real S3 bucket or explicit local test endpoint; internal cloud assets use S3.
