sswp_check_repo
Verify a repository is ready for attestation by checking directory existence, .git, package.json, and package-lock.json. Returns a status per condition and an overall READY or NOT READY verdict.
Instructions
Perform a lightweight repo health check without running the full witness pipeline. Verifies four conditions: the directory exists on disk, a .git directory is present (indicating a git repository), a package-lock.json exists (indicating locked dependencies), and a package.json exists (indicating a valid Node.js project). Returns a status line for each condition and an overall READY/NOT READY verdict. Use this as a fast pre-check in CI pipelines or before calling sswp_witness to ensure the repo is in a valid state. Does not seal an attestation or modify the registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute path to the project root directory to check. Must be a valid filesystem path. |