{
  "repo": "tidbcloud/metering",
  "binary": "networkchecktools",
  "binary_path": "cmd/networkchecktools/main.go",
  "dependencies": {
    "CLI networkchecktools": {
      "infrastructure": {
        "mysql": {
          "conditions": [
            "Always after config and DSN resolution succeeds"
          ],
          "operations": [
            {
              "operation": "QUERY PROJECT METERING",
              "trigger": "Load project_meterings rows for reconciliation",
              "conditions": [
                "The command reaches the compare loop"
              ],
              "implementation": "gorm.Open and db.Raw in cmd/networkchecktools/main.go"
            }
          ]
        },
        "object_storage": {
          "conditions": [
            "Only when --saveResult is true"
          ],
          "operations": [
            {
              "operation": "UPLOAD CHECK RESULTS",
              "trigger": "Persist reconciliation output to object storage",
              "conditions": [
                "Result persistence is explicitly enabled"
              ],
              "implementation": "resultstore.Upload in cmd/networkchecktools/main.go"
            }
          ]
        }
      },
      "services": []
    }
  }
}
