Interface: ChangeProps
Defined in: packages/core/src/domain/entities/change.ts:159
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:171
Pre-loaded artifact map; defaults to an empty map.
createdAt
readonlycreatedAt:Date
Defined in: packages/core/src/domain/entities/change.ts:163
Timestamp when the change was created; immutable.
description?
readonlyoptionaldescription?:string
Defined in: packages/core/src/domain/entities/change.ts:165
Optional free-text description of the change's purpose.
history
readonlyhistory: readonlyChangeEvent[]
Defined in: packages/core/src/domain/entities/change.ts:169
Append-only event history from which lifecycle state is derived.
name
readonlyname:string
Defined in: packages/core/src/domain/entities/change.ts:161
Unique slug name; immutable after creation.
specDependsOn?
readonlyoptionalspecDependsOn?:ReadonlyMap<string, readonlystring[]>
Defined in: packages/core/src/domain/entities/change.ts:173
Per-spec declared dependencies, keyed by spec ID.
specIds
readonlyspecIds: readonlystring[]
Defined in: packages/core/src/domain/entities/change.ts:167
Current snapshot of spec paths being modified.