check_release_gate
Check release readiness across five sequential stages, from local to CI, handling network errors as 'not_checked'.
Instructions
v1.0.0: Verify release readiness across five sequential stages: local_ready → packed_ready → published_verified → github_release_verified → ci_verified. Remote stages (published/github/ci) query npm registry and GitHub API via node:https read-only GET; network errors return 'not_checked' (not 'failed'). Never claims release complete before published_verified passes. Does not execute shell commands for remote queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Git branch for ci_verified (e.g. 'main'). | |
| version | No | Version string for published_verified (e.g. '1.0.0'). Required for published_verified stage. | |
| repo_path | Yes | Repository path inside workspaceRoot. | |
| github_repo | No | GitHub repo in 'owner/repo' form for github_release_verified and ci_verified. | |
| package_name | No | npm package name for published_verified (e.g. 'patchwarden'). Required for published_verified stage. | |
| target_stage | Yes | Target stage to verify. Stages before target are checked; stages after a failure are 'not_checked'. |