generate_failure_scenarios
Generate concrete failure scenario walkthroughs for architecture stress testing, showing cascading failures with step-by-step propagation, downstream impact, and recovery recommendations.
Instructions
STRESS TEST — Generate concrete failure scenario walkthroughs for missing/partial patterns. Each scenario shows a realistic cascading failure: trigger event, step-by-step propagation through the architecture (with file:line references when code evidence is available), downstream impact, and book-cited recovery recommendation. Also maps coverage against Ch. 7's five-step failure recovery chain. Flags inverted pyramid warnings when advanced patterns depend on missing foundations. Deterministic — same consultation always produces same scenarios. Requires pattern_assessment steps from step 3.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"consultation_id": "<consultation_id>"
},
"name": "generate_failure_scenarios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consultation_id | Yes | The consultation session to analyze | |
| max_scenarios | No | Maximum scenarios to return (1-20, default: 5) |