Launch guard
Gate a release candidate with policy-grounded checks and emit either a release proposal or a no-go decision with blockers.
You’re reading version sha-2cc7981ca99e. Go to the current version
Overview
Launch Guard gives release owners a sealed go/no-go decision before anything
ships. It reads a release candidate, launch policy, test results, rollback
plan, observability plan, and changelog, then emits a readiness report and
either a gated release_proposal for the release skill or a no_go decision
with blockers.
It never deploys, tags, publishes, or announces a release.
In the manual
Runner
decide
Declared by its execution profile. Read the profile
SKILL.md
Launch Guard
Launch Guard gives release owners a sealed go/no-go decision before anything
ships. It reads a release candidate, launch policy, test results, rollback
plan, observability plan, and changelog, then emits a readiness report and
either a gated release_proposal for the release skill or a no_go decision
with blockers.
It never deploys, tags, publishes, or announces a release.
Procedure
- Require
release_candidateandlaunch_policy. - Check every
launch_policy.required_checks[]againstrelease_candidate.test_results[]. - Count open risks from
release_candidate.risks[]and compare them withlaunch_policy.max_open_risk. - When
launch_policy.rollback_requiredis true, require a tested rollback plan with at least one step. - Require observability dashboards and alerts.
- Require at least one changelog entry.
- Emit
decision="go"with arelease_proposalonly when there are no blockers. - Emit
decision="no_go"with exact blockers and norelease_proposalwhen any check fails.
Inputs
release_candidate.version: proposed version.release_candidate.diff_ref: commit range, compare URL, or source revision.release_candidate.test_results[]: named checks withstatusandsource.release_candidate.rollback_plan:{ tested, steps[] }.release_candidate.observability_plan:{ dashboards[], alerts[] }.release_candidate.changelog.entries[]: user-facing changes.launch_policy.required_checks[]: check names that must pass.launch_policy.max_open_risk: maximum allowed open risk count.launch_policy.rollback_required: whether a tested rollback plan is required.
Output
decision:goorno_go.readiness_report: grounded checks, risks, and blockers.release_proposal: gated proposal for thereleaseskill whendecisionisgo;nullwhen blocked.
Example
runx skill ./skills/launch-guard \
--input-json release_candidate="$(cat skills/launch-guard/fixtures/go-release.json)" \
--input-json launch_policy='{"required_checks":["unit","integration","security"],"max_open_risk":0,"rollback_required":true}' \
--jsonPublished execution profile
The execution profile published with sha-2cc7981ca99e, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:24962d0d4e771a236631e3b88a93b3c7bd6aea0bcdd07e4a00fe60bb3c7e499c |
skill: launch-guard
version: 0.1.1
catalog:
kind: skill
audience: public
visibility: public
role: canonical
category: code
runners:
decide:
default: true
inputs:
release_candidate:
type: json
required: true
description: Release candidate with version, diff_ref, test_results, rollback_plan, observability_plan, and changelog.
launch_policy:
type: json
required: true
description: Launch gate policy with required_checks, max_open_risk, and rollback_required.
steps:
- id: decide
tool:
command: node
args:
- run.mjs
inputs:
release_candidate: $input.release_candidate
launch_policy: $input.launch_policy
artifacts:
wrap_as: launch_guard_decision
harness:
cases:
- name: passing-release-candidate-yields-go-proposal
runner: decide
inputs:
release_candidate:
version: 1.4.0
diff_ref: compare/v1.3.9...v1.4.0
test_results:
- name: unit
status: pass
source: ci/unit#881
- name: integration
status: pass
source: ci/integration#881
- name: security
status: pass
source: ci/security#881
rollback_plan:
tested: true
steps:
- Revert to image registry.example/app:1.3.9
- Restore feature flag launch_guard_rollout=false
observability_plan:
dashboards:
- https://metrics.example.com/d/app-release
alerts:
- release-error-rate
changelog:
entries:
- Adds launch readiness gating for release owners.
risks: []
launch_policy:
required_checks:
- unit
- integration
- security
max_open_risk: 0
rollback_required: true
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- release
- flaky-test-judge
request: Decide whether this release candidate is ready to launch.
expected_outcome: Return a grounded go or no-go decision with its readiness evidence.
- mode: composed
request: Continue this launch-guard work from evidence already gathered upstream.
expected_outcome: Return a grounded go or no-go decision with its readiness evidence.
prior_evidence:
- The release candidate and launch policy already supplied.
must_not_repeat:
- Do not ship the release.
- name: failing-required-check-yields-no-go
runner: decide
inputs:
release_candidate:
version: 1.4.1
diff_ref: compare/v1.4.0...v1.4.1
test_results:
- name: unit
status: pass
source: ci/unit#882
- name: integration
status: fail
source: ci/integration#882
rollback_plan:
tested: true
steps:
- Revert to image registry.example/app:1.4.0
observability_plan:
dashboards:
- https://metrics.example.com/d/app-release
alerts:
- release-error-rate
changelog:
entries:
- Attempts a release while integration is failing.
risks:
- id: auth-flow-regression
status: open
launch_policy:
required_checks:
- unit
- integration
max_open_risk: 0
rollback_required: true
expect:
status: sealed
receipt:
schema: runx.receipt.v1
- name: missing-release-candidate-fails-closed
runner: decide
inputs:
launch_policy:
required_checks:
- unit
max_open_risk: 0
rollback_required: true
expect:
status: failure
Published package and test evidence.
This exact version passed its recorded harness run: 3 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | sha-2cc7981ca99e |
| Recorded result | 3 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 3 |
| Test record | Open the recorded run |
Inspect receipt references
sha256:ff89a48f8fbbc25854a52baeab0b0ffada1b8477482060926ef24296f439de61sha256:0c328655805b6bc10766769c4c7d502d8596d7a5f478263df61b9ef6a265593esha256:80f91895a2498c605461f27005f92acdf5824773760d78b7f7af06d13e7c3dc2Package identity
| Published revision | sha-2cc7981ca99e |
|---|---|
| Content digest | sha256:2cc7981ca99e30624820fb2a7fd29ef4f7d0cc82fb8af32f981e10f559dcb649 |
| SKILL.md digest | sha256:cc5f6f798219db38323ca58d794cf43a35c0e1475459360c1808712bc1176336 |
| Execution profile digest | sha256:24962d0d4e771a236631e3b88a93b3c7bd6aea0bcdd07e4a00fe60bb3c7e499c |
| Publisher identity | Unverified publisher · zdfgu113 |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-2cc7981ca99eViewingContent digest sha256:2cc7981ca99e30624820fb2a7fd29ef4f7d0cc82fb8af32f981e10f559dcb649sha-02902c80cdc6Content digest sha256:02902c80cdc6f231f8924569bdce53eadb8794313ba505ee83a1fab1bf3f064fsha-cf75c4f87330Content digest sha256:cf75c4f8733022d6d9ac91f58af590926d3105b3e31d4986ef9d4ccd746ea056sha-09353144c4ebContent digest sha256:09353144c4eb6454c50edc7b5410c61c537f06233cb3984220f28911eafe1e9d