Skip to main content

Interface: ValidateArtifacts

Defined in: packages/core/src/application/use-cases/validate-artifacts.ts:111

Validates a change's artifact files against the active schema and marks them complete. The only path through which an artifact may reach complete status.

Enforces required artifacts, validates structural rules, detects delta conflicts, and invalidates any outstanding approval when artifact content has changed since the approval was recorded.

Methods

execute()

execute(input): Promise<ValidateArtifactsResult>

Defined in: packages/core/src/application/use-cases/validate-artifacts.ts:161

Executes the use case.

Parameters

input

ValidateArtifactsInput

Validation parameters

Returns

Promise<ValidateArtifactsResult>

Validation result with passed flag, failures, and warnings

Throws

If no change with the given name exists

Throws

If the schema reference cannot be resolved