Skip to main content

Interface: GetArtifactInstruction

Defined in: packages/core/src/application/use-cases/get-artifact-instruction.ts:53

Returns artifact-specific instructions: the schema instruction, composition rules (rules.pre/rules.post), and delta guidance with existing artifact outlines.

Read-only — never modifies state or executes commands.

Methods

execute()

execute(input): Promise<GetArtifactInstructionResult>

Defined in: packages/core/src/application/use-cases/get-artifact-instruction.ts:89

Returns artifact-specific instructions for the given change and artifact.

Parameters

input

GetArtifactInstructionInput

The change name and optional artifact ID

Returns

Promise<GetArtifactInstructionResult>

Structured instruction with rules, instruction text, and delta guidance