{
  "files_fixed": 3,
  "files": [
    "/home/arch_agent_system/natiris/config/update_config_with_pets.py",
    "/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/app.py",
    "/home/arch_agent_system/natiris/admin/api_auth.py"
  ],
  "total_fixes": 9,
  "fixes": [
    {
      "file": "/home/arch_agent_system/natiris/config/update_config_with_pets.py",
      "line": 6,
      "original": "with open(\"/home/arch_agent_system/natiris/config/pets_config.json\") as f:",
      "fixed": "with open(os.path.expanduser(\"~/natiris/config/pets_config.json\")) as f:"
    },
    {
      "file": "/home/arch_agent_system/natiris/config/update_config_with_pets.py",
      "line": 9,
      "original": "with open(\"/home/arch_agent_system/natiris/config/character_genesis.json\") as f:",
      "fixed": "with open(os.path.expanduser(\"~/natiris/config/character_genesis.json\")) as f:"
    },
    {
      "file": "/home/arch_agent_system/natiris/config/update_config_with_pets.py",
      "line": 15,
      "original": "with open(\"/home/arch_agent_system/natiris/config/character_genesis.json\", \"w\") as f:",
      "fixed": "with open(os.path.expanduser(\"~/natiris/config/character_genesis.json\"), \"w\") as f:"
    },
    {
      "file": "/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/app.py",
      "line": 9,
      "original": "\"state\": \"/home/arch_agent_system/natiris/core/natiris_full_state.json\",",
      "fixed": "\"state\": os.path.expanduser(\"~/natiris/core/natiris_full_state.json\"),"
    },
    {
      "file": "/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/app.py",
      "line": 10,
      "original": "\"core\": \"/home/arch_agent_system/natiris/core/core_state.json\",",
      "fixed": "\"core\": os.path.expanduser(\"~/natiris/core/core_state.json\"),"
    },
    {
      "file": "/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/app.py",
      "line": 11,
      "original": "\"config\": \"/home/arch_agent_system/natiris/config/admin_config.json\",",
      "fixed": "\"config\": os.path.expanduser(\"~/natiris/config/admin_config.json\"),"
    },
    {
      "file": "/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/app.py",
      "line": 12,
      "original": "\"output\": \"/home/arch_agent_system/natiris/core/api_response.json\",",
      "fixed": "\"output\": os.path.expanduser(\"~/natiris/core/api_response.json\"),"
    },
    {
      "file": "/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/app.py",
      "line": 13,
      "original": "\"webui\": \"/home/arch_agent_system/natiris/runtime/Web chat API (FastAPI)/webui.html\",",
      "fixed": "\"webui\": os.path.expanduser(\"~/natiris/runtime/Web chat API (FastAPI)/webui.html\"),"
    },
    {
      "file": "/home/arch_agent_system/natiris/admin/api_auth.py",
      "line": 71,
      "original": "result = subprocess.run([\"python3\", \"/home/arch_agent_system/natiris/admin/auth.py\", \"NatirisSicherheit2026!L\u00fcbeck\"], capture_output=True, text=True)",
      "fixed": "result = subprocess.run([\"python3\", os.path.expanduser(\"~/natiris/admin/auth.py\"), \"NatirisSicherheit2026!L\u00fcbeck\"], capture_output=True, text=True)"
    }
  ],
  "backups_created": 3
}