# BZZZ Configuration for 192-168-1-113
whoosh_api:
  base_url: "https://whoosh.home.deepblack.cloud"
  api_key: ""
  timeout: 30s
  retry_count: 3

agent:
  id: "192-168-1-113-agent"
  capabilities: ["general"]
  poll_interval: 30s
  max_tasks: 2
  models: []
  specialization: ""
  model_selection_webhook: ""
  default_reasoning_model: ""
  sandbox_image: ""
  role: ""
  system_prompt: ""
  reports_to: []
  expertise: []
  deliverables: []
  collaboration:
    preferred_message_types: []
    auto_subscribe_to_roles: []
    auto_subscribe_to_expertise: []
    response_timeout_seconds: 0
    max_collaboration_depth: 0
    escalation_threshold: 0
    custom_topic_subscriptions: []

github:
  token_file: ""
  user_agent: "BZZZ-Agent/1.0"
  timeout: 30s
  rate_limit: true
  assignee: ""

p2p:
  service_tag: "bzzz-peer-discovery"
  bzzz_topic: "bzzz/coordination/v1"
  hmmm_topic: "hmmm/meta-discussion/v1"
  discovery_timeout: 10s
  escalation_webhook: ""
  escalation_keywords: []
  conversation_limit: 10

logging:
  level: "info"
  format: "text"
  output: "stdout"
  structured: false

slurp:
  enabled: false
  base_url: ""
  api_key: ""
  timeout: 30s
  retry_count: 3
  max_concurrent_requests: 10
  request_queue_size: 100

v2:
  enabled: false
  protocol_version: "2.0.0"
  uri_resolution:
    cache_ttl: 5m0s
    max_peers_per_result: 5
    default_strategy: "best_match"
    resolution_timeout: 30s
  dht:
    enabled: false
    bootstrap_peers: []
    mode: "auto"
    protocol_prefix: "/bzzz"
    bootstrap_timeout: 30s
    discovery_interval: 1m0s
    auto_bootstrap: false
  semantic_addressing:
    enable_wildcards: true
    default_agent: "any"
    default_role: "any"
    default_project: "any"
    enable_role_hierarchy: true
  feature_flags:
    uri_protocol: false
    semantic_addressing: false
    dht_discovery: false
    advanced_resolution: false

ucxl:
  enabled: false
  server:
    port: 8081
    base_path: "/bzzz"
    enabled: false
  resolution:
    cache_ttl: 5m0s
    enable_wildcards: true
    max_results: 50
  storage:
    type: "filesystem"
    directory: "/tmp/bzzz-ucxl-storage"
    max_size: 104857600
  p2p_integration:
    enable_announcement: false
    enable_discovery: false
    announcement_topic: "bzzz/ucxl/announcement/v1"
    discovery_timeout: 30s

security:
  admin_key_shares:
    threshold: 3
    total_shares: 5
  election_config:
    heartbeat_timeout: 5s
    discovery_timeout: 30s
    election_timeout: 15s
    max_discovery_attempts: 6
    discovery_backoff: 5s
    minimum_quorum: 3
    consensus_algorithm: "raft"
    split_brain_detection: true
    conflict_resolution: "highest_uptime"
  key_rotation_days: 90
  audit_logging: false
  audit_path: ""

ai:
  ollama:
    endpoint: "http://192.168.1.113:11434"
    timeout: 30s
    models: []
  openai:
    api_key: ""
    endpoint: "https://api.openai.com/v1"
    timeout: 30s