---
library: "bootstrap"
slug: "Rollout"
name: "Rollout"
ref: "Rollout#ea8c"
hash: "sema:Rollout#mh:SHA-256:ea8c8bdf3303e53d240d6393a776de33ff7c0980a269539d6eb22a8b35e430b4"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Rollout"
---

# Rollout

Progressive deployment with canary gating and recorded compensation

Society · Protocols

## Mechanism

Creates a durable [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md) before enabling the [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) or dispatching work, then executes the approved `operation_sequence` in an [ExecutionManifest](https://semahash.org/vocabularies/bootstrap/patterns/ExecutionManifest.md) as state-changing [Act](https://semahash.org/vocabularies/bootstrap/patterns/Act.md)s inside a [CircuitBreaker](https://semahash.org/vocabularies/bootstrap/patterns/CircuitBreaker.md) envelope. Before dispatching any canary or forward state-changing action, Rollout creates a `prepared` manifest entry containing a discoverable idempotent inverse for [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md) that is safe to invoke when the forward outcome is unknown. The entry becomes `armed` before the action is sent, and its `outcome: unknown` is replaced only when an outcome is observed. If no safe inverse can be prepared, Rollout refuses that action and enters the same terminal cleanup path as a breaker trip. Rollout first runs a bounded real-path [Canary](https://semahash.org/vocabularies/bootstrap/patterns/Canary.md). `proceed` is the sole authorization for full execution or commitment of canary progress. On `caution` or `abort`, unless preempted by [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md), Rollout invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md), invokes [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md) for every armed canary entry whose outcome is effectful or `unknown`, records the result, permits only DESTROY or RECYCLE, freezes the manifest, and terminates this run; retry requires a new Rollout. An inverse-preparation failure or breaker trip, unless preempted by [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md), invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md), stops forward execution, invokes [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md) for every armed entry whose outcome is effectful or `unknown`, records every per-inverse result, freezes the manifest, and terminates this run; neither breaker recovery nor retry resumes it, and either requires a new Rollout. A received [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) signal always takes precedence over all cleanup paths: PAUSE suspends forward and compensation work and leaves the manifest open; TERMINATE stops new forward work, invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md), permits best-effort [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md) during graceful shutdown without allowing acknowledgement or cleanup to block termination, and then freezes the manifest; EMERGENCY halts immediately with no compensation and no final-write guarantee, so only an incomplete immutable prefix with no guaranteed final outcome entry is available. Outside EMERGENCY, Rollout freezes the manifest when the run terminates.

## Invariants

- No state-changing [Act](https://semahash.org/vocabularies/bootstrap/patterns/Act.md) is attempted before the [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md) records its discoverable idempotent inverse, safe under an `unknown` outcome; otherwise it is refused as an inverse-preparation failure.
- `proceed` alone authorizes full execution or committed [Canary](https://semahash.org/vocabularies/bootstrap/patterns/Canary.md) progress.
- `caution`, `abort`, inverse-preparation failure, or a [CircuitBreaker](https://semahash.org/vocabularies/bootstrap/patterns/CircuitBreaker.md) trip starts no further forward work and, absent [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) preemption, enters ordinary terminal cleanup.
- Ordinary terminal cleanup invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md), then [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md) for every effectful-or-`unknown` armed entry, records each inverse result, and terminates with the manifest frozen.
- A terminated Rollout never resumes; retry and breaker recovery use a new Rollout.
- A received [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) signal preempts ordinary cleanup in favor of its selected mode.
- PAUSE suspends forward and compensation work and leaves the Rollout and its manifest open.
- TERMINATE starts no further forward work, invokes [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md), and permits best-effort [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md); Break acknowledgement and cleanup cannot block termination with a frozen manifest.
- EMERGENCY halts immediately without cleanup or a final manifest write.
- Outside EMERGENCY, the [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md) records every armed action, compensation action, and observed inverse result; at freeze, each forward entry contains its observed outcome or `unknown` if unobserved.

## Signature

- Act(ExecutionManifest)

## Preconditions

- [ExecutionManifest](https://semahash.org/vocabularies/bootstrap/patterns/ExecutionManifest.md) is approved
- [CircuitBreaker](https://semahash.org/vocabularies/bootstrap/patterns/CircuitBreaker.md) is configured for the operation target and CLOSED
- [Canary](https://semahash.org/vocabularies/bootstrap/patterns/Canary.md) telemetry collection is active for the bounded path
- [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) readiness has a recorded successful test and its dedicated channel, operator key, and operator are available

## Postconditions

- If the run terminates without EMERGENCY, the [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md) is frozen with each armed action and its observed or `unknown` outcome.
- If EMERGENCY occurs, immediate halt is the only guaranteed outcome; the durable [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md) may contain only an incomplete immutable prefix with no guaranteed final outcome entry.

## Failure modes

- Canary false positive: The bounded real path returns `proceed`, but full execution encounters conditions the canary did not cover.
- Dirty compensation: One or more recorded inverse actions fails, leaving partial state; the failure remains in the [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md).
- Forward execution drift: An attempted forward action does not match the next authorized action in the approved [ExecutionManifest](https://semahash.org/vocabularies/bootstrap/patterns/ExecutionManifest.md) operation sequence.
- Audit drift: An armed canary or forward action, or any compensation action, is absent from the [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md).
- Emergency residue: [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) EMERGENCY mode halts without cleanup, so effects from already attempted actions can remain.

## Where this came from

—

## Builds on

- [EjectionSeat](https://semahash.org/vocabularies/bootstrap/patterns/EjectionSeat.md) (composes_with)
- [Compensate](https://semahash.org/vocabularies/bootstrap/patterns/Compensate.md) (composes_with)
- [Canary](https://semahash.org/vocabularies/bootstrap/patterns/Canary.md) (composes_with)
- [CircuitBreaker](https://semahash.org/vocabularies/bootstrap/patterns/CircuitBreaker.md) (composes_with)
- [Break](https://semahash.org/vocabularies/bootstrap/patterns/Break.md) (composes_with)
- [Act](https://semahash.org/vocabularies/bootstrap/patterns/Act.md) (references)
- [RolloutManifest](https://semahash.org/vocabularies/bootstrap/patterns/RolloutManifest.md) (yields)
- [ExecutionManifest](https://semahash.org/vocabularies/bootstrap/patterns/ExecutionManifest.md) (accepts)

## Used by

- [Deploy](https://semahash.org/vocabularies/bootstrap/patterns/Deploy.md) (composes_with)
- [OrchestrationLoop](https://semahash.org/vocabularies/bootstrap/patterns/OrchestrationLoop.md) (composes_with)
- [RealizationProtocol](https://semahash.org/vocabularies/bootstrap/patterns/RealizationProtocol.md) (composes_with)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Rollout#ea8c
- Hash: sema:Rollout#mh:SHA-256:ea8c8bdf3303e53d240d6393a776de33ff7c0980a269539d6eb22a8b35e430b4

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Rollout
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Rollout.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
