{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning",
      "Microsoft.EntityFrameworkCore": "Warning",
      "Microsoft.EntityFrameworkCore.Database.Command": "Warning",
      "Hc900Crawler.Infrastructure.Hc900.Hc900HistoryService": "Warning",
      "Hc900Crawler.Infrastructure.Control.FeedforwardSupervisor": "None",
      "Hc900Crawler.Infrastructure.Control.FeedforwardConfigStore": "None",
      "Hc900Crawler.Infrastructure.Kb.KbIngestWorker": "Warning",
      "Hc900Crawler.Infrastructure.Kb.KbStartupService": "Warning"
    },
    "Console": {
      "LogLevel": {
        "Default": "Information",
        "Microsoft.EntityFrameworkCore": "Warning",
        "Hc900Crawler.Infrastructure.Control.FeedforwardSupervisor": "None"
      },
      "FormatterName": "simple",
      "FormatterOptions": {
        "TimestampFormat": "HH:mm:ss "
      }
    }
  },
  "AllowedHosts": "*",
  "Cors": {
    "AllowedOrigins": [ "*" ]
  },
  "ConnectionStrings": {
    "DefaultConnection": "Host=localhost;Port=5432;Database=iiot_platform;Username=postgres;Password=postgres;Search Path=hc900"
  },
  "Hc900": {
    "GatewayAddress": "http://localhost:50051",
    "PollIntervalMs": 1000
  },
  "PidControllers": {
    "Enabled": true
  },
  "Feedforward": {
    "SimOverrideEnabled": true
  },
  "McpServer": {
    "WorkingDirectory": "../../mcp-server"
  },
  "DocBrowser": {
    "Root": "/home/windpacer/projects/hc900_ax",
    "MaxTextBytes": 2097152,
    "MaxUploadBytes": 52428800
  },
  "Kb": {
    "QdrantUrl": "http://localhost:6333",
    "VectorSize": 768,
    "StorageRoot": "../../storage/kb",
    "AdminInitialPassword": "admin",
    "AdminSessionMinutes": 60,
    "WorkerPollIntervalSeconds": 2,
    "MaxAttempts": 3,
    "Throttle": {
      "MaxFailAttempts": 5,
      "FailWindowMinutes": 5,
      "LockoutMinutes": 15
    }
  },
  "Kestrel": {
    "Endpoints": {
      "Http": {
        "Url": "http://0.0.0.0:5000"
      }
    },
    "Limits": {
      "MaxRequestBodySize": 104857600
    }
  }
}
