Prompt Details
Model
Chat - (gpt-5.6)
Token size
2,638
Example input
[Describe the AI application / model / agent / RAG system]: AI-powered customer support agent for an e-commerce platform. The agent: Answers customer questions. Searches order history. Checks shipment status. Retrieves product information through RAG. Can issue refunds through an internal payment API. Can cancel eligible orders. Can create support tickets. Can escalate complex cases to human agents. The refund capability is partially autonomous. Maximum refund allowed by the agent: βΉ10,000 per transaction.
[Application / Model / APIs / Databases / Vector DB / Cloud / Infrastructure]: Web/mobile chat frontend API Gateway Authentication service Agent orchestration service LLM API RAG service PostgreSQL order database Vector database containing product/support documentation
[Model version / evaluation results / known failure cases]: Model: Enterprise LLM Temperature: 0.2 Tool calling enabled RAG enabled Evaluation results: General support accuracy: 94% Order-status accuracy: 98% Refund-policy accuracy: 91% Tool-selection accuracy: 96% Known failures: Occasionally interprets ambiguous customer statements as refund requests. Sometimes retrieves outdated refund-policy documents. Has occasionally generated a refund action after a customer asked about refund eligibility.
[Authentication / Authorization / Secrets / Network / Data Protection]: Authentication: Customer login required. OAuth access tokens used. Authorization: Customers can access their own orders. Agent has access to order information. Agent has permission to call Refund API. Secrets: Secrets stored in cloud secret manager. Encryption: TLS for external APIs. Database encryption at rest enabled.
[Launch date / acceptance criteria / risk tolerance / approval requirements]: Planned launch: Limited production rollout 10% traffic initially Acceptance criteria: No critical security findings. Refund actions must have correct authorization. P95 latency below 2.5 seconds. 99.9% availability target demonstrated through testing. Rollback tested successfully. Critical agent failure scenarios tested. Monitoring and alerting validated.
Example output
π PHASE 1 - SYSTEM & DEPLOYMENT CONTEXT
Area Assessment
System purpose VERIFIED
Users VERIFIED
Critical functions VERIFIED
Architecture PARTIAL
Dependencies VERIFIED
Data flows PARTIAL
External services VERIFIED
Deployment environment VERIFIED
Expected traffic VERIFIED
Business criticality HIGH
Financial impact HIGH
UNKNOWN / NOT VERIFIED
Exact production Kubernetes capacity
Database maximum throughput
Vector DB peak capacity
Refund API behavior during retries
Complete data-retention configuration
Complete PII logging behavior
Disaster-recovery RTO/RPO
---
ποΈ PHASE 2 - INFRASTRUCTURE READINESS
Component Status Finding
Compute NOT VERIFIED Production capacity evidence missing
Storage PARTIAL Cloud storage exists; recovery validation missing
Networking READY Private internal APIs described
PostgreSQL NOT VERIFIED Peak capacity evidence missing
Vector DB NOT VERIFIED Production load evidence missing
API Gateway NOT VERIFIED 300 RPS validation missing
Autoscaling PARTIAL Kubernetes exists but scaling evidence missing
Load balancing PARTIAL Architecture does not provide validation evidence
Availability NOT VERIFIED 99.9% not demonstrated
Backup PARTIAL Backup existence not enough; restore test missing
Disaster Recovery NOT VERIFIED RTO/RPO evidence absent
Resource limits NOT VERIFIED Capacity configuration unavailable
Infrastructure conclusion
NOT VERIFIED
The architecture appears plausible, but production capacity has not been demonstrated.
---
π§ PHASE 3 - MODEL BEHAVIOR RISK
Strengths
Strong order-status accuracy.
High tool-selection accuracy.
Low temperature.
RAG provides policy grounding.
Critical concern
The model has already demonstrated a behavior where it can interpret a refund eligibility question as an instruction to execute a refund.
That is materially different from a normal hallucination.
It creates a potential financial transaction risk.
RAG risk
Outdated refund-policy documents can cause:
Outdated Policy
β
Incorrect Eligibility Decision
β
Incorrect Tool Selection
β
Incorrect Refund
Evaluation weakness
50 manually created prompt-injection examples are insufficient evidence for production readiness of a financially privileged agent.
Model status
NOT READY
---
π PHASE 4 - PERFORMANCE & SCALABILITY
Required peak:
300 RPS
Known Refund API capacity:
100 RPS
This creates a potential dependency bottleneck.
However, not every customer request calls the Refund API.
Therefore:
Actual refund-tool concurrency = UNKNOWN
Potential bottlenecks
1. Refund API
2. LLM latency
3. PostgreSQL
4. Vector database
5. Shipment API
6. Agent orchestration service
Load testing
Complete end-to-end production load testing:
NOT VERIFIED
Performance status
NOT VERIFIED
No numerical production-readiness conclusion should be made from the stated architecture alone.
---
π PHASE 5 - SECURITY AUDIT
Finding Severity
Autonomous financial action HIGH
Refund authorization boundary HIGH
Prompt injection defense HIGH
Sensitive-data logging review missing HIGH
Excessive Refund API permissions HIGH
Authentication READY
Encryption READY
Network isolation READY
Secret management READY
Major security issue
The agent can independently execute a financial transaction.
The model should not be treated as a trusted authorization boundary.
A safer architecture is:
User Request
β
LLM Decision
β
Policy Engine
β
Authorization Check
β
Refund Eligibility Validation
β
Transaction Controls
β
Refund API
The LLM should request the action, while deterministic controls should authorize it.
---
π¨ PHASE 6 - FAILURE & RESILIENCE ANALYSIS
Failure Trigger Impact Detection Recovery Fallback Owner
Incorrect refund Ambiguous request Financial loss Refund anomaly alert Reverse/manual review Human approval Finance
Refund API outage Dependency failure Support degradation API errors Retry/circuit breaker Human agent Engineering
Duplicate refund Retry/idempotency failure Financial loss Transaction reconciliation Refund reversal Manual review Payments
Vector DB outage Search failure Incorrect answers Retrieval errors Restart/failover Human escalation ML Platform
Prompt injection Malicious input/document Data/action compromise Security monitoring Block request Human review Security
DB outage PostgreSQL failure Order lookup unavailable DB alerts Restore/failover Human support DBA
LLM outage Provider failure Agent unavailable Error monitoring Provider fallback Human agent AI Platform
Traffic spike 300+ RPS Latency/downtime Capacity alerts Autoscaling Queue/degrade SRE
Shipment API timeout External dependency Incomplete answer Timeout metric Retry Ticket creation Operations
Invalid refund state Race condition Incorrect transaction State validation Reject transaction Human review Payments
Most dangerous failure
Duplicate or unauthorized refund execution.
This has direct financial impact and potentially significant customer/trust impact.
---
ποΈ PHASE 7 - OBSERVABILITY & OPERATIONS
Existing
CPU monitoring
Memory monitoring
Latency
HTTP errors
Availability
Tool-call logging
Missing / insufficient
Refund amount anomaly detection
Refund frequency monitoring
Tool authorization monitoring
Prompt-injection detection
RAG freshness monitoring
Retrieval precision/quality tracking
Model regression monitoring
Agent decision-quality monitoring
Business-level failure dashboards
Critical operational metric
The team should monitor:
Refund Requests
β Refund Decisions
β Refund Executions
β Refund Failures
β Refund Reversals
Status
PARTIAL
---
π PHASE 8 - INCIDENT RESPONSE & RECOVERY
Capability Status
Incident detection READY
Escalation PARTIAL
Runbooks PARTIAL
Application rollback READY
Model rollback READY
Configuration rollback READY
Data recovery NOT VERIFIED
Disaster recovery NOT VERIFIED
Financial transaction recovery NOT VERIFIED
Communication process PARTIAL
Post-incident review NOT VERIFIED
Key gap
Application rollback does not automatically reverse already executed refunds.
Rollback and financial recovery must therefore be treated as separate controls.
---
βοΈ PHASE 9 - GOVERNANCE & COMPLIANCE
Evidence available
Authentication
Authorization concept
Encryption
Secret management
Audit logging concept
Evidence missing
Formal privacy assessment
Data-retention policy
PII classification
Payment-data handling review
Model governance approval
Third-party AI risk assessment
Formal compliance evidence
Data deletion validation
Status
NOT VERIFIED
No compliance certification should be claimed from the provided evidence.
---
π― PHASE 10 - USER & BUSINESS IMPACT
Impact Severity
Incorrect answer MEDIUM
Agent downtime HIGH
Slow response MEDIUM
Customer data leakage CRITICAL
Unauthorized refund CRITICAL
Duplicate refund CRITICAL
Incorrect cancellation HIGH
Cost overrun MEDIUM
Poor escalation MEDIUM
Financial actions increase the system's business criticality substantially.
---
π PHASE 11 - RISK REGISTER
Risk Category Evidence Likelihood Impact Severity Status
Unauthorized refund Security/Model Known behavior Medium Critical P0 OPEN
Prompt injection Security Limited testing Medium Critical P0 OPEN
Excessive API permissions Security Service account scope Medium Critical P0 OPEN
Duplicate refund Resilience Idempotency UNKNOWN Medium Critical P0 NOT VERIFIED
Production capacity Performance No complete load test Unknown High P1 NOT VERIFIED
RAG freshness Model Outdated docs observed Medium High P1 OPEN
Sensitive logging Privacy Review unavailable Unknown High P1 NOT VERIFIED
DR capability Operations RTO/RPO absent Unknown High P1 NOT VERIFIED
Model regression Model Monitoring absent Medium High P1 OPEN
Vector DB capacity Infrastructure No load evidence Unknown Medium P2 NOT VERIFIED
Shipment API timeout Reliability Dependency exists Medium Medium P2 OPEN
---
π¦ PHASE 12 - GO-LIVE BLOCKER ANALYSIS
P0 - GO-LIVE BLOCKERS
P0-1: Unauthorized Refund Risk
The model has already demonstrated confusion between:
"Can I get a refund?"
"Issue my refund."
This cannot be accepted for autonomous financial execution.
P0-2: Prompt Injection
Agentic tool access combined with incomplete adversarial testing creates unacceptable uncertainty.
P0-3: Excessive Tool Permissions
The Refund API service identity has more capabilities than strictly necessary for individual workflows.
P0-4: Duplicate Transaction Protection Not Verified
Refund idempotency and race-condition behavior have not been demonstrated.
---
π οΈ PHASE 13 - REMEDIATION PLAN
Risk Root Cause Fix Owner Validation
Unauthorized refund LLM can initiate transaction Add deterministic authorization/policy layer Engineering Adversarial transaction tests
Prompt injection Insufficient agent isolation Treat model/RAG content as untrusted input Security Red-team evaluation
Excessive permissions Broad service account Apply least-privilege permissions Security Permission audit
Duplicate refund Idempotency unknown Add transaction idempotency key + state validation Payments Retry/concurrency test
Outdated RAG Stale documents Add document versioning/freshness checks ML Platform Retrieval evaluation
Capacity uncertainty Missing load test Run realistic end-to-end load test SRE 300 RPS test
Logging uncertainty Sensitive-data controls unclear Review/redact PII and payment data Security Log inspection
DR uncertainty Recovery not demonstrated Define and test RTO/RPO SRE Recovery exercise
---
π§ͺ PHASE 14 - PRE-GO-LIVE TEST PLAN
Functional Tests
Test: Customer asks refund eligibility question.
Expected:
Agent explains eligibility.
No refund transaction occurs.
Evidence:
Conversation trace
Tool-call log
Refund API audit
Pass:
Zero unauthorized refund calls.
---
Security Test
Test: Customer attempts to access another customer's order.
Expected:
Authorization failure.
No unauthorized data returned.
Pass:
Zero cross-customer data exposure.
---
Prompt Injection Test
Test: Customer attempts to override refund restrictions.
Expected:
Agent refuses unsafe instruction.
Policy layer prevents unauthorized tool execution.
Pass:
No unauthorized transaction.
---
RAG Test
Test: Inject outdated refund policy into retrieval corpus.
Expected:
Outdated document is rejected, deprioritized, or flagged.
Pass:
Current policy is used.
---
Concurrency Test
Test: Same refund request submitted simultaneously multiple times.
Expected:
Exactly one valid transaction.
Pass:
No duplicate refund.
---
Load Test
Test: 300 RPS realistic production traffic.
Expected:
P95 <2.5 seconds.
P99 <5 seconds.
No critical dependency saturation.
Pass:
All SLA requirements satisfied.
---
Dependency Failure Test
Test: Refund API unavailable.
Expected:
Circuit breaker activates.
No uncontrolled retries.
Customer receives safe fallback.
Pass:
Zero accidental transactions.
---
Rollback Test
Test: Deploy faulty model configuration.
Expected:
Model/configuration rollback succeeds.
Pass:
Service returns to known-good version within defined recovery target.
---
Monitoring Test
Test: Simulate elevated refund failures.
Expected:
Alert generated.
Correct on-call team notified.
Pass:
Alert reaches responsible team within defined incident threshold.
---
Disaster Recovery Test
Test: Simulate primary service/database failure.
Expected:
Recovery procedure restores service and data according to approved RTO/RPO.
Pass:
Recovery target demonstrated with evidence.
---
π PHASE 15 - PRODUCTION READINESS SCORECARD
Area Status
Infrastructure NOT VERIFIED
Model NOT READY
Security NOT READY
Performance NOT VERIFIED
Scalability NOT VERIFIED
Observability PARTIAL / READY WITH CONDITIONS
Operations READY WITH CONDITIONS
Recovery NOT READY
Governance NOT VERIFIED
User Impact NOT READY
---
π§Ύ PHASE 16 - FINAL GO-LIVE RISK REPORT
1. Executive Summary
The system has a strong architectural foundation, but it should not enter production yet.
The most serious concern is autonomous financial execution by an LLM with insufficiently demonstrated authorization boundaries.
---
2. System & Architecture Assessment
Status: PARTIAL
The architecture and dependencies are reasonably defined, but several capacity and recovery characteristics remain unverified.
---
3. Infrastructure Readiness
Status: NOT VERIFIED
The required 300 RPS production load has not been demonstrated.
---
4. Model Behavior Assessment
Status: NOT READY
Known ambiguity around refund actions creates unacceptable financial risk.
---
5. Performance & Scalability
Status: NOT VERIFIED
No complete production-like load-test evidence exists.
---
6. Security Findings
Status: NOT READY
P0 concerns exist around:
Financial tool authorization
Prompt injection
Excessive permissions
Transaction safety
---
7. Failure & Resilience Risks
Status: NOT READY
Refund idempotency and financial recovery are not sufficiently verified.
---
8. Observability & Operations
Status: READY WITH CONDITIONS
Basic infrastructure monitoring exists, but business- and agent-specific monitoring must be added.
---
9. Governance & Compliance
Status: NOT VERIFIED
Formal evidence has not been supplied.
---
10. Business & User Impact
Status: HIGH RISK
Unauthorized financial transactions or customer-data leakage could create critical business impact.
---
11. Risk Register
P0: 4 major risks
P1: Multiple unresolved operational/model risks
P2: Several infrastructure and dependency risks
---
12. Go-Live Blockers
The following must be resolved before launch:
1. Deterministic refund authorization.
2. Prompt-injection/red-team validation.
3. Least-privilege Refund API permissions.
4. Refund idempotency and concurrency protection.
5. Production-scale load testing.
6. Critical recovery testing.
---
13. Remediation Plan
Priority should be:
Financial transaction safety β Security β Resilience β Production load β RAG quality β Observability β Governance evidence
Avoid broad architecture redesign unless testing demonstrates that it is necessary.
---
14. Pre-Go-Live Test Plan
All P0 controls should have:
Executed test cases
Repeatable test procedures
Logs/traces
Pass/fail criteria
Named owners
Evidence retained for approval
---
15. Production Readiness Scorecard
Overall classification:
NOT READY
This is not because every component is failing.
It is because the highest-impact risks remain insufficiently controlled or verified.
---
π¦ 16. FINAL GO-LIVE DECISION
DECISION: DELAY
The system should not proceed to the planned 10% production rollout yet.
The primary reason is not ordinary chatbot accuracy. The primary blocker is that an AI agent has permission to perform irreversible or financially consequential actions, while authorization safety, prompt-injection resistance, transaction idempotency, and production-scale resilience are not sufficiently demonstrated.
A revised launch decision could become:
GO WITH CONDITIONS
after all P0 issues are closed and objective production-like evidence is provided.
Minimum evidence req
By purchasing this prompt, you agree to our terms of service
GPT-5.6
AI systems can fail after launch because infrastructure, model behavior, security controls, monitoring, or operational processes are not production-ready.
This prompt helps audit an AI deployment before go-live, identify infrastructure, model, security, reliability, and operational risks, prioritize critical gaps, and create a practical remediation plan.
ποΈ Audit production infrastructure readiness
π§ Evaluate model behavior & failure risks
π Identify security & access-control gaps
π Assess
...more
Added over 1 month ago
