deepseek-ai/deepseek-harness · error · Error
Ralph round report summary must be non-empty and normalized
Error message
Ralph round report summary must be non-empty and normalized
What it means
Error "Ralph round report summary must be non-empty and normalized" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/workflow/tool-ralph/src/index.ts:117
},
required: ['status', 'summary', 'evidence', 'nextSteps', 'blocker'],
additionalProperties: false,
}
function normalizedText(value) {
return typeof value === 'string' && value.length > 0 && value === value.trim()
}
function normalizedList(value) {
return Array.isArray(value) && value.every(normalizedText)
}
function validateReport(report) {
if (report === null || typeof report !== 'object' || Array.isArray(report)) {
throw new Error('Ralph child returned no structured round report')
}
if (!normalizedText(report.summary)) {
throw new Error('Ralph round report summary must be non-empty and normalized')
}
if (!normalizedList(report.evidence) || !normalizedList(report.nextSteps)) {
throw new Error('Ralph round report evidence and nextSteps must contain only non-empty normalized strings')
}
if (typeof report.blocker !== 'string' || report.blocker !== report.blocker.trim()) {
throw new Error('Ralph round report blocker must be a normalized string')
}
switch (report.status) {
case 'continue':
if (report.nextSteps.length === 0 || report.blocker !== '') {
throw new Error('a continuing Ralph report needs nextSteps and an empty blocker')
}
break
case 'complete':
if (report.evidence.length === 0 || report.nextSteps.length !== 0 || report.blocker !== '') {
throw new Error('a complete Ralph report needs evidence, no nextSteps, and an empty blocker')
}
breakView on GitHub (pinned to b150a551b8)
Solutions
- Have the child agent produce a non-empty summary string in its round report; reject blank or whitespace-only summaries in the report prompt.
When it happens
Trigger: Thrown at packages/workflow/tool-ralph/src/index.ts:117 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/3d937930ae138b6c.
Report an issue: GitHub.