- Fixed bare except clauses in dev/examples/wallet.py
- Fixed bare except clauses in dev/gpu/gpu_exchange_status.py (2 clauses)
- Fixed bare except clauses in dev/gpu/gpu_miner_host.py
- Fixed bare except clauses in dev/onboarding/auto-onboard.py
- Fixed bare except clauses in dev/onboarding/onboarding-monitor.py
- Fixed bare except clauses in dev/scripts/dev_heartbeat.py
- Fixed bare except clauses in tests/integration/test_blockchain_simple.py (3 clauses)
- Fixed bare except clause in tests/integration/test_full_workflow.py
- Fixed bare except clause in tests/load_test.py
- Fixed bare except clause in tests/security/test_confidential_transactions.py
- Fixed bare except clause in tests/verification/test_coordinator.py
- All bare except clauses now use proper Exception handling
- Addresses remaining ruff E722 warnings in non-critical code
- Replace all 2,087 uses of datetime.utcnow() across 294 files
- Add UTC import to datetime statements where needed
- Addresses Python 3.12+ deprecation warning (report item #3)
✅ Architecture Audit & Rewire Completed
- Fixed Python code path references in tests and miner files
- Updated SystemD service ReadWritePaths to use system logs
- Removed remaining production data and log directories
- Updated .gitignore for additional runtime patterns
- Created proper system directory structure
- Restarted all services for configuration changes
✅ FHS Compliance Achieved
- Data: /var/lib/aitbc/data ✅
- Config: /etc/aitbc ✅
- Logs: /var/log/aitbc ✅
- Repository: Clean of runtime files ✅✅ Code References Fixed
- 0 repository data references ✅
- 0 repository config references ✅
- 0 repository log references ✅✅ Services Operational
- Marketplace: Active and responding ✅
- Blockchain HTTP: Active and responding ✅
- All services using system paths ✅🚀 AITBC system architecture is now fully FHS compliant!
- Update CORS allow_origins in blockchain-node app.py and gossip relay.py to use new port logic (8000-8016)
- Update coordinator-api config.py and config_pg.py with standardized port ranges and service labels
- Update coordinator-api health check script from port 18000 to 8000
- Update geo_load_balancer.py to use configurable host/port (default 0.0.0.0:8017)
- Update agent_security.py sandbox