Commit Graph

2159 Commits

Author SHA1 Message Date
aitbc
218424f460 fix: use psycopg2 instead of psycopg for PostgreSQL connection
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 5s
Deploy to Testnet / deploy-testnet (push) Successful in 1m39s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
- Fix connection string to use postgresql+psycopg2://
- Add libpq-dev for PostgreSQL development headers
- Update deployment script with correct PostgreSQL driver
2026-05-20 10:11:10 +02:00
aitbc
763c5d5794 feat: add PostgreSQL integration for database mempool
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m46s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
- Add PostgreSQL installation and configuration to deployment script
- Create mempool database and user (aitbc_mempool)
- Update environment configuration to use database mempool backend
- Add psycopg2 to dependencies for PostgreSQL support
- Enable persistent mempool storage for production deployments
2026-05-20 10:07:25 +02:00
aitbc
0ccd7e346d feat: generate unique chain ID and genesis for new nodes
Some checks are pending
Cross-Node Transaction Testing / transaction-test (push) Has started running
Deploy to Testnet / deploy-testnet (push) Successful in 2m10s
Multi-Node Stress Testing / stress-test (push) Successful in 5s
- Generate unique chain ID based on hostname (ait-{hostname})
- Add genesis block generation step to deployment script
- Each new node gets its own chain/island instead of sharing ait-mainnet
- Update environment files with node-specific configuration
2026-05-20 10:02:28 +02:00
aitbc
f54f508805 fix: use memory mempool backend to avoid PostgreSQL dependency
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m42s
Multi-Node Stress Testing / stress-test (push) Successful in 6s
- Remove psycopg2 from dependencies (compilation requires pg_config.h)
- Set default MEMPOOL_BACKEND=memory to avoid PostgreSQL
- Fix build error: fatal error: pg_config.h: No such file or directory
2026-05-20 09:55:09 +02:00
aitbc
b80475412e fix: add psycopg2 to dependencies for PostgreSQL support
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
- Add psycopg2 alongside psycopg2-binary
- Fix ModuleNotFoundError: No module named 'psycopg'
2026-05-20 09:53:47 +02:00
aitbc
6e9a26e585 fix: add prometheus-client and alembic to dependencies
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Successful in 4s
- Add prometheus-client for metrics
- Add alembic for database migrations
- Fix ModuleNotFoundError for missing dependencies
2026-05-20 09:52:33 +02:00
aitbc
e6d76e1431 fix: install essential dependencies only for blockchain node
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 7s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
- Skip root package installation due to incompatible dependencies
- Install only essential blockchain-node dependencies directly
- Fix tenseal>=0.3.0 dependency resolution error
2026-05-20 09:51:20 +02:00
aitbc
92d864b214 fix: install root dependencies before blockchain-node
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
- Install from root pyproject.toml to get all dependencies
- Then install blockchain-node package in editable mode
- Fix ModuleNotFoundError: No module named 'sqlmodel'
2026-05-20 09:50:09 +02:00
aitbc
53c28aac81 fix: install blockchain-node package in editable mode
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Has started running
Multi-Node Stress Testing / stress-test (push) Has been cancelled
- Install package via pip install -e apps/blockchain-node
- Fix ModuleNotFoundError: No module named 'aitbc_chain'
- Ensure Python can find the blockchain node module
2026-05-20 09:48:56 +02:00
aitbc
b855c66c1b fix: remove interactive prompt from deployment script
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 6s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Successful in 4s
- Auto-update existing repository via git pull instead of prompting
- Prevent script from hanging on existing directory
- Allow non-automated deployment in containers
2026-05-20 09:47:44 +02:00
aitbc
42f3ba4e60 feat: add integrated blockchain node deployment automation
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m38s
Documentation Validation / validate-docs (push) Failing after 11s
Documentation Validation / validate-policies-strict (push) Successful in 6s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
- Add deployment script for integrated blockchain node with mempool support
- Create comprehensive setup documentation from scratch
- Add agent workflow for automated deployment
- Support both bare metal and container deployments
- Include verification steps and troubleshooting guide
- Provide configuration templates for hub and follower nodes
2026-05-20 09:34:52 +02:00
aitbc
6cee92f70a docs: add blockchain node implementation guide
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Successful in 1m34s
Documentation Validation / validate-docs (push) Failing after 12s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Successful in 11s
- Document differences between integrated and standalone blockchain nodes
- Clarify which implementation has mempool endpoint support
- Provide deployment recommendations for each use case
- Add troubleshooting guide for mempool endpoint issues
- Include migration guide from standalone to integrated implementation
2026-05-20 09:30:21 +02:00
aitbc
9430563e9e refactor: make blockchain config use environment variables
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 9s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 8s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 4s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m40s
Integration Tests / test-service-integration (push) Failing after 3s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 4s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Failing after 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 36s
Security Scanning / security-scan (push) Successful in 19s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
- Add import os for environment variable support
- Change env_file from /etc/aitbc/.env to /etc/aitbc/blockchain.env (standard)
- Make gossip_broadcast_url configurable via GOSSIP_BROADCAST_URL env var
- Add cross_site_remote_endpoints configuration via CROSS_SITE_REMOTE_ENDPOINTS env var
- Remove hardcoded URLs and IPs from source code
- Align local codebase with container configuration
2026-05-20 09:20:08 +02:00
aitbc
9cc5c37e03 docs: add blockchain config check to SSH access patterns
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m39s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
- Added command to check blockchain node configuration
- Updated service name to aitbc-blockchain-node-3 for container
2026-05-20 09:07:12 +02:00
aitbc
1257a073d6 docs: update ns3 access pattern for incus container architecture
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
- Updated ns3 section to reflect hub.aitbc.bubuit.net as incus container
- Added incus exec commands for container access
- Documented container IP: 192.168.100.10
- Updated command examples for container-based access
2026-05-20 09:01:47 +02:00
aitbc
472b5e23f4 docs: add ns3 (public hub server) to SSH access patterns
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
- Added ns3 node documentation with IP 95.216.198.140
- Updated multi-node operations to include ns3
- Added ns3-specific command examples for environment checks
2026-05-20 08:55:42 +02:00
aitbc
b927774e84 docs: update v0.3.11 release notes with final package names
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
Documentation Validation / validate-docs (push) Failing after 12s
Documentation Validation / validate-policies-strict (push) Successful in 4s
- Update package names from aitbc-ai-service to aitbc-ai
- Update package names from aitbc-edge-api to aitbc-edge
- Reflect the actual final package names implemented in the release
2026-05-20 08:35:49 +02:00
aitbc
bd08848e0d refactor: rename packages to shorter names
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
Integration Tests / test-service-integration (push) Failing after 3s
Python Tests / test-python (push) Failing after 32s
Security Scanning / security-scan (push) Successful in 32s
- Renamed aitbc-ai-service to aitbc-ai
- Renamed aitbc-edge-api to aitbc-edge
- Updated pyproject.toml files with new package names
- Renamed directories and package modules
- Updated references in documentation and scripts
- Updated systemd service references
2026-05-20 08:30:51 +02:00
aitbc
56938fb2c4 security: update vulnerable dependencies in subdirectory pyproject.toml files
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
CLI Tests / test-cli (push) Failing after 10s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 26s
Package Tests / Python package - aitbc-core (push) Failing after 3s
Package Tests / Python package - aitbc-crypto (push) Successful in 13s
Package Tests / Python package - aitbc-sdk (push) Successful in 12s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 11s
Package Tests / JavaScript package - aitbc-token (push) Successful in 17s
- Root pyproject.toml: urllib3 >=2.6.3 -> >=2.7.0
- packages/py/aitbc-sdk: requests >=2.31.0 -> >=2.32.4, httpx >=0.25.0 -> >=0.28.1
- packages/py/aitbc-agent-sdk: requests >=2.31.0 -> >=2.32.4, pydantic >=2.5.0 -> >=2.11.0
- apps/aitbc-edge-api: updated all dependencies to match secure versions
- apps/api-gateway: uvicorn ^0.24.0 -> >=0.34.0
- examples/stubs/aitbc-ai-service: updated uvicorn, sqlmodel, sqlalchemy, pydantic, pydantic-settings
2026-05-20 08:23:30 +02:00
aitbc
739b41c3dd docs: add release notes for v0.3.10-v0.3.13 and v0.4.0
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m40s
Documentation Validation / validate-docs (push) Failing after 12s
Documentation Validation / validate-policies-strict (push) Successful in 9s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Build Debian Miner Binary / build-miner (push) Failing after 8m5s
- v0.3.10: Security & Stability - vulnerability fixes
- v0.3.11: Code Quality & Refactoring - package naming
- v0.3.12: Documentation & Planning - docs reorganization
- v0.3.13: Infrastructure & Deployment - public server
- v0.4.0: Feature Complete Milestone - accumulated improvements
v0.4.0
2026-05-20 08:17:06 +02:00
aitbc
4a707c2e15 refactor: rename internal packages to follow aitbc- naming convention
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Successful in 1m45s
Documentation Validation / validate-docs (push) Failing after 13s
Documentation Validation / validate-policies-strict (push) Successful in 5s
Integration Tests / test-service-integration (push) Failing after 5s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Python Tests / test-python (push) Failing after 32s
Security Scanning / security-scan (push) Failing after 31s
Build Debian Miner Binary / build-miner (push) Failing after 5m50s
- Renamed ai-service to aitbc-ai-service
- Renamed edge-api to aitbc-edge-api
- Updated pyproject.toml files with new package names
- Renamed directories and package modules
- Updated references in documentation and scripts
- All internal packages now follow aitbc- naming convention
v0.3.11
2026-05-20 08:07:00 +02:00
aitbc
c3e6f683f1 security: fix Dependabot vulnerabilities
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 8s
Deploy to Testnet / deploy-testnet (push) Successful in 1m53s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Python Tests / test-python (push) Failing after 33s
Build Debian Miner Binary / build-miner (push) Failing after 14m18s
- Update idna from 3.13 to 3.15 (fixes CVE-2026-45409)
- Update ujson from 5.12.0 to 5.12.1 (fixes CVE-2026-44660)
- Update urllib3 from 2.6.3 to 2.7.0 (fixes CVE-2026-44431, CVE-2026-44432)
- Remove vllm (transitive dependency causing diskcache vulnerability)
- Remove diskcache (CVE-2025-69872 - no longer required)
- Update requirements.txt with secure dependency versions

All vulnerabilities now resolved: pip-audit shows no known vulnerabilities found
v0.3.10
2026-05-20 08:02:07 +02:00
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