Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

step-04b-subagent-performance.md 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. ---
  2. name: 'step-04b-subagent-performance'
  3. description: 'Subagent: Performance NFR evidence audit'
  4. subagent: true
  5. outputFile: '/tmp/tea-nfr-performance-{{timestamp}}.json'
  6. ---
  7. # Subagent 4B: Performance NFR Evidence Audit
  8. ## SUBAGENT CONTEXT
  9. This is an **isolated subagent** running in parallel with other NFR domain evidence audits.
  10. **Your task:** Assess PERFORMANCE NFR domain only.
  11. ---
  12. ## SUBAGENT TASK
  13. ### 1. Performance Evidence Audit Categories
  14. **A) Response Times:**
  15. - API response times (<200ms target)
  16. - Page load times (<2s target)
  17. - Time to interactive (<3s target)
  18. **B) Throughput:**
  19. - Requests per second capacity
  20. - Concurrent user support
  21. - Database query performance
  22. **C) Resource Usage:**
  23. - Memory consumption
  24. - CPU utilization
  25. - Database connection pooling
  26. **D) Optimization:**
  27. - Caching strategies
  28. - CDN usage
  29. - Code splitting/lazy loading
  30. - Database indexing
  31. ---
  32. ## OUTPUT FORMAT
  33. ```json
  34. {
  35. "domain": "performance",
  36. "risk_level": "LOW",
  37. "findings": [
  38. {
  39. "category": "Response Times",
  40. "status": "PASS",
  41. "description": "API endpoints respond in <150ms (P95)",
  42. "evidence": ["Load testing results show 140ms P95"],
  43. "recommendations": []
  44. },
  45. {
  46. "category": "Caching",
  47. "status": "CONCERN",
  48. "description": "No CDN for static assets",
  49. "evidence": ["Static files served from origin"],
  50. "recommendations": ["Implement CDN (CloudFront/Cloudflare)", "Cache static assets for 1 year"]
  51. }
  52. ],
  53. "compliance": {
  54. "SLA_99.9": "PASS",
  55. "SLA_99.99": "CONCERN"
  56. },
  57. "priority_actions": ["Implement CDN for static assets", "Add database query caching for frequent reads"],
  58. "summary": "Performance is acceptable with minor optimization opportunities"
  59. }
  60. ```
  61. ---
  62. ## EXIT CONDITION
  63. Subagent completes when JSON output written to temp file.