Commit Graph

200 Commits

Author SHA1 Message Date
aitbc
58cc6676fa feat: update CLI and agent SDK with contract integration
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Contract Performance Benchmarks / benchmark-gas-usage (push) Failing after 20s
Contract Performance Benchmarks / benchmark-execution-time (push) Failing after 1m2s
Contract Performance Benchmarks / benchmark-throughput (push) Failing after 1m11s
Contract Performance Benchmarks / compare-benchmarks (push) Has been skipped
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 18s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 25s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Failing after 1m13s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 5s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / deploy-testnet (push) Failing after 1m3s
Documentation Validation / validate-docs (push) Successful in 8s
Documentation Validation / validate-policies-strict (push) Failing after 2s
Integration Tests / test-service-integration (push) Successful in 59s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 1m1s
Package Tests / Python package - aitbc-core (push) Successful in 34s
Package Tests / Python package - aitbc-crypto (push) Successful in 28s
Package Tests / Python package - aitbc-sdk (push) Successful in 15s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 6s
Package Tests / JavaScript package - aitbc-token (push) Successful in 13s
Python Tests / test-python (push) Successful in 25s
Security Scanning / security-scan (push) Has started running
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m11s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 11s
Smart Contract Tests / test-foundry (push) Failing after 2s
Smart Contract Tests / lint-solidity (push) Successful in 15s
Smart Contract Tests / deploy-contracts (push) Failing after 1m12s
Deploy to Testnet / notify-deployment (push) Successful in 8s
- Update CLI parsers and unified CLI for agent SDK integration
- Add agent_sdk command for CLI
- Update agent SDK with contract integration module
- Update compute provider and consumer with contract support
- Update agent SDK documentation
- Update package-lock.json and solidity cache
2026-04-29 10:44:52 +02:00
aitbc
8781d15a5b Use existing book endpoint for marketplace buy instead of custom buy endpoint
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 22s
2026-04-28 18:32:50 +02:00
aitbc
97252911b3 Simplify handlers - remove wallet daemon integration due to import issues, use direct file-based operations
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 5s
CLI Tests / test-cli (push) Failing after 4s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 2m29s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 11s
2026-04-28 18:31:59 +02:00
aitbc
10f5a48df1 Fix import errors in wallet adapter utils - clean up duplicate imports
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 17s
2026-04-28 18:25:18 +02:00
aitbc
36b1937fcb Fix import errors in handlers - use absolute imports instead of relative imports
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 13s
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 2m57s
Python Tests / test-python (push) Successful in 11s
2026-04-28 18:21:48 +02:00
aitbc
31df4d538f Simplify marketplace buy/sell endpoint paths to avoid conflicts
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 49s
CLI Tests / test-cli (push) Failing after 2s
Integration Tests / test-service-integration (push) Has started running
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has started running
2026-04-28 18:19:49 +02:00
aitbc
c725e71aeb Fix ai.py syntax error
Some checks failed
CLI Tests / test-cli (push) Failing after 4s
Security Scanning / security-scan (push) Successful in 15s
2026-04-28 18:18:13 +02:00
aitbc
1bacb0a3eb Update market buy handler to use dual-mode wallet adapter
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 39s
2026-04-28 18:15:30 +02:00
aitbc
0c995f7412 Change GPU buy/sell endpoints to avoid path conflicts
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
CLI Tests / test-cli (push) Failing after 1s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 1m57s
Python Tests / test-python (push) Successful in 26s
2026-04-28 18:12:20 +02:00
aitbc
05e5d59b8c Update market buy handler to use new GPU buy endpoint
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Failing after 3s
2026-04-28 18:09:49 +02:00
aitbc
670a79f723 Remove dollar sign from GPU price display
Some checks failed
CLI Tests / test-cli (push) Failing after 4s
Security Scanning / security-scan (push) Successful in 49s
2026-04-28 18:03:58 +02:00
aitbc
43aa888d36 Fix GPU marketplace price display to use AIT coins
Some checks failed
CLI Tests / test-cli (push) Failing after 8s
Security Scanning / security-scan (push) Successful in 24s
2026-04-28 18:03:20 +02:00
aitbc
ed5dc40386 Update GPU marketplace prices to use AIT coins instead of USD
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Security Scanning / security-scan (push) Successful in 16s
2026-04-28 18:01:17 +02:00
aitbc
cac4c65aab Fix wallet handler to use importlib for decrypt_private_key
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Security Scanning / security-scan (push) Successful in 33s
P2P Network Verification / p2p-verification (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
2026-04-28 17:57:59 +02:00
aitbc
2d73f51452 Fix wallet handler to import decrypt_private_key correctly 2026-04-28 17:53:55 +02:00
aitbc
5ea244c6b7 Simplify market buy to use coordinator API without blockchain transactions 2026-04-28 17:48:09 +02:00
aitbc
49a2655b40 Simplify market buy to use coordinator API without blockchain transactions
Some checks failed
CLI Tests / test-cli (push) Failing after 5s
Security Scanning / security-scan (push) Successful in 34s
2026-04-28 17:46:47 +02:00
aitbc
7a2ee6fb4b Add handle_market_buy to unified_cli handlers
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 36s
2026-04-28 17:45:11 +02:00
aitbc
b3a123329d Fix market buy parser to route to correct handler
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 30s
2026-04-28 17:43:48 +02:00
aitbc
90535433dc Add market buy handler with blockchain transaction execution 2026-04-28 17:36:31 +02:00
aitbc
1a62d9ab75 Remove password requirement from AI handler
Some checks failed
CLI Tests / test-cli (push) Failing after 8s
Security Scanning / security-scan (push) Successful in 34s
2026-04-28 17:35:44 +02:00
aitbc
da1d8c4c77 Remove password requirement for AI job submission to Agent Coordinator
Some checks failed
CLI Tests / test-cli (push) Failing after 4s
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 17:34:53 +02:00
aitbc
d997ced044 Simplify AI handler to submit directly to Agent Coordinator without wallet signing
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 17:34:38 +02:00
aitbc
565ca25e85 Fix AI job submission to use Agent Coordinator endpoint
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 16s
2026-04-28 17:33:21 +02:00
aitbc
ad06297593 Fix AI handler to use same decryption as wallet handler
Some checks failed
CLI Tests / test-cli (push) Failing after 8s
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 17:31:41 +02:00
aitbc
279517a53a Add detailed error logging to AI handler decryption
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Security Scanning / security-scan (push) Successful in 45s
2026-04-28 17:30:46 +02:00
aitbc
1cf46405f8 Fix AI handler with inline AES-256-GCM decryption
Some checks failed
CLI Tests / test-cli (push) Failing after 1s
Security Scanning / security-scan (push) Successful in 17s
2026-04-28 17:29:10 +02:00
aitbc
a009ba1192 Fix AI handler to import decrypt_private_key from correct module
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 17:28:41 +02:00
aitbc
b1a6f89219 Fix AI handler import path for decrypt_private_key
Some checks failed
CLI Tests / test-cli (push) Failing after 7s
Security Scanning / security-scan (push) Has started running
2026-04-28 17:28:09 +02:00
aitbc
1555746fb8 Fix AI handler to use correct keystore decryption
Some checks failed
CLI Tests / test-cli (push) Failing after 1s
Security Scanning / security-scan (push) Successful in 53s
2026-04-28 17:27:08 +02:00
aitbc
1fedd8b9ee Fix AI job submission to use correct keystore decryption and modern transaction format
Some checks failed
CLI Tests / test-cli (push) Failing after 7s
Security Scanning / security-scan (push) Successful in 1m0s
2026-04-28 17:25:30 +02:00
aitbc
1c7192852f Fix agent action handler to handle message send results
Some checks failed
CLI Tests / test-cli (push) Failing after 6s
Security Scanning / security-scan (push) Successful in 16s
2026-04-28 17:22:13 +02:00
aitbc
de3e31cc0a Fix agent message to use modern transaction payload format
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Security Scanning / security-scan (push) Has been cancelled
2026-04-28 17:21:48 +02:00
aitbc
3a2789a718 Fix CLI wallet send to decrypt private key and use modern payload 2026-04-28 17:19:10 +02:00
aitbc
5aa5038a76 Fix CLI wallet send to use modern transaction payload format
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 1m17s
2026-04-28 17:18:34 +02:00
aitbc
b91f00b697 fix: handle transaction payload migration at validator level
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
CLI Tests / test-cli (push) Failing after 5s
Integration Tests / test-service-integration (push) Successful in 1m2s
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
P2P Network Verification / p2p-verification (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- TransactionRequest now supports both payload shapes during migration:
  - Modern: recipient + amount
  - Legacy: to + value
- Validator normalizes both key sets and throws clear error if neither recipient key is present
- Updated send_transaction to derive gossip recipient from either payload.recipient or payload.to
- Added regression tests for the alias/normalization path
- Updated CLI to use payload-based approach with recipient and amount
2026-04-28 16:55:22 +02:00
aitbc
b0ca0cb321 fix: use 'recipient' instead of 'to' in CLI to avoid Pydantic alias issues
Some checks failed
CLI Tests / test-cli (push) Failing after 8s
Security Scanning / security-scan (push) Successful in 29s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
2026-04-28 15:58:50 +02:00
aitbc
79a5289cf5 fix: add type field to CLI transaction construction
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Failing after 2s
2026-04-28 15:53:58 +02:00
aitbc
a8f6cdaa4d feat: add support for new genesis-init.py script in CLI
Some checks failed
CLI Tests / test-cli (push) Failing after 11s
Security Scanning / security-scan (push) Successful in 1m27s
- Updated genesis_cli.py and unified_cli.py to prefer new genesis-init.py script
- Falls back to unified_genesis.py for wallet creation operations
- New script used for basic genesis initialization without wallet creation
- Made --proposer required when using new script
- Improved error messaging when genesis scripts not found
2026-04-28 11:56:04 +02:00
aitbc
b77a6ce007 ci: add daily failover simulation schedule and standardize service configurations
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 16s
CLI Tests / test-cli (push) Failing after 3s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Failing after 3s
Integration Tests / test-service-integration (push) Successful in 3m0s
Python Tests / test-python (push) Successful in 17s
Security Scanning / security-scan (push) Failing after 23s
Blockchain Synchronization Verification / sync-verification (push) Failing after 10s
Node Failover Simulation / failover-test (push) Failing after 5s
P2P Network Verification / p2p-verification (push) Successful in 5s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
Systemd Sync / sync-systemd (push) Failing after 14m56s
Add daily 2 AM cron schedule for node failover simulation workflow. Relax AITBC address validation to support variable-length addresses. Add missing logging import to chain_sync. Make coordinator database initialization non-fatal to allow startup even if init_db fails. Replace Ethereum address validation with AITBC-specific format checks in multisig transactions. Standardize PYTHONPATH across all systemd services to include
2026-04-27 16:51:13 +02:00
aitbc
96088f4501 docs-validation: expand curated markdown scope to include all documentation hubs
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 46s
CLI Tests / test-cli (push) Failing after 2s
Documentation Validation / validate-docs (push) Failing after 9s
Documentation Validation / validate-policies-strict (push) Failing after 12s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 24s
Package Tests / Python package - aitbc-core (push) Successful in 19s
Package Tests / Python package - aitbc-crypto (push) Successful in 10s
Package Tests / Python package - aitbc-sdk (push) Successful in 16s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 5s
Package Tests / JavaScript package - aitbc-token (push) Successful in 10s
Production Tests / Production Integration Tests (push) Successful in 17s
Python Tests / test-python (push) Successful in 8s
Security Scanning / security-scan (push) Successful in 46s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 3s
Integration Tests / test-service-integration (push) Failing after 11m28s
Add all documentation subdirectories to the curated markdown linting targets, replacing the previous exclusion-based approach with comprehensive coverage. Update validation to check for required README files across all hubs and verify priority documentation metadata markers. Implement lazy loading for optional dependencies (numpy, redis, bcrypt, jwt, websockets) in agent-coordinator and related modules to improve startup
2026-04-27 11:57:36 +02:00
aitbc
90b525254b aitbc: implement lazy loading for module imports to improve startup performance
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Integration Tests / test-service-integration (push) Successful in 1m57s
Production Tests / Production Integration Tests (push) Successful in 17s
Python Tests / test-python (push) Successful in 22s
Security Scanning / security-scan (push) Successful in 2m43s
2026-04-27 10:28:25 +02:00
aitbc
4f4fde985e refactor: replace SQLAlchemy with sqlite3 in genesis initialization and add genesis CLI commands
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 1s
CLI Tests / test-cli (push) Failing after 2s
Integration Tests / test-service-integration (push) Successful in 1m9s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
P2P Network Verification / p2p-verification (push) Successful in 10s
Python Tests / test-python (push) Failing after 27s
Security Scanning / security-scan (push) Successful in 2m28s
Replaced SQLAlchemy ORM with direct sqlite3 queries in unified_genesis.py initialize_genesis_database function to simplify database operations and remove dependency on SQLModel Session.

Added genesis command group to CLI with init, verify, and info subcommands for genesis block and wallet management. Implemented handlers for genesis operations including initialization, verification, and information display
2026-04-25 18:58:20 +02:00
aitbc
ca228163ea add genesis command to CLI
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
CLI Tests / test-cli (push) Failing after 3s
Documentation Validation / validate-docs (push) Successful in 5s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Successful in 1m10s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 1s
Python Tests / test-python (push) Failing after 10s
Security Scanning / security-scan (push) Successful in 1m10s
Imported genesis command module and registered it with the CLI command group.
2026-04-25 18:04:54 +02:00
aitbc
787ddcdae3 remove unused queue.py module and refactor chain_id handling in CLI
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Security Scanning / security-scan (push) Successful in 1m23s
Blockchain Synchronization Verification / sync-verification (push) Failing after 6s
P2P Network Verification / p2p-verification (push) Successful in 11s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 8s
Deleted aitbc/queue.py containing TaskQueue, JobScheduler, BackgroundTaskManager, and WorkerPool classes that were not being used in the codebase.

Refactored chain_id handling in CLI to use centralized get_chain_id utility function instead of duplicating chain_id detection logic in send_transaction, get_balance, and agent_operations functions.
2026-04-25 09:10:12 +02:00
aitbc
8e1f5864a6 Migrate blockchain-explorer and CLI to centralized aitbc package utilities
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 9s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
CLI Tests / test-cli (push) Failing after 4s
Documentation Validation / validate-docs (push) Successful in 17s
Documentation Validation / validate-policies-strict (push) Successful in 9s
Integration Tests / test-service-integration (push) Successful in 2m40s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 7s
P2P Network Verification / p2p-verification (push) Successful in 6s
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 31s
Package Tests / Python package - aitbc-core (push) Failing after 35s
Package Tests / Python package - aitbc-crypto (push) Successful in 24s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 15s
Package Tests / JavaScript package - aitbc-token (push) Successful in 32s
Production Tests / Production Integration Tests (push) Failing after 10s
Package Tests / Python package - aitbc-sdk (push) Failing after 10m21s
- Add DataLayer, MockDataGenerator, RealDataFetcher, and get_data_layer to aitbc package exports
- Migrate blockchain-explorer/main.py to use aitbc.get_data_layer for mock/real data toggle
- Add data layer integration to search_transactions, search_blocks, and analytics_overview endpoints
- Migrate CLI blockchain commands to use chain registry instead of hardcoded chain list
- Replace hardcoded ['ait-devnet', 'ait-testnet'] with get
2026-04-25 08:01:36 +02:00
aitbc
ad5c147789 Expand aitbc package with new utility modules and enhanced HTTP client
- Add new exception types: RetryError, CircuitBreakerOpenError, RateLimitError
- Enhance AITBCHTTPClient with retry logic, caching, circuit breaker, and rate limiting
- Add AsyncAITBCHTTPClient for async HTTP operations
- Add crypto module with Ethereum key derivation, signing, encryption, and hashing utilities
- Add web3_utils module with Web3Client and create_web3_client
- Add security module with token generation, API key management
2026-04-25 07:46:44 +02:00
aitbc
119d0f42c0 Migrate CLI and Python packages to centralized aitbc package utilities
CLI migration:
- Migrate 11 CLI files from old import pattern to centralized aitbc imports
- wallet.py, exchange.py, gpu_marketplace.py, exchange_island.py, monitor.py, cross_chain.py
- aitbc_cli.py, handlers (account.py, bridge.py, pool_hub.py), utils (wallet_daemon_client.py)
- Replace 'from aitbc.aitbc_logging import' with 'from aitbc import get_logger'
- Replace 'from aitbc.http_client import' with 'from aitbc import AITBCHTTPClient'
- Replace 'from aitbc.exceptions import' with 'from aitbc import NetworkError'

Packages migration:
- aitbc-sdk: receipts.py - migrate from httpx to AITBCHTTPClient
- aitbc-agent-sdk: 5 files - migrate logging to get_logger
  - agent.py, compute_provider.py, compute_consumer.py, swarm_coordinator.py, platform_builder.py
2026-04-25 07:04:57 +02:00
aitbc
08d6921444 feat: migrate coordinator-api routers and exchange_island CLI to use centralized aitbc package HTTP client
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 9s
CLI Tests / test-cli (push) Failing after 3s
Integration Tests / test-service-integration (push) Successful in 42s
Python Tests / test-python (push) Failing after 39s
Security Scanning / security-scan (push) Successful in 2m36s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
- Replace httpx.Client with aitbc.AITBCHTTPClient in client.py get_blocks endpoint
- Migrate monitoring_dashboard.py from httpx.AsyncClient to AITBCHTTPClient
- Replace httpx with AITBCHTTPClient in blockchain.py get_balance function
- Add NetworkError exception handling across all migrated endpoints
- Remove async context managers in favor of direct AITBCHTTPClient usage
- Remove httpx imports
2026-04-25 06:34:59 +02:00
aitbc
e60aa70da9 feat: migrate exchange_island CLI buy command to use centralized aitbc package HTTP client
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Failing after 14m33s
Blockchain Synchronization Verification / sync-verification (push) Failing after 9s
P2P Network Verification / p2p-verification (push) Successful in 4s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 6s
- Replace httpx.Client with aitbc.AITBCHTTPClient in buy command
- Remove async context manager in favor of direct AITBCHTTPClient usage
- Replace status code checks with NetworkError exception handling
- Remove httpx import (no longer needed)
- Simplify error handling with separate NetworkError and generic Exception catches
2026-04-24 23:59:03 +02:00