Expand description
failure_analysis lives in mockforge_intelligence::failure_analysis
(Issue #562 phase 5). Re-exported here so existing
mockforge_core::failure_analysis::* call sites
(mockforge-ui handlers, in-core workspace/request + ai_studio/debug_analyzer)
keep compiling unchanged.
Failure analysis and root-cause narrative generation
This module provides AI-powered analysis of request failures, generating human-readable narratives that explain why failures occurred and what rules, personas, or contracts caused them.
Modules§
- context_
collector - Failure context collector
- narrative_
generator - Failure narrative generator
- types
- Types for failure analysis
Structs§
- Behavioral
Rule Info - Behavioral rule/persona information
- Chaos
Config Info - Chaos configuration information
- Consistency
Rule Info - Consistency rule information
- Contract
Validation Info - Contract validation information
- Contributing
Factor - A contributing factor to the failure
- Failure
Context - Complete failure context collected from a request execution
- Failure
Context Collector - Collector for failure context
- Failure
Narrative - Failure narrative generated by AI
- Failure
Narrative Generator - Generator for failure narratives
- Hook
Execution Info - Hook execution information
- Narrative
Frame - A frame in the narrative stack trace
- Request
Details - Request details
- Response
Details - Response details