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-cf75c4f87330. 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

  1. Require release_candidate and launch_policy.
  2. Check every launch_policy.required_checks[] against release_candidate.test_results[].
  3. Count open risks from release_candidate.risks[] and compare them with launch_policy.max_open_risk.
  4. When launch_policy.rollback_required is true, require a tested rollback plan with at least one step.
  5. Require observability dashboards and alerts.
  6. Require at least one changelog entry.
  7. Emit decision="go" with a release_proposal only when there are no blockers.
  8. Emit decision="no_go" with exact blockers and no release_proposal when 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 with status and source.
  • 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: go or no_go.
  • readiness_report: grounded checks, risks, and blockers.
  • release_proposal: gated proposal for the release skill when decision is go; null when blocked.

Example

bash
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}' \
  --json

Published execution profile

The execution profile published with sha-cf75c4f87330, shown as its exact bytes.

Runner
  • decide
Profile digestsha256:97bf2c6b3417710279cf6b67823a7c98a7c6b17b974d1126182763a9dcc56cdf
skill: launch-guard
version: 0.1.0
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 resultPassed
Tested versionsha-cf75c4f87330
Recorded result3 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Declared cases3
Test recordOpen the recorded run
Inspect receipt referencessha256:ff89a48f8fbbc25854a52baeab0b0ffada1b8477482060926ef24296f439de61sha256:0c328655805b6bc10766769c4c7d502d8596d7a5f478263df61b9ef6a265593esha256:80f91895a2498c605461f27005f92acdf5824773760d78b7f7af06d13e7c3dc2

Package identity

Published revisionsha-cf75c4f87330
Content digestsha256:cf75c4f8733022d6d9ac91f58af590926d3105b3e31d4986ef9d4ccd746ea056
SKILL.md digestsha256:cc5f6f798219db38323ca58d794cf43a35c0e1475459360c1808712bc1176336
Execution profile digestsha256:97bf2c6b3417710279cf6b67823a7c98a7c6b17b974d1126182763a9dcc56cdf
Publisher identityUnverified publisher · zdfgu113
Trust tierCommunityPublished through the registry without publisher verification. This tier is not a code assessment.
Attestations
  • Publisher · Declaredzdfgu113 · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. sha-2cc7981ca99eContent digest sha256:2cc7981ca99e30624820fb2a7fd29ef4f7d0cc82fb8af32f981e10f559dcb649
  2. sha-02902c80cdc6Content digest sha256:02902c80cdc6f231f8924569bdce53eadb8794313ba505ee83a1fab1bf3f064f
  3. sha-cf75c4f87330ViewingContent digest sha256:cf75c4f8733022d6d9ac91f58af590926d3105b3e31d4986ef9d4ccd746ea056
  4. sha-09353144c4ebContent digest sha256:09353144c4eb6454c50edc7b5410c61c537f06233cb3984220f28911eafe1e9d