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 in-flight harness run.
Goal
Stop execution while preserving evidence and audit state.
Context
Used when operators or agents abort a harness session.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { defineCommand } from '../../operations';
import {
HARNESS_DOMAIN,
HARNESS_OWNERS,
HARNESS_STABILITY,
HARNESS_TAGS,
} from '../constants';
export const HarnessRunCancelCommand = defineCommand({
meta: {
key: 'harness.run.cancel',
title: 'Cancel Harness Run',
version: '1.0.0',
description: 'Cancel an in-flight harness run.',
goal: 'Stop execution while preserving evidence and audit state.',
context: 'Used when operators or agents abort a harness session.',
domain: HARNESS_DOMAIN,
owners: HARNESS_OWNERS,
tags: [...HARNESS_TAGS, 'run', 'cancel'],
stability: HARNESS_STABILITY,
},
capability: { key: 'harness.execution', version: '1.0.0' },
io: {
input: HarnessRunCancelInput,
output: HarnessRunCancelOutput,
},
policy: {
auth: 'user',
pii: [],
},
});