_delimit_release_impl
Dispatches to six release actions (plan, validate, status, rollback, history, sync) for unified multi-service release management.
Instructions
Unified release-management entry point — dispatches to one of six actions.
When to use: as the single MCP-registered release surface (delimit_release) when the caller wants to pick the release operation by name in one call rather than choosing a specific delimit_release_* alias. Release-tier means whole-environment, multi-service versions (the rollup across apps), as opposed to the deploy-tier (per-app SHA) covered by the delimit_deploy_* tools. When NOT to use: from internal code paths — prefer the specific alias (delimit_release_plan, delimit_release_validate, delimit_release_status, delimit_release_rollback, delimit_release_history, delimit_release_sync) for clarity and so each action's docstring and license gate show up at the right call site. For per-app rollout state use delimit_deploy_status; to ship code use delimit_deploy_publish; for OpenAPI spec linting use delimit_lint.
Sibling contrast: each delimit_release_ wrapper is a thin
alias over this implementation; they exist so the action's
docstring lives at the right name. This is the dispatch core.
delimit_release_validate routes through a shared _release_validate
chain, and the public delimit_release_sync exposes its sub-action as
a param named action, which this function receives as sync_action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Which release operation to perform. One of "plan", "validate", "status", "rollback", "history", "sync". Default "status". Other values return a deterministic error. | status |
| environment | No | Target environment, "staging" or "production". Default "production". | production |
| version | No | Release version (auto-detected from git tags if empty). Used by "plan", "validate", and "rollback" (as the expected current version to roll back FROM). | |
| repository | No | Repository path. Default ".". Used only by "plan". | . |
| services | No | Optional list of service names to scope the plan; None = all services in the repo manifest. Used only by "plan". | |
| to_version | No | Prior release version to roll back to. Required for "rollback"; ignored otherwise. | |
| limit | No | Maximum number of releases to return. Default 10. Used only by "history". | |
| sync_action | No | Sub-action for "sync" — "audit" (default) or "config". Ignored by other actions. | audit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||