{
  "metadata": {
    "version": "1.0.0",
    "created": "2025-01-27",
    "description": "Warfactory system configuration - infrastructure only",
    "hash": "sha256:placeholder"
  },

  "coordination": {
    "enabled": true,
    "module_deployment_timeout": 30000,
    "health_check_interval": 5000,
    "hot_reload": {
      "enabled": true,
      "watch_directories": ["modules/", "config/"],
      "extensions": [".so", ".json"]
    }
  },

  "modules": {
    "debug_world_gen": {
      "enabled": true,
      "priority": 1,
      "frequency": 1.0,
      "library_path": "modules/debug_world_gen/build/libdebug_world_gen.so",
      "config_file": "config/debug_world_gen.json"
    },

    "tank": {
      "enabled": true,
      "priority": 2,
      "frequency": 60.0,
      "library_path": "modules/tank/build/libtank.so",
      "config_file": "config/tank.json"
    },

    "economy": {
      "enabled": true,
      "priority": 3,
      "frequency": 0.1,
      "library_path": "modules/economy/build/libeconomy.so",
      "config_file": "config/economy.json"
    },

    "factory": {
      "enabled": true,
      "priority": 4,
      "frequency": 60.0,
      "library_path": "modules/factory/build/libfactory.so",
      "config_file": "config/factory.json"
    },

    "logistic": {
      "enabled": true,
      "priority": 5,
      "frequency": 1.0,
      "library_path": "modules/logistic/build/liblogistic.so",
      "config_file": "config/logistic.json"
    }
  },

  "engine": {
    "type": "DEBUG",
    "target_fps": 60,
    "step_by_step": false,
    "verbose_logging": true,
    "performance_monitoring": true,
    "module_system": {
      "type": "SEQUENTIAL",
      "thread_pool_size": 4,
      "task_queue_size": 1000
    }
  },

  "performance": {
    "targets": {
      "v1_client_fps": 30,
      "v2_client_fps": 60,
      "v1_server_players": 10,
      "v2_server_players": 100,
      "iteration_cycle_seconds": 5,
      "hot_reload_ms": 1
    },
    "optimization": {
      "simd": false,
      "cluster_distribution": false,
      "memory_pooling": true,
      "cache_friendly_data": true
    }
  },

  "debugging": {
    "sanitizers": {
      "address": true,
      "undefined_behavior": true,
      "leak": true
    },
    "profiling": {
      "enabled": true,
      "per_module_metrics": true,
      "memory_tracking": true
    },
    "logging": {
      "level": "DEBUG",
      "file_output": true,
      "console_output": true,
      "json_structured": true
    }
  }
}