aitbc
bc0efcaa5c
mypy: fix type errors in services layer batch 2
...
- distributed_framework.py: annotate DistributedTask/WorkerNode fields, fix Optional task types
- multi_modal_websocket_fusion.py: annotate queues/tasks, fix np.mean cast, fix provider_configs dict
- enterprise_integration/api_gateway.py: add missing methods, fix imports, annotate dicts
- enterprise_integration/integration.py: fix session types, CLI function stubs, params type
- agent_coordination/security.py: fix log_event signature, scalars(), violation_history cast
- agent_coordination/integration.py: fix scalars(), annotate result dicts, fix loop var types
2026-05-25 11:34:33 +02:00
aitbc
c5367ae063
mypy: fix type errors in zk_proofs, fhe_service, websocket_stream_manager, audit, global_cdn, fhe_enhanced, confidential_service, receipts, portfolio, multimodal apps, agent_integration_factory
2026-05-25 11:11:39 +02:00
aitbc
112a7b8190
fix: clean mypy errors in storage and utils layers
...
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (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
Package Tests / Python package - aitbc-agent-sdk (push) Has been cancelled
Package Tests / Python package - aitbc-core (push) Has been cancelled
Package Tests / Python package - aitbc-crypto (push) Has been cancelled
Package Tests / Python package - aitbc-sdk (push) Has been cancelled
Package Tests / JavaScript package - aitbc-sdk-js (push) Has been cancelled
Package Tests / JavaScript package - aitbc-token (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
storage/ — 0 errors (4 files):
- db.py: import Engine/AsyncEngine from sqlalchemy, annotate get_session
- db_pg.py: annotate all methods, fix Optional params to X|None, fix
execute_update/batch rowcount casts, fix create_job return str cast
- models_governance.py: add timezone import, wrap datetime.now in lambda,
remove invalid ConfigDict(indexes=...) key (use __table_args__ instead),
remove now-unused ConfigDict import
- (other storage files had no errors)
utils/ — 0 errors (4 files):
- cache.py: add asyncio/gc/Callable imports, annotate all methods/wrappers,
fix no-any-return in cache_middleware and warm_marketplace_stats
- cache_management.py: add asyncio import, annotate all methods, fix
str.in_ -> column().in_(), fix Optional param, fix cleanup_expired_cache
call (was async background loop; use cache_manager.cleanup_expired() directly)
- circuit_breaker.py: fix expected_exception type to type[BaseException],
fix name param Optional, annotate all methods, fix exception handler pattern,
fix response.json() no-any-return
- metrics.py: add -> None to __init__
pyproject.toml:
- Remove storage.* and utils.* from ignore_errors override (layers now clean)
- Update clean-layer comment
61 source files now pass mypy with no errors.
Remaining ignore_errors: routers, services, contexts (coordinator-api)
and all blanket-suppressed apps.
2026-05-25 10:39:28 +02:00
aitbc
3d66d34173
fix: clean mypy errors in schemas, models, auth, exceptions layers
...
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (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
Package Tests / Python package - aitbc-agent-sdk (push) Has been cancelled
Package Tests / Python package - aitbc-core (push) Has been cancelled
Package Tests / Python package - aitbc-crypto (push) Has been cancelled
Package Tests / Python package - aitbc-sdk (push) Has been cancelled
Package Tests / JavaScript package - aitbc-sdk-js (push) Has been cancelled
Package Tests / JavaScript package - aitbc-token (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
schemas/ — 0 errors (11 files):
- federated_learning, decentralized_memory, dao_governance, atomic_swap:
fix self-imports to import enums from domain layer
- pricing.py: add timezone import, fix default_factory lambda, annotate validator
- __init__.py: remove invalid ser_json_tuples from ConfigDict
models/ — 0 errors (10 files):
- registry.py: add timezone import, fix default_factory lambda, annotate validator,
add items field to ParameterDefinition (used at callsites)
- services.py: annotate validators with proper types, use ValidationInfo,
fix no-any-return with explicit typed local
- confidential.py: rename metadata->extra_metadata (conflicts with SQLModel),
add mypy disable for pydantic-field (raw SQLAlchemy Column pattern)
auth.py: add -> str return type
exceptions.py: fix Optional param defaults to use X | None annotations
pyproject.toml:
- Add pydantic.mypy plugin (fixes false Pydantic v2 positive errors)
- Remove models.* from ignore_errors override (layer now clean)
- Update clean-layer comment
51 source files now pass mypy with no errors.
Remaining ignore_errors: routers, services, storage, utils, contexts (coordinator-api)
and all blanket-suppressed apps.
2026-05-25 10:32:34 +02:00
aitbc
814c2ce891
fix: clean domain type errors and tighten mypy overrides
...
API Endpoint Tests / test-api-endpoints (push) Successful in 28s
CLI Tests / test-cli (push) Has been cancelled
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (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
Package Tests / Python package - aitbc-agent-sdk (push) Has been cancelled
Package Tests / Python package - aitbc-core (push) Has been cancelled
Package Tests / Python package - aitbc-crypto (push) Has been cancelled
Package Tests / Python package - aitbc-sdk (push) Has been cancelled
Package Tests / JavaScript package - aitbc-sdk-js (push) Has been cancelled
Package Tests / JavaScript package - aitbc-token (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
Staking Tests / test-staking-service (push) Failing after 14m44s
Staking Tests / test-staking-integration (push) Has been cancelled
Staking Tests / test-staking-contract (push) Has been cancelled
Staking Tests / run-staking-test-runner (push) Has been cancelled
Domain layer (coordinator-api) now passes mypy with no errors:
- multi_chain_transaction.py: add missing 'from typing import Any'
- bounty.py: annotate all __table_args__ as dict[str, object]
- pricing_models.py: fix sa_column=Text -> sa_column=Column(Text)
- pricing_strategies.py: add return type annotations to __init__ and
_apply_rule_action
pyproject.toml mypy overrides:
- Remove stale domain-specific ignore_errors entries (domain is clean)
- Remove unused ignore_missing_imports for alembic, uvicorn, fastapi
- Add explicit ignore_errors for coordinator-api non-domain modules
(routers, services, schemas, models, auth, exceptions, contexts)
replacing the vague blanket excludes with granular module-level tracking
- Add tech-debt comment explaining the remaining ignore_errors blocks
2026-05-25 10:24:41 +02:00
aitbc
9609924d56
fix: populate feature_flags.json and remove sys.path bootstrap inserts
...
API Endpoint Tests / test-api-endpoints (push) Successful in 27s
Blockchain Synchronization Verification / sync-verification (push) Failing after 8s
CLI Tests / test-cli (push) Failing after 4s
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Failing after 16s
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Failing after 14s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 4s
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) Failing after 5s
Integration Tests / test-service-integration (push) Successful in 1m24s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 3s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 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 5s
Security Scanning / security-scan (push) Failing after 1m43s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 11s
- feature_flags.json: populated with 6 well-described flags reflecting
current system state (DI migration, structlog, CORS enforcement,
X-Wallet-Address trust, ZK proof, marketplace rate limiting)
- Remove sys.path.insert bootstrap from app main.py files:
- apps/agent-management/src/app/main.py
- apps/marketplace-service/src/marketplace_service/main.py
- apps/wallet/src/app/main.py
- apps/blockchain-node/src/aitbc_chain/combined_main.py
PYTHONPATH is set correctly by the wrapper scripts in scripts/wrappers/
so the inserts are redundant and misleading.
Wrapper scripts (scripts/wrappers/*.py) and lazy cross-app imports in
blockchain-event-bridge are intentionally left unchanged.
2026-05-25 10:18:14 +02:00
aitbc
fd6ade31dc
fix: remove backup files and fix zero-address defaults
...
- Removed router_old.py (2473 lines - backup reference file)
- Removed cli/aitbc_cli.legacy.py (3256 lines - legacy CLI)
- Fixed zero-address defaults in dispute_resolution.py:
- Dispute.winner: changed from "0x0000000000000000000000000000000000000000" to None
- Evidence.verified_by: changed from "0x0000000000000000000000000000000000000000" to None
These changes address remaining cleanup items from the gap analysis.
2026-05-25 10:08:41 +02:00
aitbc
573aae065b
feat: complete codebase remediation with all phases
...
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Failing after 19s
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Failing after 18s
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 5s
Deploy to Testnet / deploy-testnet (push) Failing after 21s
Documentation Validation / validate-docs (push) Failing after 13s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Integration Tests / test-service-integration (push) Failing after 2s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 4s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 14s
Node Failover Simulation / failover-test (push) Successful in 9s
P2P Network Verification / p2p-verification (push) Successful in 5s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 51s
Package Tests / Python package - aitbc-core (push) Failing after 3s
Package Tests / Python package - aitbc-crypto (push) Successful in 22s
Package Tests / Python package - aitbc-sdk (push) Successful in 16s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 21s
Package Tests / JavaScript package - aitbc-token (push) Failing after 18s
Production Tests / Production Integration Tests (push) Failing after 1m9s
Python Tests / test-python (push) Failing after 3s
Security Scanning / security-scan (push) Failing after 41s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 6s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 7s
Smart Contract Tests / test-foundry (push) Failing after 20s
Smart Contract Tests / lint-solidity (push) Failing after 4s
Smart Contract Tests / deploy-contracts (push) Failing after 5s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Phase 1: Security fixes
- Added CORSMiddleware to marketplace-service with specific origins
- Fixed blockchain-node auth to fail closed on JWT errors
- Added security regression tests (test_cors_configuration.py, test_dispute_auth.py)
Phase 2: Repository cleanup
- Removed 51 fix/backup/legacy files
- Deleted marketplace-service-debug directory
Phase 3.1: Python version constraints
- Updated aitbc-crypto and aitbc-sdk with requires-python >=3.13
- Added explicit [tool.poetry].packages declarations
Phase 3.2: Agent service DI architecture
- Created aitbc-agent-core package with protocols and shared service
- Implemented adapters for agent-management and coordinator-api
- Created factory functions for gradual migration
- Added migration comments to existing integration files
Phase 4.1: Auth/utils extraction
- Created auth.py module with JWT validation and security utilities
- Created utils.py module with common helpers
Phase 4.2: Router decomposition
- Decomposed router.py into 10 domain modules (58 endpoints)
- Created route table snapshot for verification
- Preserved router_old.py as reference
Phase 5: App shell classification
- Documented app shell patterns across services
Phase 6: Quality gates
- Verified mypy type checking (75% error reduction)
- Analyzed logging inconsistencies with structlog migration plan
- Removed unused orjson dependency
Documentation:
- Created comprehensive remediation report
- Added architecture documentation for DI pattern
- Added quality analysis documents
2026-05-24 20:21:23 +02:00
aitbc
13ada12b49
Security fixes: wildcard CORS, JWT auth, zero-address fallback
...
Phase 1 security remediation from codebase analysis:
CORS fixes:
- Replace wildcard CORS with safe localhost defaults in agent-coordinator
- Replace wildcard CORS with safe localhost defaults in marketplace
- Fix 8 additional wildcard CORS instances in coordinator-api apps:
- hermes_enhanced_app.py
- api_gateway.py
- modality_optimization_app.py
- multimodal_app.py
- gpu_multimodal_app.py
- marketplace_enhanced_app.py
- advanced_ai_service.py
- adaptive_learning_app.py
- Add CORS configuration security tests
Blockchain-node auth fixes:
- JWT authentication now fails closed with clear error message
- X-Wallet-Address already gated behind TRUST_X_WALLET_ADDRESS env var
- Remove zero-address fallback from arbitration vote submission
- Add regression test for zero-address rejection in arbitration
Tests:
- Update dispute auth tests to reflect new JWT error message
- Add test_arbitration_vote_zero_address_rejected
- Add test_cors_configuration.py with 5 CORS validation tests
2026-05-24 19:31:26 +02:00
aitbc
494bd962b4
Add authentication to dispute endpoints and improve test coverage infrastructure
...
Cross-Chain Functionality Tests / test-multi-chain-consensus (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
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
Package Tests / Python package - aitbc-agent-sdk (push) Has been cancelled
Package Tests / Python package - aitbc-core (push) Has been cancelled
Package Tests / Python package - aitbc-crypto (push) Has been cancelled
Package Tests / Python package - aitbc-sdk (push) Has been cancelled
Package Tests / JavaScript package - aitbc-sdk-js (push) Has been cancelled
Package Tests / JavaScript package - aitbc-token (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Smart Contract Tests / test-foundry (push) Has been cancelled
Smart Contract Tests / lint-solidity (push) Has been cancelled
Smart Contract Tests / deploy-contracts (push) Has been cancelled
Staking Tests / test-staking-service (push) Has been cancelled
Contract Performance Benchmarks / compare-benchmarks (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Staking Tests / test-staking-integration (push) Has been cancelled
Staking Tests / test-staking-contract (push) Has been cancelled
Staking Tests / run-staking-test-runner (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
- Add get_authenticated_address() helper to extract wallet address from X-Wallet-Address header or JWT token
- Add authentication to dispute filing, evidence submission, verification, voting, and arbitrator authorization endpoints
- Replace hardcoded zero addresses with authenticated addresses from request headers
- Add DEV_MODE fallback for development without authentication
- Add --mock flag to experimental resource
2026-05-22 23:13:47 +02:00
aitbc
a6868e5836
Document Hardhat version investigation and upgrade blockers
...
- Create docs/contracts/HARDHAT_VERSION_INVESTIGATION.md
- Explain why contracts/ uses Hardhat 2.22.0 and aitbc-token uses 3.3.0
- Document primary blocker: OpenZeppelin v4 → v5 migration
- Document secondary blockers: plugin compatibility
- Provide upgrade path if unification is desired later
- Recommend maintaining two versions for now
2026-05-22 22:57:34 +02:00
aitbc
90ed0813f8
Update PNPM_SETUP.md to document aitbc-token pnpm migration
...
- Add aitbc-token project to overview section
- Document aitbc-token .npmrc configuration (engine-strict, no hoist)
- Add aitbc-token development commands (TypeScript-based)
- Update CI/CD Integration section to include package-tests.yml
2026-05-22 22:50:28 +02:00
aitbc
1fa7676a6f
Migrate aitbc-token from npm to pnpm
...
- Delete package-lock.json and create .npmrc with engine-strict setting
- Generate pnpm-lock.yaml (without shamefully-hoist, works with Hardhat 3/TypeScript)
- Update package-tests.yml to use pnpm for aitbc-token package
- Validate migration: build, test (17 passing), and lint all succeed
- smart-contract-tests.yml already handles aitbc-token via pnpm from previous migration
2026-05-22 22:46:48 +02:00
aitbc
4cd4be0846
Add pnpm setup documentation for contracts directory
...
- Create docs/contracts/PNPM_SETUP.md with pnpm configuration guide
- Update docs/contracts/README.md to link to PNPM_SETUP.md
- Document .npmrc settings, common commands, and troubleshooting
2026-05-22 22:31:48 +02:00
aitbc
dcc08e7569
Migrate contracts directory from npm to pnpm
...
- Delete package-lock.json and create pnpm-lock.yaml
- Add .npmrc with strict peer deps and frozen lockfile settings
- Update CI workflows to use pnpm instead of npm
- Update shell scripts to use pnpm instead of npm/npx
- Update documentation to reference pnpm commands
- Validate migration with successful hardhat compile
2026-05-22 22:28:32 +02:00
aitbc
de8e08cc0a
feat: add AITBC logo to README header
...
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
- Display AITBC.svg logo at top of README
- Logo sourced from website/assets directory
2026-05-21 22:32:52 +02:00
aitbc
801be1acf1
fix: enable block production and add proposer ID to blockchain config
...
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
- Set ENABLE_BLOCK_PRODUCTION=true to enable block creation
- Add BLOCK_PRODUCTION_CHAINS to specify which chains produce blocks
- Add PROPOSER_ID to set the block proposer identity
- Fixes heartbeat block creation on blockchain nodes
2026-05-20 10:56:16 +02:00
aitbc
88d6d71c28
feat: add wallet funding to deployment script
...
Cross-Node Transaction Testing / transaction-test (push) Successful in 9s
Deploy to Testnet / deploy-testnet (push) Failing after 1m27s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
- Add fund_wallet function to directly update database with initial balance
- Bypasses SQLite INTEGER overflow by using direct database update
- Funds genesis wallet with 1 million tokens after node deployment
- Called in main deployment flow after systemd service setup
2026-05-20 10:42:17 +02:00
aitbc
60ec340e92
feat: add wallet fund command using blockchain faucet
...
CLI Tests / test-cli (push) Failing after 10s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m28s
Multi-Node Stress Testing / stress-test (push) Successful in 8s
Security Scanning / security-scan (push) Failing after 1m21s
- Add 'wallet fund' CLI command to fund wallets via blockchain faucet
- Uses POST /faucet endpoint to request test tokens
- Supports custom amount and chain_id parameters
- Auto-creates account if it doesn't exist
- Rate-limited to 10 requests per hour per IP
2026-05-20 10:38:53 +02:00
aitbc
f1b74564b7
fix: remove genesis allocation from wallet generation
...
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 2s
- Remove genesis allocation to work around SQLite INTEGER overflow
- Wallet generation now creates wallet without initial coin allocation
- Wallet can be funded via blockchain API after node startup
- Genesis allocation funding to be implemented separately
2026-05-20 10:27:26 +02:00
aitbc
0bd59a142a
fix: use BigInteger for Account nonce field
...
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Failing after 6s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 9s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 5s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 5s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
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 34s
Security Scanning / security-scan (push) Failing after 42s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
- Change Account.nonce from INTEGER to BigInteger to support large values
- Part of fixing SQLite INTEGER overflow error in genesis allocations
2026-05-20 10:26:28 +02:00
aitbc
7237f48ebf
fix: update deployment script with 1 million token balance
...
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
- Set initial wallet balance to 1 million tokens
- Compatible with BigInteger Account model fix
- Wallet receives initial coin allocation from genesis block
2026-05-20 10:24:16 +02:00
aitbc
236bfb7109
fix: use BigInteger for Account balance field
...
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 10s
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 14s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 5s
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 11s
Node Failover Simulation / failover-test (push) Failing after 3s
P2P Network Verification / p2p-verification (push) Successful in 8s
Python Tests / test-python (push) Failing after 49s
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Change Account.balance from INTEGER to BigInteger to support large values
- Fixes SQLite INTEGER overflow error when creating accounts from genesis allocations
- Allows wallet to receive initial coin allocation from genesis block
2026-05-20 10:23:44 +02:00
aitbc
e8c13065b4
feat: add wallet generation to deployment script
...
Cross-Node Transaction Testing / transaction-test (push) Successful in 7s
Deploy to Testnet / deploy-testnet (push) Successful in 1m24s
Multi-Node Stress Testing / stress-test (push) Successful in 9s
- Generate wallet with private/public keys during node deployment
- Create genesis allocation file with wallet address and initial coins
- Wallet receives 1 billion tokens from genesis block
- Save wallet to keystore for later use
- Replace genesis block generation with wallet+genesis generation
2026-05-20 10:16:38 +02:00
aitbc
c2dae2a904
reorg: organize skills into aitbc and hermes subdirectories
...
Cross-Node Transaction Testing / transaction-test (push) Successful in 12s
Deploy to Testnet / deploy-testnet (push) Has started running
Multi-Node Stress Testing / stress-test (push) Has been cancelled
- Moved 9 AITBC-specific skills to skills/aitbc/
- Moved autonomous-ai-agents hermes skill to skills/hermes/
- Keeps AITBC operational skills separate from hermes agent coordination skills
2026-05-20 10:16:17 +02:00
aitbc
218424f460
fix: use psycopg2 instead of psycopg for PostgreSQL connection
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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