New Agents and Migration strategy#15
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces new AI agents for architecture validation, compliance checking, cost optimization, and documentation generation, along with a comprehensive migration strategy for AWS/GCP to Azure workloads. The changes enable multi-agent workflows with trace persistence, shared link generation for projects, and enhanced diagram analysis capabilities.
Key Changes:
- Added dual-pass validation system with architect and critic agents for architecture review
- Implemented compliance validation engine with support for HIPAA, PCI-DSS, GDPR, ISO 27001, and SOC 2
- Created migration tools for AWS and GCP to Azure with cost analysis and service mapping
- Added trace event persistence and replay functionality for agent workflow debugging
- Introduced project sharing functionality with token-based access
Reviewed changes
Copilot reviewed 51 out of 4410 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| frontend/apply_trace_migration.sql | Database schema migration to add trace_events and run_id columns for persisting agent reasoning |
| frontend/API_REFERENCE.md | Comprehensive API documentation for new validation, autopilot, compliance, and documentation endpoints |
| backend/app/websockets/routes_simple.py | Updated OpenAI model reference |
| backend/app/websockets/handlers.py | Enhanced WebSocket handlers with trace event forwarding, agent streaming, and integration settings support |
| backend/app/utils/integration_settings.py | Utility for normalizing integration preference payloads with default values |
| backend/app/obs/tracing.py | Extended tracing system with persistence, replay, and active run tracking capabilities |
| backend/app/models/infra_models.py | Core data models for multi-cloud infrastructure (InfraGraph, migration, compliance, cost) |
| backend/app/iac_generators/terraform.py | Added cancellation handling for Terraform generation |
| backend/app/iac_generators/gcp_migration.py | GCP to Azure service mapping and migration logic with cost comparison |
| backend/app/iac_generators/aws_migration.py | AWS to Azure service mapping and migration logic with Bicep snippets |
| backend/app/deps.py | Added get_agent_client dependency for dual-pass validation and AI agents |
| backend/app/core/config.py | Updated default models and CORS configuration, added frontend base URL setting |
| backend/app/core/azure_client.py | Added local model client support and switched to OpenAIChatClient for streaming |
| backend/app/cloud_parsers/parsers.py | Inventory parsers for normalizing Azure/AWS/GCP exports into InfraGraph format |
| backend/app/api/routes.py | Registered new API endpoint routers for validation, autopilot, compliance, docs, migration, cost, and fix |
| backend/app/api/endpoints/validation.py | Dual-pass validation endpoints for requirements and diagram auditing |
| backend/app/api/endpoints/runs.py | Enhanced run streaming with persisted event replay |
| backend/app/api/endpoints/reverse_engineering.py | Cloud inventory import endpoints with provider auto-detection |
| backend/app/api/endpoints/projects_simple.py | Added share link generation and token-based project access |
| backend/app/api/endpoints/projects.py | Added share link endpoints with Azure blob storage integration |
| backend/app/api/endpoints/migration.py | Migration planning endpoints with AI-powered and rule-based strategies |
| backend/app/api/endpoints/iac_openai_simple.py | Updated OpenAI model reference |
| backend/app/api/endpoints/iac_mcp.py | Integrated AWS migration into IaC generation flow |
| backend/app/api/endpoints/iac.py | Enhanced IaC generation with multi-cloud migration detection |
| backend/app/api/endpoints/fix.py | Fix/patch application endpoints for diagram modifications |
| backend/app/api/endpoints/docs.py | Documentation generation endpoints for HLD, LLD, runbook, and deployment guides |
| backend/app/api/endpoints/diagram_analysis.py | Enhanced diagram analysis with multi-cloud detection and structured guidance |
| backend/app/api/endpoints/cost.py | Cost analysis and optimization recommendation endpoints |
| backend/app/api/endpoints/compliance.py | Compliance validation and framework detection endpoints |
| backend/app/api/endpoints/chat_simple.py | Updated OpenAI model reference |
| backend/app/api/endpoints/chat.py | Added integration settings support to chat endpoint |
| backend/app/api/endpoints/autopilot.py | Full autopilot endpoints for parsing requirements and generating complete architectures |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
No description provided.