- Parse multiline constraint input into structured Constraint objects
- Normalize and tokenize rules
- Validate syntax within 1 second
- Detect:
- gRPC enforcement
- REST misuse
- Hardcoded credentials
- Microservices patterns
- Return structured violations with severity
- Weighted severity scoring
- Risk classification (LOW / MEDIUM / HIGH)
- Scale-based architectural penalties
- Response time < 5 seconds for 50 components
- Integrate AWS Price List API
- Estimate monthly cost based on architecture components
- Allow user-defined monthly budget threshold
- Trigger modal warning if projected cost exceeds threshold
- Recalculate cost within 5 seconds of architecture modification
- Simulate:
- DB outage
- Service crash
- Queue overflow
- Identify single points of failure
- Suggest:
- Load balancer
- SQS Dead Letter Queue
- Auto-scaling
- Redundancy patterns
- Generate 1-question “Pop Quiz” after architecture generation
- Track correct answers
- Maintain “Comprehension Score”
- Display feedback
- Implement as non-invasive overlay
- Use Kiro postToolUse hooks
- No modification of core IDE files
- Risk panel
- Cost panel
- Chaos simulation results panel
- Quiz panel
- Validation engine ≥ 80% coverage
- End-to-end architecture flow tested
- Risk scoring within 5 seconds for 50 components
- Define architecture
- Trigger cost spike
- Simulate failure
- Answer pop quiz
- Clean README
- Screenshots
- Submission assets