DMS Internal Architecture
Agent Wiring · Security Layers · Testing Embedded · Environment Topology · GAC — Click any card to ask AI
🧠 AI AGENT WIRING — Think → Swarm → Review
Orchestrator
🧠 MasterAgent
Think → Swarm → Review
CORE
🔀 Smart Router
Intent → Agent mapping
🌐 Agent Network
A2A protocol · Event bus
Specialists (16)
🔍 Discovery
Schema scan · Relationships
📊 Profiling
Stats · Quality scoring
🔀 Transform
CDM mapping · 41 entities
⚡ +13 More
Validate · Reconcile · Heal · Mask
Skills (8)
📋 Migration Planner
Waves · Dependencies
✅ BCT Comparator
99.32% fidelity proven
🔄 CDC Builder
NL → Pipeline config
🎯 +5 More
Go-Live · Extract · CDM · Recon
MCP + LLM
🔌 MCP Server
/api/mcp/tools · 44 tools
☁️ Bedrock Claude
Claude 3.5 · Cost controlled
🚨 Gates
🛑 Human Approval
Mapping · Deploy · PII
MANDATORY
📝 Audit Log
Every action logged
🔒 SECURITY LAYERS — Defense in Depth (All Production)
🔑
API Key + RBAC
Per-user keys · 4 roles
🏛️
Cognito / OAuth2
SSO · JWT · Sessions
🔐
Secrets Manager
Auto-rotation · KMS
🛡️
Prompt Guard
Injection detection · Rate limit
💎
IP Vault (S3)
Prompts · Mappings · $500K+
👤
PII Auto-Mask
Modulo · Reversible
🚧
AI Guardrails
SQL safety · Schema ground
🔀
Dual Connection
SOURCE RO · LAB RW
🔏
Envelope Encryption
AES-256 · KMS · Per-customer
🏁
Feature Flags
30+ flags · Kill-switch
🧪 TESTING — 180+ Test Files, All Real Code (768+ Test Functions)
25+
Playwright E2E
Real browser · Clicks buttons · Before every deploy
752+
Unit + Integration
155+ files · pytest · Every module covered
🔥
Post-Deploy Smoke
Real features verified · Not just health check
🤖
Autonomous Test Agent
AI-generated tests · Self-healing selectors
🔒
Critical Path Lock
10 functions · Change = must pass tests first
📈
DORA Metrics
Deploy freq · Lead time · MTTR · CFR
🎯
LLM Eval Framework
Agent accuracy · Hallucination detection
🚦
Deploy Gate
All pass or deploy is BLOCKED
🌐 ENVIRONMENT TOPOLOGY — DEV-First, Manual Promote, Auto-Deploy OFF
DEV
ghpkdgu2ts.ap-southeast-2
● LIVE
All code lands here first
Auto-deploy OFF
Auto-deploy OFF
UAT
ehbz47s2nk.ap-southeast-2
● RUNNING
Promote from DEV
Stakeholder validation
Stakeholder validation
DEMO
6c8pcrwyzp.ap-southeast-2
🔒 FROZEN #158
CTO/CEO only
Auto-deploy DISABLED
Auto-deploy DISABLED
PROD
ideqyhed5p.ap-southeast-2
○ INACTIVE
Future
Requires approval
Requires approval
Deploy: build_zip.py → S3 → CodeBuild (Docker) → ECR :latest → App Runner start-deployment | ECR tag shared — auto-deploy OFF everywhere
⚙️ GENTRACK AGENT CORE (GAC) — Shared Platform · /gac · 96 Files · 869 Tests
🧬
Core
BaseAgent · Types
5 files
🪪
Identity
OAuth2 · RBAC
5 files
🧠
Memory
Session · Long-term
6 files
🔌
MCP
Server · Client · Tools
6 files
📜
Policy
Approval · Cost
5 files
🔀
Orchestration
Coordinator · Flows
6 files
📡
Observability
Tracing · Metrics
5 files
🎯
Eval
LLM scoring
6 files
🧰
Tools
Resilience · HA
3 files
🪝
Hooks
SQL · Deploy · BCT
4 files
🔗
Adapters
DMS·G2A·PA
22 files
📒
Registry
Discovery
3 files
📦 96 files · 869 tests · 12 categories
🔗 Products: DMS + G2 Assist + PA
🏗️ Mounted at
/gac
✅ ALL modules: PRODUCTION