Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Successful in 11s
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m36s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m24s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m25s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m28s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 21s
Smart Contract Tests / test-foundry (push) Failing after 20s
Smart Contract Tests / lint-solidity (push) Successful in 30s
Smart Contract Tests / deploy-contracts (push) Successful in 1m40s
Systemd Sync / sync-systemd (push) Successful in 26s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 4s
- Update workflow paths from docs/openclaw to docs/hermes - Rename skill prefixes from openclaw-* to hermes-* - Update agent skill references in refactoring and analysis docs - Rename OPENCLAW_AITBC_MASTERY_PLAN.md to reflect hermes branding - Update CLI examples and command references throughout documentation
4.0 KiB
4.0 KiB
description, title, version
| description | title | version |
|---|---|---|
| Atomic hermes error detection and recovery procedures with deterministic outputs | hermes-error-handler | 1.1 |
hermes Error Handler
Purpose
Detect, diagnose, and recover from errors in hermes agent operations with systematic error handling and recovery procedures.
Activation
Trigger when user requests error handling: error diagnosis, recovery procedures, error analysis, or system health checks.
Input
{
"operation": "detect|diagnose|recover|analyze",
"agent": "agent_name",
"error_type": "execution|communication|configuration|timeout|unknown",
"error_context": "string (optional)",
"recovery_strategy": "auto|manual|rollback|retry"
}
Output
{
"summary": "Error handling operation completed successfully",
"operation": "detect|diagnose|recover|analyze",
"agent": "agent_name",
"error_detected": {
"type": "string",
"severity": "critical|high|medium|low",
"timestamp": "number",
"context": "string"
},
"diagnosis": {
"root_cause": "string",
"affected_components": ["component1", "component2"],
"impact_assessment": "string"
},
"recovery_applied": {
"strategy": "string",
"actions_taken": ["action1", "action2"],
"success": "boolean"
},
"issues": [],
"recommendations": [],
"confidence": 1.0,
"execution_time": "number",
"validation_status": "success|partial|failed"
}
Process
1. Analyze
- Scan agent logs for errors
- Identify error patterns
- Assess error severity
- Determine error scope
2. Diagnose
- Analyze root cause
- Trace error propagation
- Identify affected components
- Assess impact
3. Execute Recovery
- Select recovery strategy
- Apply recovery actions
- Monitor recovery progress
- Validate recovery success
4. Validate
- Verify error resolution
- Check system stability
- Validate agent functionality
- Confirm no side effects
Constraints
- MUST NOT modify critical system files
- MUST NOT exceed 60 seconds for error diagnosis
- MUST preserve error logs for analysis
- MUST validate recovery before applying
- MUST rollback on recovery failure
Environment Assumptions
- Agent logs accessible at
/var/log/aitbc/ - Error tracking system functional
- Recovery procedures documented
- Agent state persistence available
- System monitoring active
Error Handling
- Recovery failure → Attempt alternative recovery strategy
- Multiple errors → Prioritize by severity
- Unknown error type → Apply generic recovery procedure
- System instability → Emergency rollback
Example Usage Prompt
Diagnose and recover from execution errors in main agent
Expected Output Example
{
"summary": "Error diagnosed and recovered successfully in main agent",
"operation": "recover",
"agent": "main",
"error_detected": {
"type": "execution",
"severity": "high",
"timestamp": 1775811500,
"context": "Transaction processing timeout during blockchain sync"
},
"diagnosis": {
"root_cause": "Network latency causing P2P sync timeout",
"affected_components": ["p2p_network", "transaction_processor"],
"impact_assessment": "Delayed transaction processing, no data loss"
},
"recovery_applied": {
"strategy": "retry",
"actions_taken": ["Increased timeout threshold", "Retried transaction processing"],
"success": true
},
"issues": [],
"recommendations": ["Monitor network latency for future occurrences", "Consider implementing adaptive timeout"],
"confidence": 1.0,
"execution_time": 18.3,
"validation_status": "success"
}
Model Routing Suggestion
Reasoning Model (Claude Sonnet, GPT-4)
- Complex error diagnosis
- Root cause analysis
- Recovery strategy selection
- Impact assessment
Performance Notes
- Execution Time: 5-30 seconds for detection, 15-45 seconds for diagnosis, 10-60 seconds for recovery
- Memory Usage: <150MB for error handling operations
- Network Requirements: Agent communication for error context
- Concurrency: Safe for sequential error handling on different agents