diff --git a/.windsurf/plans/MESH_NETWORK_TRANSITION_PLAN.md b/.windsurf/plans/MESH_NETWORK_TRANSITION_PLAN.md index 9af2a441..e40079b9 100644 --- a/.windsurf/plans/MESH_NETWORK_TRANSITION_PLAN.md +++ b/.windsurf/plans/MESH_NETWORK_TRANSITION_PLAN.md @@ -391,6 +391,109 @@ python -m pytest -v ## �� **Resource Allocation** +### **Phase X: AITBC CLI Tool Enhancement** + +**Goal**: Update the AITBC CLI tool to support all mesh network operations + +**CLI Features Needed**: + +##### **1. Node Management Commands** +```bash +aitbc node list # List all nodes +aitbc node status # Check node status +aitbc node start # Start a node +aitbc node stop # Stop a node +aitbc node restart # Restart a node +aitbc node logs # View node logs +aitbc node metrics # View node metrics +``` + +##### **2. Validator Management Commands** +```bash +aitbc validator list # List all validators +aitbc validator add
# Add a new validator +aitbc validator remove
# Remove a validator +aitbc validator rotate # Trigger validator rotation +aitbc validator slash
# Slash a validator +aitbc validator stake # Stake tokens +aitbc validator unstake # Unstake tokens +aitbc validator rewards # View validator rewards +``` + +##### **3. Network Management Commands** +```bash +aitbc network status # View network status +aitbc network peers # List connected peers +aitbc network topology # View network topology +aitbc network discover # Run peer discovery +aitbc network health # Check network health +aitbc network partition # Check for partitions +aitbc network recover # Trigger network recovery +``` + +##### **4. Agent Management Commands** +```bash +aitbc agent list # List all agents +aitbc agent register # Register a new agent +aitbc agent info # View agent details +aitbc agent reputation # Check agent reputation +aitbc agent capabilities # List agent capabilities +aitbc agent match # Find matching agents for job +aitbc agent monitor # Monitor agent activity +``` + +##### **5. Economic Commands** +```bash +aitbc economics stake # Stake to validator +aitbc economics unstake # Unstake from validator +aitbc economics rewards # View pending rewards +aitbc economics claim # Claim rewards +aitbc economics gas-price # View current gas price +aitbc economics stats # View economic statistics +``` + +##### **6. Job & Contract Commands** +```bash +aitbc job create # Create a new job +aitbc job list # List all jobs +aitbc job status # Check job status +aitbc job assign # Assign job to agent +aitbc job complete # Mark job as complete +aitbc contract create # Create escrow contract +aitbc contract fund # Fund contract +aitbc contract release # Release payment +aitbc dispute create # Create dispute +aitbc dispute resolve # Resolve dispute +``` + +##### **7. Monitoring & Diagnostics Commands** +```bash +aitbc monitor network # Real-time network monitoring +aitbc monitor consensus # Monitor consensus activity +aitbc monitor agents # Monitor agent activity +aitbc monitor economics # Monitor economic metrics +aitbc benchmark performance # Run performance benchmarks +aitbc benchmark throughput # Test transaction throughput +aitbc diagnose network # Network diagnostics +aitbc diagnose consensus # Consensus diagnostics +aitbc diagnose agents # Agent diagnostics +``` + +##### **8. Configuration Commands** +```bash +aitbc config get # Get configuration value +aitbc config set # Set configuration value +aitbc config view # View all configuration +aitbc config export # Export configuration +aitbc config import # Import configuration +aitbc env switch # Switch environment (dev/staging/prod) +``` + +**Implementation Timeline**: 2-3 weeks +**Priority**: High (needed for all mesh network operations) + +## 📊 **Resource Allocation** + ### **Development Team Structure** - **Consensus Team**: 2 developers (Weeks 1-3, 17-19) - **Network Team**: 2 developers (Weeks 4-7)