Skip to content

ValidatedReplylessCandidate

ValidatedReplylessCandidate = Omit<MaelstromResponse, "userMessage"> & object

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

A ReplylessCandidate after the Engine healed and validated it: a ValidatedCandidate whose userMessage may be absent.

readonly diagnostics: EngineDiagnostics

What healing changed, and whether a retry is recommended.

readonly optional userMessage?: string

The reply to the user. Always present and non-blank unless the request set skipReply: true, in which case the planner may have omitted it and a supplied reply passes through unchanged, even when blank. The Engine refuses an absent or blank reply at the ship boundary.