A secret stored with a trailing newline/whitespace (Windows echo/Out-File
footgun) corrupts the auth header and surfaces as a generic 'Connection
error.' Strip keys defensively at every point of use, and unwrap the
Anthropic SDK's masked __cause__ in /health so the detail is actionable.
Improve Anthropic health check: raw DNS/TCP test before SDK call for clearer error diagnosis
New AIAnalyzer covers 9 security/cost checks for AI stacks: LLM key
management, vector DB auth, training data encryption, model endpoint
exposure, GPU spot usage, semantic caching, and SageMaker rightsizing.
Adds workload-pattern detection (RAG, fine-tuning, real-time inference,
batch inference, MLOps pipeline, managed AI) with tailored findings per
workload type. Wired into both /analyze and /analyze-interactive endpoints.
Adds a hybrid rule-based recommender (archlens/recommender.py) that maps
a short questionnaire (project type, scale, cloud, cost/security
priorities, database/AI needs, must-have components) to a complete,
cost-optimized and secure stack drawn from the 217-service catalog,
with optional LLM-written summary (Gemini/Anthropic) on top.
Wires a new /recommend endpoint into the FastAPI app and adds a 4th
"Recommend My Stack" builder tab in the frontend, with a results panel
(recommended services, cost tips, security tips) and a "Use This Stack"
handoff into the existing builder for further tweaking and analysis.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Expand catalog: NVIDIA/GPU, more cloud services, CI/CD, security, embedded/EDA
Added a check-hf-deployment job that verifies the HuggingFace space is healthy
(returns HTTP 200) before proceeding with GCP deployment. This ensures GCP is
only deployed after HF deployment passes. Also added workflow_run trigger to
deploy when HF deployment completes.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update deploy-gcp to run every 30 minutes on schedule and on code changes
Added schedule trigger (*/30 * * * *) for periodic deployments and push trigger
for immediate deployment on code changes to main branch. Documentation and config
files are excluded from triggering deployments.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Adds a new Data category (PostgreSQL, MySQL, MongoDB, Cassandra,
Elasticsearch, ClickHouse, InfluxDB, Neo4j, Memcached, Kafka, RabbitMQ),
fills AWS/GCP/Azure gaps (Route 53, Redshift, EFS, ECR, App Runner,
Step Functions, EventBridge, Kinesis, BigQuery, Cloud Run/Functions,
Cosmos DB, Front Door, etc.), and adds auth/edge (Auth0, Okta, Keycloak,
Cloudflare) and AI providers (Cohere, Mistral, Groq, Replicate, Milvus).
All entries map to existing ComponentType values, so the security and
cost analyzers cover them automatically.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fix Cloud Run outbound LLM failures: use gen2 execution environment
The gen1 (gVisor) sandbox's user-space network stack causes outbound
HTTPS/gRPC connections to LLM providers to hang and time out, surfacing
as 'Connection error'. Move to the gen2 execution environment (real
Linux microVM) which has a full network stack. Also log the underlying
exception so any remaining provider failures are visible in Cloud Run logs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Wrap analyzer tabs instead of overflowing on narrow screens
- Stack the stack-builder sidebar below the main panel under 860px
- Compact stat cards and stack result summary cards under 640px
- Tighten nav/footer padding on small screens
Findings already carried a references field with AWS doc links, but
console, markdown, JSON reporters and the web UI silently dropped it.
Now wire it through to all outputs and add missing references for the
remaining security, cost, and AI-stack checks.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chore: use K.N.Narin handle in copyright, contact via GitHub
- Hero paragraph: list all 15 input formats instead of just Terraform
- Step 1 description: mention 15 supported formats
- Step 2 description: mention 77+ security rules and full coverage scope
- Preview box: add findings from Kubernetes, Dockerfile, GitHub Actions,
and OpenAPI parsers alongside the existing Terraform/AWS examples,
with source format labels so users know what each finding comes from
- File upload accept: add .dockerfile extension
- No logic changes — display-only update
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add 8 new parsers — 7 to 15 total input formats supported
- web/app.py: wire KubernetesSecurityAnalyzer into both /analyze and
/analyze-interactive endpoints — K8s checks were previously silently
skipped in the web UI despite the analyzer existing
- index.html: update hero stat from "5+" to "77+" security checks and
"7+" to "8+" input formats
- index.html: update Security Analysis feature card to mention 77+ checks
and Kubernetes coverage
- index.html: update Multi-Format Input card to list Kubernetes YAML
- index.html: add Kubernetes YAML chip to supported inputs section
- index.html: update file upload hint text to list Kubernetes YAML
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
AWS KMS, GCP Secret Manager, GCP Cloud KMS, Azure Key Vault, Redis, and Nginx
added to complete the security/secrets/key-management coverage across all cloud
providers, plus generic caching and reverse proxy options.
Add AI/ML components to stack builder with AI-specific suggestions
- 30+ AI services added across AWS/GCP/Azure + generic providers:
LLMs: OpenAI, Anthropic, Gemini, Bedrock, Azure OpenAI, Ollama, Hugging Face
Vector DBs: Pinecone, Weaviate, Chroma, Qdrant, pgvector
ML platforms: SageMaker, Vertex AI, Azure ML, Ray, Triton Server
MLOps: MLflow, W&B, Feast
AI frameworks: LangChain, LlamaIndex
AWS AI: Rekognition, Textract, Comprehend, Kendra
- New 'AI / ML' category tab in the picker
- 10 AI-specific live suggestion rules:
cost spike warning when LLM has no monitoring
semantic cache suggestion to cut LLM API costs 40-60%
rate limiting/gateway nudge for LLM APIs
IAM warning for vector DBs (embeddings may be sensitive)
API key secrets manager nudge for LangChain/LlamaIndex
model artifact storage nudge for ML training workloads
MLOps tracking suggestion for training without experiment tracking
- AI keywords added to text parser and client-side validation allowlist
Block non-architecture text input at both UI and server level
- text.py: keyword-based guard rejects input with no infrastructure terms before calling LLM;
returns clear message with an example of what a valid description looks like
- index.html: live hint appears as user types — green 'Looks good' or red warning;
runAnalysis also blocks submission client-side before the server round-trip
Harden error handling and input validation for external testing
- Parsers: wrap ET.parse, json.loads, LLM calls in try/except with readable messages
- text.py: Gemini falls back to Anthropic on any exception; empty input rejected early;
invalid ComponentType safely mapped to OTHER; malformed component entries skipped
- cloudformation.py: both YAML+JSON paths guarded; non-dict result rejected cleanly
- aws_config.py / gcp_asset.py: per-item try/except so one bad record doesn't crash all
- app.py: 5MB file size limit; ValueError returned as HTTP 422 with user message;
unexpected exceptions log server-side and return generic message (no key leakage);
/analyze-interactive rejects empty component list with 400; text input validated non-empty
- app.py: components_found added to response payload
- UI: 'X components detected' shown in architecture summary card;
yellow warning banner appears when 0 components detected (file not parsed correctly)
Redesign builder tab: single-screen stack picker, no confusing wizard
- Tab renamed to 'No file? Add your stack' — clear alternative entry point
- Removed 2-step wizard and canvas entirely; now a single screen
- Intro banner explains purpose: pick services, get live suggestions
- Layout: service picker (left/main) + sticky suggestions sidebar (right)
- Live suggestions update instantly as services are clicked
- 'Analyze My Stack' button replaces 'Connect Services ->' flow
- Stack chips show selected services inline below the grid with remove-on-click
- Removed all canvas/drag/connect JS (no longer needed)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- New 'Build Diagram' tab with 2-step wizard:
Step 1: searchable service picker (55+ services across AWS/GCP/Azure/CI-CD/Security)
with category filters and live suggestion panel that updates as you select services
Step 2: drag-and-drop canvas with connect mode to draw arrows between services;
live analysis sidebar shows connection-aware suggestions (isolated nodes, unmonitored compute, etc.)
- 11 pure-JS suggestion rules fire in real time — no backend call until Analyze is clicked
- New /analyze-interactive POST endpoint accepts JSON components+connections -> runs all analyzers
- Stat counter updated to 7+ input formats; Interactive Builder chip added to landing page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add ROADMAP.md with prioritised feature ideas and future work tracker