Skip to main content

Interface: CompileContextInput

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

Input for the CompileContext use case.

Properties

config

readonly config: CompileContextConfig

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

Resolved project configuration.


depth?

readonly optional depth?: number

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

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:90

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:73

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


name

readonly name: string

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

The change name to compile context for.


sections?

readonly optional sections?: readonly SpecSection[]

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

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:66

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