Interface: CompileContextInput
Defined in: packages/core/src/application/use-cases/compile-context.ts:62
Input for the CompileContext use case.
Properties
config
readonlyconfig:CompileContextConfig
Defined in: packages/core/src/application/use-cases/compile-context.ts:68
Resolved project configuration.
depth?
readonlyoptionaldepth?: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?
readonlyoptionalfingerprint?: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?
readonlyoptionalfollowDeps?: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
readonlyname:string
Defined in: packages/core/src/application/use-cases/compile-context.ts:64
The change name to compile context for.
sections?
readonlyoptionalsections?: readonlySpecSection[]
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
readonlystep:string
Defined in: packages/core/src/application/use-cases/compile-context.ts:66
The lifecycle step being entered (e.g. 'designing', 'implementing').