Commit Graph

1850 Commits

Author SHA1 Message Date
aitbc
c700b69d0f Update tokenomics documentation to Version 2.0 with Hermes integration changes 2026-05-07 17:27:16 +02:00
aitbc1
c62c138d81 Fix KeyError: 'title' in stage_runner.py
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
- Use .get() with default value instead of direct dictionary access
- Default title: 'Stage {stage_number}'
- Fixes Stage 10 and other JSON stages without 'title' field
- Tested: Stage 10 now loads successfully
2026-05-07 17:21:36 +02:00
aitbc1
f3b0d6f02d Update launcher for Stage 10 support (merge from origin/main)
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
- TOTAL_STAGES=11
- Added Stage 10 to get_stage_name() and menus
- Updated for loops to {0..10}
- Updated usage messages to [0-10]
- Fixed regex to match stage 10: ^(10|[0-9])$
2026-05-07 17:19:02 +02:00
aitbc
68b08192f7 Rename OpenClaw router files to Hermes in coordinator-api
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (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
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-05-07 17:16:29 +02:00
aitbc
c2ff4b1437 Add journalctl -fu aitbc-* to Stage 10 log monitoring
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Add real-time AITBC service log monitoring command to Stage 10:
- Added journalctl -fu aitbc-* to JSON examples (monitors all AITBC services)
- Added to output_stage_learnings() commands list
- Updated pitfalls to mention journalctl as primary log monitoring tool

This command provides real-time monitoring of all AITBC services
(blockchain-node, agent-coordinator, etc.) in a single view.
2026-05-07 17:12:07 +02:00
aitbc
82b9faed6c Merge branch 'main' of http://gitea.bubuit.net:3000/oib/aitbc
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
2026-05-07 17:10:28 +02:00
aitbc
bb8d969d8e Add Stage 10: Failure Recovery & Production Operations
Address Hermes-identified training gaps with new advanced stage:

Stage 10 covers:
- Transaction failure debugging (nonce too low, insufficient funds)
- Node failure recovery procedures
- Wallet backup and restore operations
- Production monitoring (metrics, logs, health checks)
- Advanced debugging tools (mempool inspection, transaction tracing)
- Backup and restore procedures (database, configuration)
- Network partition handling

Implementation:
- Created stage10_failure_recovery.sh with output_stage_learnings()
- Created stage10_failure_recovery.json with 7 sections covering failure scenarios
- Updated master_training_launcher.sh to include stage10 in get_stage_name()
- Updated stage selection prompts to allow [0-10]
- Updated --stage and --with-skill-update validation for stage 10
- Added stage 10 to playground menu stage list

Training-to-skill pipeline verified:
- Learnings JSON created successfully
- Certificate generated
- capture_learnings() validates and reports to Hermes agent

Note: Python training setup JSON execution has structure mismatch
(missing 'title' field), but stage completes successfully and
learnings are captured via output_stage_learnings().
2026-05-07 17:08:40 +02:00
aitbc1
9ba19c8cd4 Fix Stage 8-9 scripts: paths and Python command syntax
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
- Fix REPO_ROOT path in stage8 and stage9 scripts
- Remove --json flag from Python command (use positional arg)
- Stages 8-9 now run successfully with --with-skill-update
- All 9 stages now generate learnings files correctly
2026-05-07 17:00:52 +02:00
aitbc1
9fc87c97c7 Fix stage scripts for non-interactive mode and ENABLE_SKILL_UPDATE bug
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
- Add read -t 1 timeout to stage scripts (stage2-5) for non-interactive mode
- Fix ENABLE_SKILL_UPDATE comparison: -eq 1 -> = "true"
- Stage 3 now runs successfully through launcher with --with-skill-update
- Learnings file created and pipeline verified end-to-end
2026-05-07 16:47:48 +02:00
aitbc1
b431753db0 Fix capture_learnings() to remove hermes-tools dependency
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
- Remove non-existent hermes-tools CLI calls
- Simplify to validate JSON and report learnings file location
- Skill update handled by Hermes agent after script completion
- Tested with Stage 2: learnings file created successfully
2026-05-07 16:30:05 +02:00
aitbc
d10306f545 Fix learnings file path in output_stage_learnings() function
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Bug: Learnings file was created but disappeared after script exit because
SCRIPT_DIR was undefined in training_lib.sh context.

Fix: Use REPO_ROOT to construct path to training state directory:
- Changed from /.training_state
- To /scripts/training/.training_state

This ensures the learnings file is created in the correct location where
capture_learnings() in master_training_launcher.sh can find it.
2026-05-07 16:07:56 +02:00
aitbc
f96a549086 Merge branch 'main' of http://gitea.bubuit.net:3000/oib/aitbc
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
2026-05-07 15:02:27 +02:00
aitbc
4a6548ca21 Implement training-to-skill pipeline for agent knowledge persistence
Add learning capture and skill update mechanism to AITBC training system:

Phase 1 - Learning Capture Function:
- Add capture_learnings() function to master_training_launcher.sh
- Reads learnings JSON from stage scripts
- Validates JSON structure
- Calls hermes-tools skill-manage to update agent skills
- Stage 1 creates skill, subsequent stages update it
- Falls back to JSON-only if hermes-tools unavailable

Phase 2 - Optional Skill Update Flag:
- Add --with-skill-update CLI flag
- Set ENABLE_SKILL_UPDATE global variable
- Support flag combination with --stage and --complete
- Default behavior: save learnings JSON without skill update

Phase 3 - Integration:
- Call capture_learnings() after certificate generation
- Pass ENABLE_SKILL_UPDATE to control skill update behavior
- Integrated into run_stage() function

Phase 4 - Helper Function:
- Add output_stage_learnings() to training_lib.sh
- Accepts stage number, name, commands, pitfalls, key_paths, concepts
- Creates structured JSON learnings file
- Saves to .training_state/learnings_stageN.json

Phase 5 - Stage Script Learning Output:
- Add learning output to all stage scripts (0-9)
- Each stage defines stage-specific learnings
- Format: commands, pitfalls, key_paths, concepts
- Called at successful stage completion

This enables new agents on new AITBC nodes to automatically persist
training knowledge via the hermes-tools skill management system.
2026-05-07 14:58:39 +02:00
aitbc1
ff92004ad4 Fix certificate viewing with array-based file collection for reliable display
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-05-07 14:37:38 +02:00
aitbc1
a36bf78082 Fix playground paths and complete playground interface testing
- Added BASE_DIR and STAGE_DIR variables for proper path resolution
- Fixed prerequisite check to use STAGE_DIR instead of relative path
- Verified playground menu, progress view, certificates, reset all work
- All 10 stages pass prerequisite validation
- Blocked on wallet funding (genesis password/file issue)
2026-05-07 14:36:07 +02:00
aitbc1
43baf076ed Fix syntax errors and improve help option in launcher script 2026-05-07 14:36:07 +02:00
aitbc1
65375e90b3 Fix Stage 1 issues: add wallet_fund operation, AIT currency fields, fix integration test references 2026-05-07 14:34:01 +02:00
aitbc1
302e9c650c Update dependencies and clean pycache 2026-05-07 14:34:01 +02:00
aitbc
224ad74661 Add debug output to certificate viewing and fix stage script permissions
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
- Add debug output in view_certificates() to show certificate directory path
- Display count of found certificate files
- Show directory contents when no certificates found for troubleshooting
- Make stage6_agent_development.sh executable
- Make stage7_cross_node_training.sh executable
2026-05-07 14:30:35 +02:00
aitbc
c0e9eb9707 Add missing stage scripts (0, 8, 9) for complete training
Created placeholder shell scripts for stages that only had JSON definitions:
- stage0_environment_setup.sh - Environment setup and prerequisites
- stage8_advanced_agent_specialization.sh - Bounty systems, portfolio management, knowledge graph marketing
- stage9_multi_chain_architecture.sh - Cross-chain operations and multi-chain deployment

These scripts use the Python-based training setup to execute JSON-defined operations,
allowing the complete training program (stages 0-9) to run without errors.
2026-05-07 14:25:29 +02:00
aitbc
60a5abd2fd Fix minor issues and add wallet funding documentation
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Changes:
- Fix certificate viewing display issue in master_training_launcher.sh
  - Use array to store certificate files for reliable iteration
  - Add error handling for read command
  - Ensure CERT_DIR exists before checking for certificates
  - Fix certificate selection using array index instead of head/tail

- Add wallet funding script (scripts/training/fund_wallet.sh)
  - Fund wallets from genesis using genesis password
  - Reads password from /var/lib/aitbc/keystore/.genesis_password
  - Verifies genesis balance before funding
  - Shows transaction hash and wallet balance after funding

- Add wallet funding documentation (docs/agent-training/WALLET_FUNDING.md)
  - Genesis wallet details and password location
  - Quick funding script usage
  - Manual funding with AITBC CLI
  - Faucet service information
  - Common training wallets
  - Troubleshooting guide
  - Security notes
2026-05-07 14:13:57 +02:00
aitbc
4afa754499 Fix menu exit error when run with piped input
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
Added error handling to read commands to gracefully handle EOF
when script is run with piped input (e.g., echo "8" | script).

Changes:
- show_menu(): Added || choice="" to handle read failure
- main(): Added || start_choice="y" to default to yes if read fails

This prevents set -e from causing script to exit with error
code 1 when read commands reach EOF with piped input.
2026-05-07 13:33:43 +02:00
aitbc
b31bccccdd Fix unconditional main call causing --help to run training
Removed unconditional 'main' call after case statement.
The case statement already handles the empty string case
by calling main, so the extra call was causing all
command-line arguments to be ignored and training to run.
2026-05-07 12:28:21 +02:00
aitbc
8007ce4e8a Remove extra closing brace causing syntax error 2026-05-07 12:27:14 +02:00
aitbc
ee8c6a59a6 Fix master_training_launcher.sh syntax and path issues
- Remove duplicate malformed case statement causing syntax error
- Fix prerequisite check path from ../agent-training to ../docs/agent-training
- Fix path in both check_prerequisites() and check_all_prerequisites()
2026-05-07 12:26:56 +02:00
aitbc
a97c6f82f6 Fix fund_accounts.sh script for current CLI
- Remove --force flag from genesis command (not supported)
- Read genesis password from /var/lib/aitbc/keystore/.genesis_password
- Fix faucet funding to use proper genesis password

Note: Script is deprecated in favor of Python-based setup
(aitbc.training_setup.cli), but these fixes make it work
with current CLI for backwards compatibility.
2026-05-07 12:19:01 +02:00
aitbc
7a9e0dafc3 Add stage completion certificates/badges (Priority 3 #2)
Certificate System:
- JSON certificates stored in .training_state/certificates/
- Includes stage number, name, completion timestamp, wallet name
- Unique certificate_id for each completion
- Version tracking for future updates

New Functions:
- get_stage_name() - Map stage number to name
- generate_certificate() - Create JSON certificate file
- display_badge() - ASCII art badge on completion
- view_certificates() - List and view earned certificates
- export_certificate() - Export certificate to home directory

Integration:
- Certificate generation in run_stage() on success
- Certificate viewing in main menu (option 7)
- Certificate viewing/exporting in playground menu (options 6-7)
- Certificates cleared on training state reset

Updates:
- Added CERT_DIR variable for certificate storage
- Initialize CERT_DIR in main()
- Updated .gitignore for certificates directory
- Menu options increased to accommodate certificate features

Usage:
- Certificates auto-generated on stage completion
- View via menu option 7 or playground option 6
- Export to home directory via playground option 7
2026-05-07 12:12:27 +02:00
aitbc
8f76558403 Add training playground with reset capability (Priority 3 #3)
Training Playground Features:
- Interactive playground mode with prerequisite validation
- Reset capability to clear progress and state
- Progressive training that skips completed stages
- Progress tracking via .training_progress file
- Sandbox state directory for safe experimentation

New Functions:
- load_progress() - Load completed stages from progress file
- save_progress() - Save completed stages to progress file
- reset_training_state() - Clear all progress and state
- check_prerequisites() - Integrate with generate_prerequisite_checks.py
- show_playground_menu() - Interactive playground menu
- check_all_prerequisites() - Validate all stages
- playground_run_stage() - Run stage with prerequisite check
- playground_run_complete() - Progressive complete training

Updates:
- TOTAL_STAGES increased from 7 to 10 (includes stages 0, 8, 9)
- Updated training stages list in overview
- Updated show_menu() to add playground option
- Updated run_complete_training() for stages 0-9
- Updated review_progress() to load from progress file
- Updated view_logs() for stages 0, 8, 9
- Added --playground command-line option
- Added .training_progress and .training_state to .gitignore
2026-05-07 12:08:07 +02:00
aitbc
db93b314d9 Move validation scripts from docs/agent-training to scripts/training
- Move validate_stage_dependencies.py to scripts/training/
- Move generate_prerequisite_checks.py to scripts/training/
- Scripts/training is the standard location for training-related scripts
2026-05-07 11:59:53 +02:00
aitbc
295b0a604b Add auto-generate prerequisite checks script (Priority 3 #1)
Prerequisite Checker Script:
- Create generate_prerequisite_checks.py for validating stage dependencies
- Checks stage order (depends_on stages must come before current stage)
- Checks resource dependencies (resource_depends references valid stages)
- Checks wallet_balance placement (must appear before wallet+password operations)
- Checks currency fields (operations with amount/price must have currency)
- Generates bash prerequisite scripts for individual stages

Stage Fixes:
- Add currency field to transaction_send in stage1_foundation.json
- Remove stage4_marketplace_economics from stage3_ai_operations depends_on (circular dependency)

Validation:
- All stages (0-9) now pass prerequisite validation
- Script can be run: python3 docs/agent-training/generate_prerequisite_checks.py docs/agent-training
2026-05-07 11:58:42 +02:00
aitbc
19d6f61bfe Add failure simulation to training curriculum
Schema enhancement:
- Add failure_simulation property to validation section
- Define failure types: insufficient_funds, invalid_password, network_failure, invalid_resource, permission_denied, timeout
- Include recovery_operation for error handling tests

Stage 1 example:
- Add insufficient_funds test for wallet_send
- Add invalid_password test for wallet_send
- Add invalid_resource test for wallet_balance
2026-05-07 11:55:18 +02:00
aitbc
52e6e532a4 Add Priority 2 content enhancements to training curriculum
Stage 0: Environment Setup:
- Create stage0_environment_setup.json with genesis wallet validation
- Add genesis_wallet_check, genesis_password_check, genesis_balance_check operations
- Add node_connectivity_check, peer_connectivity_check operations
- Update training_schema.json to include stage0_environment_setup in enum

Scenario Mappings:
- Update SCENARIO_STAGE_MAPPING.md to include Stage 0
- Add Stage 0 operations and purpose documentation
- Update current stage status for Stages 8 and 9 (both created)
- Mark Priority 1 and Priority 2 as completed in integration priority section
2026-05-07 11:54:34 +02:00
aitbc
0cc9ab0bf4 Add Priority 1 structural improvements to training curriculum
Schema enhancements:
- Add requires_balance_check property for operations with wallet+password
- Add requires_currency property for operations with amount/price parameters
- Add creates_resource property for operations that create IDs
- Add requires_resource property for operations that require IDs

Validation script:
- Create validate_stage_dependencies.py to check:
  - Operations with wallet+password have wallet_balance check before them
  - Operations with amount/price parameters have currency field
  - Operations requiring resources have corresponding create operations

Stage fixes:
- Stage 2: Add wallet_balance check at beginning, add currency to wallet_send and staking_stake
- Stage 3: Add wallet_balance check at beginning, add market_gpu_register for listing_id dependency
- Update RESOURCE_CREATORS to handle multiple resources per operation
- Add multi_chain_island_setup as island_id creator for Stage 9
2026-05-07 11:53:37 +02:00
aitbc
852f2e5a8a Rename openclaw to hermes across documentation and workflows
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
2026-05-07 11:42:06 +02:00
aitbc
151aae1916 Fix Stage 9 issues based on analysis
- Add wallet_balance check before cross_chain_validator_setup (uses wallet/password)
2026-05-07 11:28:12 +02:00
aitbc
b8665d24a4 Fix Stage 8 issues based on analysis
- Add currency field (AIT) to bounty_system, portfolio_management, knowledge_graph_market
- Add wallet_balance check at beginning of operations (before wallet/password operations)
- Add dispute_create operation before dispute_resolution (dispute_id dependency)
- Add ai_submit operation before zero_knowledge_proofs (ai_job_id dependency)
2026-05-07 11:27:52 +02:00
aitbc
1d554fcf63 Fix Stage 7 issues based on analysis
- Add currency field (AIT) to cross_chain_transfer, staking_validator_agent, cross_chain_market_maker
- Add wallet_balance check at beginning of operations (before wallet/password operations)
- Add agent_create operations before agent_coordination_leader_election (3 agents)
- Add enterprise_create operation before enterprise_ai_agent
- Update agent_to_agent_message to use agent_* patterns instead of hardcoded agent_1, agent_2
2026-05-07 11:27:18 +02:00
aitbc
13f127140b Fix Stage 6 issues based on analysis
- Fix agent_message parameter naming (agent -> agent_id) for consistency
- Fix agent_messages parameter naming (agent -> agent_id) for consistency
- Add agent_id parameter to agent_sdk_capabilities operation
- Add wallet_balance check before agent_message operation (requires wallet/password)
2026-05-07 11:26:14 +02:00
aitbc
2e060598fd Fix Stage 5 issues based on analysis
- Reorder workflow_create before workflow_run (workflow_id dependency)
- Reorder governance_propose before governance_vote (proposal_id dependency)
- Add currency field (AIT) to cross_chain_bridge operation
- Add island_create operation before island_join (island_id dependency)
- Add wallet_balance check before governance operations
2026-05-07 11:25:33 +02:00
aitbc
0e8d274ed6 Fix Stage 4 issues based on Hermes feedback
- Add currency field (AIT) to all pricing parameters (market_gpu_register, market_bid, market_sell)
- Fix market_bid to reference gpu_id instead of listing_id (GPU-specific)
- Fix market_buy to reference gpu_id instead of listing_id for consistency
- Add market_my-listings operation to check seller's own listings
- Add economics_model operation for price prediction (model_type, features)
- Add wallet_balance check at beginning of marketplace operations
2026-05-07 11:15:34 +02:00
aitbc
d5a479ed12 Fix Stage 3 issues based on Hermes feedback
- Add stage4_marketplace_economics to depends_on (AI operations need GPU listings from marketplace)
- Make ai_training_agent operation optional (gpu_listing may not exist)
- Add resource_depends field to training_schema.json for cross-stage resource dependencies
- Add ai_jobs check after ai_submit to verify job appears in listing
- Add finetune_status polling after finetune_submit for job monitoring
2026-05-07 11:01:20 +02:00
aitbc
b648be1510 Fix Stage 2 issues based on Hermes feedback
- Add depends_on validation documentation to training_schema.json (verify prerequisite stages mastered)
- Add performance validation to network_ping (max_latency_ms: 100)
- Add wallet_balance check after wallet_send to verify transaction deduction
- Add mining_rewards verification after mining_stop to confirm rewards collected
- Move wallet_delete to end of operations array to prevent subsequent operations from failing
2026-05-07 10:59:10 +02:00
aitbc
a25dbab262 Update OPERATIONS_AUDIT.md to reflect current state after Phase 1
- Update Stage 1 coverage - all operations now covered (genesis, wallet_list, wallet_transactions added in Phase 1)
- Update Stage 2 coverage - wallet_send replaced by transaction_send in Stage 1, most operations now covered
- Update Stage 5 coverage - workflow_run, resource_optimize, analytics blocks/predict/optimize, performance_tune added in Phase 1
- Update Stage 6 coverage - all agent operations now covered
- Update priority recommendations to reflect remaining gaps after Phase 1
- Update implementation strategy phases to reflect completed work
2026-05-07 10:51:59 +02:00
aitbc
c46aced8ae Fix agent training documentation inconsistencies based on Hermes feedback
- Add curriculum fields to stages 7, 8, 9 (difficulty, skill_level, depends_on, skills, objectives)
- Add missing agent types to README (specialized, architect)
- Fix schema inconsistency in ENVIRONMENT_SETUP.md - update example to use official training_schema.json format
- Fix Stage 1 integration test - remove wallet_fund from operations, use existing operations
- Make messaging_send operation optional in Stage 1 (messaging configuration is optional per ENVIRONMENT_SETUP.md)
- Update scenario references in all stage files to point to correct directory (/docs/scenarios/)
2026-05-07 10:51:20 +02:00
aitbc
7fcc862d22 Fix agent training documentation based on Hermes feedback
- Add agent type definitions section to README.md (coordinator, genesis, follower, wallet, general)
- Clarify setup_method in Training Schema section - stages use Python-based setup system (aitbc.training_setup module) rather than individual shell scripts
- Fix Python version requirement from 3.10+ to 3.13.5 in Prerequisites
2026-05-07 10:43:59 +02:00
aitbc
993075cbdd Phase 7: Enhance curriculum with skills, objectives, and certifications
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 8s
Deploy to Testnet / deploy-testnet (push) Successful in 1m39s
Documentation Validation / validate-docs (push) Failing after 11s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 47s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Failing after 2s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 35s
Package Tests / Python package - aitbc-core (push) Successful in 16s
Package Tests / Python package - aitbc-crypto (push) Successful in 11s
Package Tests / Python package - aitbc-sdk (push) Successful in 13s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 7s
Package Tests / JavaScript package - aitbc-token (push) Successful in 16s
Python Tests / test-python (push) Failing after 1m11s
Security Scanning / security-scan (push) Successful in 31s
- Add skills field to training schema
- Add skill_level field to training schema (novice/apprentice/practitioner/expert/master)
- Add objectives field to training schema
- Add certifications field to training schema
- Add curriculum fields to stage1_foundation.json (skills, skill_level, objectives, certification)
- Add curriculum fields to stage2_operations_mastery.json (skills, skill_level, objectives, certification)
- Add curriculum fields to stage3_ai_operations.json (skills, skill_level, objectives)
- Add curriculum fields to stage4_marketplace_economics.json (skills, skill_level, objectives)
- Add curriculum fields to stage5_expert_operations.json (skills, skill_level, objectives)
- Add curriculum fields to stage6_agent_identity_sdk.json (skills, skill_level, objectives)
2026-05-07 09:49:56 +02:00
aitbc
c25f0dc1ca Phase 6: Add testing improvements to training schema and stages
- Add integration_tests field to validation section
- Add coverage_target field for test coverage percentage
- Add coverage_report field for coverage reporting
- Add mock_data section with wallets, addresses, transactions
- Add integration test example to stage1_foundation.json
- Add coverage target and report to stage1_foundation.json
- Add mock data example to stage1_foundation.json
2026-05-07 09:48:19 +02:00
aitbc
d6c1abfb14 Phase 5: Add documentation fields to training schema and operations
- Add examples field to operation schema (CLI command examples)
- Add errors field to operation schema (expected errors and resolution)
- Add verify field to operation schema (verification commands)
- Add resources field to operation schema (learning resource links)
- Add documentation examples to wallet_create operation in stage1_foundation.json
2026-05-07 09:47:48 +02:00
aitbc
8fbffc656c Phase 4: Add validation enhancements to training schema
- Add idempotent field to operation schema
- Add check_exists field for resource existence validation
- Add verify_on_chain flag for transaction verification
- Add confirmations_required field for block confirmations
- Add timeout_seconds field for on-chain verification timeout
- Add retry configuration (max_attempts, backoff_seconds, retryable_errors)
- Add max_memory_mb to performance metrics
- Add validation examples to wallet_create operation (idempotent, check_exists, performance)
- Add validation examples to transaction_send operation (verify_on_chain, retry, performance)
2026-05-07 09:47:06 +02:00
aitbc
e9eff46b47 Phase 3: Add structural improvements to training schema and stages
- Add depends_on field to training schema for stage dependencies
- Add difficulty field to training schema (beginner/intermediate/advanced/expert)
- Add estimated_time_minutes field to training schema
- Add structural fields to stage1_foundation.json (beginner, 30min, no dependencies)
- Add structural fields to stage2_operations_mastery.json (beginner, 45min, depends on stage1)
- Add structural fields to stage3_ai_operations.json (intermediate, 60min, depends on stage2)
- Add structural fields to stage4_marketplace_economics.json (intermediate, 60min, depends on stage2)
- Add structural fields to stage5_expert_operations.json (advanced, 90min, depends on stage3, stage4)
- Add structural fields to stage6_agent_identity_sdk.json (advanced, 75min, depends on stage5)
2026-05-07 09:46:17 +02:00