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.target.resolve

Resolve the isolated target used for a harness run.

  • Type: operation (query)
  • Version: 1.0.0
  • Tags: target
  • File: packages/libs/contracts-spec/src/harness/queries/harnessTargetResolve.query.ts
  • field.key.label
    harness.target.resolve
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    harness.target.resolve
    field.description.label

    Resolve the isolated target used for a harness run.

  • Type: operation (query)
  • Version: 1.0.0
  • Tags: target
  • File: packages/libs/contracts-spec/src/harness/queries/harnessTargetResolve.query.ts
  • field.tags.label
    target
    field.owners.label
    field.stability.label

    Resolve the isolated target used for a harness run.

    Goal

    Prefer preview and task targets before shared environments.

    Context

    Used before execution to attach to the correct app instance.

    Source Definition

    import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
    import { defineQuery } from '../../operations';
    import {
    	HARNESS_DOMAIN,
    	HARNESS_OWNERS,
    	HARNESS_STABILITY,
    	HARNESS_TAGS,
    } from '../constants';
    import { HarnessTargetModel } from '../models';
    
    export const HarnessTargetResolveQuery = defineQuery({
    	meta: {
    		key: 'harness.target.resolve',
    		title: 'Resolve Harness Target',
    		version: '1.0.0',
    		description: 'Resolve the isolated target used for a harness run.',
    		goal: 'Prefer preview and task targets before shared environments.',
    		context: 'Used before execution to attach to the correct app instance.',
    		domain: HARNESS_DOMAIN,
    		owners: HARNESS_OWNERS,
    		tags: [...HARNESS_TAGS, 'target'],
    		stability: HARNESS_STABILITY,
    	},
    	capability: { key: 'harness.targeting', version: '1.0.0' },
    	io: {
    		input: HarnessTargetResolveInput,
    		output: HarnessTargetResolveOutput,
    	},
    	policy: {
    		auth: 'user',
    		pii: [],
    	},
    });