Skip to main content

Interface: CompileContextConfig

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

Project configuration subset used by CompileContext.

Properties

context?

readonly optional context?: ContextEntry[]

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

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

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

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


contextMode?

readonly optional contextMode?: "list" | "summary" | "full" | "hybrid"

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

Controls how specs are rendered in the result.

  • 'list' — all entries are list-only.
  • 'summary' (default) — all entries are summary-only.
  • 'full' — all entries include full content.
  • 'hybrid' — direct change specs included via includeChangeSpecs are full, others summary.

workspaces?

readonly optional workspaces?: Record<string, WorkspaceContextConfig>

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

Per-workspace context include/exclude patterns.