# EngineDiagnostics
Source: https://docs.maelstrom-ai.co/dev/reference/engine/interfaces/enginediagnostics/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/engine/src/lib/planner/candidate.ts:88](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/engine/src/lib/planner/candidate.ts#L88)

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.

## Properties

### counts

> `readonly` **counts**: `object`

Defined in: [packages/engine/src/lib/planner/candidate.ts:94](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/engine/src/lib/planner/candidate.ts#L94)

How many entries of each kind healing produced.

#### droppedLayoutEntries

> `readonly` **droppedLayoutEntries**: `number`

Layout entries healing removed.

#### skippedActions

> `readonly` **skippedActions**: `number`

Proposed actions the Engine refused to plan.

#### warnings

> `readonly` **warnings**: `number`

Repairs healing applied without removing anything from the layout.

* * *

### feedback

> `readonly` **feedback**: `string`

Defined in: [packages/engine/src/lib/planner/candidate.ts:107](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/engine/src/lib/planner/candidate.ts#L107)

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.

* * *

### planIssues?

> `readonly` `optional` **planIssues?**: readonly [`PlanValidationIssue`](https://docs.maelstrom-ai.co/dev/reference/engine/interfaces/planvalidationissue/)\[\]

Defined in: [packages/engine/src/lib/planner/candidate.ts:90](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/engine/src/lib/planner/candidate.ts#L90)

Unmet application requirements; absent when no hook is configured.

* * *

### retryHint

> `readonly` **retryHint**: [`RetryHint`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/retryhint/)

Defined in: [packages/engine/src/lib/planner/candidate.ts:92](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/engine/src/lib/planner/candidate.ts#L92)

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