{
  "repo": "pingcap/agent-git-service",
  "binary": "db9bench",
  "binary_path": "cmd/db9bench/main.go",
  "dependencies": {
    "DB9BenchCLI.prepare": {
      "infrastructure": {
        "filesystem": {
          "conditions": [
            "--out is provided"
          ],
          "operations": [
            {
              "operation": "WRITE PREPARED BENCH DATA",
              "trigger": "Emit the prepared benchmark dataset description",
              "conditions": [
                "perfbench.Prepare(...) succeeds"
              ],
              "implementation": "runPrepare -> perfbench.Prepare(...)"
            }
          ]
        }
      },
      "services": []
    },
    "DB9BenchCLI.run": {
      "infrastructure": {
        "filesystem": {
          "conditions": [
            "--out is provided"
          ],
          "operations": [
            {
              "operation": "WRITE BENCH RESULT",
              "trigger": "Emit benchmark run output JSON",
              "conditions": [
                "perfbench.Run(...) succeeds"
              ],
              "implementation": "runBench -> perfbench.Run(...)"
            }
          ]
        }
      },
      "services": []
    },
    "DB9BenchCLI.compare": {
      "infrastructure": {
        "filesystem": {
          "conditions": [
            "--before and --after are provided"
          ],
          "operations": [
            {
              "operation": "READ BENCH INPUTS AND OPTIONAL WRITE REPORT",
              "trigger": "Compare two benchmark runs and optionally emit Bench.md",
              "conditions": [
                "perfbench.Compare(...) succeeds"
              ],
              "implementation": "runCompare -> perfbench.Compare(...)"
            }
          ]
        }
      },
      "services": []
    }
  }
}
