Skip to content

EngineDiagnostics

Defined in: packages/engine/src/lib/planner/candidate.ts:33

A summary of what healing changed in a candidate and whether another attempt is worth it. Planner stages see it through StageContext.validate and RetryFeedback; it is stripped from the response before it crosses the Engine boundary. The detailed per-entry records stay inside the Engine.

readonly counts: object

Defined in: packages/engine/src/lib/planner/candidate.ts:37

How many entries of each kind healing produced.

readonly droppedLayoutEntries: number

Layout entries healing removed.

readonly skippedActions: number

Proposed actions the Engine refused to plan.

readonly warnings: number

Repairs healing applied without removing anything from the layout.


readonly feedback: string

Defined in: packages/engine/src/lib/planner/candidate.ts:50

Sanitized, length-limited description of what healing changed, written for a model and ready to paste into a retry prompt. Empty when there is nothing a planner can act on.


readonly retryHint: RetryHint

Defined in: packages/engine/src/lib/planner/candidate.ts:35

Severity of the healed result and whether the Engine recommends a retry.