Skip to main content

Interface: InvalidateSpecMetadata

Defined in: packages/core/src/application/use-cases/invalidate-spec-metadata.ts:27

Invalidates a spec's metadata by removing its contentHashes.

Without contentHashes the metadata is treated as stale, forcing regeneration on the next metadata pass. All other fields (title, description, rules, etc.) are preserved.

Methods

execute()

execute(input): Promise<InvalidateSpecMetadataResult | null>

Defined in: packages/core/src/application/use-cases/invalidate-spec-metadata.ts:45

Executes the use case.

Parameters

input

InvalidateSpecMetadataInput

The target spec to invalidate

Returns

Promise<InvalidateSpecMetadataResult | null>

The spec label on success, or null if not applicable