Skip to main content

Interface: ArtifactFileProps

Defined in: packages/core/src/domain/value-objects/artifact-file.ts:6

Construction properties for an ArtifactFile.

Properties

filename

readonly filename: string

Defined in: packages/core/src/domain/value-objects/artifact-file.ts:10

Relative path within the change directory (e.g. "proposal.md", "spec.md").


key

readonly key: string

Defined in: packages/core/src/domain/value-objects/artifact-file.ts:8

Identifier for this file within the artifact (artifact type id for scope:change, specId for scope:spec).


status?

readonly optional status?: ArtifactStatus

Defined in: packages/core/src/domain/value-objects/artifact-file.ts:12

Current validation status. Defaults to "missing".


validatedHash?

readonly optional validatedHash?: string

Defined in: packages/core/src/domain/value-objects/artifact-file.ts:14

SHA-256 hash recorded at last successful validation, if any.