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.
Shutdown an execution-lane run and move it to a terminal state.
Goal
Provide explicit operator shutdown with audit-friendly reason capture.
Context
Used when a lane must be terminated rather than paused or retried.
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 ControlPlaneExecutionShutdownCommand = defineCommand({
meta: {
key: 'controlPlane.execution.shutdown',
title: 'Shutdown Execution Lane',
version: '1.0.0',
description:
'Shutdown an execution-lane run and move it to a terminal state.',
goal: 'Provide explicit operator shutdown with audit-friendly reason capture.',
context:
'Used when a lane must be terminated rather than paused or retried.',
domain: CONTROL_PLANE_DOMAIN,
owners: CONTROL_PLANE_OWNERS,
tags: [...CONTROL_PLANE_TAGS, 'execution', 'lane'],
stability: CONTROL_PLANE_STABILITY,
},
capability: {
key: 'control-plane.core',
version: '1.0.0',
},
io: {
input: ControlPlaneExecutionShutdownInput,
output: ControlPlaneExecutionShutdownOutput,
},
policy: {
auth: 'admin',
pii: [],
},
});