{
  "repo": "tidbcloud/branching-gorm-example",
  "binary": "test-harness",
  "binary_path": "test.sh",
  "dependencies": {
    "CLI ./test.sh": {
      "infrastructure": {
        "filesystem": {
          "conditions": [
            "Always when the harness is invoked"
          ],
          "operations": [
            {
              "operation": "READ / WRITE FILES",
              "trigger": "Cache or refresh the local gorm checkout and run local test artifacts",
              "conditions": [
                "test.sh starts"
              ],
              "implementation": "remove or reuse ./gorm; parse main_test.go; execute go test against local files"
            }
          ]
        },
        "subprocess": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "EXECUTE TESTS",
              "trigger": "Run dialect-specific Go tests",
              "conditions": [
                "Selected dialect matches TEST_DRIVERS and optional GORM_DIALECT filter"
              ],
              "implementation": "go get -u -t ./...; GORM_DIALECT=${dialect} go test -race -count=1 -v ./..."
            }
          ]
        }
      },
      "services": []
    }
  }
}
