| """ |
| Demo Scenarios for ARF 3.3.9 OSS vs Enterprise |
| Comprehensive scenarios showing the value of mechanical enforcement |
| """ |
|
|
| DEMO_SCENARIOS = { |
| "database_drop": { |
| "name": "High-Risk Database Operation", |
| "action": "DROP DATABASE production CASCADE", |
| "description": "Irreversible deletion of production database", |
| "context": { |
| "environment": "production", |
| "criticality": "critical", |
| "data_loss": "irreversible", |
| "affected_users": 10000, |
| "service": "primary_database" |
| } |
| }, |
| |
| "service_deployment": { |
| "name": "Safe Service Deployment", |
| "action": "deploy_service v1.2.3 to staging with 25% canary", |
| "description": "Standard deployment with canary testing", |
| "context": { |
| "environment": "staging", |
| "service": "api-gateway", |
| "version": "v1.2.3", |
| "canary_percentage": 25, |
| "rollback_feasible": True, |
| "rollback_time": "2 minutes" |
| } |
| }, |
| |
| "config_change": { |
| "name": "Configuration Change", |
| "action": "UPDATE config SET timeout=30 WHERE service='payment'", |
| "description": "Update payment service timeout configuration", |
| "context": { |
| "environment": "production", |
| "service": "payment", |
| "change_type": "configuration", |
| "affected_services": ["payment", "checkout"], |
| "validation_required": True |
| } |
| }, |
| |
| "user_permission_grant": { |
| "name": "User Permission Grant", |
| "action": "GRANT admin_role TO user@company.com", |
| "description": "Grant administrative privileges to user", |
| "context": { |
| "environment": "production", |
| "role": "admin_role", |
| "user": "user@company.com", |
| "justification": "New team member", |
| "approver": "cto@company.com" |
| } |
| }, |
| |
| "sensitive_data_access": { |
| "name": "Sensitive Data Access", |
| "action": "SELECT * FROM pci_data WHERE card_number LIKE '4111%'", |
| "description": "Access to PCI-sensitive payment card data", |
| "context": { |
| "environment": "production", |
| "data_classification": "pci", |
| "user_role": "analyst", |
| "purpose": "fraud investigation", |
| "masking_required": True |
| } |
| }, |
| |
| "auto_scaling_adjustment": { |
| "name": "Auto-Scaling Adjustment", |
| "action": "scale deployment frontend from 10 to 50 pods", |
| "description": "Increase frontend service capacity", |
| "context": { |
| "environment": "production", |
| "service": "frontend", |
| "current_pods": 10, |
| "target_pods": 50, |
| "reason": "Black Friday traffic spike", |
| "budget_impact": "$1200/day" |
| } |
| }, |
| |
| "emergency_rollback": { |
| "name": "Emergency Rollback", |
| "action": "rollback_service payment to v1.1.0 immediately", |
| "description": "Emergency rollback due to critical bug", |
| "context": { |
| "environment": "production", |
| "service": "payment", |
| "from_version": "v1.2.0", |
| "to_version": "v1.1.0", |
| "severity": "critical", |
| "incident_id": "INC-2024-789", |
| "approved_by": "oncall_engineer" |
| } |
| } |
| } |
|
|
| |
| LICENSE_TIERS = { |
| "trial": { |
| "name": "Trial", |
| "price": 0, |
| "enforcement": "advisory", |
| "max_agents": 3, |
| "gates_available": ["confidence_threshold", "risk_assessment"], |
| "limitations": ["No mechanical enforcement", "14-day limit", "Community support"], |
| "best_for": "Evaluation and testing" |
| }, |
| "starter": { |
| "name": "Starter", |
| "price": 2000, |
| "enforcement": "human_approval", |
| "max_agents": 10, |
| "gates_available": ["license_validation", "confidence_threshold", "risk_assessment", "admin_approval"], |
| "features": ["Human-in-the-loop gates", "Basic audit trail", "Email support"], |
| "best_for": "Small teams with human oversight" |
| }, |
| "professional": { |
| "name": "Professional", |
| "price": 5000, |
| "enforcement": "autonomous", |
| "max_agents": 50, |
| "gates_available": ["license_validation", "confidence_threshold", "risk_assessment", "rollback_feasibility", "budget_check"], |
| "features": ["Autonomous execution", "Advanced audit", "Priority support", "SLA 99.5%"], |
| "best_for": "Mid-size companies wanting automation" |
| }, |
| "enterprise": { |
| "name": "Enterprise", |
| "price": 15000, |
| "enforcement": "full_mechanical", |
| "max_agents": 1000, |
| "gates_available": ["license_validation", "confidence_threshold", "risk_assessment", "rollback_feasibility", "compliance_check", "budget_check", "custom_gates"], |
| "features": ["Full mechanical enforcement", "Compliance automation", "Custom gates", "24/7 support", "SLA 99.9%", "Differential privacy audit"], |
| "best_for": "Large enterprises with compliance needs" |
| } |
| } |
|
|
| |
| VALUE_PROPOSITIONS = { |
| "risk_reduction": { |
| "oss": "Manual risk assessment", |
| "starter": "Human-validated decisions", |
| "professional": "Automated risk gates", |
| "enterprise": "Mechanical enforcement", |
| "improvement": "92% reduction in operational risk" |
| }, |
| "decision_speed": { |
| "oss": "Minutes to hours", |
| "starter": "Minutes with human", |
| "professional": "Seconds (autonomous)", |
| "enterprise": "Milliseconds (mechanical)", |
| "improvement": "100x faster decisions" |
| }, |
| "false_positives": { |
| "oss": "High (conservative)", |
| "starter": "Medium (human calibrated)", |
| "professional": "Low (ML-optimized)", |
| "enterprise": "Minimal (continuously tuned)", |
| "improvement": "85% reduction in false positives" |
| }, |
| "operational_cost": { |
| "oss": "High (manual review)", |
| "starter": "Medium (partial automation)", |
| "professional": "Low (mostly automated)", |
| "enterprise": "Minimal (fully automated)", |
| "improvement": "75% reduction in OpEx" |
| } |
| } |