OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Cancel an execution run and transition to terminal state.
Goal
Provide safe operator control to stop active runs.
Context
Used when execution must be halted due to policy, operator decision, or runtime error handling.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { defineCommand } from '../../operations';
import {
CONTROL_PLANE_DOMAIN,
CONTROL_PLANE_OWNERS,
CONTROL_PLANE_STABILITY,
CONTROL_PLANE_TAGS,
} from '../constants';
export const ControlPlaneExecutionCancelCommand = defineCommand({
meta: {
key: 'controlPlane.execution.cancel',
title: 'Cancel Execution',
version: '1.0.0',
description: 'Cancel an execution run and transition to terminal state.',
goal: 'Provide safe operator control to stop active runs.',
context:
'Used when execution must be halted due to policy, operator decision, or runtime error handling.',
domain: CONTROL_PLANE_DOMAIN,
owners: CONTROL_PLANE_OWNERS,
tags: [...CONTROL_PLANE_TAGS, 'execution', 'approval'],
stability: CONTROL_PLANE_STABILITY,
},
capability: {
key: 'control-plane.core',
version: '1.0.0',
},
io: {
input: ControlPlaneExecutionCancelInput,
output: ControlPlaneExecutionCancelOutput,
},
policy: {
auth: 'admin',
pii: [],
},
});