fix: complete system architecture compliance via workflow
✅ 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!
This commit is contained in:
@@ -987,7 +987,7 @@ class TestMeshNetworkTransition:
|
||||
|
||||
def test_configuration_files(self):
|
||||
"""Test that all configuration files are created"""
|
||||
config_dir = '/opt/aitbc/config'
|
||||
config_dir = '/etc/aitbc'
|
||||
configs = [
|
||||
'consensus_test.json',
|
||||
'network_test.json',
|
||||
|
||||
@@ -603,7 +603,7 @@ class TestConfigurationIntegration:
|
||||
"""Test that configuration files are consistent across phases"""
|
||||
import os
|
||||
|
||||
config_dir = "/opt/aitbc/config"
|
||||
config_dir = "/etc/aitbc"
|
||||
configs = {
|
||||
"consensus_test.json": {"min_validators": 3, "block_time": 30},
|
||||
"network_test.json": {"max_peers": 50, "discovery_interval": 30},
|
||||
|
||||
Reference in New Issue
Block a user