Interface: ChangeProps
Defined in: packages/core/src/domain/entities/change.ts:145
Construction properties for a Change.
Mirrors the top-level fields of manifest.json. Repositories construct
a Change from a persisted manifest; application use cases create a new
Change by supplying an initial history containing a created event.
Properties
artifacts?
readonlyoptionalartifacts?:Map<string,ChangeArtifact>
Defined in: packages/core/src/domain/entities/change.ts:157
Pre-loaded artifact map; defaults to an empty map.
createdAt
readonlycreatedAt:Date
Defined in: packages/core/src/domain/entities/change.ts:149
Timestamp when the change was created; immutable.
description?
readonlyoptionaldescription?:string
Defined in: packages/core/src/domain/entities/change.ts:151
Optional free-text description of the change's purpose.
history
readonlyhistory: readonlyChangeEvent[]
Defined in: packages/core/src/domain/entities/change.ts:155
Append-only event history from which lifecycle state is derived.
name
readonlyname:string
Defined in: packages/core/src/domain/entities/change.ts:147
Unique slug name; immutable after creation.
specDependsOn?
readonlyoptionalspecDependsOn?:ReadonlyMap<string, readonlystring[]>
Defined in: packages/core/src/domain/entities/change.ts:159
Per-spec declared dependencies, keyed by spec ID.
specIds
readonlyspecIds: readonlystring[]
Defined in: packages/core/src/domain/entities/change.ts:153
Current snapshot of spec paths being modified.