Skip to main content

Interface: CompileContextConfig

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

Project configuration subset used by CompileContext.

Properties

context?

readonly optional context?: ContextEntry[]

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

Ordered list of project-level context entries injected verbatim at the top.


contextExcludeSpecs?

readonly optional contextExcludeSpecs?: string[]

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

Project-level exclude patterns; always applied regardless of active workspace.


contextIncludeSpecs?

readonly optional contextIncludeSpecs?: string[]

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

Project-level include patterns; always applied regardless of active workspace.


contextMode?

readonly optional contextMode?: "full" | "lazy"

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

Controls how specs are rendered in the result.

  • 'lazy' (default) — tier 1 specs (specIds + specDependsOn) in full; tier 2 as summaries.
  • 'full' — all specs rendered with full content.

workspaces?

readonly optional workspaces?: Record<string, WorkspaceContextConfig>

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

Per-workspace context include/exclude patterns.