Interface: CompileContext
Defined in: packages/core/src/application/use-cases/compile-context.ts:165
Assembles the structured context an AI agent receives when entering a lifecycle step.
Collects context specs via five-step include/exclude/dependsOn resolution,
evaluates step availability, and returns structured project context entries,
spec entries (with tier classification), and available steps. Artifact
instructions and step hook instructions are separate concerns handled by
GetArtifactInstruction and GetHookInstructions respectively.
Methods
execute()
execute(
input):Promise<CompileContextResult>
Defined in: packages/core/src/application/use-cases/compile-context.ts:215
Compiles the structured context for the given lifecycle step.
Parameters
input
Context compilation parameters
Returns
Promise<CompileContextResult>
Structured context result with spec entries, project context, and warnings
Throws
If no change with the given name exists
Throws
If the schema reference cannot be resolved