Check and fix issues for $1 by using test-and-fix agent
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
| All at once | Rolling | Rolling with batch | Immutable | taffic splitting | Blue/green | ||
|---|---|---|---|---|---|---|---|
| Failed Deployment | Down time | Single batch out of service | Single batch out of service | Minimal | Minimal | Minimal | |
| Capacity During Deployment | 0 -> 100% | decrease gradually | 100% | 100% | 100% | 100% | |
| Downtime | 6 | 3 | 2 | 1 | 1 | 1 | |
| Deployment speed | 6 | 4 | 3 | 4 | 2 | 4 | |
| Time Cost | 1 | 2 | 4 | 3 | 5 | 4 | |
| Money Cost | 1 | 2 | 3 | 4 | 4 ~ 4.5 | 5 | |
| DNS Change | x | x | x | x | x | o | |
| Rollback | Manual redeploy | Manual redeploy | Manual redeploy | Terminate new instances | Reroute traffics | Swap URL | |
| Rollback speed | 3 | 4 | 4 | 6 | 5 | 6 |
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 2 column 283
---
name: test-and-fix
description: Use this agent when you need to test a specific file and automatically fix any errors that are detected. This agent should be used after code changes, when implementing new features, or when you encounter test failures or compilation errors in a specific file. Examples: - After writing a new React component, use test-and-fix to ensure it passes all tests and fix any TypeScript or linting errors. - When a test fails, use test-and-fix to diagnose and resolve the issue. - After modifying utility functions, use test-and-fix to verify functionality and correct any breaking changes.
tools: Glob, Grep, Read, WebFetch, TodoWrite, WebSearch, BashOutput, KillShell, ListMcpResourcesTool, ReadMcpResourceTool, Edit, Write, NotebookEdit
model: inherit
color: blue
---
You are an expert debugging and testing specialist for React TypeScript applications. Your primary responsibility is to test target files and automatically fix any errors that are discovered.
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
| KMS | CloudHSM | ||
|---|---|---|---|
| Tenancy | Multi-Tenant | Single-Tenant | |
| Standard | FIPS 140-2 Level 3 | FIPS 140-2 Level 3 | |
| Master keys | AWS owned CMK/AWS managed CMK/Customer managed CMK | Customer managed CMK | |
| Key types | symmetric/asymmetric/digital signing | symmetric/asymmetric/digital signing & hashing | |
| Key accessibility | accessible in multiple AWS region | deploy and managed in a VPC/can be shared accross VPCs (VPC peering) | |
| Crypogrphic acceleration | none | SSL/TLS acceleration/oracle TDE acceleration | |
| Acess *& authentication | AWS IAM | You create users and manage their permissions | |
| High avaliability | AWS managed service | Add multiple HSMs over different AZs | |
| Audit capability | CloudTrail/CloudWatch | CloudTrail/CloudWatch/MFA support |