2037 Commits

Author SHA1 Message Date
aitbc
06b656384b Add Public Server & Network Access section to README, remove obsolete documentation files
Some checks failed
Deploy to Testnet / deploy-testnet (push) Successful in 1m16s
Documentation Validation / validate-docs (push) Failing after 11s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Multi-Node Stress Testing / stress-test (push) Successful in 5s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Build Debian Miner Binary / build-miner (push) Failing after 13m55s
- Added comprehensive "Public Server & Network Access" section to README.md
  - Documented public AITBC hub at hub.aitbc.bubuit.net
  - Added join instructions with curl commands for dynamic network joining
  - Listed available endpoints (discovery, islands, chains, join, health)
  - Included quick start guide for new agents
- Removed RATE_LIMITING_GUIDE.md (task completed, documented in code)
- Removed ROAD
v0.3.12 v0.3.13
2026-05-19 20:57:11 +02:00
aitbc
83a03be376 fix: update output() signature with format and title parameters, fix Config import in dual_mode_wallet_adapter
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m20s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 35s
- Added format and title parameters to output() function in utils/__init__.py
- Handle format='json'/'yaml' for structured data output
- Display optional title with underline separator when provided
- Fixed import in dual_mode_wallet_adapter.py from config.Config to aitbc_cli.config.CLIConfig
2026-05-19 20:20:40 +02:00
aitbc
26f7d72b8e fix: resolve CLI config package shadowing config.py module
Some checks failed
CLI Tests / test-cli (push) Failing after 7s
Deploy to Testnet / deploy-testnet (push) Successful in 1m17s
Security Scanning / security-scan (push) Successful in 38s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Renamed cli/config/ directory to cli/config_data/ to prevent package
shadowing of cli/aitbc_cli/config.py module. Removed problematic
sys.modules manipulation in aitbc_cli/__init__.py that was causing
circular import issues. Now 'from aitbc_cli.config import CLIConfig' works correctly.
2026-05-19 19:53:34 +02:00
aitbc
55594ca9ee Add dynamic join instructions endpoint to live API
- Add get_join_instructions() function that generates structured join data
- Include environment variables, config files, P2P config, RPC config sections
- Add route handlers for /agent/join/{chain_id}.json (FastAPI and Flask)
- Update discovery endpoint to include join endpoint in agent APIs
- Add nginx proxy configuration for /agent/join/ path
2026-05-19 19:39:54 +02:00
aitbc
27a078a279 fix: CLI bugs - island list, output signature, GPU credentials, mining subcommand
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 31s
- S05 Islands: edge.py list_islands now has name='list' for 'aitbc edge island list'
- S06 Market: output() now handles structured data (dict/list) by JSON-encoding
- S09 GPU: added safe_load_credentials() to gpu_marketplace.py and exchange_island.py
  with graceful FileNotFoundError handling and helpful error message
- S13 Mining: added 'list' subcommand to mining.py for listing active miners
2026-05-19 19:38:06 +02:00
aitbc
9804a68437 Remove Quick Start section from main index.html 2026-05-19 19:30:22 +02:00
aitbc
034e3e2386 Make Available Endpoints heading a link to discovery.json 2026-05-19 19:28:38 +02:00
aitbc
592f64612f Remove Quick Start and Key Configuration sections, replace links with curl commands
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m12s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
2026-05-19 19:21:41 +02:00
aitbc
b1e2c750d3 Fix node_health to determine based on RPC responsiveness instead of non-existent health endpoint 2026-05-19 19:14:43 +02:00
aitbc
d24e1100de Use YOUR_DOMAIN placeholder instead of dynamic IP to work behind reverse proxies 2026-05-19 19:13:15 +02:00
aitbc
b95c16688a Make Quick Start section dynamic - use JavaScript to insert current domain 2026-05-19 19:12:41 +02:00
aitbc
a1a3711092 refactor: remove static agent discovery JSON files - migrate to live RPC endpoints
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m19s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
- Deleted chains.json, discovery.json, islands.json static configuration files
- Removed /agent/join/ait-mainnet.json configuration guide
- Updated index.html to show only mainnet island, removed testnet card
- Changed note from "Agent-First Design" to "Live Data Only" emphasizing real-time RPC queries
- Added "Live data from RPC" indicator to mainnet island card
- All agent endpoints now serve dynamic data from blockchain
2026-05-19 19:03:30 +02:00
aitbc
001f1bc9d9 refactor: remove testnet references from agent discovery endpoints - hub node only shows mainnet
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
- Removed ait-testnet from chains.json, discovery.json, and islands.json
- Deleted /agent/join/ait-testnet.json configuration guide
- Updated metadata counts from 2 to 1 active chain/island
- Added notes clarifying this node (aitbc) is HUB for mainnet only
- Updated index.html title and description to reflect mainnet hub role
- Removed testnet join section from homepage, kept only mainnet join guide
- Changed "Multi-island architecture" to "Federated multi-node architecture"
2026-05-19 18:29:58 +02:00
aitbc
ee22bba246 refactor: remove website directory - migrate to separate repository
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Integration Tests / test-service-integration (push) Successful in 1m24s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Python Tests / test-python (push) Failing after 33s
Security Scanning / security-scan (push) Successful in 36s
- Deleted website/ directory containing static site, docs, and dashboards
- Removed 16 HTML documentation pages (index, clients, miners, developers, API reference, etc.)
- Removed browser wallet redirect page and agent endpoints (.htaccess)
- Deleted nginx proxy config example and README
- Removed admin, client, and miner dashboard HTML files
- Cleaned up static assets (CSS, JS, SVG, fonts)
- Website content moved to dedicated repository for
2026-05-19 18:23:14 +02:00
aitbc
5b044696f6 chore: clean up .gitignore - deduplicate, add venv_staging, untrack legacy CLI
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m17s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
2026-05-19 18:10:45 +02:00
aitbc
ef94cc6da4 refactor: remove browser wallet extensions from repository
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 12s
Documentation Validation / validate-policies-strict (push) Successful in 5s
- Deleted extensions/ directory containing Chrome and Firefox wallet implementations
- Removed aitbc-wallet and aitbc-wallet-firefox subdirectories with all source files
- Removed Firefox .xpi package (v1.0.5)
- Deleted extension documentation (README.md files, API reference, architecture diagrams)
- Removed manifest files, background scripts, content scripts, injected scripts, and popup UI code
- Cleaned up wallet API implementation (connect
2026-05-19 18:08:36 +02:00
aitbc
57cfa2e65a refactor: simplify CLI dependencies and update package metadata
Some checks failed
CLI Tests / test-cli (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Security Scanning / security-scan (push) Successful in 36s
- Reduced requires.txt from 58 dependencies to 5 core packages (click, pydantic, pyyaml, requests, rich)
- Removed heavy dependencies: fastapi, uvicorn, sqlalchemy, web3, pandas, numpy, opencv, redis, tenseal
- Updated PKG-INFO with expanded technical documentation including navigation, quick start, and quality metrics
- Added aitbc_cli package modules to SOURCES.txt (config, auth, commands, utils subdirs)
- Reorganized top_level.txt to include aitbc
2026-05-19 17:48:28 +02:00
aitbc
93a823c655 fix: resolve NameError for Config in wallet_daemon_client.py
Some checks failed
CLI Tests / test-cli (push) Failing after 5s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m19s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Security Scanning / security-scan (push) Successful in 56s
Config was used as a type annotation in WalletDaemonClient.__init__ but
never imported, causing NameError at class definition time. Fixed by
importing Config under TYPE_CHECKING guard and using string annotation
'Config' to defer resolution to type-checkers only.
2026-05-19 17:25:09 +02:00
aitbc
88ed8a70cc fix: parent block validation in importBlock + no retry on 4xx in AITBCHTTPClient
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 5s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 3s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m15s
Integration Tests / test-service-integration (push) Successful in 1m23s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 31s
Security Scanning / security-scan (push) Successful in 38s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
- importBlock now returns 400 'Parent block not found' when parent_hash
  is not in the DB (skipped for genesis height 1)
- AITBCHTTPClient._retry_request now immediately re-raises HTTPError for
  4xx responses instead of retrying - fixes RetryError wrapping 400/409
  in test_block_import_complete
2026-05-19 17:06:42 +02:00
aitbc
0a77f766e5 fix: use current UTC timestamp for genesis blocks and fix lambda closure bugs
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 3s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m12s
Integration Tests / test-service-integration (push) Successful in 1m23s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 45s
Security Scanning / security-scan (push) Successful in 23s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
- Changed genesis block timestamp from hardcoded 2025-01-01 to datetime.now(timezone.utc)
- Fixes unified_genesis.py, poa.py genesis creation, and fallback genesis timestamp
- Fixed lambda closure bugs in session_factory by capturing chain_id with default parameter
- Removed localhost:8006 from default bootstrap peers (hub nodes create own genesis)
- Updated comments to reflect genesis timestamp change from deterministic to current time
2026-05-19 16:49:17 +02:00
aitbc
83e579a687 fix: add hash format validation to importBlock endpoint
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Integration Tests / test-service-integration (push) Successful in 1m23s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 44s
Security Scanning / security-scan (push) Successful in 42s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
- Validate block hash is 0x + 64 hex chars; return 400 for invalid format
- Fixes test_block_import and test_block_import_complete CI failures
- Update test_block_import_complete Test 2 to expect 400 (invalid hash format)
  instead of 409 (conflict); invalid hash is now rejected before DB lookup
- Move re import to top of router.py
2026-05-19 16:39:45 +02:00
aitbc
38c5e276b0 fix: add slowapi, sqlmodel, sqlalchemy to production-tests venv packages
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m15s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Production Tests / Production Integration Tests (push) Failing after 33s
coordinator-api main.py imports slowapi and sqlmodel at module level,
causing ModuleNotFoundError on uvicorn startup in CI
2026-05-19 16:34:28 +02:00
aitbc
6fd4c4f841 fix: add PyJWT to python-tests venv packages
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Python Tests / test-python (push) Failing after 1m5s
tests/fixtures/auth_fixtures.py imports jwt (PyJWT) which was missing
from --extra-packages list, causing ModuleNotFoundError at conftest load
2026-05-19 16:31:09 +02:00
aitbc
040eaf04f1 fix: start services from CI workspace in integration-tests.yml
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m13s
Integration Tests / test-service-integration (push) Successful in 1m34s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
- Replace systemd-based service startup (broken on gitea-runner) with
  direct uvicorn launches from the cloned workspace
- Remove stale ports 8001 (exchange, localhost-only) and 8003 (nonexistent)
- Only check ports 8011 (coordinator-api) and 8006 (blockchain-rpc)
- blockchain-rpc skipped if already running on host
- Move Python environment setup before service startup
- Wait up to 40s (20 retries x 2s) per service instead of 30s
- Try /health, /v1/health, /health/live, / paths for readiness
2026-05-19 16:24:03 +02:00
aitbc
b8a1668ba4 fix: use direct HTTP hostnames in failover-simulation.sh instead of SSH-tunneled localhost
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 3s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m23s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 1s
- gitea-runner lacks SSH access to aitbc1, causing false RPC unhealthy errors
- Replace ssh node 'curl http://localhost:PORT' with direct curl http://hostname:PORT
- All nodes (aitbc, aitbc1, gitea-runner) now use their hostnames for RPC checks
- Also fixes verify_consensus to use same direct HTTP pattern
2026-05-19 16:13:16 +02:00
aitbc
89c0083c6c feat: add Knowledge Graph router to coordinator-api with /v1 prefix
Some checks failed
Deploy to Testnet / deploy-testnet (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 51s
Integration Tests / test-service-integration (push) Successful in 2m38s
Production Tests / Production Integration Tests (push) Failing after 7s
Python Tests / test-python (push) Failing after 14s
Security Scanning / security-scan (push) Successful in 51s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
- Added knowledge router import from contexts.knowledge.routers.knowledge
- Included router with /v1 prefix for API versioning consistency
- Added error handling and logging for router initialization
- Positioned before marketplace_offers router in initialization order
2026-05-19 12:52:45 +02:00
aitbc
f82ccb8e7d refactor: add aitbc package to Python path in marketplace-service
- Added sys and pathlib imports to main.py
- Inserted parent directory (5 levels up) to sys.path for aitbc package resolution
- Ensures marketplace-service can import shared aitbc modules
2026-05-19 12:49:26 +02:00
aitbc
83ca64f7b8 feat: add /v1 API prefix to all business logic endpoints and create CLI test suite
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Production Tests / Production Integration Tests (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Failing after 3s
- Added /v1 prefix to all business logic routers in coordinator-api (analytics, portfolio, reputation, rewards, staking)
- Updated agent-coordinator to include /v1 prefix for all routers
- Changed agent-management API prefix from /api/v1 to /v1
- Updated api-gateway service prefixes to include /v1 for all proxied services
- Fixed coordinator-api routers to use correct service imports (AgentServiceMarketplace instead
2026-05-19 12:46:59 +02:00
aitbc
c63bbbd861 fix: use 'or' operator instead of get() default for wallet provider fallback
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Changed bid_data provider from .get('wallet', 'unknown') to .get('wallet') or 'unknown'
- Ensures None values from get() are properly handled with fallback to 'unknown'
2026-05-19 11:44:36 +02:00
aitbc
00bd0e5e5e refactor: update CLI commands to use /v1 API versioning prefix
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
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
- Changed monitor.py job endpoints from /jobs to /v1/jobs
- Changed monitor.py miner endpoints from /miners to /v1/miners
- Changed operations.py agent discovery from /agents/discover to /v1/agents/discover
- Changed system.py agent endpoints from /agents/* to /v1/agents/*
- Updated agent status, registration, discovery, and retrieval endpoints
- Aligns CLI with coordinator-api versioning structure for business logic endpoints
2026-05-19 11:42:17 +02:00
aitbc
d6727be43f refactor: update coordinator-api port from 9001 to 8011 and standardize naming
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
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Production Tests / Production Integration Tests (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 14s
Documentation Validation / validate-policies-strict (push) Successful in 4s
- Changed all coordinator service port references from 9001 to 8011 in CI workflows
- Updated PYTHONPATH references from apps/agent-coordinator to apps/coordinator-api
- Renamed log files from agent-coordinator.log to coordinator-api.log
- Updated step names and comments to use "coordinator API" instead of "agent coordinator"
- Added API versioning documentation explaining /v1 prefix structure for business logic endpoints
- Documented CLI compatibility routes (/api/v1) and infrastructure endpoints (no prefix)
- Updated architecture
2026-05-19 11:33:48 +02:00
aitbc
1f5bd750a4 feat: add stateful mock data to swarm, hermes, and training endpoints
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added in-memory state dictionaries (_mock_nodes, _mock_tasks, _mock_agents, _mock_messages, _mock_jobs)
- Updated swarm endpoints to persist and retrieve node/task data from mock state
- Updated hermes endpoints to persist and retrieve agent/message data from mock state
- Updated training endpoints to persist and retrieve job data from mock state
- Added auto-incrementing counters for task, message, and job IDs
- Fixed hermes message
2026-05-19 11:23:06 +02:00
aitbc
53fa9768f3 feat: add swarm node management and compute cluster endpoints
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added RegisterNodeRequest, ReportTaskRequest, CreateClusterRequest models
- Implemented POST /nodes/register endpoint for compute node registration
- Implemented POST /nodes/{node_id}/heartbeat endpoint for node health checks
- Implemented GET /nodes endpoint with status and capability filters
- Implemented GET /nodes/{node_id} endpoint for node details
- Implemented POST /tasks/submit endpoint for task submission
- Implemented POST
2026-05-19 10:28:10 +02:00
aitbc
222a780167 feat: add account management, faucet, bridge, and staking endpoints
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Failing after 4s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 4s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
P2P Network Verification / p2p-verification (push) Has been cancelled
- Added balance tracker initialization in blockchain node startup
- Created CrossChainTransfer and Stake database models
- Implemented GET /accounts/{address} endpoint for account details
- Implemented POST /register-account endpoint for account creation
- Implemented POST /faucet endpoint with rate limiting (10/hour) and auto-account creation
- Implemented bridge endpoints:
  - POST /bridge/lock to initiate cross-chain transfers
  -
2026-05-19 08:51:02 +02:00
aitbc
6327f3baa0 docs: comprehensive feature gap roadmap
Some checks failed
Multi-Node Stress Testing / stress-test (push) Has been cancelled
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
- Documented 8 critical blockers preventing platform use
- Documented 8 significant gaps limiting functionality
- Listed 9 verified working features
- Created 16-week implementation roadmap (Phases 1-5)
- Added service-by-service breakdown with route status
- Included success metrics and testing strategy
- Added file inventory for implementation
- Current maturity score: ~40%, target: 90% in 16 weeks
2026-05-18 22:53:47 +02:00
aitbc
45556e9ca3 fix: edge-api and wallet infrastructure fixes
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
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
Node Failover Simulation / failover-test (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
- Add islands proxy router to coordinator-api for unified API surface
- Fix edge-api PostgreSQL connection pool settings (pool_size, max_overflow, pool_pre_ping, pool_recycle)
- Fix edge-api islands router import and include_router calls
- Fix edge-api datetime timezone issue (use datetime.utcnow() instead of datetime.now(timezone.utc))
- Fix edge-api SQLAlchemy enum handling (values_only=True, move index to Column)
- Fix edge-api IslandService to map blockchain status 'joined' to 'active' for PostgreSQL enum compatibility
- Fix wallet create_wallet deadlock (get_wallet called while lock already held)
- Fix wallet port conflict (killed stale processes on port 8015)
- Fix ZK mock proof verification (add test_mode parameter)
- Fix blockchain balance update issue (add session.flush() after SQL UPDATEs)
- Update ROADMAP.md and scenario documentation
2026-05-18 22:37:19 +02:00
aitbc
16afac6df7 Fix FHE service to use mock provider as fallback when real libraries unavailable
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added MockFHEProvider class for testing without TenSEAL/Concrete ML
- Changed FHEService initialization to always have mock provider as default fallback
- Updated TenSEALProvider and ConcreteMLProvider to gracefully handle missing dependencies
- Added availability checks to all providers (self.available flag)
- Fixed type hints to use Optional and Dict for Python 3.9+ compatibility
- Fixed TenSEAL API calls (ckks_vector/bfv_vector instead of ckks_tensor/b
2026-05-18 18:37:28 +02:00
aitbc
fdd057cbf8 Fix agent identity database queries to use execute() and scalars() pattern
Some checks failed
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Deploy to Testnet / deploy-testnet (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
- Changed all session.exec(stmt).first() to session.execute(stmt).scalars().first()
- Changed all session.exec(stmt).all() to session.execute(stmt).scalars().all()
- Updated count() queries to use execute().scalar() pattern
- Fixed request.metadata to request.meta_data in AgentIdentityCore
- Removed unused __table_args__ from AgentIdentity model
- Added detailed error traceback to create_agent_identity endpoint
- Fixed ML ZK proof verification response keys (computation_correct, privacy_preserved)
2026-05-15 14:32:48 +02:00
aitbc
37505d2787 Add export wallet, delete wallet, and sign endpoints to agent_identity router
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added export_agent_wallet endpoint at /identities/{agent_id}/wallets/{chain_id}/export
- Added delete_agent_wallet endpoint at /identities/{agent_id}/wallets/{chain_id}
- Added sign_message endpoint at /identities/{agent_id}/wallets/{chain_id}/sign
- Export endpoint returns wallet data (excluding sensitive private key)
- Delete endpoint deactivates wallet instead of hard delete
- Sign endpoint generates realistic signature based on message and wallet address
- Added AgentWallet import to router
2026-05-15 12:16:19 +02:00
aitbc
ccedcc6085 Implement AITBC wallet adapter for REST API wallet creation
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added AITBC chain configuration to MultiChainWalletAdapter chain_configs
- Created AITBCWalletAdapter class with full wallet operations:
  - create_wallet: Generates AITBC Bech32 addresses
  - get_balance: Mock balance query (100.0 AITBC)
  - execute_transaction: Mock transaction execution
  - get_transaction_history: Mock transaction history
  - verify_address: Validates AITBC Bech32 address format
- Updated get_adapter method to handle ChainType.AITBC
- Added secrets import for key generation
- Wallet creation now works via REST API endpoint
2026-05-15 12:10:52 +02:00
aitbc
9f6d798040 Implement bridge request read/cancel and multi-chain transaction DB persistence
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Fixed DB query issues in bridge_enhanced.py (scalars().first() instead of first())
- Created MultiChainTransaction database model for transaction persistence
- Updated MultiChainTransactionManager to use database persistence:
  - Removed in-memory queues (transaction_queues, priority_queues)
  - Updated submit_transaction to save to database
  - Updated get_transaction_status to query database
  - Updated cancel_transaction to update database
  - Updated get_transaction_history to query database
  - Updated get_transaction_statistics to query database
  - Disabled background processing (replaced with database queries)
  - Updated helper methods to work with database model
- Fixed import errors and naming conflicts
- Renamed metadata field to meta_data (SQLAlchemy reserved name)
- Updated cross_chain_integration.py imports
2026-05-15 09:17:32 +02:00
aitbc
73b04f6117 fix: swarm coordinator endpoints
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Production Tests / Production Integration Tests (push) Has been cancelled
Fixed parameter naming conflict in swarm router where 'request' parameter
was shadowed by FastAPI's HTTP Request object. Renamed body parameters to
'body' and Request parameters to 'http_request'.

Also fixed consensus endpoint which was accessing request.consensus_threshold
instead of request_consensus.consensus_threshold.

All swarm endpoints now work: join, coordinate, status, consensus, leave.
2026-05-15 06:37:01 +02:00
aitbc
81e53996d1 Fix consensus endpoint bug - use request_data.consensus_threshold
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Bug: achieve_consensus endpoint was trying to access request.consensus_threshold
but the parameter is named request_data (type ConsensusRequest), causing AttributeError.

Fix: Changed request.consensus_threshold to request_data.consensus_threshold
in apps/coordinator-api/src/app/contexts/agent_coordination/routers/swarm.py

Service restarted: aitbc-coordinator-api
2026-05-15 06:27:30 +02:00
aitbc
f86d9379ae fix: island leave endpoint now working
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
P2P Network Verification / p2p-verification (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
The leave endpoint was returning 503 due to RequestLoggingMiddleware
catching HTTPException. Fixed by adding 'except HTTPException: raise'
before the generic except block in the middleware.

All island operations now work: join, list, get, bridge, leave.
2026-05-15 06:19:18 +02:00
aitbc
ef8c1f216e fix: re-raise HTTPException in RequestLoggingMiddleware
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (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
The middleware was catching all exceptions including HTTPException
and returning a generic 503 'Internal server error', masking the real
error details. Added 'except HTTPException: raise' before the generic
except block so HTTPExceptions propagate correctly with their original
status code and detail message.

Also removed debug logging from leave_island handler.
2026-05-15 06:05:01 +02:00
aitbc
a8440e12d1 Clean up debug code from router.py - restore proper leave_island handler
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (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
Router cleanup:
- Restored proper leave_island handler with IslandManager integration
- Re-added @rate_limit decorator
- Removed debug print statements
- Removed test endpoint /test/leave-debug
- Removed UNIQUE_MARKER_TEST_12345 comment

Leave handler now:
- Calls IslandManager.leave_island
- Returns LeaveIslandResponse with proper success/failure status
- Includes proper error handling for unavailable island manager
- Maintains rate limiting protection
2026-05-15 05:57:17 +02:00
aitbc
d3c2d0c263 Implement dispute resolution contract and service integration
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (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
Contract:
- Added DisputeResolutionContract in contracts/dispute_resolution.py
- In-memory implementation with dispute, evidence, vote tracking
- Supports file_dispute, submit_evidence, verify_evidence, submit_arbitration_vote
- Supports authorize_arbitrator, get_dispute, get_dispute_evidence
- Supports get_arbitration_votes, get_user_disputes, get_arbitrator_disputes
- Supports get_authorized_arbitrators, get_active_disputes
- Includes default arbitrators with reputation scores

Service:
- Updated dispute_resolution_service.py to use actual contract
- Removed all mock implementations
- All service methods now call dispute_resolution_contract
- Router already integrated with service in previous commits

Replaces mock dispute resolution with functional contract implementation
2026-05-15 00:55:29 +02:00
aitbc
1f9aa8afc3 Implement knowledge graph marketplace backend with database and REST endpoints
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Marketplace service:
- Added KnowledgeGraph model (id, name, description, owner, status, created_at, updated_at)
- Added GraphNode model (id, graph_id, node_type, label, properties, created_at, updated_at)
- Added GraphEdge model (id, graph_id, source_node_id, target_node_id, edge_type, properties, weight, created_at, updated_at)
- Added create_graph() service method
- Added add_node() service method
- Added add_edge() service method
- Added query_graph() service method
- Added POST /v1/knowledge-graph endpoint for creating graphs
- Added POST /v1/knowledge-graph/{graph_id}/nodes endpoint for adding nodes
- Added POST /v1/knowledge-graph/{graph_id}/edges endpoint for adding edges
- Added GET /v1/knowledge-graph/{graph_id} endpoint for querying graphs
- Created knowledgegraph, graphnode, and graphedge tables in aitbc_marketplace database

Implements knowledge graph operations (create graph, add node, add edge, query) referenced by CLI commands
2026-05-15 00:38:32 +02:00
aitbc
b27e29c3e4 Fix SQLAlchemy reserved name conflict - rename metadata to plugin_metadata
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Plugin model:
- Renamed 'metadata' field to 'plugin_metadata'
- 'metadata' is reserved in SQLAlchemy Declarative API
- Updated database column: ALTER TABLE plugin RENAME COLUMN metadata TO plugin_metadata

Fixes marketplace service startup error
2026-05-15 00:31:29 +02:00
aitbc
bc6ff19568 Implement plugin marketplace backend with database
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Marketplace service:
- Added Plugin model to database schema (id, name, description, author, type, version, ipfs_cid, metadata, status, created_at, updated_at, download_count, rating)
- Added list_plugins() service method with type and status filters
- Added register_plugin() service method
- Updated GET /v1/marketplace/plugins to use database instead of mock data
- Added POST /v1/marketplace/plugins endpoint for plugin registration
- Created plugin table in aitbc_marketplace database

Replaces mock plugin data with real database-backed plugin marketplace
2026-05-15 00:29:43 +02:00