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
49 lines
3.8 KiB
Python
49 lines
3.8 KiB
Python
"""hermes Agent Training command registration for the unified CLI."""
|
|
|
|
import argparse
|
|
|
|
from parser_context import ParserContext
|
|
|
|
|
|
def register(subparsers: argparse._SubParsersAction, ctx: ParserContext) -> None:
|
|
hermes_training_parser = subparsers.add_parser("hermes-training", help="hermes agent training operations")
|
|
hermes_training_parser.set_defaults(handler=lambda parsed, parser=hermes_training_parser: parser.print_help())
|
|
hermes_training_subparsers = hermes_training_parser.add_subparsers(dest="hermes_training_action")
|
|
|
|
hermes_deploy_parser = hermes_training_subparsers.add_parser("deploy", help="Deploy an hermes agent")
|
|
hermes_deploy_parser.add_argument("--agent-file", required=True)
|
|
hermes_deploy_parser.add_argument("--wallet", required=True)
|
|
hermes_deploy_parser.add_argument("--environment", choices=["dev", "staging", "prod"], default="dev")
|
|
hermes_deploy_parser.set_defaults(handler=ctx.handle_hermes_training_action)
|
|
|
|
hermes_monitor_parser = hermes_training_subparsers.add_parser("monitor", help="Monitor hermes performance")
|
|
hermes_monitor_parser.add_argument("--agent-id")
|
|
hermes_monitor_parser.add_argument("--metrics", choices=["performance", "cost", "errors", "all"], default="all")
|
|
hermes_monitor_parser.set_defaults(handler=ctx.handle_hermes_training_action)
|
|
|
|
hermes_market_parser = hermes_training_subparsers.add_parser("market", help="Manage hermes marketplace activity")
|
|
hermes_market_parser.add_argument("market_action", nargs="?", choices=["list", "publish", "purchase", "evaluate"])
|
|
hermes_market_parser.add_argument("--action", dest="market_action_opt", choices=["list", "publish", "purchase", "evaluate"], help=argparse.SUPPRESS)
|
|
hermes_market_parser.add_argument("--agent-id")
|
|
hermes_market_parser.add_argument("--price", type=float)
|
|
hermes_market_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="market")
|
|
|
|
hermes_train_parser = hermes_training_subparsers.add_parser("train", help="Agent training operations")
|
|
hermes_train_subparsers = hermes_train_parser.add_subparsers(dest="train_action")
|
|
|
|
hermes_train_agent_parser = hermes_train_subparsers.add_parser("agent", help="Train hermes agent on AITBC operations")
|
|
hermes_train_agent_parser.add_argument("--agent-id", required=True, help="Agent ID to train")
|
|
hermes_train_agent_parser.add_argument("--stage", required=True, help="Training stage (stage1_foundation, stage2_operations_mastery, etc.)")
|
|
hermes_train_agent_parser.add_argument("--training-data", required=True, help="Path to training data JSON file")
|
|
hermes_train_agent_parser.add_argument("--log-level", default="INFO", choices=["DEBUG", "INFO", "SUCCESS", "WARNING", "ERROR"], help="Logging level")
|
|
hermes_train_agent_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="train")
|
|
|
|
hermes_train_validate_parser = hermes_train_subparsers.add_parser("validate", help="Validate agent training progress")
|
|
hermes_train_validate_parser.add_argument("--agent-id", required=True, help="Agent ID to validate")
|
|
hermes_train_validate_parser.add_argument("--stage", required=True, help="Training stage to validate")
|
|
hermes_train_validate_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="train")
|
|
|
|
hermes_train_certify_parser = hermes_train_subparsers.add_parser("certify", help="Certify agent mastery")
|
|
hermes_train_certify_parser.add_argument("--agent-id", required=True, help="Agent ID to certify")
|
|
hermes_train_certify_parser.set_defaults(handler=ctx.handle_hermes_training_action, hermes_training_action="train")
|