{
  "repo": "tidbcloud/cloud-storage-engine",
  "binary": "cse-ctl",
  "binary_path": "cmd/cse-ctl/src/main.rs",
  "dependencies": {
    "CLI cse-ctl <subcommand>": {
      "infrastructure": {
        "http": {
          "conditions": [
            "When executing the http, stats, or check-related subcommands"
          ],
          "operations": [
            {
              "operation": "OUTBOUND HTTP REQUESTS",
              "trigger": "Inspect stores, stats, or maintenance endpoints",
              "conditions": [
                "Relevant subcommands are selected"
              ],
              "implementation": "hyper client usage in cmd/cse-ctl modules such as check_columnar.rs and stats.rs"
            }
          ]
        },
        "grpc": {
          "conditions": [
            "When executing backup/restore/schema/region and other cluster control commands"
          ],
          "operations": [
            {
              "operation": "OUTBOUND GRPC REQUESTS",
              "trigger": "Operate against TiKV/cloud-engine services",
              "conditions": [
                "Relevant subcommands are selected"
              ],
              "implementation": "grpc client setup in cmd/cse-ctl helper modules"
            }
          ]
        },
        "filesystem": {
          "conditions": [
            "When reading schemas or local backup files"
          ],
          "operations": [
            {
              "operation": "READ / WRITE FILES",
              "trigger": "Load schema files, restore artifacts, or output generated data",
              "conditions": [
                "Subcommands need local file inputs or outputs"
              ],
              "implementation": "file and local path handling across cmd/cse-ctl modules"
            }
          ]
        }
      },
      "services": []
    }
  }
}
