WORKS Public Verifier

v0.1.13
io.github.DYZCODE/works-public Checked 23 hours ago Published 4 months ago

Independent static verification for exact immutable public GitHub commits.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

works_public_eligibility Check WORKS verification eligibility

Fast deterministic preflight for tool-only clients. Call this before any other WORKS tool when eligibility is uncertain, especially for mutable or abbreviated refs, local or private repositories, and build, test, runtime, deployment, or production claims. It does not download a repository or persist data. If eligible is false, stop without calling verification.

ParameterTypeDescription
claim *stringUse static-evidence for generic signed or static repository evidence; it maps conservatively to node-package. Never use it for build, tests, runtime, deployment, or production claims.
repository_visibility *stringUse public only when the request identifies a public repository.
source_kind *stringClassify where the requested source lives.
referencestringReference exactly as supplied; never expand a branch, tag, or short SHA.
repository_urlstringExact repository URL supplied by the user, if any.

works_public_contract_lint Inspect public WORKS contract

After a task is already known to have a public GitHub repository, an exact lowercase 40-character commit SHA, and a matching supported static claim, return the pinned contract digest and scope. Do not call for mutable or abbreviated refs, local or private repositories, runtime, builds, tests, deployments, or broad production-readiness claims.

ParameterTypeDescription
contract *string

works_verify_public_repository Verify immutable public repository

Use only after works_public_eligibility returns eligible. Download that immutable public GitHub snapshot, run the selected pinned static contract without executing repository commands, and return a signed receipt. Return the report field verbatim and stop.

ParameterTypeDescription
commit_sha *string
contract *string
repository_url *string