Skip to main content

Interface: TransitionChangeInput

Defined in: packages/core/src/application/use-cases/transition-change.ts:16

Input for the TransitionChange use case.

Properties​

approvalsSignoff​

readonly approvalsSignoff: boolean

Defined in: packages/core/src/application/use-cases/transition-change.ts:44

Whether the signoff gate is enabled in the active configuration.

When true and the change is in done state transitioning toward archivable, the actual target is routed to pending-signoff.


approvalsSpec​

readonly approvalsSpec: boolean

Defined in: packages/core/src/application/use-cases/transition-change.ts:37

Whether the spec approval gate is enabled in the active configuration.

When true and the change is in ready state transitioning toward implementing, the actual target is routed to pending-spec-approval.


name​

readonly name: string

Defined in: packages/core/src/application/use-cases/transition-change.ts:18

The change to transition.


skipHookPhases?​

readonly optional skipHookPhases?: ReadonlySet<HookPhaseSelector>

Defined in: packages/core/src/application/use-cases/transition-change.ts:53

Which hook phases to skip during the transition. Valid selectors: 'source.pre', 'source.post', 'target.pre', 'target.post', 'all'.

When 'all' is in the set, all hooks are skipped. When empty (default), all applicable hooks execute. The caller is responsible for invoking skipped hooks separately via RunStepHooks.


to​

readonly to: ChangeState

Defined in: packages/core/src/application/use-cases/transition-change.ts:30

The requested target state.

Smart routing applies at two decision points:

  • 'implementing' requested from ready: routes to pending-spec-approval when approvalsSpec is true.
  • 'archivable' requested from done: routes to pending-signoff when approvalsSignoff is true.

All other states are transitioned directly.