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