Skip to main content

Interface: CompileContextInput

Defined in: packages/core/src/application/use-cases/compile-context.ts:89

Input for the CompileContext use case.

Properties

config

readonly config: CompileContextConfig

Defined in: packages/core/src/application/use-cases/compile-context.ts:95

Resolved project configuration.


depth?

readonly optional depth?: number

Defined in: packages/core/src/application/use-cases/compile-context.ts:110

Limits dependsOn traversal depth. Only meaningful when followDeps is true. 1 = direct dependencies only; 2 = deps of deps; absent = unlimited.


fingerprint?

readonly optional fingerprint?: string

Defined in: packages/core/src/application/use-cases/compile-context.ts:122

When provided, the use case compares this value against the calculated context fingerprint. If they match, the result's status is 'unchanged' and context content is omitted. If omitted or the fingerprint does not match, status is 'changed' and full context is returned.


followDeps?

readonly optional followDeps?: boolean

Defined in: packages/core/src/application/use-cases/compile-context.ts:105

When true, performs the dependsOn transitive traversal (step 5) to discover additional specs. When false or absent, step 5 is skipped entirely.


includeChangeSpecs?

readonly optional includeChangeSpecs?: boolean

Defined in: packages/core/src/application/use-cases/compile-context.ts:100

When true, directly seeds change.specIds into the collected set. When false or absent, direct specIds seeding is skipped.


name

readonly name: string

Defined in: packages/core/src/application/use-cases/compile-context.ts:91

The change name to compile context for.


sections?

readonly optional sections?: readonly SpecSection[]

Defined in: packages/core/src/application/use-cases/compile-context.ts:116

When present, restricts the metadata sections rendered per full-mode spec to the listed values. When absent, all sections are rendered (description + rules + constraints + scenarios). Does not affect summary-mode specs, project context entries, or available steps.


step

readonly step: string

Defined in: packages/core/src/application/use-cases/compile-context.ts:93

The lifecycle step being entered (e.g. 'designing', 'implementing').