{
  "repository": "continuedev/continue",
  "ref": "5522c6f44ca0ac3528b37244818fbfa39b5af470",
  "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 ts",
        "eslint --ext ts",
        "eslint . --ext ts --fix"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.core-checks.steps[4] (Type check and lint)"
        },
        {
          "path": "core/package.json",
          "locator": "scripts.lint"
        },
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.gui-checks.steps[4] (Type check and lint)"
        },
        {
          "path": "gui/package.json",
          "locator": "scripts.lint"
        },
        {
          "path": "core/package.json",
          "locator": "scripts.lint:fix"
        },
        {
          "path": "core/package.json",
          "locator": "devDependencies: eslint"
        },
        {
          "path": "gui/package.json",
          "locator": "devDependencies: eslint"
        },
        {
          "path": "package.json",
          "locator": "devDependencies: eslint"
        },
        {
          "path": "core/.eslintrc.json",
          "locator": "config file"
        },
        {
          "path": "extensions/cli/eslint.config.js",
          "locator": "config file"
        },
        {
          "path": "extensions/vscode/.eslintrc.json",
          "locator": "config file"
        },
        {
          "path": "gui/.eslintrc.json",
          "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": [
        "tsc -p ./tsconfig.npm.json",
        "tsc",
        "tsc --noEmit",
        "tsc -p ./ --noEmit",
        "tsc --watch --noEmit --pretty"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/cli-pr-checks.yml",
          "locator": "jobs.lint.steps[4] (Build core)"
        },
        {
          "path": "core/package.json",
          "locator": "scripts.build"
        },
        {
          "path": ".github/workflows/cli-pr-checks.yml",
          "locator": "jobs.test.steps[5] (Build core)"
        },
        {
          "path": ".github/workflows/cli-pr-checks.yml",
          "locator": "jobs.smoke-api.steps[4] (Build core)"
        },
        {
          "path": ".github/workflows/jetbrains-release.yaml",
          "locator": "jobs.build.steps[12] (Install gui node_modules and build)"
        },
        {
          "path": "gui/package.json",
          "locator": "scripts.build"
        },
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.core-checks.steps[4] (Type check and lint)"
        },
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.gui-checks.steps[4] (Type check and lint)"
        },
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.binary-checks.steps[4] (Type check)"
        },
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.vscode-checks.steps[4] (Type check and lint)"
        },
        {
          "path": ".github/workflows/stable-release.yml",
          "locator": "jobs.stable-release.steps[4] (Build core)"
        },
        {
          "path": "core/package.json",
          "locator": "scripts.tsc:check"
        }
      ],
      "upstream": "https://github.com/microsoft/TypeScript",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "biome",
      "method": "static_analysis",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "binary/package.json",
          "locator": "devDependencies: @biomejs/biome"
        },
        {
          "path": "core/package.json",
          "locator": "devDependencies: @biomejs/biome"
        }
      ],
      "upstream": "https://github.com/biomejs/biome",
      "docs": null,
      "exit_codes": {},
      "autofix": true,
      "declared_only": true
    },
    {
      "tool": "ci-matrix",
      "method": "testing",
      "commands": [
        "test (os: 3, node-version: 4)",
        "test-binaries (include: 4)"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/cli-pr-checks.yml",
          "locator": "jobs.test.strategy.matrix"
        },
        {
          "path": ".github/workflows/jetbrains-release.yaml",
          "locator": "jobs.test-binaries.strategy.matrix"
        }
      ],
      "upstream": "https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "jest",
      "method": "testing",
      "commands": [
        "jest"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/jetbrains-release.yaml",
          "locator": "jobs.test-binaries.steps[8] (Run binary tests)"
        },
        {
          "path": "binary/package.json",
          "locator": "scripts.test"
        },
        {
          "path": "binary/package.json",
          "locator": "devDependencies: jest"
        },
        {
          "path": "core/package.json",
          "locator": "devDependencies: jest"
        },
        {
          "path": "binary/jest.config.js",
          "locator": "config file"
        },
        {
          "path": "core/jest.config.js",
          "locator": "config file"
        },
        {
          "path": "packages/config-yaml/jest.config.mjs",
          "locator": "config file"
        },
        {
          "path": "packages/continue-sdk/typescript/jest.config.js",
          "locator": "config file"
        },
        {
          "path": "packages/openai-adapters/jest.config.mjs",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/jestjs/jest",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "vitest",
      "method": "testing",
      "commands": [
        "vitest run",
        "vitest run --coverage",
        "vitest --ui",
        "vitest"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.core-checks.steps[5] (Run tests)"
        },
        {
          "path": "core/package.json",
          "locator": "scripts.vitest"
        },
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.gui-checks.steps[5] (Run tests)"
        },
        {
          "path": "gui/package.json",
          "locator": "scripts.test"
        },
        {
          "path": "gui/package.json",
          "locator": "scripts.test:coverage"
        },
        {
          "path": "gui/package.json",
          "locator": "scripts.test:ui"
        },
        {
          "path": "gui/package.json",
          "locator": "scripts.test:watch"
        },
        {
          "path": "core/package.json",
          "locator": "devDependencies: vitest"
        },
        {
          "path": "gui/package.json",
          "locator": "devDependencies: vitest"
        },
        {
          "path": "core/vitest.config.ts",
          "locator": "config file"
        },
        {
          "path": "extensions/cli/vitest.config.ts",
          "locator": "config file"
        },
        {
          "path": "extensions/vscode/vitest.config.ts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/vitest-dev/vitest",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "prettier",
      "method": "formatting",
      "commands": [
        "prettier --check **/*.{js,jsx,ts,tsx,json,css,md} --ignore-path .gitignore --ignore-path .prettierignore",
        "prettier --write **/*.{js,jsx,ts,tsx,json,css,md} --ignore-path .gitignore --ignore-path .prettierignore"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.prettier-check.steps[4] (Check code formatting with Prettier)"
        },
        {
          "path": "package.json",
          "locator": "scripts.format"
        },
        {
          "path": "package.json",
          "locator": "scripts.format:check"
        },
        {
          "path": "package.json",
          "locator": "devDependencies: prettier"
        },
        {
          "path": ".prettierrc",
          "locator": "config file"
        }
      ],
      "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": [
        "The following tests failed in workflow $EXPR (Run ID: $EXPR):"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/auto-fix-failed-tests.yml",
          "locator": "jobs.fix-failed-tests.steps[5] (Start remote session to fix failed tests)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "cross-env NODE_OPTIONS=--experimental-vm-modules jest"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/pr-checks.yaml",
          "locator": "jobs.core-checks.steps[5] (Run tests)"
        },
        {
          "path": "core/package.json",
          "locator": "scripts.test"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "core/package.json",
          "locator": "scripts.test:coverage"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "for-each-ref --sort=-creatordate --format %(refname:short) %(creatordate:unix) refs/tags"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/vscode-version-bump.yml",
          "locator": "jobs.version-bump.steps[3] (Find and process version tags)"
        }
      ],
      "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": [
        "next lint"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "docs-site/package.json",
          "locator": "scripts.lint"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/versionCheck.js"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/main.yaml",
          "locator": "jobs.check-version.steps[2] (Make sure version isn't odd)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "open ./coverage/lcov-report/index.html"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "core/package.json",
          "locator": "scripts.test:coverage"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "python check_discussion.py)"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/similar-issues.yml",
          "locator": "jobs.analyze.steps[5] (Check if issue should be a discussion)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    }
  ]
}
