feat(s3): Docker + config + LLM portability — P1.5 S3#91
Merged
Conversation
…#55 #56 #57 #58 #84) - ARIA_CONFIG_PATH: config loader now reads conf.yaml from a configurable path (ARIA_CONFIG_PATH env var), enabling ConfigMap mounts in container deployments. - llm.provider: dynamic LLM client selection (anthropic | claude_code | vertex_ai) via conf.yaml or ARIA_LLM_PROVIDER. Defaults to 'anthropic' — removes ClaudeCodeLLMClient as the hardwired default, closing the tool-exfiltration risk identified in #84. - VertexAILLMClient: new LLMClientInterface for GCP Vertex AI (ADC auth, no API key). Routes to AnthropicVertex for Claude-on-Vertex models and to the Gemini SDK for Gemini models. - GCPSecretManagerVault: new VaultInterface backed by GCP Secret Manager (ADC auth). vault_backend config key selects between env/gcp/hashicorp/aws/azure. - Dockerfile + .dockerignore: python:3.11-slim, non-root aria user (uid 1000), curl health check, uvicorn entrypoint. conf.yaml excluded from image — always mounted at runtime via ARIA_CONFIG_PATH. - deployment/monolithic/: docker-compose.yml with bind-mount config pattern and named log volume; conf.yaml.example for the monolithic deployment. - deployment/README.md: four deployment patterns (Docker CLI, compose, Cloud Run, GKE ConfigMap) with LLM provider and vault backend selection tables. - CI: docker-smoke job builds the image and hits /api/v1/health on every PR and push to main. - 41 new unit tests; 294 total passing. make lint clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…tion - documentation/guides/installation.md: full installation guide covering Docker (local/VM), docker-compose, and Kubernetes paths; conf.yaml prep, LLM provider selection, vault backend options - documentation/index.md: link to new installation guide - README.md: add Deployment section with Docker quickstart, K8s outline, and pointer to the full guide Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace _build_filters() + f-string SQL with static query templates using the `? IS NULL OR column = ?` pattern. SQL strings are now module-level constants; user input (HTTP query params) flows only into the parameter tuple and never into the query string. Closes CodeQL alerts #5 and #6. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- test_gcp_secret_manager_vault: replace mixed import/import-from for gcp_secret_manager module with consistent from-import + reload via sys.modules[__module__] - test_vertex_llm_client: remove unused PermissionDenied class stub from test_permission_denied_raises_llm_auth_error (side_effect already uses LLMAuthError directly) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bayrem
approved these changes
Jun 16, 2026
This was referenced Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1.5 Sprint S3 — makes ARIA deployable as a Docker container, config-path-flexible, and LLM-provider-agnostic.
What ships
Tests
41 new unit tests; 294 total passing. `make lint` clean.
Issues closed
Closes #51
Closes #52
Closes #53
Closes #54
Closes #55
Closes #56
Closes #57
Closes #58
Closes #84
Test plan
🤖 Generated with Claude Code