Skip to main content

Interface: LifecycleContext

Defined in: packages/core/src/application/use-cases/get-status.ts:82

Pre-computed lifecycle context for driving the change lifecycle.

Properties

approvals

readonly approvals: object

Defined in: packages/core/src/application/use-cases/get-status.ts:90

Whether approval gates are active in the project config.

signoff

readonly signoff: boolean

spec

readonly spec: boolean


availableTransitions

readonly availableTransitions: readonly ChangeState[]

Defined in: packages/core/src/application/use-cases/get-status.ts:86

Subset of validTransitions where workflow requires are satisfied.


blockers

readonly blockers: readonly TransitionBlocker[]

Defined in: packages/core/src/application/use-cases/get-status.ts:88

For each valid-but-unavailable transition, what's blocking it.


changePath

readonly changePath: string

Defined in: packages/core/src/application/use-cases/get-status.ts:94

Filesystem path to the change directory.


nextArtifact

readonly nextArtifact: string | null

Defined in: packages/core/src/application/use-cases/get-status.ts:92

Next artifact in the DAG whose requires are satisfied but is not yet complete/skipped.


schemaInfo

readonly schemaInfo: { name: string; version: number; } | null

Defined in: packages/core/src/application/use-cases/get-status.ts:96

Active schema name and version, or null when schema resolution fails.


validTransitions

readonly validTransitions: readonly ChangeState[]

Defined in: packages/core/src/application/use-cases/get-status.ts:84

All structurally valid transitions from the current state.