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.

harness.run.cancel

Cancel an in-flight harness run.

  • Type: operation (command)
  • Version: 1.0.0
  • Tags: run, cancel
  • File: packages/libs/contracts-spec/src/harness/commands/harnessRunCancel.command.ts
  • Stop execution while preserving evidence and audit state.

    field.key.label
    harness.run.cancel
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    harness.run.cancel
    field.description.label

    Cancel an in-flight harness run.

  • Type: operation (command)
  • Version: 1.0.0
  • Tags: run, cancel
  • File: packages/libs/contracts-spec/src/harness/commands/harnessRunCancel.command.ts
  • Stop execution while preserving evidence and audit state.

    field.tags.label
    run,cancel
    field.owners.label
    field.stability.label

    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: [],
    	},
    });