[!FROZEN] MPLP Protocol v1.0.0 Frozen Specification Freeze Date: 2025-12-03 Status: FROZEN (no breaking changes permitted) Governance: MPLP Protocol Governance Committee (MPGC) License: Apache-2.0 Note: Any normative change requires a new protocol version.
Error Recovery Flow Example
[!NOTE] Status: Skeleton / Planned
This example is a placeholder. Full implementation will be available in a future release.
1. Overview
Related Golden Flow: flow-04-single-agent-llm-enrichment-single-agent-llm-enrichment
This example will demonstrate error handling and recovery patterns in MPLP:
- Step failure detection
- Trace span status propagation
- Error event emission
- Plan state rollback
2. Key Concepts
2.1 Error States
Steps can fail with various error types:
validation_error: Input validation failedexecution_error: Handler threw an exceptiontimeout_error: Step exceeded time limitdependency_error: Required resource unavailable
2.2 Recovery Strategies
| Strategy | Description |
|---|---|
| Retry | Re-execute the failed step |
| Skip | Mark as skipped, continue |
| Abort | Halt entire plan execution |
| Rollback | Revert to previous checkpoint |
3. Placeholder Implementation
No runnable example exists yet. See the Golden Flow tests for reference:
tests/golden/flows/flow-04-single-agent-llm-enrichment-single-agent-llm-enrichment/
4. Related Documentation
2025 Bangshi Beijing Network Technology Limited Company Licensed under the Apache License, Version 2.0.