{
  "repository": "bytedance/UI-TARS-desktop",
  "ref": "3ac2cb8d946d78d5ff92ad17b318eaafa18c178c",
  "methods": [
    {
      "slug": "formal",
      "title": "Formal verification and model checking"
    },
    {
      "slug": "static_analysis",
      "title": "Static analysis"
    },
    {
      "slug": "testing",
      "title": "Testing"
    },
    {
      "slug": "formatting",
      "title": "Formatting and hygiene"
    },
    {
      "slug": "supply_chain",
      "title": "Supply chain"
    },
    {
      "slug": "unclassified",
      "title": "Unclassified"
    }
  ],
  "verifications": [
    {
      "tool": "eslint",
      "method": "static_analysis",
      "commands": [
        "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.lint"
        },
        {
          "path": "package.json",
          "locator": "devDependencies: eslint"
        },
        {
          "path": ".eslintrc.cjs",
          "locator": "config file"
        },
        {
          "path": "examples/operator-browserbase/eslint.config.mjs",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/eslint/eslint",
      "docs": "https://eslint.org/docs/latest/use/command-line-interface#exit-codes",
      "exit_codes": {
        "0": "no errors",
        "1": "linting errors found",
        "2": "configuration problem or internal error"
      },
      "autofix": true,
      "declared_only": false
    },
    {
      "tool": "tsc",
      "method": "static_analysis",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "infra/package.json",
          "locator": "devDependencies: typescript"
        },
        {
          "path": "multimodal/package.json",
          "locator": "devDependencies: typescript"
        },
        {
          "path": "package.json",
          "locator": "devDependencies: typescript"
        }
      ],
      "upstream": "https://github.com/microsoft/TypeScript",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "vitest",
      "method": "testing",
      "commands": [
        "vitest",
        "vitest run",
        "vitest run --coverage",
        "vitest bench"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/agent_tars_test.yml",
          "locator": "jobs.multimodal_bootstrap.steps[5] (Run Agent TARS Test)"
        },
        {
          "path": "package.json",
          "locator": "scripts.test"
        },
        {
          "path": "infra/package.json",
          "locator": "scripts.test"
        },
        {
          "path": "infra/package.json",
          "locator": "scripts.test:watch"
        },
        {
          "path": "infra/package.json",
          "locator": "scripts.coverage"
        },
        {
          "path": "multimodal/package.json",
          "locator": "scripts.test"
        },
        {
          "path": "multimodal/package.json",
          "locator": "scripts.test:watch"
        },
        {
          "path": "multimodal/package.json",
          "locator": "scripts.coverage"
        },
        {
          "path": "package.json",
          "locator": "scripts.test:bench"
        },
        {
          "path": "package.json",
          "locator": "scripts.coverage"
        },
        {
          "path": "multimodal/package.json",
          "locator": "devDependencies: vitest"
        },
        {
          "path": "apps/ui-tars/e2e/vitest.config.mts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/vitest-dev/vitest",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "playwright",
      "method": "testing",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "package.json",
          "locator": "devDependencies: @playwright/test"
        },
        {
          "path": "apps/ui-tars/playwright.config.ts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/microsoft/playwright",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "prettier",
      "method": "formatting",
      "commands": [
        "prettier --write ."
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "package.json",
          "locator": "scripts.format"
        },
        {
          "path": "infra/package.json",
          "locator": "devDependencies: prettier"
        },
        {
          "path": "multimodal/package.json",
          "locator": "devDependencies: prettier"
        },
        {
          "path": "package.json",
          "locator": "devDependencies: prettier"
        }
      ],
      "upstream": "https://github.com/prettier/prettier",
      "docs": "https://prettier.io/docs/cli#exit-codes",
      "exit_codes": {
        "0": "everything formatted",
        "1": "something was not formatted (--check)",
        "2": "prettier error"
      },
      "autofix": true,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "doctoc --title ## Table of Contents README.md"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "multimodal/package.json",
          "locator": "scripts.docs"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "lint-staged"
      ],
      "triggers": [
        "pre_commit"
      ],
      "evidence": [
        {
          "path": ".husky/pre-commit",
          "locator": "line 1"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "secretlint $EXPR"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/secretlint.yml",
          "locator": "jobs.secretlint.steps[5] (Run secretlint)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "security create-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac.steps[6] (Install the Apple certificate and provisioning profile)"
        },
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac_x64.steps[6] (Install the Apple certificate and provisioning profile)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "security import $CERTIFICATE_PATH -P $P12_PASSWORD -A -t cert -f pkcs12 -k $KEYCHAIN_PATH"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac.steps[6] (Install the Apple certificate and provisioning profile)"
        },
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac_x64.steps[6] (Install the Apple certificate and provisioning profile)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "security list-keychain -d user -s $KEYCHAIN_PATH"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac.steps[6] (Install the Apple certificate and provisioning profile)"
        },
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac_x64.steps[6] (Install the Apple certificate and provisioning profile)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "security set-key-partition-list -S apple-tool:,apple: -k $KEYCHAIN_PASSWORD $KEYCHAIN_PATH"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac.steps[6] (Install the Apple certificate and provisioning profile)"
        },
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac_x64.steps[6] (Install the Apple certificate and provisioning profile)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "security set-keychain-settings -lut 21600 $KEYCHAIN_PATH"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac.steps[6] (Install the Apple certificate and provisioning profile)"
        },
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac_x64.steps[6] (Install the Apple certificate and provisioning profile)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "security unlock-keychain -p $KEYCHAIN_PASSWORD $KEYCHAIN_PATH"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac.steps[6] (Install the Apple certificate and provisioning profile)"
        },
        {
          "path": ".github/workflows/release-ui-tars.yml",
          "locator": "jobs.publish_on_mac_x64.steps[6] (Install the Apple certificate and provisioning profile)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    }
  ]
}
