Repository navigation
SetupGuard checks whether a repository is actually ready to develop in — whether someone who clones it can prepare and run it by following only what the repository itself declares. It is deterministic and read-only: no AI, and it never runs anything from the project it analyses.
This is the first public release. It is an early 0.x version: tested and usable, but checks, outputs and configuration may change between minor versions.
Release commit: 36a1e3a620f638d9844254f32c4bcc4d1ad38d87
What is in it
One engine, three interfaces, the same findings everywhere.
- GitHub Action — on a pull request, reports the readiness problems the pull request introduces, by diagnosing both the pull request and its base through the GitHub REST API. Problems already on the base are listed, not failed; a warning the pull request turns into an error counts as introduced. Results appear as annotations on the diff and in the job summary.
incomplete(API failure, a check that could not conclude, an unsupported project) always fails the job — it is never a pass. - VS Code extension — status bar, Problems panel and a full report, updated as relevant files change. Attached below as a
.vsix. - CLI —
setupguard [path], with JSON output and exit codes 0 / 1 / 2 / 3 (3 = incomplete). Run from a clone.
Checks (Node.js / TypeScript): package manifest; package manager and lockfile agreement; declared Node.js versions and conflicts between them; scripts that call missing scripts; documentation that tells the reader to run a script that does not exist; environment variables read by the code but missing from .env.example. The CLI and the extension also check the local machine (Node.js version, package manager on PATH, local .env names).
Use the GitHub Action
name: SetupGuard
on:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
readiness:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5; keep the default ref
with:
persist-credentials: false
- uses: Jovinull/SetupGuard@36a1e3a620f638d9844254f32c4bcc4d1ad38d87 # v0.1.0Pin the commit SHA, not the tag: a SHA cannot be moved. Inputs: token (default: the workflow's GITHUB_TOKEN), path, fail-on (error or warning). Outputs: result, readiness, new-errors, new-warnings.
Security: pull_request only (pull_request_target is refused); two read permissions; no personal access token; nothing from the analysed repository is executed; all pull-request text is escaped before it reaches the log, annotations or summary.
Install the VS Code extension
Download setupguard-0.1.0.vsix and SHA256SUMS.txt, then:
sha256sum -c SHA256SUMS.txt
code --install-extension setupguard-0.1.0.vsixNot published to the VS Code Marketplace or Open VSX.
Requirements
- GitHub Action: GitHub-hosted runners (
node24runtime). - VS Code extension: VS Code 1.90 or newer, local filesystem.
- CLI from source: Node.js 22.13 or newer, pnpm 11 (Corepack).
- Analysed projects: Node.js / JavaScript / TypeScript.
Known limitations
- The action runs static checks only; the CI runner is not the contributor's machine.
- Pull requests with more than 3000 changed files, and repositories that exceed the engine's scan limits (50 files under
docs/, depth 8), are reportedincomplete;ignore:in.setupguard.ymlnarrows the scan. - Not yet observed: a pull request from a fork of this repository.
- Known false positive: a README that
cds into another project in an earlier code block. - The full list is in Notes/17.
Verification
setupguard-0.1.0.vsixSHA-256:f8d75f86575b2f0bdab0832d72f663ecfc4572749f8378e240bac471fe7555ac(also inSHA256SUMS.txt). The files inside the VSIX rebuild identically from the release commit; the zip container itself is not byte-reproducible, so compare its contents rather than its hash when rebuilding.- Action bundle
packages/github-action/dist/index.cjsSHA-256:8935cc72cea71740601411a5eb0389d4a0d44cc3326a7c6b71190ea607b93249. CI rebuilds it from the sources and fails on any difference. - Both artifacts carry
THIRD_PARTY_NOTICES.txtfor the bundledsemverandyaml(ISC). - Dependency audit: no known vulnerability in production dependencies. One accepted exception in development tooling,
minimatchGHSA-g3hv-75wg-m249, reviewed by 2026-11-30 — analysis in Notes/17. An exception is an accepted risk, not a fix.
Documentation and support
- README: https://github.com/Jovinull/SetupGuard#readme · Changelog: CHANGELOG.md
- Bugs: https://github.com/Jovinull/SetupGuard/issues · Questions: felipejovinogamerplay@gmail.com
- Security: report privately at https://github.com/Jovinull/SetupGuard/security/advisories/new — never in a public issue.
SetupGuard is an independent open source project (MIT), not affiliated with or endorsed by GitHub.