Skip to main content

Interface: GetArtifactInstruction

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

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

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:86

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