)]}'
{
  "commit": "0d95d3a268ffad82b7c645200804fb43ed088a81",
  "tree": "ac9a63b6648a2555382769bcd9ce157170291224",
  "parents": [
    "9c0fc89eea578d71389edb4fd7d92eb73816f528"
  ],
  "author": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Wed Apr 30 16:22:28 2025 +0000"
  },
  "committer": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Wed Apr 30 16:22:35 2025 +0000"
  },
  "message": "Improve SSH config file safety in dockerimg/ssh_theater.go\n\n- Add SafeWriteFile method to the FileSystem interface that:\n  - Writes data to a temporary file first\n  - Syncs to disk to ensure data is written\n  - Creates a backup of the original file (if it exists)\n  - Safely renames the temporary file to the target\n\n- Update all file modification operations to use SafeWriteFile:\n  - addContainerToSSHConfig\n  - removeContainerFromSSHConfig\n  - addContainerToKnownHosts\n  - removeContainerFromKnownHosts\n  - CheckForIncludeWithFS\n\nThis change reduces the risk of corruption if the process is interrupted\nwhile modifying configuration files.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "204542b20aa9dfee513002c7336bed741507d0bf",
      "old_mode": 33188,
      "old_path": "dockerimg/ssh_theater.go",
      "new_id": "c006487788f10f2d97cc80c3f99f44ca2c8ae39e",
      "new_mode": 33188,
      "new_path": "dockerimg/ssh_theater.go"
    },
    {
      "type": "modify",
      "old_id": "7027742c685d5f39b27b6e0e92003c0e16de8ba3",
      "old_mode": 33188,
      "old_path": "dockerimg/ssh_theater_test.go",
      "new_id": "37310181d485b438dd5834d3fbdd8a4b0783897a",
      "new_mode": 33188,
      "new_path": "dockerimg/ssh_theater_test.go"
    }
  ]
}
