Fault Resilience
Tool: fault-resilience
Model: Advanced
Trigger & Intent
Section titled “Trigger & Intent”Triggered by: Any workflow that requires fault-tolerance, adaptive fallback, or homeostatic recovery mechanisms.
Intent: Builds systems that self-heal through cascade fallbacks, voter consensus arbitration, and PID-controlled setpoints. Never relies on static retry logic.
Resource Pooling
Section titled “Resource Pooling”Capability profile: resilience — requires homeostatic + voter_consensus, prefers adaptive_routing, cascade fallback mandatory.
Required Skills
Section titled “Required Skills”| Skill | Role |
|---|---|
resil-homeostatic-module | PID setpoint homeostatic control |
resil-redundant-voter | Multi-model consensus voting |
resil-circuit-breaker | Circuit breaker pattern implementation |
resil-graceful-degradation | Graceful capability degradation |
resil-context-recovery | Context state recovery on failure |
resil-rollback-planner | Safe rollback plan generation |
Input Schema
Section titled “Input Schema”{ targetService: string; faultMode: "cascade" | "voter" | "homeostatic";}Decisions & Throw-Backs
Section titled “Decisions & Throw-Backs”If circuit breaker trips 3× without recovery → escalates to govern to check policy constraints on retry behavior. Homeostatic drift over setpoint triggers immediate throw-back.
Success Chains
Section titled “Success Chains”On successful completion chains to: govern · evaluate
FSM — Adaptive identity through repeated contradiction
Section titled “FSM — Adaptive identity through repeated contradiction”stateDiagram-v2
[*] --> NominalOperation
NominalOperation --> FaultDetected
FaultDetected --> SeverityAssessment
SeverityAssessment --> ShallowCorrection: minor fault
SeverityAssessment --> CascadeFallback: major fault
SeverityAssessment --> CircuitBreaker: repeated fault
ShallowCorrection --> NominalOperation
CascadeFallback --> VoterConsensus
VoterConsensus --> MajorityAgreement
VoterConsensus --> SplitVote
MajorityAgreement --> RecoveredState
RecoveredState --> NominalOperation
SplitVote --> Escalation
Escalation --> HomeostaticRebalance
HomeostaticRebalance --> NominalOperation
CircuitBreaker --> PolicyCheck
PolicyCheck --> RollbackPlan
RollbackPlan --> RecoveredState
RecoveredState --> [*]
Execution Sequence
Section titled “Execution Sequence”sequenceDiagram
participant Orchestrator
participant Pool (Analytical)
participant Pool (Mechanical)
participant Tool (Context)
Orchestrator->>Pool (Analytical): Allocate Capability Profile
activate Pool (Analytical)
Pool (Analytical)->>Tool (Context): Issue Tool Calls (Parallel)
Tool (Context)-->>Pool (Analytical): Return Data
alt Shallow Loop
Pool (Analytical)->>Pool (Analytical): Auto-correct Schema
else Medium Loop
Pool (Analytical)->>Pool (Mechanical): Delegate Fixes
end
Pool (Analytical)-->>Orchestrator: Synthesis Gate
deactivate Pool (Analytical)
opt Deep Loop — Circuit Breaker
Orchestrator->>Orchestrator: Complete Throw-back to govern
end