check_release_gate
Checks release readiness across five sequential stages, stopping at the first failure. Remote stages query npm and GitHub APIs read-only, reporting not_checked on errors.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>",
"target_stage": "<target_stage>"
},
"name": "check_release_gate"
}
}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'. |