Commit Graph

114 Commits

Author SHA1 Message Date
aitbc
e24513b576 Migrate from legacy .env to blockchain.env
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Deploy to Testnet / deploy-testnet (push) Successful in 1m16s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Failing after 3s
Systemd Sync / sync-systemd (push) Successful in 19s
- Update all systemd units to use blockchain.env instead of .env
- This standardizes configuration structure across nodes
2026-05-09 19:34:14 +02:00
aitbc
29779bc06f refactor: update service layer exports and fix import paths
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
Node Failover Simulation / failover-test (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 17s
Documentation Validation / validate-docs (push) Failing after 9s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Successful in 2m38s
Python Tests / test-python (push) Failing after 9s
Security Scanning / security-scan (push) Successful in 26s
Systemd Sync / sync-systemd (push) Successful in 19s
- Export service layer classes in aitbc/__init__.py lazy exports
- Add BlockchainService, RPCBlockchainService, BlockchainServiceFactory
- Add DatabaseService, SQLiteDatabaseService, DatabaseServiceFactory
- Remove obsolete AITBCHTTPClient export
- Fix import path in multichain_exchange_api.py (http_client -> network.http_client)
- Fix import path in agent-coordinator-wrapper.py (paths -> utils.paths)
- Update Learning Service port from 8011 to
2026-05-09 12:33:46 +02:00
aitbc
852f2e5a8a Rename openclaw to hermes across documentation and workflows
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
Node Failover Simulation / failover-test (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Successful in 11s
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m36s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m24s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m25s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m28s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 21s
Smart Contract Tests / test-foundry (push) Failing after 20s
Smart Contract Tests / lint-solidity (push) Successful in 30s
Smart Contract Tests / deploy-contracts (push) Successful in 1m40s
Systemd Sync / sync-systemd (push) Successful in 26s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 4s
- Update workflow paths from docs/openclaw to docs/hermes
- Rename skill prefixes from openclaw-* to hermes-*
- Update agent skill references in refactoring and analysis docs
- Rename OPENCLAW_AITBC_MASTERY_PLAN.md to reflect hermes branding
- Update CLI examples and command references throughout documentation
2026-05-07 11:42:06 +02:00
aitbc
7a0054b53d fix: disable block production in RPC-only blockchain service
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
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
Node Failover Simulation / failover-test (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-cross-chain-bridge (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
P2P Network Verification / p2p-verification (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 22s
Prevented RPC service from producing blocks by:
- Added AITBC_FORCE_ENABLE_BLOCK_PRODUCTION environment variable (highest priority)
- Updated _env_value() helper to check multiple env var names in priority order
- Set all block production env vars to false in RPC wrapper script
- Added AITBC_FORCE_ENABLE_BLOCK_PRODUCTION=false to systemd service file
- Fixed CLI get_balance() to use requests library instead of AITBCHTTPClient
- Added 404 handling in
2026-05-04 11:05:32 +02:00
aitbc
5994775957 fix: prevent coordinator-api port conflicts after reboot
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m5s
Multi-Node Stress Testing / stress-test (push) Successful in 12s
Node Failover Simulation / failover-test (push) Successful in 17s
Systemd Sync / sync-systemd (push) Successful in 20s
Root cause: systemd service lacked proper process management
- No PIDFile for process tracking
- Restart=always caused restart loops on any exit
- No ExecStop for graceful shutdown
- No KillMode (default control-group leaves stale processes)
- Short RestartSec (5s) caused rapid restart attempts

Fix applied to systemd/aitbc-coordinator-api.service:
- Add ExecStop=/bin/kill -TERM $MAINPID for graceful shutdown
- Add KillMode=process to kill only main process
- Add KillSignal=SIGTERM for proper signal handling
- Add TimeoutStopSec=30 for graceful shutdown timeout
- Change Restart=always to Restart=on-failure
- Increase RestartSec from 5 to 10 seconds
- Add PIDFile=/run/aitbc-coordinator-api.pid for process tracking

Synced to all nodes (aitbc, aitbc1, gitea-runner) via link-systemd.sh
2026-05-04 08:31:37 +02:00
aitbc
69f8930d73 fix: update systemd service dependencies
- Add aitbc-blockchain-rpc.service dependency to blockchain-sync
- Remove Before directive from load-secrets service
2026-05-03 22:59:39 +02:00
aitbc
d7da8ba880 fix: update ai-service module path in systemd service
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
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 20s
- Change ExecStart from src.app:app to src.ai_service.main:app in aitbc-ai.service
2026-05-03 22:12:07 +02:00
aitbc
188878ccd4 fix: add SyslogIdentifier to systemd services for proper journal logging
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
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
- Add SyslogIdentifier to aitbc-blockchain-p2p.service
- Add SyslogIdentifier to aitbc-agent-registry.service
- Add SyslogIdentifier to aitbc-ai.service
- Add SyslogIdentifier to aitbc-blockchain-sync.service
- Add SyslogIdentifier to aitbc-load-secrets.service
- Add SyslogIdentifier to aitbc-monitoring.service
- Add SyslogIdentifier to aitbc-openclaw.service
- Add SyslogIdentifier to aitbc-plugin.service

This ensures services log with their service name instead of 'python' or 'poetry' in journalctl.
2026-05-03 22:06:32 +02:00
aitbc
b9d061948c fix: set marketplace DATABASE_URL in systemd unit
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 10s
Deploy to Testnet / deploy-testnet (push) Successful in 1m11s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Node Failover Simulation / failover-test (push) Successful in 2s
Systemd Sync / sync-systemd (push) Successful in 18s
2026-05-02 15:47:54 +02:00
aitbc
9ec1453c89 Fix new services to use shared venv and PYTHONPATH
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 13s
Deploy to Testnet / deploy-testnet (push) Successful in 1m31s
Multi-Node Stress Testing / stress-test (push) Successful in 20s
Node Failover Simulation / failover-test (push) Failing after 9s
Systemd Sync / sync-systemd (push) Successful in 27s
Deploy to Testnet / notify-deployment (push) Successful in 9s
2026-05-02 10:11:27 +02:00
aitbc
5fa5d3b92a Fix PYTHONPATH to include aitbc-core/src for aitbc module
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Deploy to Testnet / notify-deployment (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 29s
2026-05-02 09:50:29 +02:00
aitbc
eff9857b17 Add packages/py to PYTHONPATH for marketplace service
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Deploy to Testnet / notify-deployment (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
2026-05-02 09:49:30 +02:00
aitbc
a864dfbefd Fix marketplace service to use shared venv and PYTHONPATH
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Deploy to Testnet / notify-deployment (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
2026-05-02 09:48:45 +02:00
aitbc
144d664790 Fix datetime.UTC to timezone.utc across agent-coordinator codebase
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 26s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 10s
Deploy to Testnet / deploy-testnet (push) Successful in 1m17s
Documentation Validation / validate-docs (push) Successful in 26s
Deploy to Testnet / notify-deployment (push) Has been cancelled
Integration Tests / test-service-integration (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
Documentation Validation / validate-policies-strict (push) Successful in 6s
Production Tests / Production Integration Tests (push) Successful in 42s
Staking Tests / test-staking-service (push) Failing after 11s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Successful in 26s
- Changed datetime.UTC to timezone.utc in advanced_ai.py
- Changed datetime.UTC to timezone.utc in realtime_learning.py
- Changed datetime.UTC to timezone.utc in jwt_handler.py
- Changed datetime.UTC to timezone.utc in distributed_consensus.py
- Changed datetime.UTC to timezone.utc in exceptions.py
- Changed datetime.UTC to timezone.utc in alerting.py
- Changed datetime.UTC to timezone.utc in communication.py
- Changed datetime.UTC to timezone.utc in message_types.py
- Updated imports from `datetime import
2026-05-02 09:39:45 +02:00
aitbc
0ce9681e09 Update OpenClaw service systemd unit to use Poetry run command instead of direct virtualenv path
Some checks failed
Deploy to Testnet / deploy-testnet (push) Failing after 14s
Deploy to Testnet / notify-deployment (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
Node Failover Simulation / failover-test (push) Successful in 14s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Cross-Node Transaction Testing / transaction-test (push) Successful in 13s
- Changed ExecStart from hardcoded virtualenv path to `poetry run python -m openclaw_service.main`
- This makes the service more portable and resilient to virtualenv path changes
2026-04-30 17:04:37 +02:00
aitbc
8602732d46 Convert API gateway to old Poetry format and add service routing for new microservices
Some checks failed
Node Failover Simulation / failover-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) Successful in 1m55s
Blockchain Synchronization Verification / sync-verification (push) Failing after 11s
CLI Tests / test-cli (push) Failing after 8s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 12s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 13s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 13s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
P2P Network Verification / p2p-verification (push) Successful in 6s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 32s
Package Tests / Python package - aitbc-core (push) Successful in 15s
Package Tests / Python package - aitbc-crypto (push) Successful in 11s
Package Tests / Python package - aitbc-sdk (push) Successful in 11s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 26s
Package Tests / JavaScript package - aitbc-token (push) Successful in 25s
Production Tests / Production Integration Tests (push) Failing after 1m15s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 2m5s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 31s
Smart Contract Tests / test-foundry (push) Failing after 19s
Smart Contract Tests / lint-solidity (push) Successful in 17s
Smart Contract Tests / deploy-contracts (push) Successful in 1m24s
Staking Tests / test-staking-service (push) Failing after 14s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Successful in 22s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 14m13s
- Convert api-gateway pyproject.toml to old Poetry format for workspace compatibility
- Add routing configuration for AI service (port 8106)
- Add routing configuration for Monitoring service (port 8107)
- Add routing configuration for OpenClaw service (port 8108)
- Add routing configuration for Plugin service (port 8109)
- Remove duplicate middleware implementations from coordinator-api (app_logging.py, error
2026-04-30 16:15:05 +02:00
aitbc
db6154c1c5 Add boot-time secrets loading service to prevent service failures after reboot
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 19s
- Add aitbc-load-secrets.service to load /run/aitbc/secrets/.env at boot
- Add aitbc-secrets.conf tmpfiles.d config to create secrets directory
- Update link-systemd.sh to deploy tmpfiles.d configurations
- Fixes issue where services fail with 'Failed to load environment files' after reboot
2026-04-29 10:09:49 +02:00
aitbc
723070db5c Fix systemd compatibility: use StartLimitInterval instead of StartLimitIntervalSec for older systemd versions
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 12s
2026-04-28 20:29:27 +02:00
aitbc
8cd584f90a Fix coordinator-api PYTHONPATH to include /opt/aitbc for root package imports
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 16s
2026-04-28 20:19:56 +02:00
aitbc
e01fb36db8 fix: change blockchain sync default hosts from 10.1.223.40 to localhost and disable block production in RPC service
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 17s
Update blockchain-sync-wrapper.py to use 127.0.0.1 as default for SYNC_LEADER_HOST, SYNC_SOURCE_HOST, and SYNC_IMPORT_HOST instead of hardcoded 10.1.223.40. Replace UnsetEnvironment directive with explicit enable_block_production=false in blockchain-rpc.service to ensure block production is disabled.
2026-04-28 08:38:43 +02:00
aitbc
04852fc480 security: enforce required API_KEY_HASH_SECRET and migrate keystore password to credential system
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 19s
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
Integration Tests / test-service-integration (push) Successful in 3m1s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 7s
P2P Network Verification / p2p-verification (push) Successful in 9s
Python Tests / test-python (push) Successful in 28s
Security Scanning / security-scan (push) Successful in 55s
Systemd Sync / sync-systemd (push) Successful in 17s
Remove default fallback for API_KEY_HASH_SECRET in tenant context middleware and management service, requiring explicit environment variable configuration. Migrate keystore password handling from /etc/aitbc/keystore_password to /etc/aitbc/credentials/keystore_password with 600 permissions. Add load-keystore-secrets.sh pre-start hook and /run/aitbc/secrets/.env environment file to blockchain-node, blockchain
2026-04-28 07:29:51 +02:00
aitbc
b77a6ce007 ci: add daily failover simulation schedule and standardize service configurations
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 16s
CLI Tests / test-cli (push) Failing after 3s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Failing after 3s
Integration Tests / test-service-integration (push) Successful in 3m0s
Python Tests / test-python (push) Successful in 17s
Security Scanning / security-scan (push) Failing after 23s
Blockchain Synchronization Verification / sync-verification (push) Failing after 10s
Node Failover Simulation / failover-test (push) Failing after 5s
P2P Network Verification / p2p-verification (push) Successful in 5s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
Systemd Sync / sync-systemd (push) Failing after 14m56s
Add daily 2 AM cron schedule for node failover simulation workflow. Relax AITBC address validation to support variable-length addresses. Add missing logging import to chain_sync. Make coordinator database initialization non-fatal to allow startup even if init_db fails. Replace Ethereum address validation with AITBC-specific format checks in multisig transactions. Standardize PYTHONPATH across all systemd services to include
2026-04-27 16:51:13 +02:00
aitbc
858790b89e feat: wire systemd services to use centralized aitbc package
Some checks failed
CLI Tests / test-cli (push) Failing after 11s
Security Scanning / security-scan (push) Successful in 1m33s
Systemd Sync / sync-systemd (push) Successful in 5s
- Create wrapper scripts for all AITBC services using aitbc utilities
- Update 13 systemd service files to use wrapper scripts
- Wrapper scripts use aitbc constants (ENV_FILE, NODE_ENV_FILE, DATA_DIR, LOG_DIR, KEYSTORE_DIR)
- Services migrated: agent-coordinator, agent-daemon, agent-registry, blockchain-event-bridge, blockchain-node, blockchain-p2p, blockchain-rpc, blockchain-sync, coordinator-api, explorer, marketplace, wallet
- Add sys.path setup to cli/aitbc_cli.py for aitbc package access
- Centralized path management via aitbc package
- Consistent environment setup across all services
2026-04-24 22:30:58 +02:00
aitbc
7bbb75876a fix: update agent-daemon service to run as root instead of aitbc user
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 11s
- Change User=aitbc to User=root in aitbc-agent-daemon.service
- aitbc user no longer exists after cleanup
- Consistent with other AITBC services that run as root
2026-04-24 12:04:37 +02:00
aitbc
90edea2da2 Add blockchain event bridge service with smart contract event integration
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
Integration Tests / test-service-integration (push) Failing after 15s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 12s
Security Scanning / security-scan (push) Successful in 41s
Systemd Sync / sync-systemd (push) Successful in 7s
- Phase 1: Core bridge service with gossip broker subscription
- Phase 2: Smart contract event integration via eth_getLogs RPC endpoint
- Add contract event subscriber for AgentStaking, PerformanceVerifier, Marketplace, Bounty, CrossChainBridge
- Add contract event handlers in agent_daemon.py and marketplace.py
- Add systemd service file for blockchain-event-bridge
- Update blockchain node router.py with eth_getLogs endpoint
- Add configuration for contract addresses
- Add tests for contract subscriber and handlers (27 tests passing)
2026-04-23 10:58:00 +02:00
aitbc
3d4300924e Revert systemd ExecStart paths to use central venv (/opt/aitbc/venv/bin/python)
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 10s
2026-04-20 13:20:23 +02:00
aitbc
456ba8ce9b fix: systemd ExecStart paths to use app-specific venvs
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 4s
2026-04-20 13:10:28 +02:00
aitbc
ca8b201f64 fix: coordinator-api systemd ExecStart path to use app-specific venv
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 6s
2026-04-20 13:04:37 +02:00
aitbc
ca34b6fee3 Consolidate service scripts into apps directories
Some checks failed
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
Systemd Sync / sync-systemd (push) Has been cancelled
- Move blockchain scripts to apps/blockchain-node/scripts/
- Move marketplace scripts to apps/marketplace/scripts/
- Move agent daemon to apps/agent-coordinator/scripts/
- Move monitor to apps/monitor/
- Update systemd service files to point to new locations
- Update internal path references in moved scripts
- Remove empty /opt/aitbc/services directory
2026-04-15 11:56:03 +02:00
aitbc
20b96881c4 Fix RPC block production override and restore coordinator env vars after consolidation
Some checks failed
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
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 11:32:50 +02:00
aitbc
00eabf3064 Restore coordinator env settings and disable RPC block production
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 10:51:28 +02:00
aitbc
5f3f587a19 Move .agent_daemon_password to keystore directory and update references
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
2026-04-15 10:34:53 +02:00
aitbc
d342c2d5ab Consolidate environment files - remove production.env and blockchain.env, use only .env and node.env
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 10:23:25 +02:00
aitbc
3ead8d1399 Unify environment files - split global (.env) from node-specific (node.env)
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 10:19:06 +02:00
aitbc
b8c84eeb5f Unify marketplace service - remove duplicate GPU marketplace, keep single marketplace on port 8007
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
2026-04-15 10:04:36 +02:00
aitbc
8ad492f1a7 Move hardcoded variables from systemd services to environment files
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 09:59:55 +02:00
aitbc
b02c3be937 Change blockchain node service syslog identifier from aitbc-blockchain-production to aitbc-blockchain
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 09:33:36 +02:00
aitbc
86bbd732d0 Change exchange API service to use venv Python interpreter and update marketplace service syslog identifier
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Update aitbc-exchange-api.service ExecStart from /opt/aitbc/apps/coordinator-api/.venv/bin/python to /opt/aitbc/venv/bin/python
- Change SyslogIdentifier in aitbc-marketplace.service from aitbc-marketplace-production to aitbc-marketplace
2026-04-15 09:29:38 +02:00
aitbc
cd6dc870d1 Change database file permissions from restrictive owner-only to permissive read/write for all users and update agent daemon database path
Some checks failed
Systemd Sync / sync-systemd (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
- Change chmod permissions from 0600 (owner-only) to 0666 (read/write for all) for database file and WAL files in blockchain node database initialization
- Update comment to reflect permissive permissions for handling filesystem restrictions
- Update agent daemon service database path from /var/lib/aitbc/data/ait-mainnet/chain.db to /var/lib/aitbc/data/chain.db
2026-04-15 09:12:57 +02:00
aitbc
3eb1555aa4 Consolidate systemd environment configuration by moving EnvironmentFile directives from drop-in files to main service files
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Move EnvironmentFile=/etc/aitbc/.env from 10-central-env.conf drop-in files directly into main service files for blockchain-node, blockchain-p2p, blockchain-rpc, blockchain-sync, coordinator-api, exchange-api, explorer, learning, marketplace, modality-optimization, multimodal, openclaw, and wallet services
- Delete all 10-central-env.conf drop-in configuration files
- Delete
2026-04-15 09:06:25 +02:00
aitbc
faf1ca996c Remove restrictive systemd security settings across multiple services and add ProtectSystem=no for SQLite WAL mode compatibility
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Remove ProtectSystem=strict and ReadWritePaths from agent-daemon, gpu, learning, marketplace, modality-optimization, monitor, multimodal, and openclaw services
- Add ProtectSystem=no to coordinator-api, exchange-api, and explorer services to allow database writes for SQLite WAL mode
- Retain NoNewPrivileges and ProtectHome security settings across all services
2026-04-15 08:54:38 +02:00
aitbc
984a5f7c9a Change blockchain node and RPC services to use venv Python interpreter and update node service entry point
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Update aitbc-blockchain-node.service ExecStart from blockchain_simple.py to aitbc_chain.combined_main module
- Update aitbc-blockchain-rpc.service ExecStart from /usr/bin/python3 to /opt/aitbc/venv/bin/python
- Ensures both services use virtual environment Python interpreter for consistency
2026-04-15 08:46:16 +02:00
aitbc
ad50f1fede Add ProtectSystem=no to wallet daemon systemd service to allow database writes for SQLite WAL mode
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 08:42:51 +02:00
aitbc
904515b020 Remove ProtectSystem and ReadWritePaths security settings from blockchain node systemd service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Remove ProtectSystem=strict to allow broader filesystem access
- Remove ReadWritePaths directive as it's no longer needed without ProtectSystem
2026-04-15 08:36:34 +02:00
aitbc
dc259fce1b Change Python interpreter from system python3 to venv python in blockchain sync service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Update ExecStart to use /opt/aitbc/venv/bin/python instead of /usr/bin/python3
- Ensures service uses virtual environment Python interpreter for consistency
2026-04-15 08:33:30 +02:00
aitbc
23840edc11 Remove restrictive systemd security settings and expand ReadWritePaths for blockchain node service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Remove StartLimitBurst and StartLimitIntervalSec from aitbc-blockchain-node systemd service
- Change ReadWritePaths from /var/lib/aitbc/data/blockchain to /var/lib/aitbc/data to allow broader data directory access
2026-04-15 08:31:30 +02:00
aitbc
9bb4791a97 Add error handling for chmod operations in database initialization and remove restrictive systemd security settings
Some checks failed
Systemd Sync / sync-systemd (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
- Add try-except blocks around os.chmod calls in init_db to ignore OSError exceptions
- Add comments noting permission errors are ignored for read-only filesystems in containers
- Wrap chmod for database file, WAL-shm, and WAL-wal files with error handling
- Remove StartLimitBurst and StartLimitIntervalSec from agent-coordinator systemd service
- Remove ProtectSystem, ProtectHome, and ReadWritePaths security
2026-04-15 08:29:03 +02:00
aitbc
a79057ce35 Add directory creation for agent coordinator data and logs in systemd service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Add ExecStartPre to create /var/lib/aitbc/data/agent-coordinator and /var/log/aitbc/agent-coordinator directories
- Ensures required directories exist before service starts
2026-04-15 08:22:09 +02:00
aitbc
ffd05769df Add p2p_node_id configuration setting and make node-id argument optional with fallback chain
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
- Add p2p_node_id field to ChainSettings with empty string default
- Add p2p_node_id to .env.example configuration file
- Change --node-id argument from required to optional with default empty string
- Add node_id resolution with fallback chain: args.node_id -> settings.p2p_node_id -> settings.proposer_id
- Add validation to raise ValueError if no node_id can be resolved
- Update systemd service to use ${
2026-04-14 13:12:00 +02:00
aitbc
d72945f20c network: add hub registration, Redis persistence, and federated mesh join protocol
Some checks failed
CLI Tests / test-cli (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
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
- Change default P2P port from 7070 to 8001 in config and .env.example
- Add redis_url configuration option for hub persistence (default: redis://localhost:6379)
- Implement DNS-based hub registration/unregistration via HTTPS API endpoints
- Add Redis persistence for hub registrations with 1-hour TTL
- Add island join request/response protocol with member list and blockchain credentials
- Add GPU marketplace tracking (offers, bids, providers) in hub manager
- Add
2026-04-13 11:47:34 +02:00